Skip to content

OpenAPI and Postman

Because every operation shares one URL, the OpenAPI file describes a single POST / operation whose request body is one of several shapes, chosen by the type field (a discriminator). Most tools render each type as its own option.

  1. Import the file into Postman.
  2. Set the collection variable baseUrl (QA is the default) and run Authentication → Log in.
  3. Copy the token from the response into the token variable. Every other request uses it.