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)456

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)456

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

Changed in 2 of the 6 revisions of this API.156

    • added the optional property codegenVersion to the response with the 200 status

      response-optional-property-added

    • added the optional property options to the response with the 200 status

      response-optional-property-added

    • added the optional property spec to the response with the 200 status

      response-optional-property-added

    • added the optional property specURL to the response with the 200 status

      response-optional-property-added

    • added the optional property type to the response with the 200 status

      response-optional-property-added

    • added the required property lang to the response with the 200 status

      response-required-property-added

  • 276a3943599215See the full diff
    • removed the required property lang from the response with the 200 status

      response-required-property-removed

    • removed the optional property codegenVersion from the response with the 200 status

      response-optional-property-removed

    • removed the optional property options from the response with the 200 status

      response-optional-property-removed

    • removed the optional property spec from the response with the 200 status

      response-optional-property-removed

    • removed the optional property specURL from the response with the 200 status

      response-optional-property-removed

    • removed the optional property type from the response with the 200 status

      response-optional-property-removed