OAS:OpenAPI Editor/Servers/Overriding Servers

From Remain Software

Overriding Servers

The global servers array can be overridden on the path level or operation level. This is handy if some endpoints use a different server or base path than the rest of the API.


To override a global server, select path or operation node, and in the appropriate servers tab click on the + button or Override global servers link, then the wizard with global servers will be displayed, select a server and hit Finish.


Openapi add-global servers.png


Delete Global Server

To delete a server, select the server to be deleted and click on the X button from the local toolbar or right-click the server node then select delete from the popup menu.


Openapi delete overrided golbal server.png