mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
assert response body based on spec examples
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Rails.application.routes.draw do
|
||||
mount SwaggerRails::Engine => '/api-docs'
|
||||
resources :blogs, defaults: { :format => :json }
|
||||
|
||||
resources :blogs, only: [ :create, :index, :show ]
|
||||
mount SwaggerRails::Engine => '/api-docs'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user