Skip to content

Use ruamel.yaml instead of pyyaml to avoid the "NO"rway problem  #1041

@rtaycher

Description

@rtaycher

Describe the bug
openapi-python-client uses pyyaml which is sadly stuck on yamp 1.1 (yaml 1.2 came out in 2009, since then there's only been minor revisions). One of the main benefits of yaml 1.2 is that it treats strings like no/No/NO/OFF/Off/off as strings and not as booleans.

I ran into this issue and had the person maintaining the API ask what version of yaml I was using since it doesn't appear in

Ruamel also support comments if we ever say want to paste those in the documentation strings or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions