YAML-PP-p5
YAML-PP-p5 copied to clipboard
YAML OpenAPI format/profile
Hello! I would like to ask some information about YAML::PP and OpenAPI YAML files.
OpenAPI specification is at website https://swagger.io/specification/ and says that it uses YAML 1.2 format with some constrains:
- Tags MUST be limited to those allowed by the JSON Schema ruleset.
- Keys used in YAML maps MUST be limited to a scalar string, as defined by the YAML Failsafe schema ruleset.
Can YAML::PP parse these YAML files with above constrains correctly?
And could be YAML::PP configured to generate YAML file from Perl structure according to these constrains?