Closed
Description
As comments or rswag (rspec-rails-swagger based on rswag):
By default, the operations defined in spec files are added to the first document below. You can override this behavior by adding a
swagger_doc
tag to the the root example_group in your specs, e.g.
describe '...', swagger_doc: 'v2/swagger.json'
But it doesn't work if I used it with RSpec, like below:
RSpec.describe 'mock allocation summary', type: :request, swagger_doc: 'v2/swagger.yml' do
...
path '/post' do
...
end
Is there anybody have some idea?
Metadata
Metadata
Assignees
Labels
No labels