Skip to content

SpecIndex.GetAll* functions inconsistent - make consistent with GetAllSchemas. #309

@crunk1

Description

@crunk1

GetAllSchemas returns references to schemas from components, inlined schemas, and $ref schemas.

Most of the other GetAll* functions only return references to components, like GetAllRequestBodies, for example:

GetAllRequestBodies will return all requestBodies found in the document (under components)

So GetAllRequestBodies won't return inlined or $ref request bodies.


Tangentially, the GetAllSchemas function doc is a little confusing. It says schemas come in the order inlined, components, refs. But then it says sorted by line number.

Also, thank you for your great libraries. :)

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