Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main: 3.1 schema - link to minor spec version #4206

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions schemas/v3.1/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ unevaluatedProperties: false

$defs:
info:
$comment: https://spec.openapis.org/oas/v3.1.0#info-object
$comment: https://spec.openapis.org/oas/v3.1#info-object
type: object
properties:
title:
Expand All @@ -78,7 +78,7 @@ $defs:
unevaluatedProperties: false

contact:
$comment: https://spec.openapis.org/oas/v3.1.0#contact-object
$comment: https://spec.openapis.org/oas/v3.1#contact-object
type: object
properties:
name:
Expand All @@ -93,7 +93,7 @@ $defs:
unevaluatedProperties: false

license:
$comment: https://spec.openapis.org/oas/v3.1.0#license-object
$comment: https://spec.openapis.org/oas/v3.1#license-object
type: object
properties:
name:
Expand All @@ -114,7 +114,7 @@ $defs:
unevaluatedProperties: false

server:
$comment: https://spec.openapis.org/oas/v3.1.0#server-object
$comment: https://spec.openapis.org/oas/v3.1#server-object
type: object
properties:
url:
Expand All @@ -131,7 +131,7 @@ $defs:
unevaluatedProperties: false

server-variable:
$comment: https://spec.openapis.org/oas/v3.1.0#server-variable-object
$comment: https://spec.openapis.org/oas/v3.1#server-variable-object
type: object
properties:
enum:
Expand All @@ -149,7 +149,7 @@ $defs:
unevaluatedProperties: false

components:
$comment: https://spec.openapis.org/oas/v3.1.0#components-object
$comment: https://spec.openapis.org/oas/v3.1#components-object
type: object
properties:
schemas:
Expand Down Expand Up @@ -201,7 +201,7 @@ $defs:
unevaluatedProperties: false

paths:
$comment: https://spec.openapis.org/oas/v3.1.0#paths-object
$comment: https://spec.openapis.org/oas/v3.1#paths-object
type: object
patternProperties:
'^/':
Expand All @@ -210,7 +210,7 @@ $defs:
unevaluatedProperties: false

path-item:
$comment: https://spec.openapis.org/oas/v3.1.0#path-item-object
$comment: https://spec.openapis.org/oas/v3.1#path-item-object
type: object
properties:
$ref:
Expand Down Expand Up @@ -248,7 +248,7 @@ $defs:
unevaluatedProperties: false

operation:
$comment: https://spec.openapis.org/oas/v3.1.0#operation-object
$comment: https://spec.openapis.org/oas/v3.1#operation-object
type: object
properties:
tags:
Expand Down Expand Up @@ -290,7 +290,7 @@ $defs:
unevaluatedProperties: false

external-documentation:
$comment: https://spec.openapis.org/oas/v3.1.0#external-documentation-object
$comment: https://spec.openapis.org/oas/v3.1#external-documentation-object
type: object
properties:
description:
Expand All @@ -304,7 +304,7 @@ $defs:
unevaluatedProperties: false

parameter:
$comment: https://spec.openapis.org/oas/v3.1.0#parameter-object
$comment: https://spec.openapis.org/oas/v3.1#parameter-object
type: object
properties:
name:
Expand Down Expand Up @@ -444,7 +444,7 @@ $defs:
$ref: '#/$defs/parameter'

request-body:
$comment: https://spec.openapis.org/oas/v3.1.0#request-body-object
$comment: https://spec.openapis.org/oas/v3.1#request-body-object
type: object
properties:
description:
Expand All @@ -470,15 +470,15 @@ $defs:
$ref: '#/$defs/request-body'

content:
$comment: https://spec.openapis.org/oas/v3.1.0#fixed-fields-10
$comment: https://spec.openapis.org/oas/v3.1#fixed-fields-10
type: object
additionalProperties:
$ref: '#/$defs/media-type'
propertyNames:
format: media-range

