## Summary * `pyyaml` support only [YAML 1.1](https://github.com/yaml/pyyaml/blob/main/setup.py#L10) ([OpenAPI Specification 3.1 says: YAML 1.2 version is RECOMMENDED](https://swagger.io/specification/#:~:text=YAML%20version%201%2E2%20is%20RECOMMENDED)) * `pyyaml` does not throw an error when keys are duplicated: https://github.com/goduni/unihttp-openapi-generator/blob/387daab31ceb5f9d999f60ed1b491a92c3db633e/examples/open_meteo/openapi.yaml#L1-L6 If we add: ```yaml version: "1.0.0" version: "1.0.1" version: "1.0.2" ``` There won't be any errors See also: https://github.com/ag2ai/faststream/issues/2709 ## How replace? * [yaml-rs](https://github.com/lava-sh/yaml-rs) * another lib, with full YAML 1.2 support
Activity