mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
Fixes last little pathing mistakes from rename
All specs are passing in all gems and in test-app Properly generates open api 3 swagger via rake rswag:specs:swaggerize and via bundle exec rspec in test-app dir
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Rswag::Api.configure do |c|
|
||||
OpenApi::Rswag::Api.configure do |c|
|
||||
|
||||
# Specify a root folder where Swagger JSON files are located
|
||||
# This is used by the Swagger middleware to serve requests for API descriptions
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Rswag::Ui.configure do |c|
|
||||
OpenApi::Rswag::Ui.configure do |c|
|
||||
|
||||
# List the Swagger endpoints that you want to be documented through the swagger-ui
|
||||
# The first parameter is the path (absolute or relative to the UI host) to the corresponding
|
||||
|
||||
@@ -9,6 +9,6 @@ TestApp::Application.routes.draw do
|
||||
post 'auth-tests/api-key', to: 'auth_tests#api_key'
|
||||
post 'auth-tests/basic-and-api-key', to: 'auth_tests#basic_and_api_key'
|
||||
|
||||
mount Rswag::Api::Engine => 'api-docs'
|
||||
mount Rswag::Ui::Engine => 'api-docs'
|
||||
mount OpenApi::Rswag::Api::Engine => 'api-docs'
|
||||
mount OpenApi::Rswag::Ui::Engine => 'api-docs'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user