Skip to content

Replace autogenerated names for anonymous subschemas with an :anonymous atom #97

@dragonwasrobot

Description

@dragonwasrobot

Rather than naming the subschema at allOf/0 below `Zero, or similar autogenerated names,

"allOf": [
        {
            "type": "object",
            "properties": {
                "color": {
                    "$ref": "#/definitions/color"
                },
                "description": {
                    "type": "string"
                }
            },
            "required": [ "color" ]
        },
        {
            "$ref": "#/definitions/circle"
        }
    ],

instead give it an explicit :anonymous name that can easily be cased upon in a consuming project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions