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.
Thanks for feature request!
Will be definitely implemented
Implemented in https://github.com/Rebilly/ReDoc/commit/2cdfcd25cd7520e9ef7df49329e736e5c308bebb
The new release is coming tomorrow.
Most helpful comment
Thanks for feature request!
Will be definitely implemented