Generate an OpenAPI spec from a Knowledge Model

OpenaAPI spec of Knowledge Model

SecurityBearerAuth or ApiKeyAuth
Request
path Parameters
km_id
required
string
Example: open-purchase-requisition.purchase-requisition-km
query Parameters
curated
boolean
Example: curated=false
Responses
200

OpenAPI Spec

400

Bad Request.

401

Unauthorized access.

403

Forbidden.

404

The specified resource was not found

429

Too Many Requests.

500

Internal Server Error.

503

Service Unavailable.

get/api/knowledge-models/{km_id}/spec
Request samples
Response samples
application/json
{
  • "openapi": "string",
  • "info": {
    },
  • "servers": [
    ],
  • "security": [
    ],
  • "paths": { },
  • "components": {
    }
}