clients
servers
documentation
config

Generates the intermediate model ("bundle") and returns it as a JSON. body.

post/model

Request body

langstring required

language to generate (required)

specobject

spec in json format. . Alternative to specURL

specURLstring

URL of the spec in json format. Alternative to spec

type'CLIENT' | 'SERVER' | 'DOCUMENTATION' | 'CONFIG'

type of the spec

codegenVersion'V2' | 'V3'

codegen version to use

Example request

{
  "lang": "java"
}

Response

successful operation

langstring required

language to generate (required)

specobject

spec in json format. . Alternative to specURL

specURLstring

URL of the spec in json format. Alternative to spec

type'CLIENT' | 'SERVER' | 'DOCUMENTATION' | 'CONFIG'

type of the spec

codegenVersion'V2' | 'V3'

codegen version to use

Example response

{
  "lang": "java"
}

Changes