diff --git a/packages/openapi2-parser/CHANGELOG.md b/packages/openapi2-parser/CHANGELOG.md index b37025616..cbab772ef 100644 --- a/packages/openapi2-parser/CHANGELOG.md +++ b/packages/openapi2-parser/CHANGELOG.md @@ -1,5 +1,9 @@ # API Elements: OpenAPI 2 Parser Changelog +## Master + +- added a Link element to the specific format/version in the parse result. + ## 0.32.3 (2020-08-06) Adds compatibility for @apielements/core 0.2.0. diff --git a/packages/openapi2-parser/lib/parser.js b/packages/openapi2-parser/lib/parser.js index be0941589..0fa65c4a0 100644 --- a/packages/openapi2-parser/lib/parser.js +++ b/packages/openapi2-parser/lib/parser.js @@ -197,6 +197,7 @@ class Parser { // By default there are no groups, just the root API element this.group = this.api; + this.addFormatLink(); this.handleSwaggerInfo(); this.handleSwaggerHost(); this.handleSwaggerAuth(); @@ -325,6 +326,18 @@ class Parser { }); } + // Add the link to the format version specs + addFormatLink() { + const { Link } = this.namespace.elements; + const link = new Link(); + + link.title = 'OpenAPI 2'; + link.relation = 'via'; + link.href = 'https://spec.openapis.org/oas/v2.0'; + + return this.result.links.push(link); + } + // Converts the Swagger title and description handleSwaggerInfo() { const { Copy } = this.namespace.elements; diff --git a/packages/openapi2-parser/test/fixtures/auth-extensions.json b/packages/openapi2-parser/test/fixtures/auth-extensions.json index 2e394f6bf..ebb076800 100644 --- a/packages/openapi2-parser/test/fixtures/auth-extensions.json +++ b/packages/openapi2-parser/test/fixtures/auth-extensions.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/auth-extensions.sourcemap.json b/packages/openapi2-parser/test/fixtures/auth-extensions.sourcemap.json index c495d1ed7..d9df68a14 100644 --- a/packages/openapi2-parser/test/fixtures/auth-extensions.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/auth-extensions.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/auth-multi-consumes.json b/packages/openapi2-parser/test/fixtures/auth-multi-consumes.json index dc9caf323..3396e07d2 100644 --- a/packages/openapi2-parser/test/fixtures/auth-multi-consumes.json +++ b/packages/openapi2-parser/test/fixtures/auth-multi-consumes.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/auth-multi-consumes.sourcemap.json b/packages/openapi2-parser/test/fixtures/auth-multi-consumes.sourcemap.json index 55c553278..be97e5d31 100644 --- a/packages/openapi2-parser/test/fixtures/auth-multi-consumes.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/auth-multi-consumes.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/circular-example.json b/packages/openapi2-parser/test/fixtures/circular-example.json index f0508f244..b4cd344a6 100644 --- a/packages/openapi2-parser/test/fixtures/circular-example.json +++ b/packages/openapi2-parser/test/fixtures/circular-example.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/circular-example.sourcemap.json b/packages/openapi2-parser/test/fixtures/circular-example.sourcemap.json index 753e8f85e..8c9d2bb63 100644 --- a/packages/openapi2-parser/test/fixtures/circular-example.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/circular-example.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/consumes-invalid-type.json b/packages/openapi2-parser/test/fixtures/consumes-invalid-type.json index 3168a393d..d9a1a43f0 100644 --- a/packages/openapi2-parser/test/fixtures/consumes-invalid-type.json +++ b/packages/openapi2-parser/test/fixtures/consumes-invalid-type.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/consumes-invalid-type.sourcemap.json b/packages/openapi2-parser/test/fixtures/consumes-invalid-type.sourcemap.json index a37f2226f..0a8cdd16c 100644 --- a/packages/openapi2-parser/test/fixtures/consumes-invalid-type.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/consumes-invalid-type.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/consumes-multipart-file.json b/packages/openapi2-parser/test/fixtures/consumes-multipart-file.json index f1f500d79..901fb5b46 100644 --- a/packages/openapi2-parser/test/fixtures/consumes-multipart-file.json +++ b/packages/openapi2-parser/test/fixtures/consumes-multipart-file.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/consumes-multipart-file.sourcemap.json b/packages/openapi2-parser/test/fixtures/consumes-multipart-file.sourcemap.json index 448e60208..e0cae4159 100644 --- a/packages/openapi2-parser/test/fixtures/consumes-multipart-file.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/consumes-multipart-file.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.json b/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.json index c6228431e..be0267214 100644 --- a/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.json +++ b/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.sourcemap.json b/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.sourcemap.json index b973a032e..f5e49d073 100644 --- a/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/data-structure-generation-nullable-member.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.json b/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.json index ee1c7bc78..6b6581e55 100644 --- a/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.json +++ b/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.sourcemap.json b/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.sourcemap.json index b8f62eb7f..004537a25 100644 --- a/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/data-structure-generation-ref.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/data-structure-generation.json b/packages/openapi2-parser/test/fixtures/data-structure-generation.json index f400e46f8..41e09e1f9 100644 --- a/packages/openapi2-parser/test/fixtures/data-structure-generation.json +++ b/packages/openapi2-parser/test/fixtures/data-structure-generation.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/data-structure-generation.sourcemap.json b/packages/openapi2-parser/test/fixtures/data-structure-generation.sourcemap.json index e70428a86..9811198d4 100644 --- a/packages/openapi2-parser/test/fixtures/data-structure-generation.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/data-structure-generation.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/external-dereferencing.json b/packages/openapi2-parser/test/fixtures/external-dereferencing.json index 1b4423f98..dbb340c87 100644 --- a/packages/openapi2-parser/test/fixtures/external-dereferencing.json +++ b/packages/openapi2-parser/test/fixtures/external-dereferencing.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/external-dereferencing.sourcemap.json b/packages/openapi2-parser/test/fixtures/external-dereferencing.sourcemap.json index 76514346f..0c0998c87 100644 --- a/packages/openapi2-parser/test/fixtures/external-dereferencing.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/external-dereferencing.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/format-link.json b/packages/openapi2-parser/test/fixtures/format-link.json new file mode 100644 index 000000000..a1f7b52a9 --- /dev/null +++ b/packages/openapi2-parser/test/fixtures/format-link.json @@ -0,0 +1,102 @@ +{ + "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, + "content": [ + { + "element": "category", + "meta": { + "classes": { + "element": "array", + "content": [ + { + "element": "string", + "content": "api" + } + ] + }, + "title": { + "element": "string", + "content": "Format Link" + } + }, + "attributes": { + "version": { + "element": "string", + "content": "1.0.0" + } + }, + "content": [ + { + "element": "resource", + "attributes": { + "href": { + "element": "string", + "content": "/greeting" + } + }, + "content": [ + { + "element": "transition", + "content": [ + { + "element": "httpTransaction", + "content": [ + { + "element": "httpRequest", + "attributes": { + "method": { + "element": "string", + "content": "GET" + } + } + }, + { + "element": "httpResponse", + "attributes": { + "statusCode": { + "element": "string", + "content": "200" + } + }, + "content": [ + { + "element": "copy", + "content": "OK" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/packages/openapi2-parser/test/fixtures/format-link.sourcemap.json b/packages/openapi2-parser/test/fixtures/format-link.sourcemap.json new file mode 100644 index 000000000..c0695a2cc --- /dev/null +++ b/packages/openapi2-parser/test/fixtures/format-link.sourcemap.json @@ -0,0 +1,252 @@ +{ + "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, + "content": [ + { + "element": "category", + "meta": { + "classes": { + "element": "array", + "content": [ + { + "element": "string", + "content": "api" + } + ] + }, + "title": { + "element": "string", + "attributes": { + "sourceMap": { + "element": "array", + "content": [ + { + "element": "sourceMap", + "content": [ + { + "element": "array", + "content": [ + { + "element": "number", + "content": 40 + }, + { + "element": "number", + "content": 18 + } + ] + } + ] + } + ] + } + }, + "content": "Format Link" + } + }, + "attributes": { + "version": { + "element": "string", + "attributes": { + "sourceMap": { + "element": "array", + "content": [ + { + "element": "sourceMap", + "content": [ + { + "element": "array", + "content": [ + { + "element": "number", + "content": 23 + }, + { + "element": "number", + "content": 14 + } + ] + } + ] + } + ] + } + }, + "content": "1.0.0" + } + }, + "content": [ + { + "element": "resource", + "attributes": { + "href": { + "element": "string", + "attributes": { + "sourceMap": { + "element": "array", + "content": [ + { + "element": "sourceMap", + "content": [ + { + "element": "array", + "content": [ + { + "element": "number", + "content": 68 + }, + { + "element": "number", + "content": 79 + } + ] + } + ] + } + ] + } + }, + "content": "/greeting" + } + }, + "content": [ + { + "element": "transition", + "content": [ + { + "element": "httpTransaction", + "content": [ + { + "element": "httpRequest", + "attributes": { + "method": { + "element": "string", + "attributes": { + "sourceMap": { + "element": "array", + "content": [ + { + "element": "sourceMap", + "content": [ + { + "element": "array", + "content": [ + { + "element": "number", + "content": 85 + }, + { + "element": "number", + "content": 62 + } + ] + } + ] + } + ] + } + }, + "content": "GET" + } + } + }, + { + "element": "httpResponse", + "attributes": { + "statusCode": { + "element": "string", + "attributes": { + "sourceMap": { + "element": "array", + "content": [ + { + "element": "sourceMap", + "content": [ + { + "element": "array", + "content": [ + { + "element": "number", + "content": 115 + }, + { + "element": "number", + "content": 32 + } + ] + } + ] + } + ] + } + }, + "content": "200" + } + }, + "content": [ + { + "element": "copy", + "attributes": { + "sourceMap": { + "element": "array", + "content": [ + { + "element": "sourceMap", + "content": [ + { + "element": "array", + "content": [ + { + "element": "number", + "content": 132 + }, + { + "element": "number", + "content": 15 + } + ] + } + ] + } + ] + } + }, + "content": "OK" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/packages/openapi2-parser/test/fixtures/format-link.yaml b/packages/openapi2-parser/test/fixtures/format-link.yaml new file mode 100644 index 000000000..14ed6c098 --- /dev/null +++ b/packages/openapi2-parser/test/fixtures/format-link.yaml @@ -0,0 +1,10 @@ +swagger: '2.0' +info: + version: 1.0.0 + title: Format Link +paths: + '/greeting': + get: + responses: + '200': + description: OK \ No newline at end of file diff --git a/packages/openapi2-parser/test/fixtures/headers-type-warning.json b/packages/openapi2-parser/test/fixtures/headers-type-warning.json index 177df5cd0..ab3019532 100644 --- a/packages/openapi2-parser/test/fixtures/headers-type-warning.json +++ b/packages/openapi2-parser/test/fixtures/headers-type-warning.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/headers-type-warning.sourcemap.json b/packages/openapi2-parser/test/fixtures/headers-type-warning.sourcemap.json index d512f3695..5a7914d73 100644 --- a/packages/openapi2-parser/test/fixtures/headers-type-warning.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/headers-type-warning.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/info-contact.json b/packages/openapi2-parser/test/fixtures/info-contact.json index 64d8a4b26..509d47db2 100644 --- a/packages/openapi2-parser/test/fixtures/info-contact.json +++ b/packages/openapi2-parser/test/fixtures/info-contact.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/info-contact.sourcemap.json b/packages/openapi2-parser/test/fixtures/info-contact.sourcemap.json index 08c671616..7ba5307fa 100644 --- a/packages/openapi2-parser/test/fixtures/info-contact.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/info-contact.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/info-termsOfService.json b/packages/openapi2-parser/test/fixtures/info-termsOfService.json index d2c229bd7..bcbaa9f93 100644 --- a/packages/openapi2-parser/test/fixtures/info-termsOfService.json +++ b/packages/openapi2-parser/test/fixtures/info-termsOfService.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/info-termsOfService.sourcemap.json b/packages/openapi2-parser/test/fixtures/info-termsOfService.sourcemap.json index 1e0e2962b..c34423194 100644 --- a/packages/openapi2-parser/test/fixtures/info-termsOfService.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/info-termsOfService.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/invalid-media-type.json b/packages/openapi2-parser/test/fixtures/invalid-media-type.json index 862bafc16..e1ad6013a 100644 --- a/packages/openapi2-parser/test/fixtures/invalid-media-type.json +++ b/packages/openapi2-parser/test/fixtures/invalid-media-type.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/invalid-media-type.sourcemap.json b/packages/openapi2-parser/test/fixtures/invalid-media-type.sourcemap.json index 457a0e1d5..f3bdb0fb7 100644 --- a/packages/openapi2-parser/test/fixtures/invalid-media-type.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/invalid-media-type.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/invalid-reference.json b/packages/openapi2-parser/test/fixtures/invalid-reference.json index f8666f37d..355e543f0 100644 --- a/packages/openapi2-parser/test/fixtures/invalid-reference.json +++ b/packages/openapi2-parser/test/fixtures/invalid-reference.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/invalid-reference.sourcemap.json b/packages/openapi2-parser/test/fixtures/invalid-reference.sourcemap.json index 466ca57b5..d9a8b2fff 100644 --- a/packages/openapi2-parser/test/fixtures/invalid-reference.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/invalid-reference.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.json b/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.json index cee031215..feefdb23a 100644 --- a/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.json +++ b/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.sourcemap.json b/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.sourcemap.json index 790c7a0de..945aadf2f 100644 --- a/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/json-body-generation-array-object.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.json b/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.json index 664c30347..763e12c3d 100644 --- a/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.json +++ b/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.sourcemap.json b/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.sourcemap.json index 0f9d8e9eb..591cd1b94 100644 --- a/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/json-body-generation-bad-pattern.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/json-body-generation.json b/packages/openapi2-parser/test/fixtures/json-body-generation.json index 402ed260a..6817a86af 100644 --- a/packages/openapi2-parser/test/fixtures/json-body-generation.json +++ b/packages/openapi2-parser/test/fixtures/json-body-generation.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/json-body-generation.sourcemap.json b/packages/openapi2-parser/test/fixtures/json-body-generation.sourcemap.json index 97fe21ec2..55952b548 100644 --- a/packages/openapi2-parser/test/fixtures/json-body-generation.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/json-body-generation.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.json b/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.json index b049013d4..059ee6e45 100644 --- a/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.json +++ b/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.sourcemap.json b/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.sourcemap.json index 3d5ff6d2c..9b5bfac7b 100644 --- a/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/operation-consumes-invalid-type.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/operation-extension.json b/packages/openapi2-parser/test/fixtures/operation-extension.json index 93dcb929c..84ff8cec1 100644 --- a/packages/openapi2-parser/test/fixtures/operation-extension.json +++ b/packages/openapi2-parser/test/fixtures/operation-extension.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/operation-extension.sourcemap.json b/packages/openapi2-parser/test/fixtures/operation-extension.sourcemap.json index b47847fba..42ebb6a24 100644 --- a/packages/openapi2-parser/test/fixtures/operation-extension.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/operation-extension.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.json b/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.json index 0dc2985f8..81f808889 100644 --- a/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.json +++ b/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.sourcemap.json b/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.sourcemap.json index 80069e183..5acec17f6 100644 --- a/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/operation-produces-invalid-type.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/options/generateMessageBody-false.json b/packages/openapi2-parser/test/fixtures/options/generateMessageBody-false.json index 250a902ff..911e9a7f4 100644 --- a/packages/openapi2-parser/test/fixtures/options/generateMessageBody-false.json +++ b/packages/openapi2-parser/test/fixtures/options/generateMessageBody-false.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/options/generateMessageBody-true.json b/packages/openapi2-parser/test/fixtures/options/generateMessageBody-true.json index 402ed260a..6817a86af 100644 --- a/packages/openapi2-parser/test/fixtures/options/generateMessageBody-true.json +++ b/packages/openapi2-parser/test/fixtures/options/generateMessageBody-true.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-false.json b/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-false.json index 73233c332..116c0882b 100644 --- a/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-false.json +++ b/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-false.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-true.json b/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-true.json index 402ed260a..6817a86af 100644 --- a/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-true.json +++ b/packages/openapi2-parser/test/fixtures/options/generateMessageBodySchema-true.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.json b/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.json index 677d1f1dc..189d2407c 100644 --- a/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.json +++ b/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.sourcemap.json b/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.sourcemap.json index fd728b8f1..48dd3d554 100644 --- a/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/parameter-array-default-warning.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.json b/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.json index c51a43e99..3bc8652ab 100644 --- a/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.json +++ b/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.sourcemap.json b/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.sourcemap.json index e7e924eb3..4a312b2a1 100644 --- a/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/parameters-header-type-warning.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/produces-invalid-type.json b/packages/openapi2-parser/test/fixtures/produces-invalid-type.json index 77ceb9b37..a9e36bcfe 100644 --- a/packages/openapi2-parser/test/fixtures/produces-invalid-type.json +++ b/packages/openapi2-parser/test/fixtures/produces-invalid-type.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/produces-invalid-type.sourcemap.json b/packages/openapi2-parser/test/fixtures/produces-invalid-type.sourcemap.json index e806e2236..67c461b3a 100644 --- a/packages/openapi2-parser/test/fixtures/produces-invalid-type.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/produces-invalid-type.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/request-body-primitive.json b/packages/openapi2-parser/test/fixtures/request-body-primitive.json index 0c941630e..44ae0c31d 100644 --- a/packages/openapi2-parser/test/fixtures/request-body-primitive.json +++ b/packages/openapi2-parser/test/fixtures/request-body-primitive.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/request-body-primitive.sourcemap.json b/packages/openapi2-parser/test/fixtures/request-body-primitive.sourcemap.json index 27dae9a25..6d7e9cf25 100644 --- a/packages/openapi2-parser/test/fixtures/request-body-primitive.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/request-body-primitive.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.json b/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.json index 218c58d54..fd3829922 100644 --- a/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.json +++ b/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.sourcemap.json b/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.sourcemap.json index d1ce6da28..1740eaa5b 100644 --- a/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/schema-reference-nullable-enum.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.json b/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.json index 987803b68..2de7e699b 100644 --- a/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.json +++ b/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.sourcemap.json b/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.sourcemap.json index 1f028d0a8..d97159211 100644 --- a/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/schema-references-example-invalid.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/tags.json b/packages/openapi2-parser/test/fixtures/tags.json index 38c6809ca..8ca02d097 100644 --- a/packages/openapi2-parser/test/fixtures/tags.json +++ b/packages/openapi2-parser/test/fixtures/tags.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/tags.sourcemap.json b/packages/openapi2-parser/test/fixtures/tags.sourcemap.json index 7772257aa..86a40a5d3 100644 --- a/packages/openapi2-parser/test/fixtures/tags.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/tags.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/x-summary-type.json b/packages/openapi2-parser/test/fixtures/x-summary-type.json index a9693f3eb..9c700d1ac 100644 --- a/packages/openapi2-parser/test/fixtures/x-summary-type.json +++ b/packages/openapi2-parser/test/fixtures/x-summary-type.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/openapi2-parser/test/fixtures/x-summary-type.sourcemap.json b/packages/openapi2-parser/test/fixtures/x-summary-type.sourcemap.json index 8f7d2d86b..c3bd76471 100644 --- a/packages/openapi2-parser/test/fixtures/x-summary-type.sourcemap.json +++ b/packages/openapi2-parser/test/fixtures/x-summary-type.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/action.json b/packages/swagger-zoo/fixtures/features/api-elements/action.json index 346122c22..b418fca19 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/action.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/action.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/action.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/action.sourcemap.json index 4592a2c59..586b6dc50 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/action.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/action.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.json index bfb25148e..de26b09a3 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.sourcemap.json index 25a639b5c..e0915a5cb 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-basic.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.json index b09b9d6d4..961b191ac 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.sourcemap.json index 7f5c1183d..a700e30da 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-does-not-exist.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-double.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-double.json index 9364669ae..4323b05f8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-double.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-double.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-double.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-double.sourcemap.json index 641da32f8..8c256d072 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-double.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-double.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.json index 227dd53f4..7f81243f8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.sourcemap.json index 44f0a03e4..d82d4eddb 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-empty-security.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-global.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-global.json index 614bd6a1c..0ec3d64b8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-global.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-global.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-global.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-global.sourcemap.json index 81b318e47..2af852238 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-global.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-global.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.json index 99fd8a458..08ad5aa63 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.sourcemap.json index 3d6323037..34c57fdb8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-access-code.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.json index 42bb42395..be1b49897 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.sourcemap.json index 62de618ba..d34ca61ba 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-application.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.json index a7eb16fae..fa183948e 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.sourcemap.json index 7c242e723..d6cbadb1d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-implicit.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.json index d59af4bc0..8ab930c8f 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.sourcemap.json index ce9d677b0..53cf4b318 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-password.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.json index 643c0589c..c7a2d5dbf 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.sourcemap.json index 6e3717d45..db25a8bef 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-oauth2-scope-does-not-exist.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.json index 0ac203c5b..bcb3eda46 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.sourcemap.json index 8c4930f51..ff3380eec 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-header.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.json index f6b9543b4..33b969ab5 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.sourcemap.json index a678e0efb..232961ae5 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-token-in-query.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.json index d74128ed0..328f7d229 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.sourcemap.json index eb819395c..158e4901d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/auth-with-x-summary.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.json b/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.json index 2aa824604..800cb86bd 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.sourcemap.json index 2dedf926f..c2064317c 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/basepath-with-extra-slash.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/body-binary.json b/packages/swagger-zoo/fixtures/features/api-elements/body-binary.json index bc799c928..eae93eee5 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/body-binary.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/body-binary.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/body-binary.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/body-binary.sourcemap.json index a5e1f6128..e61067a0e 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/body-binary.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/body-binary.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.json b/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.json index 2559b2372..ae7da1c97 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.sourcemap.json index be717339e..087addc20 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/body-schema-example.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/collection-format.json b/packages/swagger-zoo/fixtures/features/api-elements/collection-format.json index d6bba2fd4..be480c829 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/collection-format.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/collection-format.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/collection-format.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/collection-format.sourcemap.json index 98dee6f55..0ff1ea748 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/collection-format.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/collection-format.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.json b/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.json index f59ce3202..1dd984606 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.sourcemap.json index 88a5458a6..e5d8e1453 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/consumes-json-subtype.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.json b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.json index ef9fd68f3..5d51887ae 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.sourcemap.json index 9d578cc7f..d83ae217d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form-with-boundary.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.json b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.json index d734b8d33..e76f618b1 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.sourcemap.json index 3de434f1e..4da14b728 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/consumes-multipart-form.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/data-structures.json b/packages/swagger-zoo/fixtures/features/api-elements/data-structures.json index ee0bbae79..1a5c7eb07 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/data-structures.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/data-structures.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/data-structures.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/data-structures.sourcemap.json index f87a6cfc4..18323c5c6 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/data-structures.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/data-structures.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/default-response.json b/packages/swagger-zoo/fixtures/features/api-elements/default-response.json index 3fe97ab94..12283965c 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/default-response.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/default-response.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/default-response.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/default-response.sourcemap.json index e6d3967dd..9c772ee92 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/default-response.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/default-response.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/description.json b/packages/swagger-zoo/fixtures/features/api-elements/description.json index 7a1cc2e64..f9f24c622 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/description.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/description.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/description.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/description.sourcemap.json index ecc035cb9..682c4faed 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/description.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/description.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/example-header.json b/packages/swagger-zoo/fixtures/features/api-elements/example-header.json index 83b36cad6..4954a9733 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/example-header.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/example-header.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/example-header.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/example-header.sourcemap.json index 977243370..5fb76c5dd 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/example-header.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/example-header.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/extensions.json b/packages/swagger-zoo/fixtures/features/api-elements/extensions.json index 52b26f915..0929d240f 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/extensions.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/extensions.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/extensions.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/extensions.sourcemap.json index 273f71f56..de3328df8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/extensions.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/extensions.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/external-docs.json b/packages/swagger-zoo/fixtures/features/api-elements/external-docs.json index 4ba1dadcc..04a52b110 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/external-docs.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/external-docs.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/external-docs.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/external-docs.sourcemap.json index 6909775e9..d75b4f675 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/external-docs.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/external-docs.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.json b/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.json index a5702fe30..a6c6eb551 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.sourcemap.json index edf561bc9..2ffb47b8f 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/form-data-file.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/form-data.json b/packages/swagger-zoo/fixtures/features/api-elements/form-data.json index c522684d7..6fa62aa88 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/form-data.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/form-data.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/form-data.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/form-data.sourcemap.json index 7c3fcdd57..2241e4dd3 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/form-data.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/form-data.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/hostname.json b/packages/swagger-zoo/fixtures/features/api-elements/hostname.json index c96df3182..7bda183e3 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/hostname.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/hostname.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/hostname.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/hostname.sourcemap.json index 5220cb4ff..84a0acb38 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/hostname.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/hostname.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.json b/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.json index 826cd8f37..efe7658c8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.sourcemap.json index 32c53baa2..7a4494440 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/minimal-json.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.json b/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.json index 826cd8f37..efe7658c8 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.sourcemap.json index 60ef5f3f6..095673c5e 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/minimal-yaml.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.json b/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.json index 2d123c3f3..184879c1d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.sourcemap.json index 4c825c844..ab04f6918 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/multiple-produces-consumes.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.json b/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.json index f59ce3202..1dd984606 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.sourcemap.json index 1dadf4a78..0d5c4ff00 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/operation-consumes-json-subtype.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.json b/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.json index cbb54ab11..1ab59df8d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.sourcemap.json index d40acb4bc..cf99e4e97 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/operation-produces-json-subtype.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.json b/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.json index a41fd3d75..8897572c9 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.sourcemap.json index d35e210b9..8de3fd589 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/param-with-enum-default.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/params.json b/packages/swagger-zoo/fixtures/features/api-elements/params.json index abce85a60..c54a4fa06 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/params.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/params.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/params.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/params.sourcemap.json index 326f01480..0cf4d9f4a 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/params.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/params.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.json b/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.json index 0e51a60f9..c61697e1f 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.sourcemap.json index 1af57379b..1ccccbbd0 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/path-level-params.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.json b/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.json index b942f7a1f..e3b077f52 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.sourcemap.json index f9e2c90c4..7b98a1e41 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/payload-as-string.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.json index ccbfc653c..7204f7c7b 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.sourcemap.json index 9b514f1b5..302010bd6 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-binary.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-file.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-file.json index 325f56893..448bb1ce6 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-file.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-file.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-file.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-file.sourcemap.json index 2bd1b04fe..d001de431 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-file.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-file.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-header.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-header.json index fd4cf6228..b8ea5713d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-header.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-header.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-header.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-header.sourcemap.json index 91563b384..39e642487 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-header.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-header.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.json index cbb54ab11..1ab59df8d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.sourcemap.json index 8afeb4c4d..17179221b 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/produces-json-subtype.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/recursion.json b/packages/swagger-zoo/fixtures/features/api-elements/recursion.json index 88307b2f2..c46706f25 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/recursion.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/recursion.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/recursion.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/recursion.sourcemap.json index f3d67d531..aa110a91d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/recursion.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/recursion.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/request-headers.json b/packages/swagger-zoo/fixtures/features/api-elements/request-headers.json index 62690cf2a..65909ddbe 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/request-headers.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/request-headers.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/request-headers.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/request-headers.sourcemap.json index 9aa1e0a1a..af9bdc89d 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/request-headers.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/request-headers.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.json b/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.json index bcfd0f2c8..b9540f466 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.sourcemap.json index 8e163fb90..172f0f05c 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/response-example-with-produces.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.json b/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.json index 43574f46e..93d2079fc 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.sourcemap.json index ae1ac64d7..3fa221f1a 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/schema-multi-reference.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.json b/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.json index 5174cb146..efaf975af 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.sourcemap.json index 721c4446d..3b080a16b 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/schema-reference.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/tags.json b/packages/swagger-zoo/fixtures/features/api-elements/tags.json index d3450d2b1..424576c94 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/tags.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/tags.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/tags.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/tags.sourcemap.json index f145c7787..b21c593fd 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/tags.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/tags.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/warnings.json b/packages/swagger-zoo/fixtures/features/api-elements/warnings.json index 6bb453aa8..aac070a43 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/warnings.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/warnings.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/warnings.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/warnings.sourcemap.json index e6c1287b8..1a737520b 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/warnings.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/warnings.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.json b/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.json index eacf3be4c..ff18eae07 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.sourcemap.json index 5191d9993..536214119 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/x-example-and-request-body.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/x-example.json b/packages/swagger-zoo/fixtures/features/api-elements/x-example.json index 2821daae6..e3f38752f 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/x-example.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/x-example.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/x-example.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/x-example.sourcemap.json index 50e5f736f..ea5b47674 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/x-example.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/x-example.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.json b/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.json index 66b7e6251..515d094f5 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category", diff --git a/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.sourcemap.json b/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.sourcemap.json index 05b797e56..89e570327 100644 --- a/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.sourcemap.json +++ b/packages/swagger-zoo/fixtures/features/api-elements/x-summary-and-description.sourcemap.json @@ -1,5 +1,31 @@ { "element": "parseResult", + "meta": { + "links": { + "element": "array", + "content": [ + { + "element": "link", + "meta": { + "title": { + "element": "string", + "content": "OpenAPI 2" + } + }, + "attributes": { + "relation": { + "element": "string", + "content": "via" + }, + "href": { + "element": "string", + "content": "https://spec.openapis.org/oas/v2.0" + } + } + } + ] + } + }, "content": [ { "element": "category",