Exercises related to OpenAPI
OpenAPI specification
Exercice 1
Answer the following questions:
- How do you specify where parameters are possibly added to a request for a given endpoint in OpenAPI?
- Can you specify whether some parameters to a request are required or not in OpenAPI? If yes, how?
- Is it possible to describe multiple responses for an endpoint in OpenAPI? If yes, then how?
- What is a common way to avoid duplication in an OpenAPI specification document?