springdoc-openapi icon indicating copy to clipboard operation
springdoc-openapi copied to clipboard

Is it possible to define multiple example values?

Open Vhyseris opened this issue 3 years ago • 0 comments

Describe the bug I tried different possibilities to provide multiple example values programatically... e.g. Response Example Value But nothing worked out. Using OpenAPI Specification (yml or json file) it's working! Is this possible?

To Reproduce Steps to reproduce the behavior:

  • Spring Boot Version: 2.7.4
  • Springdoc Openapi Version: 1.6.11

Expected behavior

  • A dropdown to choose from multiple example values is expected.

Screenshots Used OpenAPI Specification, where it's working image Expected result: image

Vhyseris avatar Sep 22 '22 16:09 Vhyseris