Generates model definitions for a Open API specification. The generator can be configured using a 'settings' JSON object.
Swagger UIyamlpost
/design-api/ workspaces/ {workspaceKey}/ {packageType}s/ {packageKey}/ generate/ openapiPath parameters
workspaceKeystringrequiredThe key of the workspace
packageTypestringrequiredThe type of the package
apppluginpackageKeystringrequiredThe key of the package
Request body multipart/form-data
filefileThe Open API yaml or json specification
urlstringA URL pointing to a publicly available Open API yaml or json specification. Must be enabled in the environment by an admin.
settingsstringThe generator settings JSON string.
Responses
Indicates the request was successful. · ModelGeneratorResponse
generatorMessagesGeneratorMessage[]serviceObjectNodedataDictionaryObjectNodedataObjectObjectNodeformsmap<string, ObjectNode>pagesmap<string, ObjectNode>requiredGrey names have no description in the spec