Skip to content

Bug OAS v3.1 examples support  #2342

@xiaoxiangmoe

Description

@xiaoxiangmoe

Describe the bug

  • If you are reporting a bug, please help to speed up problem diagnosis by providing as
    much information as possible:
  • A clear and concise description of what the bug is: the title of an issue is not enough
        @Schema(description = "transaction subject", requiredMode = REQUIRED, example = "Hello", examples = { "Hello", "World" })
        public String subject;

The examples field is not working in swagger 3.1

To Reproduce
Steps to reproduce the behavior:

Screenshots
Here need examples:
image

description is wrong here:
image
image

Additional context
none

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