v6

OpenAPI 3.0.1raw.githubusercontent.com2024-06-200020.3 KB
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"
}