Sha256: 4dfff31ecffb3e0ace45de478d8f9022a2c3cc65e53e715d6e13f1ad722d02a8

Contents?: true

Size: 552 Bytes

Versions: 15

Compression:

Stored size: 552 Bytes

Contents

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
  # JSON 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 swagger_root) as JSON endpoints,
  # then the list below should correspond to the relative paths for those endpoints
  c.swagger_endpoint '/api-docs/v1/swagger.json', 'API V1 Docs'
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
datashift_journey-0.1.3 config/initializers/rswag-ui.rb
datashift_journey-0.1.2 config/initializers/rswag-ui.rb
rswag-ui-1.6.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.5.2 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.5.1 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.5.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.4.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.3.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.2.1 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.2.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.1.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.0.3 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.0.2 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.0.1 lib/generators/rswag/ui/install/templates/rswag-ui.rb
rswag-ui-1.0.0 lib/generators/rswag/ui/install/templates/rswag-ui.rb