You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating an openapi using the typescript-axios tool, a property with type as string and format as number generates a type BigDecimal for the generated api.ts file. However, the BigDecimal type does not exist.
example -
properties:
example:
type: stringformat: number
generated code -
/** * * @export * @interface Example */exportinterfaceExample{/** * Example * @type {BigDecimal} * @memberof Example */example?: BigDecimal;}
Description
When generating an openapi using the
typescript-axios
tool, a property withtype
asstring
andformat
asnumber
generates a typeBigDecimal
for the generatedapi.ts
file. However, theBigDecimal
type does not exist.example -
generated code -
openapi-generator version
1.0.12-4.3.0
Command line used for generation
node node_modules/@openapitools/openapi-generator-cli/bin/openapi-generator generate -i ./src/openapi.yaml -g typescript-axios -o ./lib -c ./config.json
Related issues/PRs
This may be related - Link to an issue in swagger-codegen
The text was updated successfully, but these errors were encountered: