Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec contains non-standard number type descriptions #10

Open
Midnighter opened this issue Jan 3, 2024 · 0 comments
Open

Spec contains non-standard number type descriptions #10

Midnighter opened this issue Jan 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Midnighter
Copy link

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

@Midnighter Midnighter added the bug Something isn't working label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant