-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path specific URL endpoint using server object url #1356
Comments
What errors are you getting? Your example is a mix of v2.0 and v3.0.0 syntaxes. Both produces/consumes and in:body parameters have been removed. |
yes, i didnt update any other syntax from v2.0. I will update once i understand the path specific URL. I didnt get any errors, but still seeing the default url. I want https://x.x.x.x/user, not https://x.x.x.x/user-enableuser "openapi": "3.0.0", |
Sorry, I should also have asked which tooling are you using? Perhaps it doesn't support |
am trying this use case in swagger-ui-master. |
If you check this issue on the swagger-ui repository - you can see that this functionality is still in the backlog of work to be done:
If you need further information, you should raise an issue on the repository for the tooling concerned, not the specification itself. |
What i am trying is, i want to send "paths": { |
The An alternative (unless you are documenting an existing API) might be to have a When |
But i am documenting existing API which is having more than one POST operation per PATH :( |
I think your best bet is to describe the Alternatively, you could use differing There is also this proposal which is marked for possible future consideration. |
Thanks a lot @MikeRalphson for the info. It is really helpful. |
Hi @MikeRalphson , wanted to know one thing, i have url eg: /internal/abc/ and in UI swagger i want to show /abc only. how do i do that ? whats the best possible way to do this ? |
In below given example, i need to have customized url for the resource "user-enableuser". i thought in openapi 3.0.0, it can be achieved through server object for each path. Please let me know what i am missing here
The text was updated successfully, but these errors were encountered: