You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first install, config/initializers/rswag_ui.rb generate old swagger_endpoint
DEPRECATION WARNING: Rswag::Ui: WARNING: The method will be renamed to "openapi_endpoint"in v3.0 (called from block in<main> at /config/initializers/rswag_ui.rb:11)
Rswag::Ui.configuredo |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 endpoint and the second is a title that will be# displayed in the document selector.# NOTE: If you're using rspec-api to expose Swagger files# (under openapi_root) as JSON or YAML endpoints, then the list below should# correspond to the relative paths for those endpoints.c.swagger_endpoint'/api-docs/v1/swagger.yaml','API V1 Docs'# Add Basic Auth in case your API is private# c.basic_auth_enabled = true# c.basic_auth_credentials 'username', 'password'end
Steps to Test or Reproduce
Expected behavior
Create with:
Rswag::Ui.configuredo |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 endpoint and the second is a title that will be# displayed in the document selector.# NOTE: If you're using rspec-api to expose Swagger files# (under openapi_root) as JSON or YAML endpoints, then the list below should# correspond to the relative paths for those endpoints.c.openapi_endpoint'/api-docs/v1/swagger.yaml','API V1 Docs'# Add Basic Auth in case your API is private# c.basic_auth_enabled = true# c.basic_auth_credentials 'username', 'password'end
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
No need rush, i dont know if there's someone fixing this.
Dependency versions
The version of are you using for:
Rswag:
Relates to which version of OAS (OpenAPI Specification)
OAS2
OAS3
OAS3.1
The text was updated successfully, but these errors were encountered:
I got a warning on my Rails app. I understand when your PR is merged to master, my warning will disappear. Is this true?
DEPRECATION WARNING: swagger_format= is deprecated and will be removed from rswag-specs 3.0 (use openapi_format= instead) (called from block in <top (required)> at /home/circleci/repo/spec/swagger_helper.rb:60)
Describe the bug
In the first install,
config/initializers/rswag_ui.rb
generate oldswagger_endpoint
Steps to Test or Reproduce
Expected behavior
Create with:
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
No need rush, i dont know if there's someone fixing this.
Dependency versions
The version of are you using for:
Relates to which version of OAS (OpenAPI Specification)
The text was updated successfully, but these errors were encountered: