Last active
August 19, 2020 10:45
-
-
Save shrkw/5002c71e33177b99c0529f1506d6ff22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// tslint:disable | |
/** | |
* test | |
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |
* | |
* The version of the OpenAPI document: 0.1 | |
* | |
* | |
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |
* https://openapi-generator.tech | |
* Do not edit the class manually. | |
*/ | |
import * as globalImportUrl from 'url'; | |
import { Configuration } from './configuration'; | |
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; | |
// Some imports not used depending on template conditions | |
// @ts-ignore | |
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; | |
/** | |
* | |
* @export | |
* @interface InlineObject | |
*/ | |
export interface InlineObject { | |
/** | |
* | |
* @type {string} | |
* @memberof InlineObject | |
*/ | |
message: string; | |
/** | |
* | |
* @type {Array<any>} | |
* @memberof InlineObject | |
*/ | |
files?: Array<any>; | |
} | |
/** | |
* DefaultApi - axios parameter creator | |
* @export | |
*/ | |
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) { | |
return { | |
/** | |
* | |
* @param {string} message | |
* @param {Array<any>} [files] | |
* @param {*} [options] Override http request option. | |
* @throws {RequiredError} | |
*/ | |
uploadFiles: async (message: string, files?: Array<any>, options: any = {}): Promise<RequestArgs> => { | |
// verify required parameter 'message' is not null or undefined | |
if (message === null || message === undefined) { | |
throw new RequiredError('message','Required parameter message was null or undefined when calling uploadFiles.'); | |
} | |
const localVarPath = `/api/upload`; | |
const localVarUrlObj = globalImportUrl.parse(localVarPath, true); | |
let baseOptions; | |
if (configuration) { | |
baseOptions = configuration.baseOptions; | |
} | |
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; | |
const localVarHeaderParameter = {} as any; | |
const localVarQueryParameter = {} as any; | |
const localVarFormParams = new FormData(); | |
if (message !== undefined) { | |
localVarFormParams.append('message', message as any); | |
} | |
if (files) { | |
localVarFormParams.append('files', files.join(COLLECTION_FORMATS.csv)); | |
} | |
localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; | |
localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; | |
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 | |
delete localVarUrlObj.search; | |
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | |
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | |
localVarRequestOptions.data = localVarFormParams; | |
return { | |
url: globalImportUrl.format(localVarUrlObj), | |
options: localVarRequestOptions, | |
}; | |
}, | |
} | |
}; | |
/** | |
* DefaultApi - functional programming interface | |
* @export | |
*/ | |
export const DefaultApiFp = function(configuration?: Configuration) { | |
return { | |
/** | |
* | |
* @param {string} message | |
* @param {Array<any>} [files] | |
* @param {*} [options] Override http request option. | |
* @throws {RequiredError} | |
*/ | |
async uploadFiles(message: string, files?: Array<any>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> { | |
const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).uploadFiles(message, files, options); | |
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | |
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | |
return axios.request(axiosRequestArgs); | |
}; | |
}, | |
} | |
}; | |
/** | |
* DefaultApi - factory interface | |
* @export | |
*/ | |
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { | |
return { | |
/** | |
* | |
* @param {string} message | |
* @param {Array<any>} [files] | |
* @param {*} [options] Override http request option. | |
* @throws {RequiredError} | |
*/ | |
uploadFiles(message: string, files?: Array<any>, options?: any): AxiosPromise<void> { | |
return DefaultApiFp(configuration).uploadFiles(message, files, options).then((request) => request(axios, basePath)); | |
}, | |
}; | |
}; | |
/** | |
* DefaultApi - object-oriented interface | |
* @export | |
* @class DefaultApi | |
* @extends {BaseAPI} | |
*/ | |
export class DefaultApi extends BaseAPI { | |
/** | |
* | |
* @param {string} message | |
* @param {Array<any>} [files] | |
* @param {*} [options] Override http request option. | |
* @throws {RequiredError} | |
* @memberof DefaultApi | |
*/ | |
public uploadFiles(message: string, files?: Array<any>, options?: any) { | |
return DefaultApiFp(this.configuration).uploadFiles(message, files, options).then((request) => request(this.axios, this.basePath)); | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main] INFO o.o.c.config.CodegenConfigurator - | |
VERBOSE MODE: ON. Additional debug options are injected | |
- [debugOpenAPI] prints the OpenAPI specification as interpreted by the codegen | |
- [debugModels] prints models passed to the template engine | |
- [debugOperations] prints operations passed to the template engine | |
- [debugSupportingFiles] prints additional data passed to the template engine | |
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false | |
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client) | |
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable. | |
{ | |
"openapi" : "3.0.3", | |
"info" : { | |
"title" : "test", | |
"version" : "0.1" | |
}, | |
"servers" : [ { | |
"url" : "http://localhost:3000" | |
} ], | |
"tags" : [ { | |
"description" : "test", | |
"name" : "test" | |
} ], | |
"paths" : { | |
"/api/upload" : { | |
"post" : { | |
"operationId" : "upload files", | |
"requestBody" : { | |
"$ref" : "#/components/requestBodies/inline_object", | |
"content" : { | |
"multipart/form-data" : { | |
"encoding" : { | |
"files" : { | |
"explode" : true, | |
"style" : "form" | |
} | |
}, | |
"schema" : { | |
"properties" : { | |
"message" : { | |
"type" : "string" | |
}, | |
"files" : { | |
"items" : { | |
"format" : "binary", | |
"type" : "string" | |
}, | |
"type" : "array" | |
} | |
}, | |
"required" : [ "message" ], | |
"type" : "object" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"200" : { | |
"description" : "ok" | |
} | |
}, | |
"tags" : [ ] | |
} | |
} | |
}, | |
"components" : { | |
"requestBodies" : { | |
"inline_object" : { | |
"content" : { | |
"multipart/form-data" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/inline_object" | |
} | |
} | |
}, | |
"required" : true | |
} | |
}, | |
"schemas" : { | |
"inline_object" : { | |
"properties" : { | |
"message" : { | |
"type" : "string" | |
}, | |
"files" : { | |
"items" : { | |
"format" : "binary", | |
"type" : "string" | |
}, | |
"type" : "array" | |
} | |
}, | |
"required" : [ "message" ], | |
"type" : "object" | |
} | |
} | |
} | |
} | |
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac) | |
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI). | |
[main] INFO o.o.codegen.DefaultGenerator - Model inline_object (marked as unused due to form parameters) is generated due to the system property skipFormModel=false (default) | |
[main] INFO o.o.codegen.DefaultGenerator - ############ Model info ############ | |
[ { | |
"importPath" : "InlineObject", | |
"hasOneOf" : false, | |
"hasAllOf" : false, | |
"model" : { | |
"anyOf" : [ ], | |
"oneOf" : [ ], | |
"allOf" : [ ], | |
"name" : "inline_object", | |
"classname" : "InlineObject", | |
"classVarName" : "inlineObject", | |
"modelJson" : "{\n \"required\" : [ \"message\" ],\n \"type\" : \"object\",\n \"properties\" : {\n \"message\" : {\n \"type\" : \"string\"\n },\n \"files\" : {\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n }\n }\n}", | |
"dataType" : "object", | |
"classFilename" : "inline-object", | |
"isAlias" : false, | |
"isString" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isNumeric" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"vars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : true, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
}, { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"allVars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : true, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
}, { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"requiredVars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
} ], | |
"optionalVars" : [ { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"readOnlyVars" : [ ], | |
"readWriteVars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : true, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
}, { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"parentVars" : [ ], | |
"mandatory" : [ "message" ], | |
"allMandatory" : [ "message" ], | |
"imports" : [ ], | |
"hasVars" : true, | |
"emptyVars" : false, | |
"hasMoreModels" : false, | |
"hasEnums" : false, | |
"isEnum" : false, | |
"isNullable" : false, | |
"hasRequired" : true, | |
"hasOptional" : true, | |
"isArrayModel" : false, | |
"hasChildren" : false, | |
"isMapModel" : false, | |
"isDeprecated" : false, | |
"hasOnlyReadOnly" : false, | |
"vendorExtensions" : { }, | |
"uniqueItems" : false, | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false | |
} | |
} ] | |
[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /api/upload ;post class Operation { | |
tags: [] | |
summary: null | |
description: null | |
externalDocs: null | |
operationId: upload files | |
parameters: null | |
requestBody: class RequestBody { | |
description: null | |
content: class Content { | |
{multipart/form-data=class MediaType { | |
schema: class ObjectSchema { | |
class Schema { | |
type: object | |
format: null | |
$ref: null | |
description: null | |
title: null | |
multipleOf: null | |
maximum: null | |
exclusiveMaximum: null | |
minimum: null | |
exclusiveMinimum: null | |
maxLength: null | |
minLength: null | |
pattern: null | |
maxItems: null | |
minItems: null | |
uniqueItems: null | |
maxProperties: null | |
minProperties: null | |
required: [message] | |
not: null | |
properties: {message=class StringSchema { | |
class Schema { | |
type: string | |
format: null | |
$ref: null | |
description: null | |
title: null | |
multipleOf: null | |
maximum: null | |
exclusiveMaximum: null | |
minimum: null | |
exclusiveMinimum: null | |
maxLength: null | |
minLength: null | |
pattern: null | |
maxItems: null | |
minItems: null | |
uniqueItems: null | |
maxProperties: null | |
minProperties: null | |
required: null | |
not: null | |
properties: null | |
additionalProperties: null | |
nullable: null | |
readOnly: null | |
writeOnly: null | |
example: null | |
externalDocs: null | |
deprecated: null | |
discriminator: null | |
xml: null | |
} | |
}, files=class ArraySchema { | |
class Schema { | |
type: array | |
format: null | |
$ref: null | |
description: null | |
title: null | |
multipleOf: null | |
maximum: null | |
exclusiveMaximum: null | |
minimum: null | |
exclusiveMinimum: null | |
maxLength: null | |
minLength: null | |
pattern: null | |
maxItems: null | |
minItems: null | |
uniqueItems: null | |
maxProperties: null | |
minProperties: null | |
required: null | |
not: null | |
properties: null | |
additionalProperties: null | |
nullable: null | |
readOnly: null | |
writeOnly: null | |
example: null | |
externalDocs: null | |
deprecated: null | |
discriminator: null | |
xml: null | |
} | |
items: class BinarySchema { | |
class Schema { | |
type: string | |
format: binary | |
$ref: null | |
description: null | |
title: null | |
multipleOf: null | |
maximum: null | |
exclusiveMaximum: null | |
minimum: null | |
exclusiveMinimum: null | |
maxLength: null | |
minLength: null | |
pattern: null | |
maxItems: null | |
minItems: null | |
uniqueItems: null | |
maxProperties: null | |
minProperties: null | |
required: null | |
not: null | |
properties: null | |
additionalProperties: null | |
nullable: null | |
readOnly: null | |
writeOnly: null | |
example: null | |
externalDocs: null | |
deprecated: null | |
discriminator: null | |
xml: null | |
} | |
} | |
}} | |
additionalProperties: null | |
nullable: null | |
readOnly: null | |
writeOnly: null | |
example: null | |
externalDocs: null | |
deprecated: null | |
discriminator: null | |
xml: null | |
} | |
} | |
examples: null | |
example: null | |
encoding: {files=Encoding{contentType='null', headers=null, style='form', explode=true, allowReserved=null, extensions=null}} | |
}} | |
} | |
required: true | |
} | |
responses: class ApiResponses { | |
{200=class ApiResponse { | |
description: ok | |
headers: null | |
content: null | |
links: null | |
extensions: null | |
$ref: null | |
}} | |
extensions: null | |
} | |
callbacks: null | |
deprecated: null | |
security: null | |
servers: null | |
} | |
[main] WARN o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from any, null | |
[main] INFO o.o.codegen.DefaultGenerator - ############ Operation info ############ | |
[ { | |
"importPath" : ".Default", | |
"appVersion" : "0.1", | |
"generatedYear" : "2020", | |
"generatorClass" : "org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen", | |
"modelPackage" : "", | |
"sortParamsByRequiredFlag" : true, | |
"gitHost" : "github.com", | |
"classVarName" : "default", | |
"hasModel" : true, | |
"generateApis" : true, | |
"generateModelDocs" : true, | |
"generateModelTests" : true, | |
"basePathWithoutHost" : "", | |
"strictSpecBehavior" : true, | |
"generateApiTests" : true, | |
"classFilename" : "default-api", | |
"lambda" : { | |
"lowercase" : { }, | |
"uppercase" : { }, | |
"titlecase" : { }, | |
"camelcase" : { }, | |
"indented" : { }, | |
"indented_8" : { }, | |
"indented_12" : { }, | |
"indented_16" : { } | |
}, | |
"generateModels" : true, | |
"operations" : { | |
"classname" : "DefaultApi", | |
"operation" : [ { | |
"responseHeaders" : [ ], | |
"hasAuthMethods" : false, | |
"hasConsumes" : true, | |
"hasProduces" : false, | |
"hasParams" : true, | |
"hasOptionalParams" : true, | |
"hasRequiredParams" : true, | |
"returnTypeIsPrimitive" : false, | |
"returnSimpleType" : false, | |
"subresourceOperation" : false, | |
"isMapContainer" : false, | |
"isListContainer" : false, | |
"isMultipart" : true, | |
"hasMore" : false, | |
"isResponseBinary" : false, | |
"isResponseFile" : false, | |
"hasReference" : false, | |
"isRestfulIndex" : false, | |
"isRestfulShow" : false, | |
"isRestfulCreate" : false, | |
"isRestfulUpdate" : false, | |
"isRestfulDestroy" : false, | |
"isRestful" : false, | |
"isDeprecated" : false, | |
"isCallbackRequest" : false, | |
"path" : "/api/upload", | |
"operationId" : "uploadFiles", | |
"httpMethod" : "POST", | |
"baseName" : "Default", | |
"consumes" : [ { | |
"mediaType" : "multipart/form-data" | |
} ], | |
"servers" : [ ], | |
"allParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : true, | |
"isContainer" : false, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "message", | |
"paramName" : "message", | |
"dataType" : "string", | |
"baseType" : "string", | |
"defaultValue" : "undefined", | |
"example" : "message_example", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isFile" : false, | |
"isEnum" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : true, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
}, { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : true, | |
"secondaryParam" : true, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : false, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "files", | |
"paramName" : "files", | |
"dataType" : "Array<any>", | |
"dataFormat" : "binary", | |
"collectionFormat" : "csv", | |
"baseType" : "any", | |
"defaultValue" : "undefined", | |
"example" : "BINARY_DATA_HERE", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isFile" : true, | |
"isEnum" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "inner", | |
"getter" : "getInner", | |
"setter" : "setInner", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "inner", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.inner;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Inner", | |
"nameInSnakeCase" : "INNER", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : false, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"bodyParams" : [ ], | |
"pathParams" : [ ], | |
"queryParams" : [ ], | |
"headerParams" : [ ], | |
"formParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : true, | |
"isContainer" : false, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "message", | |
"paramName" : "message", | |
"dataType" : "string", | |
"baseType" : "string", | |
"defaultValue" : "undefined", | |
"example" : "message_example", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isFile" : false, | |
"isEnum" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : true, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
}, { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : true, | |
"secondaryParam" : true, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : false, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "files", | |
"paramName" : "files", | |
"dataType" : "Array<any>", | |
"dataFormat" : "binary", | |
"collectionFormat" : "csv", | |
"baseType" : "any", | |
"defaultValue" : "undefined", | |
"example" : "BINARY_DATA_HERE", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isFile" : true, | |
"isEnum" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "inner", | |
"getter" : "getInner", | |
"setter" : "setInner", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "inner", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.inner;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Inner", | |
"nameInSnakeCase" : "INNER", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : false, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"cookieParams" : [ ], | |
"requiredParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : false, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "message", | |
"paramName" : "message", | |
"dataType" : "string", | |
"baseType" : "string", | |
"defaultValue" : "undefined", | |
"example" : "message_example", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isFile" : false, | |
"isEnum" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : true, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"optionalParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : true, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : false, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "files", | |
"paramName" : "files", | |
"dataType" : "Array<any>", | |
"dataFormat" : "binary", | |
"collectionFormat" : "csv", | |
"baseType" : "any", | |
"defaultValue" : "undefined", | |
"example" : "BINARY_DATA_HERE", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isFile" : true, | |
"isEnum" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "inner", | |
"getter" : "getInner", | |
"setter" : "setInner", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "inner", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.inner;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Inner", | |
"nameInSnakeCase" : "INNER", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : false, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"tags" : [ { | |
"name" : "default" | |
} ], | |
"responses" : [ { | |
"headers" : [ ], | |
"code" : "200", | |
"is1xx" : false, | |
"is2xx" : true, | |
"is3xx" : false, | |
"is4xx" : false, | |
"is5xx" : false, | |
"message" : "ok", | |
"hasMore" : false, | |
"hasHeaders" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isEmail" : false, | |
"isModel" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isDefault" : true, | |
"simpleType" : true, | |
"primitiveType" : true, | |
"isMapContainer" : false, | |
"isListContainer" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"jsonSchema" : "{\n \"description\" : \"ok\"\n}", | |
"vendorExtensions" : { }, | |
"uniqueItems" : false, | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"wildcard" : false | |
} ], | |
"callbacks" : [ ], | |
"imports" : [ ], | |
"vendorExtensions" : { | |
"multipartFormData" : true | |
}, | |
"nickname" : "uploadFiles", | |
"operationIdOriginal" : "upload files", | |
"operationIdLowerCase" : "uploadfiles", | |
"operationIdCamelCase" : "UploadFiles", | |
"operationIdSnakeCase" : "upload_files", | |
"restfulShow" : false, | |
"restfulIndex" : false, | |
"restfulCreate" : false, | |
"restfulUpdate" : false, | |
"restfulDestroy" : false, | |
"restful" : false, | |
"hasExamples" : false, | |
"hasFormParams" : true, | |
"hasBodyParam" : false, | |
"hasPathParams" : false, | |
"hasQueryParams" : false, | |
"hasHeaderParams" : false, | |
"hasCookieParams" : false, | |
"hasResponseHeaders" : false, | |
"bodyAllowed" : true | |
} ], | |
"pathPrefix" : "default" | |
}, | |
"inputSpec" : "/local/doc/test.yaml", | |
"hideGenerationTimestamp" : true, | |
"baseName" : "Default", | |
"modelRelativeToRoot" : "../", | |
"unescapedAppDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"tsApiPackage" : "", | |
"package" : "", | |
"imports" : [ ], | |
"appName" : "test", | |
"contextPath" : "", | |
"appDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"generateApiDocs" : true, | |
"generatorVersion" : "4.3.1", | |
"releaseNote" : "Minor update", | |
"version" : "0.1", | |
"apiPackage" : "", | |
"supportsES6" : true, | |
"basePath" : "http://localhost:3000", | |
"classname" : "DefaultApi", | |
"modelPropertyNaming" : "camelCase", | |
"apiRelativeToRoot" : "../", | |
"gitRepoId" : "GIT_REPO_ID", | |
"generatedDate" : "2020-08-19T10:07:59.712Z[GMT]", | |
"appDescriptionWithNewLines" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"tsModelPackage" : "", | |
"gitUserId" : "GIT_USER_ID" | |
} ] | |
[main] INFO o.o.codegen.DefaultGenerator - ############ Supporting file info ############ | |
{ | |
"appVersion" : "0.1", | |
"generatedYear" : "2020", | |
"generatorClass" : "org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen", | |
"openAPI" : { | |
"openapi" : "3.0.3", | |
"info" : { | |
"title" : "test", | |
"version" : "0.1" | |
}, | |
"servers" : [ { | |
"url" : "http://localhost:3000" | |
} ], | |
"tags" : [ { | |
"name" : "test", | |
"description" : "test" | |
} ], | |
"paths" : { | |
"/api/upload" : { | |
"post" : { | |
"tags" : [ ], | |
"operationId" : "upload files", | |
"requestBody" : { | |
"content" : { | |
"multipart/form-data" : { | |
"schema" : { | |
"required" : [ "message" ], | |
"type" : "object", | |
"properties" : { | |
"message" : { | |
"type" : "string" | |
}, | |
"files" : { | |
"type" : "array", | |
"items" : { | |
"type" : "string", | |
"format" : "binary" | |
} | |
} | |
} | |
}, | |
"encoding" : { | |
"files" : { | |
"style" : "form", | |
"explode" : true | |
} | |
} | |
} | |
}, | |
"required" : true, | |
"$ref" : "#/components/requestBodies/inline_object" | |
}, | |
"responses" : { | |
"200" : { | |
"description" : "ok" | |
} | |
} | |
} | |
} | |
}, | |
"components" : { | |
"schemas" : { | |
"inline_object" : { | |
"required" : [ "message" ], | |
"type" : "object", | |
"properties" : { | |
"message" : { | |
"type" : "string" | |
}, | |
"files" : { | |
"type" : "array", | |
"items" : { | |
"type" : "string", | |
"format" : "binary" | |
} | |
} | |
} | |
} | |
}, | |
"requestBodies" : { | |
"inline_object" : { | |
"content" : { | |
"multipart/form-data" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/inline_object" | |
} | |
} | |
}, | |
"required" : true | |
} | |
} | |
} | |
}, | |
"scheme" : "http", | |
"modelPackage" : "", | |
"gitHost" : "github.com", | |
"apiFolder" : "", | |
"generateApis" : true, | |
"generateModelDocs" : true, | |
"generateModelTests" : true, | |
"basePathWithoutHost" : "", | |
"generateApiTests" : true, | |
"lambda" : { | |
"lowercase" : { }, | |
"uppercase" : { }, | |
"titlecase" : { }, | |
"camelcase" : { }, | |
"indented" : { }, | |
"indented_8" : { }, | |
"indented_12" : { }, | |
"indented_16" : { } | |
}, | |
"generateModels" : true, | |
"servers" : [ { | |
"url" : "http://localhost:3000", | |
"variables" : [ ] | |
} ], | |
"inputSpec" : "/local/doc/test.yaml", | |
"host" : "localhost", | |
"hideGenerationTimestamp" : true, | |
"modelRelativeToRoot" : "../", | |
"unescapedAppDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"tsApiPackage" : "", | |
"models" : [ { | |
"importPath" : "InlineObject", | |
"hasOneOf" : false, | |
"hasAllOf" : false, | |
"model" : { | |
"anyOf" : [ ], | |
"oneOf" : [ ], | |
"allOf" : [ ], | |
"name" : "inline_object", | |
"classname" : "InlineObject", | |
"classVarName" : "inlineObject", | |
"modelJson" : "{\n \"required\" : [ \"message\" ],\n \"type\" : \"object\",\n \"properties\" : {\n \"message\" : {\n \"type\" : \"string\"\n },\n \"files\" : {\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n }\n }\n}", | |
"dataType" : "object", | |
"classFilename" : "inline-object", | |
"isAlias" : false, | |
"isString" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isNumeric" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"vars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : true, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
}, { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"allVars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : true, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
}, { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"requiredVars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
} ], | |
"optionalVars" : [ { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"readOnlyVars" : [ ], | |
"readWriteVars" : [ { | |
"openApiType" : "string", | |
"baseName" : "message", | |
"getter" : "getMessage", | |
"setter" : "setMessage", | |
"dataType" : "string", | |
"datatypeWithEnum" : "string", | |
"name" : "message", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.message;", | |
"baseType" : "string", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : true, | |
"required" : true, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Message", | |
"nameInSnakeCase" : "MESSAGE", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "string", | |
"iexclusiveMaximum" : false | |
}, { | |
"openApiType" : "array", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "Array<any>", | |
"datatypeWithEnum" : "Array<any>", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "Array", | |
"containerType" : "array", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"array\",\n \"items\" : {\n \"type\" : \"string\",\n \"format\" : \"binary\"\n }\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : true, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"mostInnerItems" : { | |
"openApiType" : "string", | |
"baseName" : "files", | |
"getter" : "getFiles", | |
"setter" : "setFiles", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "files", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.files;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Files", | |
"nameInSnakeCase" : "FILES", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "Array<any>", | |
"iexclusiveMaximum" : false | |
} ], | |
"parentVars" : [ ], | |
"mandatory" : [ "message" ], | |
"allMandatory" : [ "message" ], | |
"imports" : [ ], | |
"hasVars" : true, | |
"emptyVars" : false, | |
"hasMoreModels" : false, | |
"hasEnums" : false, | |
"isEnum" : false, | |
"isNullable" : false, | |
"hasRequired" : true, | |
"hasOptional" : true, | |
"isArrayModel" : false, | |
"hasChildren" : false, | |
"isMapModel" : false, | |
"isDeprecated" : false, | |
"hasOnlyReadOnly" : false, | |
"vendorExtensions" : { }, | |
"uniqueItems" : false, | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false | |
} | |
} ], | |
"appName" : "test", | |
"appDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"contextPath" : "", | |
"generateApiDocs" : true, | |
"generatorVersion" : "4.3.1", | |
"releaseNote" : "Minor update", | |
"version" : "0.1", | |
"apiInfo" : { | |
"apis" : [ { | |
"importPath" : ".Default", | |
"appVersion" : "0.1", | |
"generatedYear" : "2020", | |
"generatorClass" : "org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen", | |
"modelPackage" : "", | |
"sortParamsByRequiredFlag" : true, | |
"gitHost" : "github.com", | |
"classVarName" : "default", | |
"hasModel" : true, | |
"generateApis" : true, | |
"generateModelDocs" : true, | |
"generateModelTests" : true, | |
"basePathWithoutHost" : "", | |
"strictSpecBehavior" : true, | |
"generateApiTests" : true, | |
"classFilename" : "default-api", | |
"lambda" : { | |
"lowercase" : { }, | |
"uppercase" : { }, | |
"titlecase" : { }, | |
"camelcase" : { }, | |
"indented" : { }, | |
"indented_8" : { }, | |
"indented_12" : { }, | |
"indented_16" : { } | |
}, | |
"generateModels" : true, | |
"operations" : { | |
"classname" : "DefaultApi", | |
"operation" : [ { | |
"responseHeaders" : [ ], | |
"hasAuthMethods" : false, | |
"hasConsumes" : true, | |
"hasProduces" : false, | |
"hasParams" : true, | |
"hasOptionalParams" : true, | |
"hasRequiredParams" : true, | |
"returnTypeIsPrimitive" : false, | |
"returnSimpleType" : false, | |
"subresourceOperation" : false, | |
"isMapContainer" : false, | |
"isListContainer" : false, | |
"isMultipart" : true, | |
"hasMore" : false, | |
"isResponseBinary" : false, | |
"isResponseFile" : false, | |
"hasReference" : false, | |
"isRestfulIndex" : false, | |
"isRestfulShow" : false, | |
"isRestfulCreate" : false, | |
"isRestfulUpdate" : false, | |
"isRestfulDestroy" : false, | |
"isRestful" : false, | |
"isDeprecated" : false, | |
"isCallbackRequest" : false, | |
"path" : "/api/upload", | |
"operationId" : "uploadFiles", | |
"httpMethod" : "POST", | |
"baseName" : "Default", | |
"consumes" : [ { | |
"mediaType" : "multipart/form-data" | |
} ], | |
"servers" : [ ], | |
"allParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : true, | |
"isContainer" : false, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "message", | |
"paramName" : "message", | |
"dataType" : "string", | |
"baseType" : "string", | |
"defaultValue" : "undefined", | |
"example" : "message_example", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isFile" : false, | |
"isEnum" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : true, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
}, { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : true, | |
"secondaryParam" : true, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : false, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "files", | |
"paramName" : "files", | |
"dataType" : "Array<any>", | |
"dataFormat" : "binary", | |
"collectionFormat" : "csv", | |
"baseType" : "any", | |
"defaultValue" : "undefined", | |
"example" : "BINARY_DATA_HERE", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isFile" : true, | |
"isEnum" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "inner", | |
"getter" : "getInner", | |
"setter" : "setInner", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "inner", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.inner;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Inner", | |
"nameInSnakeCase" : "INNER", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : false, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"bodyParams" : [ ], | |
"pathParams" : [ ], | |
"queryParams" : [ ], | |
"headerParams" : [ ], | |
"formParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : true, | |
"isContainer" : false, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "message", | |
"paramName" : "message", | |
"dataType" : "string", | |
"baseType" : "string", | |
"defaultValue" : "undefined", | |
"example" : "message_example", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isFile" : false, | |
"isEnum" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : true, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
}, { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : true, | |
"secondaryParam" : true, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : false, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "files", | |
"paramName" : "files", | |
"dataType" : "Array<any>", | |
"dataFormat" : "binary", | |
"collectionFormat" : "csv", | |
"baseType" : "any", | |
"defaultValue" : "undefined", | |
"example" : "BINARY_DATA_HERE", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isFile" : true, | |
"isEnum" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "inner", | |
"getter" : "getInner", | |
"setter" : "setInner", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "inner", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.inner;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Inner", | |
"nameInSnakeCase" : "INNER", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : false, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"cookieParams" : [ ], | |
"requiredParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : false, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "message", | |
"paramName" : "message", | |
"dataType" : "string", | |
"baseType" : "string", | |
"defaultValue" : "undefined", | |
"example" : "message_example", | |
"jsonSchema" : "{\n \"type\" : \"string\"\n}", | |
"isString" : true, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isFile" : false, | |
"isEnum" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : true, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"optionalParams" : [ { | |
"isFormParam" : true, | |
"isQueryParam" : false, | |
"isPathParam" : false, | |
"isHeaderParam" : false, | |
"isCookieParam" : false, | |
"isBodyParam" : false, | |
"hasMore" : false, | |
"isContainer" : true, | |
"secondaryParam" : false, | |
"isCollectionFormatMulti" : false, | |
"isPrimitiveType" : false, | |
"isModel" : false, | |
"isExplode" : false, | |
"baseName" : "files", | |
"paramName" : "files", | |
"dataType" : "Array<any>", | |
"dataFormat" : "binary", | |
"collectionFormat" : "csv", | |
"baseType" : "any", | |
"defaultValue" : "undefined", | |
"example" : "BINARY_DATA_HERE", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : true, | |
"isMapContainer" : false, | |
"isFile" : true, | |
"isEnum" : false, | |
"items" : { | |
"openApiType" : "string", | |
"baseName" : "inner", | |
"getter" : "getInner", | |
"setter" : "setInner", | |
"dataType" : "any", | |
"datatypeWithEnum" : "any", | |
"dataFormat" : "binary", | |
"name" : "inner", | |
"defaultValue" : "undefined", | |
"defaultValueWithParam" : " = data.inner;", | |
"baseType" : "any", | |
"example" : "null", | |
"jsonSchema" : "{\n \"type\" : \"string\",\n \"format\" : \"binary\"\n}", | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"hasMore" : false, | |
"required" : false, | |
"deprecated" : false, | |
"secondaryParam" : false, | |
"hasMoreNonReadOnly" : false, | |
"isPrimitiveType" : true, | |
"isModel" : false, | |
"isContainer" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBinary" : true, | |
"isFile" : true, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isUri" : false, | |
"isEmail" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isListContainer" : false, | |
"isMapContainer" : false, | |
"isEnum" : false, | |
"isReadOnly" : false, | |
"isWriteOnly" : false, | |
"isNullable" : false, | |
"isSelfReference" : false, | |
"isCircularReference" : false, | |
"isDiscriminator" : false, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isInherited" : false, | |
"nameInCamelCase" : "Inner", | |
"nameInSnakeCase" : "INNER", | |
"uniqueItems" : false, | |
"isXmlAttribute" : false, | |
"isXmlWrapped" : false, | |
"datatype" : "any", | |
"iexclusiveMaximum" : false | |
}, | |
"vendorExtensions" : { }, | |
"hasValidation" : false, | |
"isNullable" : false, | |
"required" : false, | |
"exclusiveMaximum" : false, | |
"exclusiveMinimum" : false, | |
"uniqueItems" : false | |
} ], | |
"tags" : [ { | |
"name" : "default" | |
} ], | |
"responses" : [ { | |
"headers" : [ ], | |
"code" : "200", | |
"is1xx" : false, | |
"is2xx" : true, | |
"is3xx" : false, | |
"is4xx" : false, | |
"is5xx" : false, | |
"message" : "ok", | |
"hasMore" : false, | |
"hasHeaders" : false, | |
"isString" : false, | |
"isNumeric" : false, | |
"isInteger" : false, | |
"isLong" : false, | |
"isNumber" : false, | |
"isFloat" : false, | |
"isDouble" : false, | |
"isByteArray" : false, | |
"isBoolean" : false, | |
"isDate" : false, | |
"isDateTime" : false, | |
"isUuid" : false, | |
"isEmail" : false, | |
"isModel" : false, | |
"isFreeFormObject" : false, | |
"isAnyType" : false, | |
"isDefault" : true, | |
"simpleType" : true, | |
"primitiveType" : true, | |
"isMapContainer" : false, | |
"isListContainer" : false, | |
"isBinary" : false, | |
"isFile" : false, | |
"jsonSchema" : "{\n \"description\" : \"ok\"\n}", | |
"vendorExtensions" : { }, | |
"uniqueItems" : false, | |
"exclusiveMinimum" : false, | |
"exclusiveMaximum" : false, | |
"wildcard" : false | |
} ], | |
"callbacks" : [ ], | |
"imports" : [ ], | |
"vendorExtensions" : { | |
"multipartFormData" : true | |
}, | |
"nickname" : "uploadFiles", | |
"operationIdOriginal" : "upload files", | |
"operationIdLowerCase" : "uploadfiles", | |
"operationIdCamelCase" : "UploadFiles", | |
"operationIdSnakeCase" : "upload_files", | |
"restfulShow" : false, | |
"restfulIndex" : false, | |
"restfulCreate" : false, | |
"restfulUpdate" : false, | |
"restfulDestroy" : false, | |
"restful" : false, | |
"hasExamples" : false, | |
"hasFormParams" : true, | |
"hasBodyParam" : false, | |
"hasPathParams" : false, | |
"hasQueryParams" : false, | |
"hasHeaderParams" : false, | |
"hasCookieParams" : false, | |
"hasResponseHeaders" : false, | |
"bodyAllowed" : true | |
} ], | |
"pathPrefix" : "default" | |
}, | |
"inputSpec" : "/local/doc/test.yaml", | |
"hideGenerationTimestamp" : true, | |
"baseName" : "Default", | |
"modelRelativeToRoot" : "../", | |
"unescapedAppDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"tsApiPackage" : "", | |
"package" : "", | |
"imports" : [ ], | |
"appName" : "test", | |
"contextPath" : "", | |
"appDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"generateApiDocs" : true, | |
"generatorVersion" : "4.3.1", | |
"releaseNote" : "Minor update", | |
"version" : "0.1", | |
"apiPackage" : "", | |
"supportsES6" : true, | |
"basePath" : "http://localhost:3000", | |
"classname" : "DefaultApi", | |
"modelPropertyNaming" : "camelCase", | |
"apiRelativeToRoot" : "../", | |
"gitRepoId" : "GIT_REPO_ID", | |
"generatedDate" : "2020-08-19T10:07:59.712Z[GMT]", | |
"appDescriptionWithNewLines" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"tsModelPackage" : "", | |
"gitUserId" : "GIT_USER_ID" | |
} ] | |
}, | |
"supportsES6" : true, | |
"apiPackage" : "", | |
"hasServers" : true, | |
"basePath" : "http://localhost:3000", | |
"modelPropertyNaming" : "camelCase", | |
"apiRelativeToRoot" : "../", | |
"gitRepoId" : "GIT_REPO_ID", | |
"generatedDate" : "2020-08-19T10:07:59.712Z[GMT]", | |
"appDescriptionWithNewLines" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | |
"tsModelPackage" : "", | |
"gitUserId" : "GIT_USER_ID" | |
} | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/index.ts | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/base.ts | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/api.ts | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/configuration.ts | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/git_push.sh | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/.gitignore | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/.npmignore | |
[main] INFO o.o.codegen.AbstractGenerator - writing file /local/app/.openapi-generator/VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment