Skip to content

Commit 8d624d5

Browse files
authored
fix: updates the swagger 2.0 schema (SchemaStore#5208)
* fix: updates the swagger 2.0 schema Signed-off-by: Vincent Biret <[email protected]> * chore: removes extraneous schema * chore: removes extraneous swagger test files Signed-off-by: Vincent Biret <[email protected]> * chore: removes swagger 2 from strict mode entries Signed-off-by: Vincent Biret <[email protected]> * chore: removes swagger entry from options Signed-off-by: Vincent Biret <[email protected]> --------- Signed-off-by: Vincent Biret <[email protected]>
1 parent 3b61cb9 commit 8d624d5

File tree

7 files changed

+1
-2180
lines changed

7 files changed

+1
-2180
lines changed

src/api/json/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6045,7 +6045,7 @@
60456045
"name": "Swagger API 2.0",
60466046
"description": "Swagger API 2.0",
60476047
"fileMatch": ["swagger.json"],
6048-
"url": "https://www.schemastore.org/swagger-2.0.json"
6048+
"url": "https://spec.openapis.org/oas/2.0/schema/2017-08-27"
60496049
},
60506050
{
60516051
"name": "Synadia Connect Component",

src/schema-validation.jsonc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@
277277
"schema-org-place.json",
278278
"servicehub.config.schema.json",
279279
"starlake.json",
280-
"swagger-2.0.json",
281280
"vega.json",
282281
"metaschema-draft-07-unofficial-strict.json",
283282
"glazewm.json",
@@ -1277,9 +1276,6 @@
12771276
"staticwebapp.config.json": {
12781277
"unknownKeywords": ["examples"]
12791278
},
1280-
"swagger-2.0.json": {
1281-
"externalSchema": ["base-04.json"]
1282-
},
12831279
"template.json": {
12841280
"unknownKeywords": ["deprecationMessage", "sources"]
12851281
},

0 commit comments

Comments
 (0)