media-type:
$comment: https://spec.openapis.org/oas/v3.1.0#media-type-object
$comment: https://spec.openapis.org/oas/v3.1#media-type-object
type: object
properties:
schema:
Expand All @@ -493,7 +493,7 @@ $defs:
unevaluatedProperties: false

encoding:
$comment: https://spec.openapis.org/oas/v3.1.0#encoding-object
$comment: https://spec.openapis.org/oas/v3.1#encoding-object
type: object
properties:
contentType:
Expand Down Expand Up @@ -521,7 +521,7 @@ $defs:
unevaluatedProperties: false

responses:
$comment: https://spec.openapis.org/oas/v3.1.0#responses-object
$comment: https://spec.openapis.org/oas/v3.1#responses-object
type: object
properties:
default:
Expand All @@ -540,7 +540,7 @@ $defs:
required: [default]

response:
$comment: https://spec.openapis.org/oas/v3.1.0#response-object
$comment: https://spec.openapis.org/oas/v3.1#response-object
type: object
properties:
description:
Expand Down Expand Up @@ -571,7 +571,7 @@ $defs:
$ref: '#/$defs/response'

callbacks:
$comment: https://spec.openapis.org/oas/v3.1.0#callback-object
$comment: https://spec.openapis.org/oas/v3.1#callback-object
type: object
$ref: '#/$defs/specification-extensions'
additionalProperties:
Expand All @@ -588,7 +588,7 @@ $defs:
$ref: '#/$defs/callbacks'

example:
$comment: https://spec.openapis.org/oas/v3.1.0#example-object
$comment: https://spec.openapis.org/oas/v3.1#example-object
type: object
properties:
summary:
Expand Down Expand Up @@ -617,7 +617,7 @@ $defs:
$ref: '#/$defs/example'

link:
$comment: https://spec.openapis.org/oas/v3.1.0#link-object
$comment: https://spec.openapis.org/oas/v3.1#link-object
type: object
properties:
operationRef:
Expand Down Expand Up @@ -651,7 +651,7 @@ $defs:
$ref: '#/$defs/link'

header:
$comment: https://spec.openapis.org/oas/v3.1.0#header-object
$comment: https://spec.openapis.org/oas/v3.1#header-object
type: object
properties:
description:
Expand Down Expand Up @@ -697,7 +697,7 @@ $defs:
$ref: '#/$defs/header'

tag:
$comment: https://spec.openapis.org/oas/v3.1.0#tag-object
$comment: https://spec.openapis.org/oas/v3.1#tag-object
type: object
properties:
name:
Expand All @@ -712,7 +712,7 @@ $defs:
unevaluatedProperties: false

reference:
$comment: https://spec.openapis.org/oas/v3.1.0#reference-object
$comment: https://spec.openapis.org/oas/v3.1#reference-object
type: object
properties:
$ref:
Expand All @@ -724,14 +724,14 @@ $defs:
type: string

schema:
$comment: https://spec.openapis.org/oas/v3.1.0#schema-object
$comment: https://spec.openapis.org/oas/v3.1#schema-object
$dynamicAnchor: meta
type:
- object
- boolean

security-scheme:
$comment: https://spec.openapis.org/oas/v3.1.0#security-scheme-object
$comment: https://spec.openapis.org/oas/v3.1#security-scheme-object
type: object
properties:
type:
Expand Down Expand Up @@ -932,15 +932,15 @@ $defs:
unevaluatedProperties: false

security-requirement:
$comment: https://spec.openapis.org/oas/v3.1.0#security-requirement-object
$comment: https://spec.openapis.org/oas/v3.1#security-requirement-object
type: object
additionalProperties:
type: array
items:
type: string

specification-extensions:
$comment: https://spec.openapis.org/oas/v3.1.0#specification-extensions
$comment: https://spec.openapis.org/oas/v3.1#specification-extensions
patternProperties:
'^x-': true

Expand Down