Skip to content

cannonrush/openapi-bool-demo

Repository files navigation

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

About

OpenApi Boolean Field's Schema Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages