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

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required
id
string
required

Body

application/json
components
object[]
required
components.definition
object
required

The definition of the schema object following OpenAPI specification.

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.schemaId
string

The ID of the schema this object belongs to.

replaceExisting
boolean

Response

200 - application/json
components
object[]
required
components.definition
object
required

The definition of the schema object following OpenAPI specification.

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.schemaId
string

The ID of the schema this object belongs to.