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
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 api document page and clicking on the yellow box to populate the input field with the example it does nothing. Normally for swagger ui this does work. See petstore working example ... http://petstore.swagger.io/#!/pet/addPet and click the yellow example payload.
It doesnt seem to work on my grape-swagger-rails version :(
When i hit the swagger root page (not the page in question) I get a js error in console
When i visit the actual endpoint page (api/users) screen renders fine. Switch from model/example works. But clicking the yellow example box - does nothing :(
The text was updated successfully, but these errors were encountered:
I don't want to make too many assumptions because I can't see your code, but from the looks of it, the JavaScript is having trouble processing %2Fusers_Users_create_content. %2F is an html-encoded forward-slash, so if you have a / somewhere in you code base near your "Users" logic, that might give you some place to start.
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 api document page and clicking on the yellow box to populate the input field with the example it does nothing. Normally for swagger ui this does work. See petstore working example ... http://petstore.swagger.io/#!/pet/addPet and click the yellow example payload.
It doesnt seem to work on my grape-swagger-rails version :(
When i hit the swagger root page (not the page in question) I get a js error in console
When i visit the actual endpoint page (api/users) screen renders fine. Switch from model/example works. But clicking the yellow example box - does nothing :(
The text was updated successfully, but these errors were encountered: