Skip to content

Fixing minimum and maximum elements type in @Schema #2441

Open
@navidsh

Description

@navidsh

maximum and minimum elements in the @Schema OAS annotation are defined as String. However, maximum and minimum are defined as BigDecimal.

Change the datatype in @Schema to double:

  double maximum() default 0;
  double minimum() default 0;

Another element in the @Schema annotation already uses double:

double multipleOf() default 0;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions