Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 736 Bytes

README.md

File metadata and controls

24 lines (23 loc) · 736 Bytes

OpenApi Boolean Field's Schema Demo

Demo application reproducing the issue described here.

To run, execute the command below from project's root directory:

./gradlew clean generateOpenApiDocs

Then check generate documentation in openapi.yaml:

components:
  schemas:
    Response:
      type: object
      properties:
        bar:
          type: boolean
          description: Schema description (bar)
          example: true
        foo:
          type: boolean
          # description: Schema description (foo) -- missing
          # example: true                         -- missing
      description: Demo response object