diff --git a/core/src/main/java/io/smallrye/openapi/api/SmallRyeOASConfig.java b/core/src/main/java/io/smallrye/openapi/api/SmallRyeOASConfig.java index edd5ddb99..e8445e4f1 100644 --- a/core/src/main/java/io/smallrye/openapi/api/SmallRyeOASConfig.java +++ b/core/src/main/java/io/smallrye/openapi/api/SmallRyeOASConfig.java @@ -82,7 +82,7 @@ private SmallRyeOASConfig() { public static final String AUTO_INHERITANCE = SMALLRYE_PREFIX + "auto-inheritance"; public static final class Defaults { - public static final String VERSION = "3.0.3"; + public static final String VERSION = "3.1.0"; private Defaults() { } diff --git a/core/src/main/java/io/smallrye/openapi/api/SmallRyeOpenAPI.java b/core/src/main/java/io/smallrye/openapi/api/SmallRyeOpenAPI.java index cd98d3f50..1e344d2bb 100644 --- a/core/src/main/java/io/smallrye/openapi/api/SmallRyeOpenAPI.java +++ b/core/src/main/java/io/smallrye/openapi/api/SmallRyeOpenAPI.java @@ -216,7 +216,7 @@ public Builder enableStandardFilter(boolean enableStandardFilter) { *
  • Set a generated value for {@code info.title} if none specified *
  • Set a generated value for {@code info.version} if none specified *
  • Set a default value for {@code openapi} (the specification - * version) if none specified. E.g. 3.0.3 + * version) if none specified. E.g. 3.1.0 * * * @param defaultRequiredProperties diff --git a/core/src/main/java/io/smallrye/openapi/runtime/io/schema/SchemaConstant.java b/core/src/main/java/io/smallrye/openapi/runtime/io/schema/SchemaConstant.java index 3be863bb0..53cc45f5a 100644 --- a/core/src/main/java/io/smallrye/openapi/runtime/io/schema/SchemaConstant.java +++ b/core/src/main/java/io/smallrye/openapi/runtime/io/schema/SchemaConstant.java @@ -22,7 +22,7 @@ /** * Constants related to Schema * - * @see schemaObject + * @see schema-object * * @author Phillip Kruger (phillip.kruger@redhat.com) * @author Eric Wittmann (eric.wittmann@gmail.com) diff --git a/core/src/main/java/io/smallrye/openapi/runtime/util/TypeUtil.java b/core/src/main/java/io/smallrye/openapi/runtime/util/TypeUtil.java index 264345092..7f03d3581 100644 --- a/core/src/main/java/io/smallrye/openapi/runtime/util/TypeUtil.java +++ b/core/src/main/java/io/smallrye/openapi/runtime/util/TypeUtil.java @@ -110,7 +110,7 @@ public class TypeUtil { public static final IndexView jdkIndex; private static final Set wrapperTypes = new HashSet<>(); - // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#dataTypeFormat + // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#dataTypeFormat static { TYPE_MAP.put(DOTNAME_OBJECT, ANY); diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks1.json index ca45e8b75..95eeb431f 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks1.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks2.json index ca102132d..e6429fe8f 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/callbacks2.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/merged.json index 3438198a7..0e36a2bf2 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_callbacks/merged.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions1.json index ad21d58cf..9f3c6bb7c 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions1.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions2.json index c91cec3be..8f26538c0 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/extensions2.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "x-vendor-property-1": "FOO", "x-vendor-property-2": "bar", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/merged.json index 533c8370f..c6781f44d 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_extensions/merged.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_info/info1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_info/info1.json index 6b4e41640..d3ccee846 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_info/info1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_info/info1.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App", "termsOfService": "http://example.com/terms/", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_info/info2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_info/info2.json index a6b3f8eea..cfbedea63 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_info/info2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_info/info2.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App (Merged)", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_info/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_info/merged.json index 14d9f42e9..ca5406f9e 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_info/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_info/merged.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App (Merged)", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/merged.json index 8d2494d54..6e920fafc 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/merged.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags1.json index e4ef246b0..caed3f82b 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags1.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags2.json index b72ff0483..1a6781535 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_opTags/opTags2.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/merged.json index 4ced2d90d..ed76a4337 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/merged.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault1.json index c1a40f2e0..a31c679e1 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault1.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault2.json index 6ebb37f61..96414d62e 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDefault/pathDefault2.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/merged.json index 8360f0e81..868782f81 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/merged.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path1.json index 953253e50..d513cff52 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path1.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path2.json index e4dbf14df..9399125b7 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathDocs/path2.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/merged.json index cec43fc0a..4ff5bb844 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/merged.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty1.json index 0a4ed9b46..14b4163b7 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty1.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty2.json index cec43fc0a..4ff5bb844 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_pathEmpty/pathEmpty2.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_security/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_security/merged.json index ad6605418..b4c28fa2a 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_security/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_security/merged.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "security" : [ { "BASIC": [] diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_security/security1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_security/security1.json index 042d4c589..c573bfd06 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_security/security1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_security/security1.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "security" : [ { "BASIC": [] diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_security/security2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_security/security2.json index b53c0c73f..56819e132 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_security/security2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_security/security2.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "security" : [ { "JWT": [], diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_servers/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_servers/merged.json index 0fc5f2395..9a9a7f67c 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_servers/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_servers/merged.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "servers": [ { "url": "https://development.gigantic-server.com/v1", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers1.json index d479db0b6..435fa5122 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers1.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "servers": [ { "url": "https://development.gigantic-server.com/v1", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers2.json index 6f5e7413b..2bce11db6 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_servers/servers2.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "servers": [ { "url": "https://staging.gigantic-server.com/v1", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_tags/merged.json b/core/src/test/resources/io/smallrye/openapi/api/util/_tags/merged.json index 92fb99f03..bdb548cef 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_tags/merged.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_tags/merged.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "tags" : [ { "name": "tag1", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags1.json b/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags1.json index 6266446a6..432194cda 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags1.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags1.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "tags" : [ { "name": "tag1", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags2.json b/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags2.json index b09428ac2..1649599ed 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags2.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/_tags/tags2.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "tags" : [ { "name": "tag1", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/filter-after.json b/core/src/test/resources/io/smallrye/openapi/api/util/filter-after.json index 9c4e8e110..35fd57715 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/filter-after.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/filter-after.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Updated API Title", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/api/util/filter-before.json b/core/src/test/resources/io/smallrye/openapi/api/util/filter-before.json index aca8cc49d..b6f7152ae 100644 --- a/core/src/test/resources/io/smallrye/openapi/api/util/filter-before.json +++ b/core/src/test/resources/io/smallrye/openapi/api/util/filter-before.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.json index d87f275d8..98a7212a5 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.yaml b/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.yaml index 04f9aa45b..99d59423c 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.yaml +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/_everything.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.0 +openapi: 3.1.0 info: title: Sample Pet Store App description: This is a sample server for a pet store. diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-callbacks.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-callbacks.json index a84a7068b..e40813757 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-callbacks.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-callbacks.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "callbacks": { "Callback1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-empty.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-empty.json index 8644149c2..81f5f07fb 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-empty.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-empty.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { } } \ No newline at end of file diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-examples.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-examples.json index 1dc1c11d8..8aac67b79 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-examples.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-examples.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "examples": { "Example1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-headers.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-headers.json index 660f96bb5..d10f8c333 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-headers.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-headers.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "headers": { "Header1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-links.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-links.json index 751d0000e..2d4c051fa 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-links.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-links.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "links": { "Link1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-parameters.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-parameters.json index 677031ac5..d16f86f41 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-parameters.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-parameters.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "parameters": { "Param1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-requestBodies.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-requestBodies.json index 446ee4dc9..0351c4c8e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-requestBodies.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-requestBodies.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "requestBodies": { "Body1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-responses.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-responses.json index 89a1e6549..976535208 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-responses.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-responses.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "responses": { "PetResponse": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-schemas.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-schemas.json index 4a46eaf58..71fe15e5d 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-schemas.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-schemas.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "MySchema1" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-securitySchemes.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-securitySchemes.json index cc54b3d85..24b3a8dbf 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/components-securitySchemes.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/components-securitySchemes.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "securitySchemes": { "BASIC": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/extensions.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/extensions.json index 468f34ce9..419d5de9f 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/extensions.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/extensions.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/externalDocs.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/externalDocs.json index 1733a5355..5275a2e76 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/externalDocs.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/externalDocs.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "externalDocs" : { "description": "Find more info here", "url": "https://swagger.io" diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/info.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/info.json index 2fce0cdc6..9896df6c2 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/info.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/info.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/info.yaml b/core/src/test/resources/io/smallrye/openapi/runtime/io/info.yaml index c3a9543c2..ee6d1888f 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/info.yaml +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/info.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.0 +openapi: 3.1.0 info: title: Sample Pet Store App description: This is a sample server for a pet store. diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/openapi-fragment-header.yaml b/core/src/test/resources/io/smallrye/openapi/runtime/io/openapi-fragment-header.yaml index a64d58d76..c7eae9ea6 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/openapi-fragment-header.yaml +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/openapi-fragment-header.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.0 +openapi: 3.1.0 info: title: Proxy App version: "1.0" diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-all-operations.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-all-operations.json index b05a4e85d..32aaaf68d 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-all-operations.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-all-operations.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-empty.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-empty.json index 613489b66..1a25b46d0 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-empty.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-empty.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths" : { } } diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-callbacks.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-callbacks.json index 63c5185dd..e76e9075d 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-callbacks.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-callbacks.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-parameters.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-parameters.json index 477737d71..c18e0d39e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-parameters.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-parameters.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-content.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-content.json index e2f4895d9..dbb26a66f 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-content.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-content.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-example.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-example.json index 5b4ad5229..de456dd75 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-example.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody-example.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody.json index 930f61a63..ab32782fa 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-requestBody.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-content.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-content.json index 28fc645d2..1acb4e1f8 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-content.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-content.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-headers.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-headers.json index fce77a1d1..bfcb7c14d 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-headers.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-headers.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-links.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-links.json index c3cd652e5..34cf900c7 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-links.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-response-links.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-responses.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-responses.json index 4ced2d90d..ed76a4337 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-responses.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-responses.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-security.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-security.json index d924b0849..77e8de33e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-security.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-security.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-servers.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-servers.json index 931b65bbe..f308a4682 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-servers.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get-servers.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get.json index e4ef246b0..caed3f82b 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-get.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-parameters.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-parameters.json index e01b5619c..e07a4bba9 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-parameters.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-parameters.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "parameters": [ diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-ref.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-ref.json index ad10453db..d2604e2c9 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-ref.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-ref.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/pets": { "$ref": "#/paths/foo" diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-servers.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-servers.json index 28c8d6129..a0631315d 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-servers.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-servers.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "servers": [ diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-with-extensions.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-with-extensions.json index 18e52aac1..06edbaed7 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-with-extensions.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/paths-with-extensions.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "paths": { "/foo": { "summary": "Foo Resource", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-discriminator.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-discriminator.json index 13b034122..45ea89bf3 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-discriminator.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-discriminator.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "MyResponseType": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-additionalProperties.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-additionalProperties.json index 1e37de171..c45ff49c9 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-additionalProperties.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-additionalProperties.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "Example": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-allOf.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-allOf.json index 93b8b23bd..d1db02b16 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-allOf.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-allOf.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "Example": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-composition.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-composition.json index 1b502488f..ceba99e63 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-composition.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-composition.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "ErrorModel": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-example.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-example.json index e5d36f7e4..97d66d4d1 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-example.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-example.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "Person": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-externalDocs.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-externalDocs.json index 835de4484..276f28524 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-externalDocs.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-externalDocs.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "Person": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-metaData.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-metaData.json index 342830545..6a60b0044 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-metaData.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-metaData.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "Example": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-xml.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-xml.json index 649215c86..b30e5daea 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-xml.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/schemas-with-xml.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "components": { "schemas": { "Person": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/security.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/security.json index 5a3d026b4..825396e4a 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/security.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/security.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "security" : [ { "api_key": [] diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.json index 0c5c1067a..6969e9ec9 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "servers": [ { "url": "https://development.gigantic-server.com/v1", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.yaml b/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.yaml index 6ec847029..c1dff32b0 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.yaml +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/servers.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.0 +openapi: 3.1.0 servers: - url: https://development.gigantic-server.com/v1 description: Development server diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.json index 7ce81cfcc..c4cc075ba 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.json @@ -1,3 +1,3 @@ { - "openapi" : "3.0.0" + "openapi" : "3.1.0" } diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.yaml b/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.yaml index 7f2e28857..37162cc13 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.yaml +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/simplest.yaml @@ -1 +1 @@ -openapi: 3.0.0 \ No newline at end of file +openapi: 3.1.0 \ No newline at end of file diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/io/tags.json b/core/src/test/resources/io/smallrye/openapi/runtime/io/tags.json index 5fb0c97bd..7fdc08581 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/io/tags.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/io/tags.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "tags" : [ { "name": "tag1", diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas-jackson-jsonunwrapped.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas-jackson-jsonunwrapped.json index 07cdc5055..37c0bc95e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas-jackson-jsonunwrapped.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas-jackson-jsonunwrapped.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "JacksonJsonPerson": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.annotated-constructor-arg-ignored.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.annotated-constructor-arg-ignored.json index b8a30ee81..8a9a8f6ac 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.annotated-constructor-arg-ignored.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.annotated-constructor-arg-ignored.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "SingleAnnotatedConstructorArgument": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.array-type-override.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.array-type-override.json index e7d3be67a..0d0469191 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.array-type-override.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.array-type-override.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "Sample": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.enum-naming.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.enum-naming.json index c1da0a0f7..522ac8304 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.enum-naming.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.enum-naming.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "Bean" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.field-overrides-type.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.field-overrides-type.json index 9c45af862..37df7cc6d 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.field-overrides-type.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.field-overrides-type.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "Bean": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance-parent-only.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance-parent-only.json index 8c7fed01c..f7bb7e748 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance-parent-only.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance-parent-only.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "Alligator" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance.json index 3a5ad4f43..3bb65669e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.inheritance.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "Alligator" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.iterator-stream-map-types.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.iterator-stream-map-types.json index 08dbab9d6..39e85e338 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.iterator-stream-map-types.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.iterator-stream-map-types.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "StringArray": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jackson-property-access.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jackson-property-access.json index ef489ce68..631ada14f 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jackson-property-access.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jackson-property-access.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "Bean" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jaxbelement-generic-type-unwrapped.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jaxbelement-generic-type-unwrapped.json index a5073a789..0e1ced25a 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jaxbelement-generic-type-unwrapped.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.jaxbelement-generic-type-unwrapped.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "JAXBElementDto": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-ignored.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-ignored.json index 7f6e2ea20..bbff760d0 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-ignored.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-ignored.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "NameStrategyBean2": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-kebab.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-kebab.json index 026de8b28..d50571bb0 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-kebab.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-kebab.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "NameStrategyKebab": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-snake.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-snake.json index 8e539a888..c30aca969 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-snake.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.name-strategy-snake.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "NameStrategyBean1": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-custom-generics.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-custom-generics.json index 97a2d60af..f4a8c85e9 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-custom-generics.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-custom-generics.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "Foo": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-parameterized-collection-types.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-parameterized-collection-types.json index 8b3f17826..84522f776 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-parameterized-collection-types.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nested-parameterized-collection-types.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "CollectionBean" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.no-self-ref-for-property-schema.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.no-self-ref-for-property-schema.json index 4ac077522..b9a7a5475 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.no-self-ref-for-property-schema.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.no-self-ref-for-property-schema.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MyClass" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nonparameterized-ancestry-chain-link.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nonparameterized-ancestry-chain-link.json index a3b8b02c3..1e9aa8f25 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nonparameterized-ancestry-chain-link.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.nonparameterized-ancestry-chain-link.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "1PairStringString": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.optional-arraytype.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.optional-arraytype.json index d8793ecf1..76ef01682 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.optional-arraytype.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.optional-arraytype.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "A": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.parameterized-type-schema-config.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.parameterized-type-schema-config.json index 472f9e518..eb4ca8c26 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.parameterized-type-schema-config.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.parameterized-type-schema-config.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "Bean" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.registered-schema-type-preserved.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.registered-schema-type-preserved.json index 2a3368ecc..c8016799a 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.registered-schema-type-preserved.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.registered-schema-type-preserved.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "AnimalListEnvelope": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-allofmissing.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-allofmissing.json index 5622a78c8..6b93aabe1 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-allofmissing.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-allofmissing.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "AllOfMissing" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-anyofmissing.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-anyofmissing.json index 789152ca6..e1ae149ce 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-anyofmissing.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-anyofmissing.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "AnyOfMissing" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-blankname.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-blankname.json index 42aa24241..d8b0ee433 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-blankname.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-blankname.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "BlankNameTest" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-defaultvaluewrongtype.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-defaultvaluewrongtype.json index fea5df844..35df1f278 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-defaultvaluewrongtype.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-defaultvaluewrongtype.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "DefaultValueWrongType" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-duplicatename.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-duplicatename.json index 87d838194..a13256d98 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-duplicatename.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-duplicatename.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "DuplicateNameTest" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-implementationmissing.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-implementationmissing.json index 1a2812a27..441d3e097 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-implementationmissing.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-implementationmissing.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "ImplementationMissing" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maximumnotnumber.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maximumnotnumber.json index 87ab12fa6..42c96e62c 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maximumnotnumber.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maximumnotnumber.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MaximumNotNumber" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxitemsnegative.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxitemsnegative.json index b46662e20..7c69a32ac 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxitemsnegative.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxitemsnegative.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MaxItemsNegative" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxlengthnegative.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxlengthnegative.json index defc7276e..5a933d4e1 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxlengthnegative.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxlengthnegative.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MaxLengthNegative" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxpropertiesnegative.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxpropertiesnegative.json index 9f3e40a98..84d2265af 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxpropertiesnegative.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-maxpropertiesnegative.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MaxPropertiesNegative" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-merge.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-merge.json index 94dfe869e..e3cba19e1 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-merge.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-merge.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "Lizard": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minimumnotnumber.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minimumnotnumber.json index 4e9c79b01..9a0ee6acb 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minimumnotnumber.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minimumnotnumber.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MinimumNotNumber" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minitemsnegative.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minitemsnegative.json index 83ab700b2..0dddf06b8 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minitemsnegative.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minitemsnegative.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MinItemsNegative" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minlengthnegative.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minlengthnegative.json index ed62e1da3..ddeffca47 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minlengthnegative.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minlengthnegative.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MinLengthNegative" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minpropertiesnegative.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minpropertiesnegative.json index bed167102..5c731efae 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minpropertiesnegative.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-minpropertiesnegative.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "MinPropertiesNegative" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-negativemultipleof.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-negativemultipleof.json index 8d4fbca71..37f457f02 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-negativemultipleof.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-negativemultipleof.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "NegativeMultipleOf" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-notmissing.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-notmissing.json index 5f277f18c..a77541fd6 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-notmissing.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-notmissing.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "NotMissing" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-oneofmissing.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-oneofmissing.json index 8bab1be7d..e144e24fd 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-oneofmissing.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-oneofmissing.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "OneOfMissing" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-patterninvalid.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-patterninvalid.json index 9792e6ad0..e9fef0492 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-patterninvalid.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-patterninvalid.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "PatternInvalid" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-refwithotherprops.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-refwithotherprops.json index edd529bd9..0f02df075 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-refwithotherprops.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.schemaproperty-refwithotherprops.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "RefWithOtherProps" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application-property.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application-property.json index a6d3d8673..48cf06f81 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application-property.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application-property.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "A": { @@ -80,4 +80,4 @@ } } } -} \ No newline at end of file +} diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application.json index c866058f2..f57260e27 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-application.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "A" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections-property.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections-property.json index 20dbe1fa5..ed26dfd19 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections-property.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections-property.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "JavaTypeString" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections.json index f26e32238..2e051d435 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-collections.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "JavaTypeString" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required-property.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required-property.json index c0c1d939a..3a1b7f4ac 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required-property.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required-property.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "TestDependentRequiredProperty": { @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required.json index fbc345fd2..de2c7eb5c 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-required.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "TestDependentRequired" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas-property.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas-property.json index 3a145c1a2..90e1c932e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas-property.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas-property.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "A": { @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas.json index e9e4c630e..47d9f05ae 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-dependent-schemas.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "A" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse-property.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse-property.json index cbe0b7b6a..6e0ff9881 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse-property.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse-property.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "A": { @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse.json index 31d6aca52..7b7e2453e 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.subschema-ifthenelse.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "A" : { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.terminal-array-item-registration.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.terminal-array-item-registration.json index e34271a5c..a20287bc2 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.terminal-array-item-registration.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.terminal-array-item-registration.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "ZonedDateTimeArrayWrapper": { diff --git a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.unreferenced.json b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.unreferenced.json index 5356cd097..336c2d4eb 100644 --- a/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.unreferenced.json +++ b/core/src/test/resources/io/smallrye/openapi/runtime/scanner/components.schemas.unreferenced.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Test", "version": "1.0" diff --git a/extension-jaxrs/src/test/java/io/smallrye/openapi/runtime/scanner/VersionTest.java b/extension-jaxrs/src/test/java/io/smallrye/openapi/runtime/scanner/VersionTest.java index 54906cd1e..b2a5aea53 100644 --- a/extension-jaxrs/src/test/java/io/smallrye/openapi/runtime/scanner/VersionTest.java +++ b/extension-jaxrs/src/test/java/io/smallrye/openapi/runtime/scanner/VersionTest.java @@ -38,7 +38,7 @@ void testJakartaSettingViaProvidedSchema() throws IOException, JSONException { } void testSettingViaProvidedSchema(Class... classes) throws IOException, JSONException { - OpenAPI result = scan(config(Collections.emptyMap()), true, loadStaticFile(), classes); + OpenAPI result = scan(config(Collections.emptyMap()), true, loadStaticFile("version-valid.json"), classes); assertJsonEquals("resource.testVersionViaSchema.json", result); } @@ -55,7 +55,7 @@ void testJakartaSettingViaConfig() throws IOException, JSONException { } void testSettingViaConfig(Class... classes) throws IOException, JSONException { - System.setProperty(VERSION_PROPERTY, "3.0.0"); + System.setProperty(VERSION_PROPERTY, "3.1.0"); try { OpenAPI result = scan(config(Collections.emptyMap()), true, null, classes); @@ -78,19 +78,20 @@ void testJakartaSettingViaConfigWhenStaticPresent() throws IOException, JSONExce } void testSettingViaConfigWhenStaticPresent(Class... classes) throws IOException, JSONException { - System.setProperty(VERSION_PROPERTY, "3.0.0"); + //The test will pass if this version matches the one in the file of expected JSON (resource.testVersionViaConfig.json) and the file read by loadStaticFile() (version.json) is overriden. + System.setProperty(VERSION_PROPERTY, "3.1.0"); try { - OpenAPI result = scan(config(Collections.emptyMap()), true, loadStaticFile(), classes); + OpenAPI result = scan(config(Collections.emptyMap()), true, loadStaticFile("version-broken.json"), classes); assertJsonEquals("resource.testVersionViaConfig.json", result); } finally { System.clearProperty(VERSION_PROPERTY); } } - private InputStream loadStaticFile() { + private InputStream loadStaticFile(String fileName) { ClassLoader classLoader = this.getClass().getClassLoader(); - InputStream versionJson = classLoader.getResourceAsStream("io/smallrye/openapi/runtime/scanner/static/version.json"); + InputStream versionJson = classLoader.getResourceAsStream("io/smallrye/openapi/runtime/scanner/static/" + fileName); return versionJson; } diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/_expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/_expected.json index 47829d47d..90ee213f6 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/_expected.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/_expected.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Updated API Title", "description": "This is a sample server for a pet store.", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/static.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/static.json index dc99314ab..d4db8f466 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/static.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_filtered/static.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json deleted file mode 100644 index 9a6f2b3a1..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "Model Reader API", - "description": "This is an API created by the Model Reader.", - "contact": { - "name": "API Support", - "url": "http://www.example.com/support", - "email": "support@example.com" - }, - "version": "1.17" - }, - "paths": {} -} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/_expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/_expected.json index dc99314ab..d4db8f466 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/_expected.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/_expected.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/static.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/static.json index dc99314ab..d4db8f466 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/static.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_static/static.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.0", + "openapi": "3.1.0", "info": { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/callback.reference-component-callback.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/callback.reference-component-callback.json index e77a9e6b2..0440d912a 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/callback.reference-component-callback.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/callback.reference-component-callback.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Greetings", "version" : "0.0.1" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/resource.testBeanValidationDocument.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/resource.testBeanValidationDocument.json index 543ca7918..2ae483544 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/resource.testBeanValidationDocument.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/resource.testBeanValidationDocument.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "tags": [ { "name": "Test", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/schema.inherited-bv-constraints.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/schema.inherited-bv-constraints.json index 126bc7ac7..ea28a3792 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/schema.inherited-bv-constraints.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/dataobject/schema.inherited-bv-constraints.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "UserImpl": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/default.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/default.json index 64da88cda..c4cc075ba 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/default.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/default.json @@ -1,3 +1,3 @@ { - "openapi" : "3.0.3" + "openapi" : "3.1.0" } diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.parsing.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.parsing.expected.json index 29efcd4d6..24908edd2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.parsing.expected.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.parsing.expected.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/ext": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.scan-siblings.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.scan-siblings.expected.json index 00422820f..980f00c20 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.scan-siblings.expected.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/extensions.scan-siblings.expected.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/ext/segment1": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/hidden.components.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/hidden.components.json index 2bdd57bc0..f89514ec2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/hidden.components.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/hidden.components.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/fruits" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.all-the-params.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.all-the-params.json index 5947671f3..4c9a536d6 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.all-the-params.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.all-the-params.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/all/the/params/{id1}/{id2}{id2Matrix}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.annotation-preferred-order.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.annotation-preferred-order.json index 2f666257b..ccb229c0e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.annotation-preferred-order.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.annotation-preferred-order.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Parameter Order", "version": "1.0.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.beanparam-multipartform-inherited.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.beanparam-multipartform-inherited.json index 4246cce0e..a5470e2e2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.beanparam-multipartform-inherited.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.beanparam-multipartform-inherited.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/beanparambase": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.char-sequence-arrays.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.char-sequence-arrays.json index 2a757406c..6df8c8d6b 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.char-sequence-arrays.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.char-sequence-arrays.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/char/sequence": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.common-annotation-target-method.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.common-annotation-target-method.json index f0d2c8389..ef7e60779 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.common-annotation-target-method.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.common-annotation-target-method.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/common-target-method": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.enum-form-param.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.enum-form-param.json index db6e47b45..5cfd032d7 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.enum-form-param.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.enum-form-param.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/enum/formparam": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.generic-type-variables.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.generic-type-variables.json index 10f7907aa..67a2198cf 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.generic-type-variables.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.generic-type-variables.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/integer-string/map": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.ignored-mp-openapi-headers.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.ignored-mp-openapi-headers.json index 8c2df0442..915a1ac6d 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.ignored-mp-openapi-headers.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.ignored-mp-openapi-headers.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/ignored-headers": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.local-schema-attributes.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.local-schema-attributes.json index 3d2e895d7..198fca0ff 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.local-schema-attributes.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.local-schema-attributes.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/enum-default-param": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-method-and-field-args.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-method-and-field-args.json index c5b4b0169..08edbffb1 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-method-and-field-args.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-method-and-field-args.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/matrix-params-on-method-and-field-args/{id}{idMatrix}/seg1/seg2/resourceA{resourceA}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-args.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-args.json index 377262ee9..abaa0a106 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-args.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-args.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/matrix-params-on-resource-method-args/{id}/anotherpathsegment/reloaded{reloaded}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-custom-name.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-custom-name.json index 051141220..a6f06ef0d 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-custom-name.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.matrix-params-on-resource-method-custom-name.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/matrix-params-on-resource-method-custom-name/{id}{idMatrix}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.method-target-nojaxrs.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.method-target-nojaxrs.json index 4ead02b34..7ca517677 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.method-target-nojaxrs.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.method-target-nojaxrs.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/policies": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multipart-form.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multipart-form.json index 933181d7e..d8d5d47cb 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multipart-form.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multipart-form.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multipart/{id1}/{id2}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multiple-content-types-with-form-params.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multiple-content-types-with-form-params.json index cdbd1dfe2..1c5acb0a2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multiple-content-types-with-form-params.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.multiple-content-types-with-form-params.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multiple-content-types-with-form-params/widgets/create": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.optional-types.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.optional-types.json index 1554e080b..a4bc60703 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.optional-types.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.optional-types.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/optional/n1": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.param-name-override.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.param-name-override.json index 4155a9305..c1a8bfcd3 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.param-name-override.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.param-name-override.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/override/{p1}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-field.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-field.json index 7555101dc..0fdacbec0 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-field.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-field.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/parameter-in-bean-from-field/{id}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-setter.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-setter.json index 5ce98f24e..611d267b4 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-setter.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-in-bean-from-setter.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/parameter-in-bean-from-setter/{id}/{id2}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-field.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-field.json index 37227ad29..0c06c65d0 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-field.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-field.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/parameter-on-field/{id}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-method.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-method.json index 1ca86d4d7..4c1ec93b3 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-method.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-on-method.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/parameter-on-method/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-ref-property.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-ref-property.json index 5142fc0c2..63f6a6d06 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-ref-property.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameter-ref-property.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "title", "version": "1" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameters-in-constructor.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameters-in-constructor.json index bcebba21a..cb58ce2eb 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameters-in-constructor.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.parameters-in-constructor.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/parameters-in-constructor/{id}/{p1}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-templates.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-templates.json index 024902eed..b71e2b47e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-templates.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-templates.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/template/{id}/{name}/{nickname}/{age}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-with-form-params.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-with-form-params.json index 812035f4a..66daf8e6c 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-with-form-params.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-param-with-form-params.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/path-param-with-form-params/{id}": { "parameters": [ diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-segment-param.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-segment-param.json index 8c2f06103..2a4f152c2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-segment-param.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.path-segment-param.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/segments{segments}/seg1": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.request-body-constraints.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.request-body-constraints.json index 51a96183f..7a3594004 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.request-body-constraints.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.request-body-constraints.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/bars": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-fields-and-setters.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-fields-and-setters.json index 27d13e361..4c0523d19 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-fields-and-setters.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-fields-and-setters.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/test{test}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-input.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-input.json index 5911f0c00..8b144553e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-input.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-input.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multipart-form-data-input/post": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-map.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-map.json index 977057f82..dca44faa4 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-map.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-form-data-map.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multipart-form-data-map/post": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed-array.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed-array.json index 20c538b06..7473e66be 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed-array.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed-array.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multipart-mixed-array/post": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed.json index d0cd49ba6..c292ac427 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-mixed.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multipart-mixed/post": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-related-input.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-related-input.json index 6ceca00cb..7cdbbe229 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-related-input.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-multipart-related-input.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multipart-related-input/post/{id}": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-reactive-missing-restpath.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-reactive-missing-restpath.json index f91e3574b..54fab5061 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-reactive-missing-restpath.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.resteasy-reactive-missing-restpath.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/movies/{id2}" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.serialized-annotation-index.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.serialized-annotation-index.json index 4f0d8d96e..23a585d71 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.serialized-annotation-index.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.serialized-annotation-index.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/greet/{name}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.synthetic-methods-not-included.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.synthetic-methods-not-included.json index 346cd2af9..af45b8d09 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.synthetic-methods-not-included.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.synthetic-methods-not-included.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "tags": [ { "name": "reproducers", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.uuid-params-responses.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.uuid-params-responses.json index 7f5bee5e4..be94c3cac 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.uuid-params-responses.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.uuid-params-responses.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/uuid": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.value-class-pathparam.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.value-class-pathparam.json index ffcd85859..05106614d 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.value-class-pathparam.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/params.value-class-pathparam.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/fruits/{fruitId}" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-empty-mapping.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-empty-mapping.json index 2018bc01c..efdb74200 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-empty-mapping.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-empty-mapping.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-key.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-key.json index 6a9a7e5a5..f55f097dc 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-key.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-key.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-schema.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-schema.json index d4046dabb..591dab4cc 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-schema.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping-schema.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping.json index c44ed6a9b..5bfc49f65 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-mapping.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-property-name.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-property-name.json index 43a84e12f..e8920905e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-property-name.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator-no-property-name.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator.json index 84b18e5ef..39757b2bd 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/polymorphism.declared-discriminator.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.simple.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.simple.expected.json index 0f10488f7..a324de028 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.simple.expected.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.simple.expected.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/foo": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.testNestedSchemaOnParameter.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.testNestedSchemaOnParameter.json index 91001768c..053a59d01 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.testNestedSchemaOnParameter.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/refsEnabled.resource.testNestedSchemaOnParameter.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/nested": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.array-item-ref.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.array-item-ref.json index 6caf84eb4..470de75e2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.array-item-ref.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.array-item-ref.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/v1/generics": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.overwritten.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.overwritten.json index 4016242e8..a4dbfb3a2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.overwritten.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.overwritten.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/overwritten-resource-path" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.unannotated.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.unannotated.json index 70dadb769..7d28bb275 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.unannotated.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.class.path.unannotated.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/overwritten-resource-path" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.concrete-implementation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.concrete-implementation.json index 12d0c1193..aa45570f2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.concrete-implementation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.concrete-implementation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/concrete": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types-wo-array-refs.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types-wo-array-refs.json index 872b026bb..cfad6e05d 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types-wo-array-refs.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types-wo-array-refs.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "API - Service", "version" : "V1" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types.json index 7933fc9b8..a930d5771 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.generic-model-types.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "API - Service", "version": "V1" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.param-default-values.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.param-default-values.json index 4565d69bd..fbe7faa96 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.param-default-values.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.param-default-values.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/1/alpha": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.params.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.params.json index 29710b5fc..8adf7e9ad 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.params.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.inheritance.params.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/hello/speak": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-inheritance.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-inheritance.json index 82563332c..7438d7f0b 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-inheritance.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-inheritance.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/fruits": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-only.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-only.json index 5ab69b103..b01c43e46 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-only.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.interface-only.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/noimpl": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-param.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-param.json index 965f0baa0..ead211271 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-param.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-param.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/v1": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-polymorphism.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-polymorphism.json index cd8763bfe..900c21f4e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-polymorphism.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-polymorphism.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/v1": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-schema.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-schema.json index 0d7bfcb75..478c1bf27 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-schema.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.primitive-array-schema.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/v1": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.simpleSchema.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.simpleSchema.json index 985a38bde..a664347e7 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.simpleSchema.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.simpleSchema.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/params/{taskId}/unnamed": { "delete": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.string-implementation-wrapped.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.string-implementation-wrapped.json index e8f5f97cb..5d9adc9fd 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.string-implementation-wrapped.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.string-implementation-wrapped.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/hello": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.time.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.time.json index 51de994fc..16196e83f 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.time.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.time.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/times/local": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.type-variable.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.type-variable.json index 70b2f7870..92d020812 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.type-variable.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.parameters.type-variable.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/variable-types": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresource-tag-placement-priority.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresource-tag-placement-priority.json index 0cacb5c91..4f47f36d5 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresource-tag-placement-priority.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresource-tag-placement-priority.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "tags" : [ { "name" : "root-a2-tag" }, { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresources-with-params.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresources-with-params.json index 6efb6c613..712a5a466 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresources-with-params.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.subresources-with-params.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/recursion/alternate1/alternate2/fetch": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.multilocation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.multilocation.json index ffbb2de48..311f80f7f 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.multilocation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.multilocation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "tags" : [ { "name" : "tag1", "description" : "TAG1 from TagTestResource2" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.annotation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.annotation.json index e6d305d0b..5eb22928b 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.annotation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.annotation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info": { "title" : "Testing user-specified tag order", "version" : "1.0.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.staticfile.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.staticfile.json index 1ae7d500c..c598e9031 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.staticfile.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.tags.ordergiven.staticfile.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info": { "title" : "Tag order in static file", "version" : "1.0.0-static" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testAllInfoViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testAllInfoViaConfig.json index f81e58686..32aea4672 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testAllInfoViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testAllInfoViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "My own awesome REST service", "description" : "This service is awesome", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsDeleteDefinitionScanning.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsDeleteDefinitionScanning.json index fd74ede86..9ddddd79b 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsDeleteDefinitionScanning.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsDeleteDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet/{id}" : { "delete" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsGetDefinitionScanning.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsGetDefinitionScanning.json index 84f661ce3..11bef419e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsGetDefinitionScanning.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsGetDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/helloOptional/{name}" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPostDefinitionScanning.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPostDefinitionScanning.json index 86fdcd0c6..1155352e9 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPostDefinitionScanning.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPostDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet" : { "post" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPutDefinitionScanning.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPutDefinitionScanning.json index b9f2feb69..0b62ffa5a 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPutDefinitionScanning.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxRsPutDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet/{id}" : { "put" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxbJaxRsGetDefinitionScanning.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxbJaxRsGetDefinitionScanning.json index fc0320fa7..c14273a0c 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxbJaxRsGetDefinitionScanning.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicJaxbJaxRsGetDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/helloPathVariable1/{name}" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testContactEmailViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testContactEmailViaConfig.json index 2276f6439..921b12ed3 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testContactEmailViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testContactEmailViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testCsvConsumesProduces.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testCsvConsumesProduces.json index 71e43988e..350141002 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testCsvConsumesProduces.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testCsvConsumesProduces.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/multi-produce-consume": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeConfigured.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeConfigured.json index 684cfb1d4..0335476d4 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeConfigured.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeConfigured.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeVanilla.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeVanilla.json index 326cd9863..6d5367157 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeVanilla.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testDefaultContentTypeVanilla.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testEmptySecurityRequirements.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testEmptySecurityRequirements.json index 5f414ff03..b8e12eb57 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testEmptySecurityRequirements.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testEmptySecurityRequirements.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/public": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationNotPresent.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationNotPresent.json index 9ea8bcd02..fe3cc252b 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationNotPresent.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationNotPresent.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/public": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationPathNotPresent.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationPathNotPresent.json index 2536ec6f2..492ff4541 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationPathNotPresent.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testHiddenOperationPathNotPresent.json @@ -1 +1 @@ -{ "openapi": "3.0.3" } +{ "openapi": "3.1.0" } diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testInvalidSchemaKeyDefinitionViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testInvalidSchemaKeyDefinitionViaConfig.json index f0600a7c8..d7f4a3186 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testInvalidSchemaKeyDefinitionViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testInvalidSchemaKeyDefinitionViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testLicenseNameViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testLicenseNameViaConfig.json index 33a3cb461..fb1125fb9 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testLicenseNameViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testLicenseNameViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdClassMethod.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdClassMethod.json index 8c5d59257..62fd76dd2 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdClassMethod.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdClassMethod.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethod.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethod.json index 56f88206e..02dd986b3 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethod.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethod.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethodWithOperation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethodWithOperation.json index aa3808768..233db6b13 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethodWithOperation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdMethodWithOperation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdPackageClassMethod.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdPackageClassMethod.json index 792f27541..e016efff1 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdPackageClassMethod.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdPackageClassMethod.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdWithInheritance.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdWithInheritance.json index 94968630e..78064ea9f 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdWithInheritance.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testOperationIdWithInheritance.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Generated API", "version": "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testPackageInfoDefinitionScanning.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testPackageInfoDefinitionScanning.json index 8f5f8e073..42a471be3 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testPackageInfoDefinitionScanning.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testPackageInfoDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Title from the application", "description": "Description from the package", diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testRequestBodyComponentGeneration.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testRequestBodyComponentGeneration.json index 95f07705b..0daa6e1fa 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testRequestBodyComponentGeneration.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testRequestBodyComponentGeneration.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Test Request Body", "version": "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testTitleViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testTitleViaConfig.json index cff3fa693..dd2e48482 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testTitleViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testTitleViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "My Awesome Service", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaDefinitionViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaDefinitionViaConfig.json index ce5b91e83..03258011e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaDefinitionViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaDefinitionViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithInvalidSchemaJSONValueViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithInvalidSchemaJSONValueViaConfig.json index a00c9312f..b707634ba 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithInvalidSchemaJSONValueViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithInvalidSchemaJSONValueViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithUnknownSchemaPropertyValueViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithUnknownSchemaPropertyValueViaConfig.json index 556668058..dd4fe49b3 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithUnknownSchemaPropertyValueViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testValidSchemaKeyWithUnknownSchemaPropertyValueViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaConfig.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaConfig.json index 5230f28df..602eaa020 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaConfig.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaConfig.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.0", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaSchema.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaSchema.json index 017cf2285..d654e0e23 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaSchema.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testVersionViaSchema.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.2", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" @@ -171,4 +171,4 @@ } } } -} \ No newline at end of file +} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-delete.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-delete.json index f98d3043c..ddf168e3f 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-delete.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-delete.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "delete": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-get.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-get.json index fd776ae0d..c77db6d0c 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-get.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-get.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-delete.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-delete.json index 5dd5e3553..3546df861 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-delete.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-delete.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "delete": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-get.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-get.json index b7a0fae44..09d547929 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-get.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-get.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-patch.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-patch.json index b8ad8f576..6cc011a01 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-patch.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-patch.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "patch": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-put.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-put.json index ac8b7af32..0498dc5c8 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-put.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-not-async-void-put.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "put": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-patch.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-patch.json index 4e04ccaa8..8cc03c980 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-patch.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-patch.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "patch": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-post.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-post.json index 135763d55..9e1bacca6 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-post.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-post.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-put.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-put.json index b14ab190b..af822cefa 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-put.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-put.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "put": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-void-post.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-void-post.json index 05394c4e9..6908a1263 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-void-post.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-invalid-response-code-void-post.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-no-description.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-no-description.json index 135763d55..9e1bacca6 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-no-description.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-no-description.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-variations.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-variations.json index 7d0b16266..c0ae16f5a 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-variations.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.api-response-schema-variations.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/item/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.component-status-reuse.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.component-status-reuse.json index 7fb1aa6e4..5bdf751ca 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.component-status-reuse.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.component-status-reuse.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Test title", "version": "0.1" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-generation.json index b7d407830..7a722ac77 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-generation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/resources" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-multiple-response-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-multiple-response-generation.json index f4c9780c3..8f06f2175 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-multiple-response-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-multiple-response-generation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/resources" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-overridden-by-method-annotation-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-overridden-by-method-annotation-generation.json index bc8c328b8..1f0394067 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-overridden-by-method-annotation-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.exception-mapper-overridden-by-method-annotation-generation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/resource2s" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-enabled-by-incomplete-api-response.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-enabled-by-incomplete-api-response.json index 336e4c149..fc44888e6 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-enabled-by-incomplete-api-response.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-enabled-by-incomplete-api-response.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-json-example-api-response.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-json-example-api-response.json index 7c5c2ee52..192dc5ce5 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-json-example-api-response.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-json-example-api-response.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/pets/{id}" : { "get" : { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-api-responses-annotation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-api-responses-annotation.json index 7d7315634..067a38faa 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-api-responses-annotation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-api-responses-annotation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-status-omission.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-status-omission.json index af36733a9..5d67a1145 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-status-omission.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-status-omission.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-supplied-default-api-response.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-supplied-default-api-response.json index a8a1f5847..56169776f 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-supplied-default-api-response.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generation-suppressed-by-supplied-default-api-response.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed-wo-array-refs.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed-wo-array-refs.json index b6cdd8125..398778391 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed-wo-array-refs.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed-wo-array-refs.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/fruits": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed.json index b6cdd8125..398778391 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-indexed.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/fruits": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-unindexed.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-unindexed.json index 5c290ec6d..56f1a394f 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-unindexed.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-collection.set-unindexed.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/fruits": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-type-variables.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-type-variables.json index c8f9fbc37..fc5c4b48c 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-type-variables.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.generic-type-variables.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/generic/map": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.hidden-setter-readonly-props.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.hidden-setter-readonly-props.json index bec9f3958..9a2aa0327 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.hidden-setter-readonly-props.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.hidden-setter-readonly-props.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/beanparamimpl": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation-opaque.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation-opaque.json index 5ae973a25..163d5a1c1 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation-opaque.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation-opaque.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/1": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation.json index ef1283b6b..47f98e9e8 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.kotlin-continuation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/hello/async": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.multipart-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.multipart-generation.json index adb4a8271..5ca23be9c 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.multipart-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.multipart-generation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.mutiny-uni.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.mutiny-uni.json index 46087feeb..505178f01 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.mutiny-uni.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.mutiny-uni.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/item": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nested-parameterized-collection-types.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nested-parameterized-collection-types.json index ae95b8bb6..5e7a86ff0 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nested-parameterized-collection-types.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nested-parameterized-collection-types.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/map": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nonjaxrs-methods-skipped.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nonjaxrs-methods-skipped.json index 3848e176c..0f0729db6 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nonjaxrs-methods-skipped.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.nonjaxrs-methods-skipped.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/trees": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.standin-generic-type-resolved.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.standin-generic-type-resolved.json index 6c2f9709b..3c5e84e0e 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.standin-generic-type-resolved.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.standin-generic-type-resolved.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/either": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.unknown-type.empty-schema.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.unknown-type.empty-schema.json index 6c9a76ba5..a1d62c3ce 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.unknown-type.empty-schema.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.unknown-type.empty-schema.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/unindexed": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-async-response-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-async-response-generation.json index 4a58feaa4..4e338a041 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-async-response-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-async-response-generation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "get": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-nonpost-response-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-nonpost-response-generation.json index 005330a3a..631e669d7 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-nonpost-response-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-nonpost-response-generation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets/{id}": { "delete": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-post-response-generation.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-post-response-generation.json index 72ea025a3..d106f76da 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-post-response-generation.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/responses.void-post-response-generation.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/pets": { "post": { diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/special.jsonview-schemas-basic.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/special.jsonview-schemas-basic.json index 4571d1c54..0960e89aa 100644 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/special.jsonview-schemas-basic.json +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/special.jsonview-schemas-basic.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "Generated API", "version": "1.0" diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version-broken.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version-broken.json new file mode 100644 index 000000000..49a031af0 --- /dev/null +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version-broken.json @@ -0,0 +1,3 @@ +{ + "openapi" : "9999999.999999.99999" +} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version-valid.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version-valid.json new file mode 100644 index 000000000..c4cc075ba --- /dev/null +++ b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version-valid.json @@ -0,0 +1,3 @@ +{ + "openapi" : "3.1.0" +} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version.json deleted file mode 100644 index fd01e637b..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/scanner/static/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "openapi" : "3.0.2" -} \ No newline at end of file diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json deleted file mode 100644 index 8925ab733..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json +++ /dev/null @@ -1,283 +0,0 @@ -{ - "openapi" : "3.0.1", - "info" : { - "title" : "Generated API", - "version" : "1.0" - }, - "paths" : { - "/apis" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Api" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}/endpoint" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiEndpoint" - } - } - } - } - } - } - }, - "/clients" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Client" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/clients/{organizationId}/{clientId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/system/status" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SystemStatus" - } - } - } - } - } - } - } - }, - "components" : { - "schemas" : { - "ApiEndpoint" : { - "properties" : { - "endpoint" : { - "type" : "string" - } - } - }, - "Api" : { - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiPolicies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "type" : "string" - }, - "maxPayloadBufferSize" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "publicAPI" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "Client" : { - "properties" : { - "apiKey" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "contracts" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiOrgId" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "plan" : { - "type" : "string" - }, - "policies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - } - } - } - }, - "organizationId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "SystemStatus" : { - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "up" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - } - } - } -} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json deleted file mode 100644 index 15cedf2dc..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json +++ /dev/null @@ -1,10001 +0,0 @@ -{ - "openapi" : "3.0.1", - "info" : { - "title" : "Generated API", - "version" : "1.0" - }, - "paths" : { - "/actions" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ActionBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/apis" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Api" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}/endpoint" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiEndpoint" - } - } - } - } - } - } - }, - "/clients" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Client" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/clients/{organizationId}/{clientId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/currentuser/apiorgs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/apis" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/clientorgs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/clients" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/info" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/CurrentUserBean" - } - } - } - } - } - }, - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateUserBean" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/currentuser/planorgs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - }, - "/downloads/{downloadId}" : { - "get" : { - "parameters" : [ { - "name" : "downloadId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { }, - "text/xml" : { } - } - } - } - } - }, - "/gateways" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - } - } - } - } - } - } - }, - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewGatewayBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GatewayTestResultBean" - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewGatewayBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GatewayBean" - } - } - } - } - } - } - }, - "/gateways/{gatewayId}" : { - "get" : { - "parameters" : [ { - "name" : "gatewayId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GatewayBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "gatewayId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateGatewayBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "gatewayId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewOrganizationBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/OrganizationBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/OrganizationBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateOrganizationBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewApiBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateApiBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - }, - "publicAPI" : { - "type" : "boolean" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewApiVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateApiVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/contracts" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiDescription" : { - "type" : "string" - }, - "apiId" : { - "type" : "string" - }, - "apiName" : { - "type" : "string" - }, - "apiOrganizationId" : { - "type" : "string" - }, - "apiOrganizationName" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "clientName" : { - "type" : "string" - }, - "clientOrganizationId" : { - "type" : "string" - }, - "clientOrganizationName" : { - "type" : "string" - }, - "clientVersion" : { - "type" : "string" - }, - "contractId" : { - "format" : "int64", - "type" : "integer" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "planId" : { - "type" : "string" - }, - "planName" : { - "type" : "string" - }, - "planVersion" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/definition" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { }, - "application/wsdl+xml" : { }, - "application/x-yaml" : { } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewApiDefinitionBean" - } - } - } - }, - "responses" : { - "201" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/endpoint" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionEndpointSummaryBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/clientResponseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsPerClientBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/clientUsage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UsagePerClientBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/planResponseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsPerPlanBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/planUsage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UsagePerPlanBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/responseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "interval", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/HistogramIntervalType" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsHistogramBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/summaryResponseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsSummaryBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/usage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "interval", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/HistogramIntervalType" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UsageHistogramBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/plans" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planDescription" : { - "type" : "string" - }, - "planId" : { - "type" : "string" - }, - "planName" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/plans/{planId}/policyChain" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/policies" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPolicyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/policies/{policyId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePolicyBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/reorderPolicies" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/status" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionStatusBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewClientBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateClientBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiKey" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewClientVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/apikey" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiKeyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiKeyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiKeyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/apiregistry/json" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "download", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/apiregistry/xml" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "download", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/xml" : { }, - "application/json" : { } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/contracts" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiDescription" : { - "type" : "string" - }, - "apiId" : { - "type" : "string" - }, - "apiName" : { - "type" : "string" - }, - "apiOrganizationId" : { - "type" : "string" - }, - "apiOrganizationName" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "clientName" : { - "type" : "string" - }, - "clientOrganizationId" : { - "type" : "string" - }, - "clientOrganizationName" : { - "type" : "string" - }, - "clientVersion" : { - "type" : "string" - }, - "contractId" : { - "format" : "int64", - "type" : "integer" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "planId" : { - "type" : "string" - }, - "planName" : { - "type" : "string" - }, - "planVersion" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewContractBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ContractBean" - } - } - } - } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/contracts/{contractId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "contractId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ContractBean" - } - } - } - } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "contractId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/metrics/apiUsage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientUsagePerApiBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/policies" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPolicyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/policies/{policyId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePolicyBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/reorderPolicies" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/members" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "email" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "roles" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "roleId" : { - "type" : "string" - }, - "roleName" : { - "type" : "string" - } - } - } - }, - "userId" : { - "type" : "string" - }, - "userName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/members/{userId}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/plans" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPlanBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePlanBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPlanVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/policies" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPolicyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/policies/{policyId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePolicyBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/reorderPolicies" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/roles" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GrantRolesBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/roles/{roleId}/{userId}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/permissions" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UserPermissionsBean" - } - } - } - } - } - } - }, - "/permissions/{userId}" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UserPermissionsBean" - } - } - } - } - } - } - }, - "/plugins" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPluginBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PluginBean" - } - } - } - } - } - } - }, - "/plugins/availablePlugins" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/plugins/{pluginId}" : { - "get" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PluginBean" - } - } - } - } - } - }, - "delete" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/plugins/{pluginId}/policyDefs" : { - "get" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/plugins/{pluginId}/policyDefs/{policyDefId}/form" : { - "get" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - }, { - "name" : "policyDefId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "string" - } - } - } - } - } - } - }, - "/policyDefs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyDefinitionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyDefinitionBean" - } - } - } - } - } - } - }, - "/policyDefs/{policyDefinitionId}" : { - "get" : { - "parameters" : [ { - "name" : "policyDefinitionId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyDefinitionBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "policyDefinitionId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "policyDefinitionId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/roles" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - } - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewRoleBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/RoleBean" - } - } - } - } - } - } - }, - "/roles/search" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/roles/{roleId}" : { - "get" : { - "parameters" : [ { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/RoleBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateRoleBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/search/apiCatalog/entries" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "internal" : { - "type" : "boolean" - }, - "name" : { - "type" : "string" - }, - "namespace" : { - "type" : "string" - }, - "routeDefinitionUrl" : { - "type" : "string" - }, - "routeEndpoint" : { - "type" : "string" - }, - "tags" : { - "type" : "array", - "items" : { - "type" : "string" - } - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/search/apiCatalog/namespaces" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "current" : { - "type" : "boolean" - }, - "name" : { - "type" : "string" - }, - "ownedByUser" : { - "type" : "boolean" - } - } - } - } - } - } - } - } - } - }, - "/search/apis" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/search/clients" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/search/organizations" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/system/export" : { - "get" : { - "parameters" : [ { - "name" : "download", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { } - } - } - } - } - }, - "/system/import" : { - "post" : { - "responses" : { - "200" : { - "content" : { - "text/plain" : { } - } - } - } - } - }, - "/system/status" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SystemStatusBean" - } - } - } - } - } - } - }, - "/users/search" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "admin" : { - "type" : "boolean" - }, - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "username" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/users/{userId}" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UserBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateUserBean" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/users/{userId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/users/{userId}/apis" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/users/{userId}/clients" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/users/{userId}/organizations" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - } - }, - "components" : { - "schemas" : { - "ApiEndpoint" : { - "properties" : { - "endpoint" : { - "type" : "string" - } - } - }, - "Api" : { - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiPolicies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "type" : "string" - }, - "maxPayloadBufferSize" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "publicAPI" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "Client" : { - "properties" : { - "apiKey" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "contracts" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiOrgId" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "plan" : { - "type" : "string" - }, - "policies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - } - } - } - }, - "organizationId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "SystemStatus" : { - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "up" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "ActionBean" : { - "properties" : { - "entityId" : { - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "type" : { - "enum" : [ "lockPlan", "publishAPI", "registerClient", "retireAPI", "unregisterClient" ], - "type" : "string" - } - } - }, - "CurrentUserBean" : { - "properties" : { - "permissions" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "name" : { - "enum" : [ "apiAdmin", "apiEdit", "apiView", "clientAdmin", "clientEdit", "clientView", "orgAdmin", "orgEdit", "orgView", "planAdmin", "planEdit", "planView" ], - "type" : "string" - }, - "organizationId" : { - "type" : "string" - } - } - } - }, - "admin" : { - "type" : "boolean" - }, - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "username" : { - "type" : "string" - } - } - }, - "UpdateUserBean" : { - "properties" : { - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - } - } - }, - "NewGatewayBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - }, - "GatewayBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - }, - "GatewayTestResultBean" : { - "properties" : { - "detail" : { - "type" : "string" - }, - "success" : { - "type" : "boolean" - } - } - }, - "UpdateGatewayBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - }, - "NewOrganizationBean" : { - "properties" : { - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - } - } - }, - "OrganizationBean" : { - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "NewApiBean" : { - "properties" : { - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "initialVersion" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - } - } - }, - "ApiBean" : { - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "NewPolicyBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "definitionId" : { - "type" : "string" - } - } - }, - "PolicyBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definition" : { - "type" : "object", - "properties" : { - "deleted" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "form" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - }, - "templates" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "language" : { - "type" : "string" - }, - "template" : { - "type" : "string" - } - } - } - } - } - }, - "description" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "orderIndex" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "type" : { - "enum" : [ "Api", "Client", "Plan" ], - "type" : "string" - } - } - }, - "NewApiVersionBean" : { - "properties" : { - "clone" : { - "type" : "boolean" - }, - "cloneVersion" : { - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "ApiVersionBean" : { - "properties" : { - "api" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "NewClientBean" : { - "properties" : { - "description" : { - "type" : "string" - }, - "initialVersion" : { - "type" : "string" - }, - "name" : { - "type" : "string" - } - } - }, - "ClientBean" : { - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "NewClientVersionBean" : { - "properties" : { - "apiKey" : { - "type" : "string" - }, - "clone" : { - "type" : "boolean" - }, - "cloneVersion" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "ClientVersionBean" : { - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "NewContractBean" : { - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiOrgId" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "planId" : { - "type" : "string" - } - } - }, - "ContractBean" : { - "properties" : { - "api" : { - "type" : "object", - "properties" : { - "api" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "client" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "plan" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - } - } - } - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanVersionBean", - "type" : "object" - } - } - } - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - }, - "NewPlanBean" : { - "properties" : { - "description" : { - "type" : "string" - }, - "initialVersion" : { - "type" : "string" - }, - "name" : { - "type" : "string" - } - } - }, - "PlanBean" : { - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - } - } - } - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - }, - "NewPlanVersionBean" : { - "properties" : { - "clone" : { - "type" : "boolean" - }, - "cloneVersion" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "PlanVersionBean" : { - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - } - } - } - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanVersionBean", - "type" : "object" - } - } - } - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "PolicyChainBean" : { - "properties" : { - "policies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - }, - "ApiVersionEndpointSummaryBean" : { - "properties" : { - "managedEndpoint" : { - "type" : "string" - } - } - }, - "ApiVersionStatusBean" : { - "properties" : { - "items" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "done" : { - "type" : "boolean" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "optional" : { - "type" : "boolean" - }, - "remediation" : { - "type" : "string" - } - } - } - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - } - } - }, - "ApiKeyBean" : { - "properties" : { - "apiKey" : { - "type" : "string" - } - } - }, - "ClientUsagePerApiBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "format" : "int64", - "type" : "integer" - } - } - } - }, - "HistogramIntervalType" : { }, - "ResponseStatsHistogramBean" : { - "properties" : { - "data" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "ResponseStatsPerClientBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "type" : "object", - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "ResponseStatsPerPlanBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "type" : "object", - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "ResponseStatsSummaryBean" : { - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "UsageHistogramBean" : { - "properties" : { - "data" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "count" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "UsagePerClientBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "format" : "int64", - "type" : "integer" - } - } - } - }, - "UsagePerPlanBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "format" : "int64", - "type" : "integer" - } - } - } - }, - "GrantRolesBean" : { - "properties" : { - "roleIds" : { - "type" : "array", - "items" : { - "type" : "string" - } - }, - "userId" : { - "type" : "string" - } - } - }, - "UpdateOrganizationBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "UpdateApiBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "NewApiDefinitionBean" : { - "properties" : { - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - } - } - }, - "UpdatePolicyBean" : { - "properties" : { - "configuration" : { - "type" : "string" - } - } - }, - "UpdateApiVersionBean" : { - "properties" : { - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - } - } - }, - "UpdateClientBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "UpdatePlanBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "UserPermissionsBean" : { - "properties" : { - "permissions" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "name" : { - "enum" : [ "apiAdmin", "apiEdit", "apiView", "clientAdmin", "clientEdit", "clientView", "orgAdmin", "orgEdit", "orgView", "planAdmin", "planEdit", "planView" ], - "type" : "string" - }, - "organizationId" : { - "type" : "string" - } - } - } - }, - "userId" : { - "type" : "string" - } - } - }, - "NewPluginBean" : { - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "upgrade" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "PluginBean" : { - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "deleted" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "PolicyDefinitionBean" : { - "properties" : { - "deleted" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "form" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - }, - "templates" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "language" : { - "type" : "string" - }, - "template" : { - "type" : "string" - } - } - } - } - } - }, - "NewRoleBean" : { - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - }, - "RoleBean" : { - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - }, - "SearchCriteriaBean" : { - "properties" : { - "filters" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string" - }, - "operator" : { - "enum" : [ "bool_eq", "eq", "gt", "gte", "like", "lt", "lte", "neq" ], - "type" : "string" - }, - "value" : { - "type" : "string" - } - } - } - }, - "orderBy" : { - "type" : "object", - "properties" : { - "ascending" : { - "type" : "boolean" - }, - "name" : { - "type" : "string" - } - } - }, - "paging" : { - "type" : "object", - "properties" : { - "page" : { - "format" : "int32", - "type" : "integer" - }, - "pageSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - }, - "UpdateRoleBean" : { - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - }, - "SystemStatusBean" : { - "properties" : { - "builtOn" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "moreInfo" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "up" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "UserBean" : { - "properties" : { - "admin" : { - "type" : "boolean" - }, - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "username" : { - "type" : "string" - } - } - } - } - } -} diff --git a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringDeleteDefinitionScanning.json b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringDeleteDefinitionScanning.json index fd74ede86..9ddddd79b 100644 --- a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringDeleteDefinitionScanning.json +++ b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringDeleteDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet/{id}" : { "delete" : { diff --git a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringGetDefinitionScanning.json b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringGetDefinitionScanning.json index 6d42e639c..1326efed3 100644 --- a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringGetDefinitionScanning.json +++ b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringGetDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/helloOptional/{name}" : { "get" : { diff --git a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPostDefinitionScanning.json b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPostDefinitionScanning.json index 86fdcd0c6..1155352e9 100644 --- a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPostDefinitionScanning.json +++ b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPostDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet" : { "post" : { diff --git a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPutDefinitionScanning.json b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPutDefinitionScanning.json index b9f2feb69..0b62ffa5a 100644 --- a/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPutDefinitionScanning.json +++ b/extension-spring/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicSpringPutDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet/{id}" : { "put" : { diff --git a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteDeleteDefinitionScanning.json b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteDeleteDefinitionScanning.json index c687a36b0..5e8778b26 100644 --- a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteDeleteDefinitionScanning.json +++ b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteDeleteDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet/{id}" : { "delete" : { diff --git a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteGetDefinitionScanning.json b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteGetDefinitionScanning.json index 969c64d60..fe2bb36d0 100644 --- a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteGetDefinitionScanning.json +++ b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRouteGetDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/defaultGet/{name}" : { "get" : { diff --git a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePostDefinitionScanning.json b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePostDefinitionScanning.json index 0c0d57625..aca79a67f 100644 --- a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePostDefinitionScanning.json +++ b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePostDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "paths": { "/greeting/greet": { "post": { diff --git a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePutDefinitionScanning.json b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePutDefinitionScanning.json index 2e71732af..0e5887b75 100644 --- a/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePutDefinitionScanning.json +++ b/extension-vertx/src/test/resources/io/smallrye/openapi/runtime/scanner/resource.testBasicRoutePutDefinitionScanning.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "paths" : { "/greeting/greet/{id}" : { "put" : { diff --git a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-deprecated-annotation.json b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-deprecated-annotation.json index 80af8b764..0852cf568 100644 --- a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-deprecated-annotation.json +++ b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-deprecated-annotation.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "DeprecatedKotlinBean" : { diff --git a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-value-class-propname.json b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-value-class-propname.json index e8fa6baff..1b30c5aa7 100644 --- a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-value-class-propname.json +++ b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.kotlin-value-class-propname.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "components": { "schemas": { "KotlinBean": { diff --git a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.prefixed-record-component-names.json b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.prefixed-record-component-names.json index 256f6344a..e2e4d2d8f 100644 --- a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.prefixed-record-component-names.json +++ b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/components.schemas.prefixed-record-component-names.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "components" : { "schemas" : { "RecordReferencingBean" : { diff --git a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/ignore.synthetic-classes-interfaces.json b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/ignore.synthetic-classes-interfaces.json index 5c681e679..724a8722f 100644 --- a/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/ignore.synthetic-classes-interfaces.json +++ b/testsuite/data/src/test/resources/io/smallrye/openapi/testdata/ignore.synthetic-classes-interfaces.json @@ -1,5 +1,5 @@ { - "openapi" : "3.0.3", + "openapi" : "3.1.0", "info" : { "title" : "Generated API", "version" : "1.0" diff --git a/tools/gradle-plugin/src/test/java/io/smallrye/openapi/gradleplugin/SmallryeOpenApiPluginTest.java b/tools/gradle-plugin/src/test/java/io/smallrye/openapi/gradleplugin/SmallryeOpenApiPluginTest.java index 28b05ed16..95b5b5a60 100644 --- a/tools/gradle-plugin/src/test/java/io/smallrye/openapi/gradleplugin/SmallryeOpenApiPluginTest.java +++ b/tools/gradle-plugin/src/test/java/io/smallrye/openapi/gradleplugin/SmallryeOpenApiPluginTest.java @@ -71,7 +71,7 @@ void taskPropertiesInheritance() { ext.applicationPathDisable.set(true); ext.configProperties.set(new File("/foo/bar")); ext.encoding.set("ISO-8859-1"); - ext.openApiVersion.set("3.0.0"); + ext.openApiVersion.set("999.999.999"); //intentionally invalid ext.customSchemaRegistryClass.set("foo.bar.Baz"); ext.filter.set("filter"); ext.infoContactEmail.set("info-email"); @@ -195,7 +195,7 @@ void smokeProject(Path buildDir, boolean withQuarkus, String taskName, String ou "}", "", "smallryeOpenApi {", - " openApiVersion.set(\"3.0.2\")", + " openApiVersion.set(\"999.999.999\")", //Intentionally invalid " schemaFilename.set(\"my-openapi-schema-file\")", " infoTitle.set(\"Info Title\")", " infoVersion.set(\"Info Version\")", @@ -290,7 +290,7 @@ private static void checkGeneratedFiles(Path buildDir, String expectedOutputFile JsonNode root = new ObjectMapper().readValue( targetOpenapiDir.resolve("my-openapi-schema-file.json").toUri().toURL(), JsonNode.class); - assertThat(root.get("openapi").asText()).isEqualTo("3.0.2"); + assertThat(root.get("openapi").asText()).isEqualTo("999.999.999"); assertThat(root.get("x-smallrye-gradle-generated").booleanValue()).isTrue(); JsonNode info = root.get("info");