Skip to content

Commit 599193e

Browse files
notes on how each uri-reference should resolve
1 parent 2933fe9 commit 599193e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/schemas/validation/schema.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ properties:
1010
pattern: '^3\.2\.\d+(-.+)?$'
1111
$self:
1212
type: string
13+
$comment: resolved against the retrieval uri
1314
format: uri-reference
1415
$comment: MUST NOT contain a fragment
1516
pattern: '^[^#]*$'
1617
info:
1718
$ref: '#/$defs/info'
1819
jsonSchemaDialect:
1920
type: string
21+
$comment: resolved against the resolved version of $self
2022
format: uri-reference
2123
default: 'https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS'
2224
servers:
@@ -68,6 +70,7 @@ $defs:
6870
description:
6971
type: string
7072
termsOfService:
73+
$comment: resolved against the resolved version of $self
7174
type: string
7275
format: uri-reference
7376
contact:
@@ -89,6 +92,7 @@ $defs:
8992
name:
9093
type: string
9194
url:
95+
$comment: resolved against the resolved version of $self
9296
type: string
9397
format: uri-reference
9498
email:
@@ -106,6 +110,7 @@ $defs:
106110
identifier:
107111
type: string
108112
url:
113+
$comment: resolved against the resolved version of $self
109114
type: string
110115
format: uri-reference
111116
required:
@@ -225,6 +230,7 @@ $defs:
225230
type: object
226231
properties:
227232
$ref:
233+
$comment: resolved against the resolved version of $self
228234
type: string
229235
format: uri-reference
230236
summary:
@@ -327,6 +333,7 @@ $defs:
327333
description:
328334
type: string
329335
url:
336+
$comment: resolved against ???
330337
type: string
331338
format: uri-reference
332339
required:
@@ -682,6 +689,7 @@ $defs:
682689
type: string
683690
value: true
684691
externalValue:
692+
$comment: resolved against the resolved version of $self
685693
type: string
686694
format: uri-reference
687695
allOf:
@@ -719,6 +727,7 @@ $defs:
719727
type: object
720728
properties:
721729
operationRef:
730+
$comment: resolved against the resolved version of $self
722731
type: string
723732
format: uri-reference
724733
operationId:
@@ -825,6 +834,7 @@ $defs:
825834
type: object
826835
properties:
827836
$ref:
837+
$comment: resolved against the resolved version of $self
828838
type: string
829839
format: uri-reference
830840
summary:
@@ -929,6 +939,7 @@ $defs:
929939
flows:
930940
$ref: '#/$defs/oauth-flows'
931941
oauth2MetadataUrl:
942+
$comment: resolved against the matching and de-templated server url
932943
type: string
933944
format: uri-reference
934945
required:
@@ -944,6 +955,7 @@ $defs:
944955
then:
945956
properties:
946957
openIdConnectUrl:
958+
$comment: resolved against the matching and de-templated server url
947959
type: string
948960
format: uri-reference
949961
required:
@@ -977,6 +989,7 @@ $defs:
977989

978990
$defs:
979991
implicit:
992+
$comment: references are resolved against the matching and de-templated server url
980993
type: object
981994
properties:
982995
authorizationUrl:
@@ -994,6 +1007,7 @@ $defs:
9941007
unevaluatedProperties: false
9951008

9961009
password:
1010+
$comment: references are resolved against the matching and de-templated server url
9971011
type: object
9981012
properties:
9991013
tokenUrl:
@@ -1011,6 +1025,7 @@ $defs:
10111025
unevaluatedProperties: false
10121026

10131027
client-credentials:
1028+
$comment: references are resolved against the matching and de-templated server url
10141029
type: object
10151030
properties:
10161031
tokenUrl:
@@ -1028,6 +1043,7 @@ $defs:
10281043
unevaluatedProperties: false
10291044

10301045
authorization-code:
1046+
$comment: references are resolved against the matching and de-templated server url
10311047
type: object
10321048
properties:
10331049
authorizationUrl:
@@ -1049,6 +1065,7 @@ $defs:
10491065
unevaluatedProperties: false
10501066

10511067
device-authorization:
1068+
$comment: references are resolved against the matching and de-templated server url
10521069
type: object
10531070
properties:
10541071
deviceAuthorizationUrl:

0 commit comments

Comments
 (0)