Skip to content

Can't model json schema schemas #32

@mhmd-azeez

Description

@mhmd-azeez

Currently, I can't do something like this:

components:
    schemas:
        SchemaType:
            type: string
            enum:
                - object
        Schema:
            properties:
                type:
                    $ref: '#/components/schemas/SchemaType'
                properties:
                    additionalProperties:
                        $ref: '#/components/schemas/Property'
                required:
                    type: array
                    items:
                        type: string
        PropertyType:
            type: string
            enum:
                - string
                - number
                - boolean
                - object
        Property:
            properties:
                type:
                    $ref: '#/components/schemas/PropertyType'
                description:
                    type: string

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