You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry guys, maybe I missed something important in the docs.
As I understood I should just add gem to a Gemfile, then add add_swagger_documentation method to my API class which is Grape::API inherited, and then MAGIC, it should autogenerate swagger.json file.
I've received legacy project with grape-swagger, grape-swagger-representable, grape-swagger-representable and rswag-ui gems and configuration.
Everything works fine until I change entities.
swagger.json is without any changes...
I didn't find how can I regenerated this file.
Could you please tell me, what should I do to get swagger.json updated.
Sorry guys, maybe I missed something important in the docs.
As I understood I should just add gem to a Gemfile, then add
add_swagger_documentation
method to my API class which isGrape::API
inherited, and then MAGIC, it should autogenerateswagger.json
file.I've received legacy project with
grape-swagger
,grape-swagger-representable
,grape-swagger-representable
andrswag-ui
gems and configuration.Everything works fine until I change entities.
swagger.json
is without any changes...I didn't find how can I regenerated this file.
Could you please tell me, what should I do to get
swagger.json
updated.The text was updated successfully, but these errors were encountered: