structurizr/json

Spec contains non-standard number type descriptions

Midnighter opened this issue · 0 comments

Description

Not a big deal, but as far as I can tell from the OpenAPI spec documentation, some of the number types are incorrectly described in the structurizr spec.

https://swagger.io/docs/specification/data-models/data-types/#numbers

Basically, any occurrence of

type: number
format: integer

should just be

type: integer

and any occurrence of

type: number
format: long

should be

type: integer
format: in64

Steps to reproduce

Search the OpenAPI spec for format: long or format: integer.

Screenshot

No response

Code sample

No response

Configuration

No response

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

No response