Skip to content
Permalink
Browse files

Merge pull request #1897 from OAI/oas3-schema

OAS3 Schema to `master`
  • Loading branch information...
webron committed Apr 22, 2019
2 parents 39d133d + 35ab014 commit 1bb2c2879730fdea4dd98c6ae72e6368fd1023a0
Showing with 2,673 additions and 0 deletions.
  1. +16 −0 schemas/v3.0/README.md
  2. +1,654 −0 schemas/v3.0/schema.json
  3. +1,003 −0 schemas/v3.0/schema.yaml
@@ -0,0 +1,16 @@
OpenAPI 3.0.X JSON Schema
---

Here you can find the JSON Schema for validating OpenAPI definitions of versions 3.0.X.

As a reminder, the JSON Schema is not the source of truth for the Specification. In cases of conflicts between the Specification itself and the JSON Schema, the Specification wins. Also, some Specification constraints cannot be represented with the JSON Schema so it's highly recommended to employ other methods to ensure compliance.

The iteration version of the JSON Schema can be found in the `id` field. For example, the value of `id: https://spec.openapis.org/oas/3.0/schema/2019-04-02` means this iteration was created on April 2nd, 2019.

To submit improvements to the schema, modify the schema.yaml file only.

The TSC will then:
- Run tests on the updated schema
- Update the iteration version
- Convert the schema.yaml to schema.json
- Publish the new version
Oops, something went wrong.

0 comments on commit 1bb2c28

Please sign in to comment.
You can’t perform that action at this time.