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
}
}
},
...
}
The POST response bodies are not included in the OAS exposed by PocketIC's
/api.jsonendpoint.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 } } }, ... }