Sha256: a08ad47c7da182d6227cd086aadad394e26fff78d41eebf0c7a65aff0e41a7fb

Contents?: true

Size: 351 Bytes

Versions: 4

Compression:

Stored size: 351 Bytes

Contents

WestfieldSwagger::Engine.routes.draw do

  get '/swagger/:service/:version(.:format)', to: "swagger#index",
    version: /\d+/,
    defaults: {format: 'html', version: WestfieldSwagger.api_version}
  get '/swagger/:version(.:format)', to: "swagger#index",
    version: /\d+/,
    defaults: {format: 'html', version: WestfieldSwagger.api_version}

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
westfield_swagger-1.2.6 config/routes.rb
westfield_swagger-1.2.5 config/routes.rb
westfield_swagger-1.2.4 config/routes.rb
westfield_swagger-1.2.3 config/routes.rb