Skip to content

Numeric bounds added to non-numeric fields #794

@Suficio

Description

@Suficio

Adding a numeric format field to non-numeric type generates numeric bounds in JSON Schema

Example OpenAPI definition:

- name: steamid
   in: query
   description: Steam ID of user making purchase.
   schema:
     type: string
     format: uint64

Resulting invalid schema:

{
    type: 'string',
    format: 'uint64',
    minimum: 0,
    maximum: 18446744073709552000,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions