mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ea1670d79 | ||
|
|
00aa08bb22 | ||
|
|
ef91e087d3 | ||
|
|
be6def33ac | ||
|
|
6b04c72cc9 | ||
|
|
890a31e749 | ||
|
|
862ea53cf4 | ||
|
|
254ade95db | ||
|
|
b9f71fe9b1 | ||
|
|
870d467046 | ||
|
|
334671cb95 | ||
|
|
fee3b3bb84 |
@@ -49,6 +49,7 @@ jobs:
|
||||
gemspec: rswag-ui.gemspec
|
||||
provider: rubygems
|
||||
api_key: $RUBYGEMS_API_KEY
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
rswag (formerly swagger_rails)
|
||||
rswag
|
||||
=========
|
||||
[](https://travis-ci.org/domaindrivendev/rswag)
|
||||
|
||||
@@ -14,8 +14,8 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
|
||||
|
||||
|Rswag Version|Swagger (OpenAPI) Spec.|swagger-ui|
|
||||
|----------|----------|----------|
|
||||
|[master](https://github.com/domaindrivendev/rswag/tree/master)|2.0|3.13.2|
|
||||
|[2.0.0](https://github.com/domaindrivendev/rswag/tree/2.0.0)|2.0|3.13.2|
|
||||
|[master](https://github.com/domaindrivendev/rswag/tree/master)|2.0|3.17.3|
|
||||
|[2.0.4](https://github.com/domaindrivendev/rswag/tree/2.0.4)|2.0|3.17.1|
|
||||
|[1.6.0](https://github.com/domaindrivendev/rswag/tree/1.6.0)|2.0|2.2.5|
|
||||
|
||||
## Getting Started ##
|
||||
@@ -33,7 +33,7 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
|
||||
gem 'rswag-api'
|
||||
gem 'rswag-ui'
|
||||
|
||||
groups :test do
|
||||
group :test do
|
||||
gem 'rspec-rails'
|
||||
gem 'rswag-specs'
|
||||
end
|
||||
|
||||
@@ -3,7 +3,7 @@ require 'rails_helper'
|
||||
RSpec.configure do |config|
|
||||
# Specify a root folder where Swagger JSON files are generated
|
||||
# NOTE: If you're using the rswag-api to serve API descriptions, you'll need
|
||||
# to ensure that it's confiugred to server Swagger from the same folder
|
||||
# to ensure that it's configured to serve Swagger from the same folder
|
||||
config.swagger_root = Rails.root.to_s + '/swagger'
|
||||
|
||||
# Define one or more Swagger documents and provide global metadata for each one
|
||||
|
||||
6
rswag-ui/package-lock.json
generated
6
rswag-ui/package-lock.json
generated
@@ -5,9 +5,9 @@
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"swagger-ui-dist": {
|
||||
"version": "3.13.2",
|
||||
"resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.13.2.tgz",
|
||||
"integrity": "sha1-EL9SK9J0q2SU0r0Nuvn+2ibbHKI="
|
||||
"version": "3.17.3",
|
||||
"resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.17.3.tgz",
|
||||
"integrity": "sha1-37lkCMzEZ3UVX3NpGQxdSyAW/lw="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"swagger-ui-dist": "3.13.2"
|
||||
"swagger-ui-dist": "3.17.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ require 'rails_helper'
|
||||
RSpec.configure do |config|
|
||||
# Specify a root folder where Swagger JSON files are generated
|
||||
# NOTE: If you're using the rswag-api to serve API descriptions, you'll need
|
||||
# to ensure that it's confiugred to server Swagger from the same folder
|
||||
# to ensure that it's configured to serve Swagger from the same folder
|
||||
config.swagger_root = Rails.root.to_s + '/swagger'
|
||||
|
||||
# Define one or more Swagger documents and provide global metadata for each one
|
||||
|
||||
Reference in New Issue
Block a user