OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Please see excerpt for CharacteristicValueSpecification.value
"value": {
"$ref": "#/definitions/Any",
"description": "A discrete value that the characteristic can take on, or the actual value of the characteristic"
}
Bug Report Checklist
Description
As per Swagger documentation for Any Type
openapi-generator-cli maps shorthand for any type
{}
toobject
data type when language is set to typescript-angularopenapi-generator version
7.9.0 It is not a regression.
OpenAPI declaration file content or url
Swagger file: https://github.com/tmforum-apis/TMF620_ProductCatalog/blob/master/TMF620-ProductCatalog-v4.0.0.swagger.json
Please see excerpt for CharacteristicValueSpecification.value
Generation Details
Language: typescript-angular
Steps to reproduce
openapi-generator-cli generate -i https://raw.githubusercontent.com/tmforum-apis/TMF620_ProductCatalog/refs/heads/master/TMF620-ProductCatalog-v4.0.0.swagger.json -g typescript-angular -o ./openapi-generator-cli-TMF620_generated-typescript-models
Related issues/PRs
Suggest a fix
Below type could be used instead of
object