Skip to content

[Java*] Refine handling of beanvalidation (parameters + decimals) #4711

@jfiala

Description

@jfiala
Description

For jaxrs-cxf-cdi these improvements have been added in #4615, these should be added to all other languages supporting beanvalidation:

  1. beanValidationParam.mustache has been setup for both beanValidationQueryParams and beanvalidationPathParams.mustache

  2. the handling of Min/Max/DecimalMin/DecimalMax has been improved:
    Min/Max for Integer/Long and
    DecimalMin/DecimalMax for others

After #4719 has been done for all languages, this will also be fixed.

Languages to be updated:

  • jaxrs-cxf-cdi (already up to date)
  • jaxrs-spec
  • jaxrs (Jersey)
  • jaxrs-cxf
  • jaxrs-cxf-client
  • jaxrs-resteasy
  • java
  • spring
Swagger-codegen version

2.2.2

Related issues

PR #4615

is blocked and covered by Issue #4719

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions