Skip to content

Commit 46cc7f3

Browse files
committed
feature: update 3.1 spec to version 2025-02-13
1 parent 12d0633 commit 46cc7f3

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

schemas/v3.1/schema.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$id": "https://spec.openapis.org/oas/3.1/schema/2024-11-14",
2+
"$id": "https://spec.openapis.org/oas/3.1/schema/2025-02-13",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
44
"description": "The description of OpenAPI v3.1.x Documents without Schema Object validation",
55
"type": "object",
@@ -13,8 +13,8 @@
1313
},
1414
"jsonSchemaDialect": {
1515
"type": "string",
16-
"format": "uri",
17-
"default": "https://spec.openapis.org/oas/3.1/dialect/2024-10-25"
16+
"format": "uri-reference",
17+
"default": "https://spec.openapis.org/oas/3.1/dialect/2024-11-10"
1818
},
1919
"servers": {
2020
"type": "array",
@@ -94,7 +94,7 @@
9494
},
9595
"termsOfService": {
9696
"type": "string",
97-
"format": "uri"
97+
"format": "uri-reference"
9898
},
9999
"contact": {
100100
"$ref": "#/$defs/contact"
@@ -122,7 +122,7 @@
122122
},
123123
"url": {
124124
"type": "string",
125-
"format": "uri"
125+
"format": "uri-reference"
126126
},
127127
"email": {
128128
"type": "string",
@@ -144,7 +144,7 @@
144144
},
145145
"url": {
146146
"type": "string",
147-
"format": "uri"
147+
"format": "uri-reference"
148148
}
149149
},
150150
"required": [
@@ -419,7 +419,7 @@
419419
},
420420
"url": {
421421
"type": "string",
422-
"format": "uri"
422+
"format": "uri-reference"
423423
}
424424
},
425425
"required": [
@@ -863,7 +863,7 @@
863863
"value": true,
864864
"externalValue": {
865865
"type": "string",
866-
"format": "uri"
866+
"format": "uri-reference"
867867
}
868868
},
869869
"not": {
@@ -1207,7 +1207,7 @@
12071207
"properties": {
12081208
"openIdConnectUrl": {
12091209
"type": "string",
1210-
"format": "uri"
1210+
"format": "uri-reference"
12111211
}
12121212
},
12131213
"required": [
@@ -1255,11 +1255,11 @@
12551255
"properties": {
12561256
"authorizationUrl": {
12571257
"type": "string",
1258-
"format": "uri"
1258+
"format": "uri-reference"
12591259
},
12601260
"refreshUrl": {
12611261
"type": "string",
1262-
"format": "uri"
1262+
"format": "uri-reference"
12631263
},
12641264
"scopes": {
12651265
"$ref": "#/$defs/map-of-strings"
@@ -1277,11 +1277,11 @@
12771277
"properties": {
12781278
"tokenUrl": {
12791279
"type": "string",
1280-
"format": "uri"
1280+
"format": "uri-reference"
12811281
},
12821282
"refreshUrl": {
12831283
"type": "string",
1284-
"format": "uri"
1284+
"format": "uri-reference"
12851285
},
12861286
"scopes": {
12871287
"$ref": "#/$defs/map-of-strings"
@@ -1299,11 +1299,11 @@
12991299
"properties": {
13001300
"tokenUrl": {
13011301
"type": "string",
1302-
"format": "uri"
1302+
"format": "uri-reference"
13031303
},
13041304
"refreshUrl": {
13051305
"type": "string",
1306-
"format": "uri"
1306+
"format": "uri-reference"
13071307
},
13081308
"scopes": {
13091309
"$ref": "#/$defs/map-of-strings"
@@ -1321,15 +1321,15 @@
13211321
"properties": {
13221322
"authorizationUrl": {
13231323
"type": "string",
1324-
"format": "uri"
1324+
"format": "uri-reference"
13251325
},
13261326
"tokenUrl": {
13271327
"type": "string",
1328-
"format": "uri"
1328+
"format": "uri-reference"
13291329
},
13301330
"refreshUrl": {
13311331
"type": "string",
1332-
"format": "uri"
1332+
"format": "uri-reference"
13331333
},
13341334
"scopes": {
13351335
"$ref": "#/$defs/map-of-strings"

test/snapshots-check-versions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"schema v3.0 is unchanged": "66e985dbc28010b540f45327e10b775e5415045e741191a4b84fefa50ef1796f",
3-
"schema v3.1 is unchanged": "81577692457831b030c9c8c7c4a45c9a33304480f5964bbd3c563f60b22c687d"
3+
"schema v3.1 is unchanged": "4fcb3c4a3b7642f93c86bc793ab8ad4aedd2e7b3164082d9fdceda3a3d996069",
4+
"schema v2.0 is unchanged": "220e4d47e8dbd8f72a612898429b970bfd652e663569f7202002ceb9767e033a"
45
}

0 commit comments

Comments
 (0)