Ask a Question

V3.0 Specify URL inside each API call

SOLVED
RubenM55
Occasional Contributor

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.

1 REPLY 1
RubenM55
Occasional Contributor

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!

cancel
Showing results for 
Search instead for 
Did you mean: