Skip to content

Unnecessary allOfs in OpenAPI spec #609

@david-crespo

Description

@david-crespo

name doesn't need to be an allOf here, right? There are a few of these, most are Name but not all. @ahl

omicron/openapi/nexus.json

Lines 3862 to 3879 in 3d132cc

"OrganizationUpdate": {
"description": "Updateable properties of an [`Organization`]",
"type": "object",
"properties": {
"description": {
"nullable": true,
"type": "string"
},
"name": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/Name"
}
]
}
}
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions