diff --git a/.github/workflows/update-license-year.sh b/.github/workflows/update-license-year.sh old mode 100644 new mode 100755 diff --git a/LICENSE.txt b/LICENSE.txt index 80f57bb..13455db 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016-2024 Hans Klunder +Copyright (c) 2016-2025 Hans Klunder Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package-lock.json b/package-lock.json index 89d7752..8ebf85f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,10 +25,13 @@ } }, "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.1.tgz", + "integrity": "sha512-W+a0/JpU28AqH4IKtwUPcEUnUyXMDLALcn5/JLczGGT9fHE2sIby/xP/oQnx3nxkForzgzPy201RAKcB4xPAFQ==", + "dev": true, + "engines": { + "node": ">=18" + } }, "node_modules/@biomejs/biome": { "version": "1.9.4", @@ -420,12 +423,12 @@ } }, "node_modules/c8": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.2.tgz", - "integrity": "sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.3.tgz", + "integrity": "sha512-LvcyrOAaOnrrlMpW22n690PUvxiq4Uf9WMhQwNJ9vgagkL/ph1+D4uvjvDA5XCbykrc0sx+ay6pVi9YZ1GnhyA==", "dev": true, "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", + "@bcoe/v8-coverage": "^1.0.1", "@istanbuljs/schema": "^0.1.3", "find-up": "^5.0.0", "foreground-child": "^3.1.1", @@ -1120,9 +1123,9 @@ }, "dependencies": { "@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.1.tgz", + "integrity": "sha512-W+a0/JpU28AqH4IKtwUPcEUnUyXMDLALcn5/JLczGGT9fHE2sIby/xP/oQnx3nxkForzgzPy201RAKcB4xPAFQ==", "dev": true }, "@biomejs/biome": { @@ -1364,12 +1367,12 @@ } }, "c8": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.2.tgz", - "integrity": "sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.3.tgz", + "integrity": "sha512-LvcyrOAaOnrrlMpW22n690PUvxiq4Uf9WMhQwNJ9vgagkL/ph1+D4uvjvDA5XCbykrc0sx+ay6pVi9YZ1GnhyA==", "dev": true, "requires": { - "@bcoe/v8-coverage": "^0.2.3", + "@bcoe/v8-coverage": "^1.0.1", "@istanbuljs/schema": "^0.1.3", "find-up": "^5.0.0", "foreground-child": "^3.1.1", diff --git a/test/realworld/failed.json b/test/realworld/failed.json index c8b27ee..3fdced7 100644 --- a/test/realworld/failed.json +++ b/test/realworld/failed.json @@ -1,9 +1,9 @@ { - "testDate": "2023-11-16T16:33:43.171Z", + "testDate": "2024-11-28T16:38:03.963Z", "totalApiCount": 2529, "testedAPICount": 2529, - "failedAPICount": 32, - "knownFailedCount": 30, + "failedAPICount": 31, + "knownFailedCount": 31, "failedTests": [ { "name": "airport-web.appspot.com", @@ -438,7 +438,8 @@ }, "validatorVersion": "2.0", "specificationType": "swagger", - "specificationVersion": "2.0" + "specificationVersion": "2.0", + "knownFailed": true }, { "name": "box.com", @@ -471,7 +472,8 @@ }, "validatorVersion": "2.0", "specificationType": "swagger", - "specificationVersion": "2.0" + "specificationVersion": "2.0", + "knownFailed": true }, { "name": "cloud-elements.com:ecwid", @@ -490,36 +492,6 @@ "specificationVersion": "2.0", "knownFailed": true }, - { - "name": "discourse.local", - "apiVersion": "latest", - "openApiVersion": "3.1.0", - "yamlUrl": "https://api.apis.guru/v2/specs/discourse.local/latest/openapi.yaml", - "jsonUrl": "https://api.apis.guru/v2/specs/discourse.local/latest/openapi.json", - "gitHubUrl": "https://github.com/APIs-guru/openapi-directory/blob/main/APIs/discourse.local/latest/openapi.yaml", - "updated": "2023-03-06T07:12:59.965Z", - "result": { - "valid": false, - "errors": [ - { - "instancePath": "/servers/1/url", - "schemaPath": "#/properties/url/format", - "keyword": "format", - "params": { - "format": "uri-reference" - }, - "message": "must match format \"uri-reference\"", - "hasInstanceValue": true, - "instanceValue": "https://{defaultHost}", - "gitHubUrl": "https://github.com/APIs-guru/openapi-directory/blob/main/APIs/discourse.local/latest/openapi.yaml#L68" - } - ] - }, - "validatorVersion": "3.1", - "specificationType": "openapi", - "specificationVersion": "3.1.0", - "knownFailed": true - }, { "name": "gambitcomm.local:mimic", "apiVersion": "21.00", diff --git a/test/realworld/failed.md b/test/realworld/failed.md index 8b92d31..bd550e3 100644 --- a/test/realworld/failed.md +++ b/test/realworld/failed.md @@ -1,11 +1,11 @@ # Results of real world testing -Report generated at: Thu Nov 16 2023 16:33:43 GMT+0000 (Coordinated Universal Time) +Report generated at: Thu Nov 28 2024 16:38:03 GMT+0000 (Coordinated Universal Time) | APIs at [apis.guru](https://apis.guru) | # |--------|-------| |Total |2529 |Tested |2529 -|Failed validation | 32 +|Failed validation | 31 ## API: airport-web\.appspot\.com (version: v1) @@ -290,30 +290,6 @@ API updated: 2021-06-21T12:16:53.715Z Validation error: Can't resolve [object Object], only internal refs are supported. -## API: discourse\.local (version: latest) -openapi: [3.1.0](https://spec.openapis.org/oas/v3.1.0) -[JSON Schema](https://github.com/seriousme/openapi-schema-validator/tree/master/schemas/v3.1/schema.json) - -API on Github: [link](https://github.com/APIs-guru/openapi-directory/blob/main/APIs/discourse.local/latest/openapi.yaml) - -API updated: 2023-03-06T07:12:59.965Z - -### Path: /servers/1/url -Path on Github: [link](https://github.com/APIs-guru/openapi-directory/blob/main/APIs/discourse.local/latest/openapi.yaml#L68) - -Value: -```json -"https://{defaultHost}" -``` - -AJV errors: - - |Keyword |Params |Message | - |--------|-------|--------| - |format |{"format":"uri-reference"}| must match format "uri-reference" - - - ## API: gambitcomm\.local:mimic (version: 21.00) openapi: [3.0.0](https://spec.openapis.org/oas/v3.0.0) [JSON Schema](https://github.com/seriousme/openapi-schema-validator/tree/master/schemas/v3.0/schema.json)