Both JSON and YAML formats are supported. Note: oq uses the libopenapi library as it supports all OpenAPI versions and is actively maintained.
Pydantic allows you to use object, dict, or mixed data for input. The following examples all produce the same OpenAPI result as above: ⚠️ Important: Always use by_alias=True, exclude_none=True when ...