Closed GeorgeKnap closed 1 year ago
one of ou API endpoints (openapi 3.0.0) defined a model property as
"max": { "type": "float" }
it was generated by ApiPlatform from annotation #[OA\Property(type: 'float')]
#[OA\Property(type: 'float')]
In Angular it was generated in inteface as max?: float;
max?: float;
This breaks compiler as it should be a number type in typescript.
number
Those are not valid openapi 3 types. See https://swagger.io/docs/specification/data-models/data-types/
one of ou API endpoints (openapi 3.0.0) defined a model property as
it was generated by ApiPlatform from annotation
#[OA\Property(type: 'float')]
In Angular it was generated in inteface as
max?: float;
This breaks compiler as it should be a
number
type in typescript.