grape-swagger-rails icon indicating copy to clipboard operation
grape-swagger-rails copied to clipboard

Swagger UI as Rails Engine for grape-swagger gem.

Results 28 grape-swagger-rails issues
Sort by recently updated
recently updated
newest added

I have this definition in my API ``` params do requires :daycare_attributes, type: Hash do requires :departments_attributes, type: Array do requires :name end end ``` The UI shows ![image](https://user-images.githubusercontent.com/1826884/50350497-f4eb1080-0571-11e9-97c7-b20278c6028f.png) Which...

bug?

I needed a hook so that I could create an oauth token based on the logged in user

Hi, Considering the following resource, It seems to generate an improper swagger Data Type Example Value: ```rb module Test module V1 class Ping < Grape::API resource :ping do desc "Are...

bug?

API is Rails Api based I have the css and javascript in the asset pipeline and they are being generated and are loading to the browser. However when viewing a...

bug?

[CORE-826](https://welltravel.atlassian.net/browse/CORE-828) # Bug Description: Consider this [code block](https://github.com/ruby-grape/grape-swagger-rails/blob/master/app/views/grape_swagger_rails/application/index.html.erb#L18-L42): This code block going to initialize `SwaggerUi`. **But** To initialize `SwaggerUi` we need to have authorization header. And the inside `onComplete` we...

Right now grape-swagger-rails expects to be mounted only once, at a single route. It also expects a single global definition of `options.url`, `options.app_url`, etc. It would be really useful if...

new feature

Hi, My initializer looks something like this: ``` ruby GrapeSwaggerRails.options.tap do |o| # other details omitted o.before_filter do |request| authenticate_with_http_basic do |user, pass| user == ENV['basic_auth_username'] && password == ENV['basic_auth_password']...

bug?

It appears that Swagger-UI correctly sets an authorization header when added in the interface (api key field). However, if the endpoint has the option "authorizations" set with "oauth2", it will...

Currently grape-swagger-rails has hard-coded support for passing through a few of the Swagger-UI options from the grape-swagger-rails initializer to the SwaggerUi initializer, in the index.html.erb file. Good examples of this...

new feature
you can help

Swagger-ui supports multiple languages via translations. This is currently ignored.

new feature