Skip to content

When using javax.validation.constraints annotation on method parameters,the parameter is recognized as the request body #6171

@zhengxiang5965

Description

@zhengxiang5965

Q&A (please complete the following information)

  • OS: windows
  • Browser: firfox 2020.2
  • Version: 2.9.2
  • Method of installation: [e.g. npm, dist assets]
  • Swagger-UI version: 2.9.2
  • Swagger/OpenAPI version: [e.g. Swagger 2.0, OpenAPI 3.0]

Content & configuration

Example Swagger/OpenAPI definition:

# your YAML here

Swagger-UI configuration options:

SwaggerUI({
  // your config options here
})
?yourQueryStringConfig

Describe the bug you're encountering

To reproduce...

Steps to reproduce the behavior:
image
image
image
image
image

Expected behavior

Screenshots

Additional context or thoughts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions