Skip to content

[BUG] useBeanValidation is always false #23585

@Sa1ZeR

Description

@Sa1ZeR

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

If you use library with the spring-http-interface value, useBeanValidation and performBeanValidation are always false. Consequently, validation annotations are not generated in DTO classes.
If you use spring-cloud, everything works correctly.

openapi-generator version

7.21.0

OpenAPI declaration file content or url

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