Environments in APIs Overview

Hello everyone,

What is happening when I add an environment to an API under the Tab Overview? I am using environments in collections, but I can´t figure out what happens when I add one under API. Can I add environment vars to the OpenAPI Definition? I am so sorry, if this question was asked before, but I could not find an answer in the forum or in the docs.

Bildschirmfoto 2022-07-08 um 17.57.39

@danielband,
when we have multiple versions of the API we need to keep track of the environments, mock servers, etc.

This setting answers questions: Which environment belongs to MyAPI version 2.5? Or, which mock server serves for MyAPI 3.0?

Please note you can add multiple environments or mock server to a single API version.

Best regards,
Karel

Thank you @KarelHusa !