pocketic
pocketic copied to clipboard
Responses Missing from OpenAPI Specification
The POST response bodies are not included in the OAS exposed by PocketIC's /api.json endpoint.
Example:
{
...
"/instances/": {
"get": {
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExtendedSubnetConfigSet"
}
}
},
"required": true
}
}
},
...
}
Hi Quint, thanks for the heads-up, I added a(n internal) ticket.
Team: https://dfinity.atlassian.net/browse/VER-2759