Skip to content

Misuse of "URI" in definition of $ref #399

@chris-martin

Description

@chris-martin

https://swagger.io/docs/specification/v3_0/using-ref/ says

the $ref string value (JSON Reference) should contain a URI,

but the examples given show that it is not actually a URI. It seems like the correct term here would be "URI reference."

From https://www.ietf.org/rfc/rfc3986.txt -

A URI-reference is either a URI or a relative reference.

 URI-reference = URI / relative-ref

Most of the examples are relative references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue has been reviewd

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions