Skip to content

Instantly share code, notes, and snippets.

@MikeRalphson
Created July 8, 2021 10:18
Show Gist options
  • Save MikeRalphson/acd3df26a6e09a25fd13b094c706e076 to your computer and use it in GitHub Desktop.
Save MikeRalphson/acd3df26a6e09a25fd13b094c706e076 to your computer and use it in GitHub Desktop.
openapi 3.1 maxed Schema example
openapi: 3.1.0
info:
version: 1.0.0
title: API
jsonSchemaDialect: 'http://json-schema.org/draft-04/schema#'
components:
schemas:
draft4:
exclusiveMaximum: true
draft202012:
$schema: 'https://json-schema.org/draft/2020-12/schema'
exclusiveMaximum: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment