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:
Jay Danielian
2019-08-01 09:10:38 -04:00
parent 475929e9aa
commit 032ad5dc54
8 changed files with 25 additions and 21 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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