POST
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
components

Authorizations

Authorization
string
headerrequired

Path Parameters

organisationId
string
required
id
string
required

Body

application/json
components
object[]
required
components.schemaId
string

The ID of the schema this object belongs to.

components.ref
string
required

The ref of the schema object, for OpenAPI this will be how operations ref to this object with the ref field.

components.definition
object
required

The definition of the schema object following OpenAPI specification.

replaceExisting
boolean

Response

200 - application/json
components
object[]
required
components.schemaId
string

The ID of the schema this object belongs to.

components.ref
string
required

The ref of the schema object, for OpenAPI this will be how operations ref to this object with the ref field.

components.definition
object
required

The definition of the schema object following OpenAPI specification.