Stellantis / stellantis.github.io

Documentation for Application Developpers
https://developer.groupe-psa.io/
25 stars 16 forks source link

[WEB API Specification] Missing format for various 'type: number' #46

Closed etiennerobaglia closed 3 years ago

etiennerobaglia commented 4 years ago

Format is not defined for type: number in Web API OpenAPI Specifcation. Example:

    VehicleOdometer:
        type: object
        properties:
          mileage:
                description: Vehicle mileage expressed in KM.
                type: number
          createdAt:
              type: string
              format: date-time

This lead to misfunctions with swagger's codegen feature (in particular with JAVA).

etiennerobaglia commented 3 years ago

This issue has been resolved in PR #57 (v3) PR #55 (v2)!