Class TypeScriptFetchClientCodegen.ContentTypeVariant
- java.lang.Object
-
- org.openapitools.codegen.languages.TypeScriptFetchClientCodegen.ContentTypeVariant
-
- Enclosing class:
- TypeScriptFetchClientCodegen
public static class TypeScriptFetchClientCodegen.ContentTypeVariant extends Object
One content-type of a merged operation, on one axis. Read by the templates through their own field names, so a mistyped one fails to compile rather than rendering as nothing.
-
-
Field Summary
Fields Modifier and Type Field Description List<CodegenParameter>allParamsCodegenParameterbodyParamList<Map<String,String>>consumesList<CodegenParameter>formParamsbooleanhasFormParamsbooleanisArraybooleanisDefaultbooleanisMapbooleanisResponseFileStringmediaTypeList<Map<String,String>>producesStringreturnBaseTypebooleanreturnSimpleTypeStringreturnTypebooleanreturnTypeIsPrimitivebooleanuniqueItems
-
Constructor Summary
Constructors Constructor Description ContentTypeVariant()
-
-
-
Field Detail
-
mediaType
public String mediaType
-
isDefault
public boolean isDefault
-
allParams
public List<CodegenParameter> allParams
-
formParams
public List<CodegenParameter> formParams
-
bodyParam
public CodegenParameter bodyParam
-
hasFormParams
public boolean hasFormParams
-
isResponseFile
public boolean isResponseFile
-
returnTypeIsPrimitive
public boolean returnTypeIsPrimitive
-
returnSimpleType
public boolean returnSimpleType
-
isArray
public boolean isArray
-
isMap
public boolean isMap
-
uniqueItems
public boolean uniqueItems
-
returnType
public String returnType
-
returnBaseType
public String returnBaseType
-
-