Redoc: External Example not shown

Created on 28 Jun 2018  路  2Comments  路  Source: Redocly/redoc

I have this OpenAPI 3.0 specification:

...
    "/processes": {
      "get": {
        "summary": "List supported processes.",
        "description": "The request asks the back-end for available processes and returns detailed process descriptions, including parameters and return values. Processes are described using the Functio specification for language-agnostic process descriptions.",
        "tags": [
          "Process Discovery"
        ],
        "externalDocs": {
          "description": "Functio specification, version 0.1.0 (or any newer patch version).",
          "url": "https://github.com/m-mohr/functio-spec/blob/master/versions/0.1.0/spec.md"
        },
        "responses": {
          "200": {
            "description": "Functio document describing the supported processes.",
            "content": {
              "application/json": {
                "schema": {
                  "externalDocs": {
                    "description": "Functio specification, version 0.1.0 (or any newer patch version).",
                    "url": "https://github.com/m-mohr/functio-spec/blob/master/versions/0.1.0/spec.md"
                  }
                },
                "examples": {
                  "functioSpecExample": {
                    "externalValue": "https://raw.githubusercontent.com/m-mohr/functio-spec/master/versions/0.1.0/example.json"
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/client_error_auth"
          },
          "5XX": {
            "$ref": "#/components/responses/server_error"
          }
        }
      }
    },
...

The example is not rendered by ReDoc as you can see here:
https://open-eo.github.io/openeo-api/v/0.3.0/apireference/index.html#/paths/~1processes/get

Would be helpful to have this feature implemented.

feature help wanted

Most helpful comment

Thanks for feature request!
Will be definitely implemented

All 2 comments

Thanks for feature request!
Will be definitely implemented

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dvh picture dvh  路  3Comments

dwilding picture dwilding  路  4Comments

vietnguyen010 picture vietnguyen010  路  3Comments

karussell picture karussell  路  3Comments

gauravmokhasi picture gauravmokhasi  路  4Comments