Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Declarative REST 10
-
5
Description
When creating a simple example to showcase an OpenAPI v3 rest call, I've found no way to retrieve data for just an endpoint path. See this spec:
"/action/status_show": {
"get": {
"summary": "Get the site status",
"description": "Returns the site status",
"tags": [
"action"
],
"responses": {
"200": {
"description": "Returns the site status, version, installed extensions"
}
}
}
},
The full OpenAPI v3 schema url is:
https://raw.githubusercontent.com/bcgov/api-specs/master/bcdc/bcdc.json
I think it should be possible with some placeholder for "/action/status_show" in the FTL:
#assign bcResponse = restfn.call("bcdc", "/action/status_show")
but currently we use something like OperationId to reference the :
which is not defined in the bcdc example schema.

Checklists
Acceptance criteria
Attachments
Issue Links
- is caused by
-
MGNLRESTCL-88 DOC: Page with REST v2 configuration examples
-
- Closed
-
- mentioned in
-
Page Loading...