Skip to content

Paths > Responses > Schema > Define hierarchy of objects? #1470

@AlephZedi

Description

@AlephZedi

Hi everyone,

I'm in a pickle...

I need to define an API working backwards; meaning, the API is already being used in-house but it was created without a specification file (I know... I joined late). Is it possible to define something like this under paths > responses > schema? Each level is an object and no object is guaranteed to be nested under the parent object; for example, Flight will only have an Image if an image is available in the database...

image

Any help will be greatly appreciated!

Regardless, thanks :)

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