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
I need to refer few models in SwaggerUI web page from my wiki page. What I'm trying to achieve is to have a direct link, once clicked, will open SwaggerUI page scrolled down to the position of that model.
I found it working by appending #model-{Model} to my Swagger base path. Taking http://petstore.swagger.io as an example, when I simply open it and then append URL with #models-Order, it works fine.
I'm trying to figure out where the problem might be, or maybe it's not supported by SwaggerUI? Since it's fully reproducable on petstore project I do not suspect my particular nginx/SwaggerUI configuration to be wrong.
Will appreciate any hints around that.
The text was updated successfully, but these errors were encountered:
Hi,
I need to refer few models in SwaggerUI web page from my wiki page. What I'm trying to achieve is to have a direct link, once clicked, will open SwaggerUI page scrolled down to the position of that model.
I found it working by appending
#model-{Model}
to my Swagger base path. Taking http://petstore.swagger.io as an example, when I simply open it and then append URL with#models-Order
, it works fine.However, when I try to open that link, SwaggerUI changes URL to http://petstore.swagger.io/#/model-Order (notice additional slash after #):
I'm trying to figure out where the problem might be, or maybe it's not supported by SwaggerUI? Since it's fully reproducable on petstore project I do not suspect my particular nginx/SwaggerUI configuration to be wrong.
Will appreciate any hints around that.
The text was updated successfully, but these errors were encountered: