File tree 5 files changed +24
-20
lines changed
5 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "$id" : " https://spec.openapis.org/oas/3.1/schema-base/2021-04-15 " ,
2
+ "$id" : " https://spec.openapis.org/oas/3.1/schema-base/2021-05-20 " ,
3
3
"$schema" : " https://json-schema.org/draft/2020-12/schema" ,
4
- "$ref" : " https://spec.openapis.org/oas/3.1/schema/2021-04-15 " ,
4
+ "$ref" : " https://spec.openapis.org/oas/3.1/schema/2021-05-20 " ,
5
5
"properties" : {
6
6
"jsonSchemaDialect" : {
7
7
"$ref" : " #/$defs/dialect"
Original file line number Diff line number Diff line change 1
- $id : ' https://spec.openapis.org/oas/3.1/schema-base/2021-04-15 '
1
+ $id : ' https://spec.openapis.org/oas/3.1/schema-base/2021-05-20 '
2
2
$schema : ' https://json-schema.org/draft/2020-12/schema'
3
3
4
- $ref : ' https://spec.openapis.org/oas/3.1/schema/2021-04-15 '
4
+ $ref : ' https://spec.openapis.org/oas/3.1/schema/2021-05-20 '
5
5
properties :
6
6
jsonSchemaDialect :
7
7
$ref : ' #/$defs/dialect'
Original file line number Diff line number Diff line change 1
1
{
2
- "$id" : " https://spec.openapis.org/oas/3.1/schema/2021-04-15 " ,
2
+ "$id" : " https://spec.openapis.org/oas/3.1/schema/2021-05-20 " ,
3
3
"$schema" : " https://json-schema.org/draft/2020-12/schema" ,
4
4
"type" : " object" ,
5
5
"properties" : {
1331
1331
},
1332
1332
"uri" : {
1333
1333
"type" : " string" ,
1334
- "format" : " uri"
1334
+ "format" : " uri-reference "
1335
1335
},
1336
1336
"map-of-strings" : {
1337
1337
"type" : " object" ,
Original file line number Diff line number Diff line change 1
- $id : ' https://spec.openapis.org/oas/3.1/schema/2021-04-15 '
1
+ $id : ' https://spec.openapis.org/oas/3.1/schema/2021-05-20 '
2
2
$schema : ' https://json-schema.org/draft/2020-12/schema'
3
3
4
4
type : object
@@ -9,7 +9,8 @@ properties:
9
9
info :
10
10
$ref : ' #/$defs/info'
11
11
jsonSchemaDialect :
12
- $ref : ' #/$defs/uri'
12
+ type : string
13
+ format : uri
13
14
default : ' https://spec.openapis.org/oas/3.1/dialect/base'
14
15
servers :
15
16
type : array
90
91
identifier :
91
92
type : string
92
93
url :
93
- $ref : ' #/$defs/uri'
94
+ type : string
95
+ format : uri
94
96
required :
95
97
- name
96
98
oneOf :
@@ -105,7 +107,8 @@ $defs:
105
107
type : object
106
108
properties :
107
109
url :
108
- $ref : ' #/$defs/uri'
110
+ type : string
111
+ format : uri-reference
109
112
description :
110
113
type : string
111
114
variables :
@@ -270,7 +273,8 @@ $defs:
270
273
description :
271
274
type : string
272
275
url :
273
- $ref : ' #/$defs/uri'
276
+ type : string
277
+ format : uri
274
278
required :
275
279
- url
276
280
$ref : ' #/$defs/specification-extensions'
@@ -574,7 +578,8 @@ $defs:
574
578
type : string
575
579
value : true
576
580
externalValue :
577
- $ref : ' #/$defs/uri'
581
+ type : string
582
+ format : uri
578
583
$ref : ' #/$defs/specification-extensions'
579
584
unevaluatedProperties : false
580
585
@@ -591,7 +596,8 @@ $defs:
591
596
type : object
592
597
properties :
593
598
operationRef :
594
- $ref : ' #/$defs/uri'
599
+ type : string
600
+ format : uri-reference
595
601
operationId : true
596
602
parameters :
597
603
$ref : ' #/$defs/map-of-strings'
@@ -681,7 +687,8 @@ $defs:
681
687
type : object
682
688
properties :
683
689
$ref :
684
- $ref : ' #/$defs/uri'
690
+ type : string
691
+ format : uri-reference
685
692
summary :
686
693
type : string
687
694
description :
@@ -793,7 +800,8 @@ $defs:
793
800
then :
794
801
properties :
795
802
openIdConnectUrl :
796
- $ref : ' #/$defs/uri'
803
+ type : string
804
+ format : uri
797
805
required :
798
806
- openIdConnectUrl
799
807
@@ -903,10 +911,6 @@ $defs:
903
911
additionalProperties :
904
912
$ref : ' #/$defs/example-or-reference'
905
913
906
- uri :
907
- type : string
908
- format : uri
909
-
910
914
map-of-strings :
911
915
type : object
912
916
additionalProperties :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ before(async () => {
14
14
JsonSchema . add ( dialect ) ;
15
15
JsonSchema . add ( vocabulary ) ;
16
16
JsonSchema . add ( yaml . parse ( fs . readFileSync ( `${ __dirname } /../../schemas/v3.1/schema.yaml` , "utf8" ) , { prettyErrors : true } ) ) ;
17
- metaSchema = await JsonSchema . get ( "https://spec.openapis.org/oas/3.1/schema/2021-03-02 " ) ;
17
+ metaSchema = await JsonSchema . get ( "https://spec.openapis.org/oas/3.1/schema/2021-05-20 " ) ;
18
18
} ) ;
19
19
20
20
describe ( "Pass" , ( ) => {
You can’t perform that action at this time.
0 commit comments