Skip to content

Adding reference definitions to Error response #10

@smmathur

Description

@smmathur

In the "Response Error Codes" section, how to refer the error definitions using $ref?
In the Swagger specs, there are JSON references $ref definitions, which we need to display in the "Response Error Codes" section along with the HTTP Code & description.

E.g.

Swagger:

"400": {
            "description": "BadRequest",
            "schema": {
              "$ref": "#/definitions/GeneralError"

The Response Error Codes should display the definition of the “GeneralError” details from the spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions