V3.0 Specify URL inside each API call
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023
10:52 AM
02-21-2023
10:52 AM
V3.0 Specify URL inside each API call
Hi, I'm trying to know if I could specify the server inside the definition of each API.
What I'm trying to avoid is having the servers in the drop-down list.
Or maybe having different sections in same swagger (each one with his own server sections, its own paths section, etc) ?
Thanks in advance.
Solved! Go to Solution.
Labels:
- Labels:
-
Swagger Editor
-
Swagger UI
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023
01:11 PM
02-21-2023
01:11 PM
I found it, the solution to my question is overriding Servers inside the definition of each path.
at level of tags, summary, description, operationId, etc. This include a section of "servers" on each API call just above the "execution" button.
Screenshot of example, thanks!
