diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000..939b4e6199 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +permissions: + id-token: write + contents: read + +jobs: + publish: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v1 + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + + - uses: aws-actions/configure-aws-credentials@v2 + with: + role-to-assume: arn:aws:iam::499333472133:role/GitHub-Publish-Maven-Artifacts + aws-region: eu-east-1 + + - name: Publish to Lidalia Repo + uses: gradle/gradle-build-action@v2 + with: + arguments: publishAllPublicationsToWiremock-cloud-publicRepository diff --git a/.gradle/8.0.2/checksums/checksums.lock b/.gradle/8.0.2/checksums/checksums.lock new file mode 100644 index 0000000000..3254cdcc5c Binary files /dev/null and b/.gradle/8.0.2/checksums/checksums.lock differ diff --git a/.gradle/8.0.2/checksums/md5-checksums.bin b/.gradle/8.0.2/checksums/md5-checksums.bin new file mode 100644 index 0000000000..1a057e43ae Binary files /dev/null and b/.gradle/8.0.2/checksums/md5-checksums.bin differ diff --git a/.gradle/8.0.2/checksums/sha1-checksums.bin b/.gradle/8.0.2/checksums/sha1-checksums.bin new file mode 100644 index 0000000000..00825a4765 Binary files /dev/null and b/.gradle/8.0.2/checksums/sha1-checksums.bin differ diff --git a/.gradle/8.0.2/checksums/sha256-checksums.bin b/.gradle/8.0.2/checksums/sha256-checksums.bin new file mode 100644 index 0000000000..2df4b99b4b Binary files /dev/null and b/.gradle/8.0.2/checksums/sha256-checksums.bin differ diff --git a/.gradle/8.0.2/checksums/sha512-checksums.bin b/.gradle/8.0.2/checksums/sha512-checksums.bin new file mode 100644 index 0000000000..50c54d6861 Binary files /dev/null and b/.gradle/8.0.2/checksums/sha512-checksums.bin differ diff --git a/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock b/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000000..d7a9bc4b5a Binary files /dev/null and b/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock differ diff --git a/.gradle/8.0.2/dependencies-accessors/gc.properties b/.gradle/8.0.2/dependencies-accessors/gc.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.gradle/8.0.2/executionHistory/executionHistory.bin b/.gradle/8.0.2/executionHistory/executionHistory.bin new file mode 100644 index 0000000000..649d2820bd Binary files /dev/null and b/.gradle/8.0.2/executionHistory/executionHistory.bin differ diff --git a/.gradle/8.0.2/executionHistory/executionHistory.lock b/.gradle/8.0.2/executionHistory/executionHistory.lock new file mode 100644 index 0000000000..91e70e7a7d Binary files /dev/null and b/.gradle/8.0.2/executionHistory/executionHistory.lock differ diff --git a/.gradle/8.0.2/fileChanges/last-build.bin b/.gradle/8.0.2/fileChanges/last-build.bin new file mode 100644 index 0000000000..f76dd238ad Binary files /dev/null and b/.gradle/8.0.2/fileChanges/last-build.bin differ diff --git a/.gradle/8.0.2/fileHashes/fileHashes.bin b/.gradle/8.0.2/fileHashes/fileHashes.bin new file mode 100644 index 0000000000..1f0a12557c Binary files /dev/null and b/.gradle/8.0.2/fileHashes/fileHashes.bin differ diff --git a/.gradle/8.0.2/fileHashes/fileHashes.lock b/.gradle/8.0.2/fileHashes/fileHashes.lock new file mode 100644 index 0000000000..1c62a4e902 Binary files /dev/null and b/.gradle/8.0.2/fileHashes/fileHashes.lock differ diff --git a/.gradle/8.0.2/fileHashes/resourceHashesCache.bin b/.gradle/8.0.2/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000000..78e003a6ae Binary files /dev/null and b/.gradle/8.0.2/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/8.0.2/gc.properties b/.gradle/8.0.2/gc.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000000..2d6d657343 Binary files /dev/null and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000000..315013205f --- /dev/null +++ b/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Mon Mar 20 14:28:39 TRT 2023 +gradle.version=8.0.2 diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000000..bd296460dc Binary files /dev/null and b/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe new file mode 100644 index 0000000000..a99c41eebd Binary files /dev/null and b/.gradle/file-system.probe differ diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/buildSrc/.gradle/8.0.2/checksums/checksums.lock b/buildSrc/.gradle/8.0.2/checksums/checksums.lock new file mode 100644 index 0000000000..fafaf8119e Binary files /dev/null and b/buildSrc/.gradle/8.0.2/checksums/checksums.lock differ diff --git a/buildSrc/.gradle/8.0.2/checksums/md5-checksums.bin b/buildSrc/.gradle/8.0.2/checksums/md5-checksums.bin new file mode 100644 index 0000000000..c371d26c75 Binary files /dev/null and b/buildSrc/.gradle/8.0.2/checksums/md5-checksums.bin differ diff --git a/buildSrc/.gradle/8.0.2/checksums/sha1-checksums.bin b/buildSrc/.gradle/8.0.2/checksums/sha1-checksums.bin new file mode 100644 index 0000000000..3e08c79e30 Binary files /dev/null and b/buildSrc/.gradle/8.0.2/checksums/sha1-checksums.bin differ diff --git a/buildSrc/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock b/buildSrc/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000000..a2fafe8ccb Binary files /dev/null and b/buildSrc/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock differ diff --git a/buildSrc/.gradle/8.0.2/dependencies-accessors/gc.properties b/buildSrc/.gradle/8.0.2/dependencies-accessors/gc.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/buildSrc/.gradle/8.0.2/executionHistory/executionHistory.bin b/buildSrc/.gradle/8.0.2/executionHistory/executionHistory.bin new file mode 100644 index 0000000000..577383cb63 Binary files /dev/null and b/buildSrc/.gradle/8.0.2/executionHistory/executionHistory.bin differ diff --git a/buildSrc/.gradle/8.0.2/executionHistory/executionHistory.lock b/buildSrc/.gradle/8.0.2/executionHistory/executionHistory.lock new file mode 100644 index 0000000000..1f41f1a215 Binary files /dev/null and b/buildSrc/.gradle/8.0.2/executionHistory/executionHistory.lock differ diff --git a/buildSrc/.gradle/8.0.2/fileChanges/last-build.bin b/buildSrc/.gradle/8.0.2/fileChanges/last-build.bin new file mode 100644 index 0000000000..f76dd238ad Binary files /dev/null and b/buildSrc/.gradle/8.0.2/fileChanges/last-build.bin differ diff --git a/buildSrc/.gradle/8.0.2/fileHashes/fileHashes.lock b/buildSrc/.gradle/8.0.2/fileHashes/fileHashes.lock new file mode 100644 index 0000000000..8266de04d8 Binary files /dev/null and b/buildSrc/.gradle/8.0.2/fileHashes/fileHashes.lock differ diff --git a/buildSrc/.gradle/8.0.2/gc.properties b/buildSrc/.gradle/8.0.2/gc.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000000..cd6c46f5e7 Binary files /dev/null and b/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/buildSrc/.gradle/buildOutputCleanup/cache.properties b/buildSrc/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000000..7c5a4324f0 --- /dev/null +++ b/buildSrc/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Mon Mar 20 14:28:27 TRT 2023 +gradle.version=8.0.2 diff --git a/buildSrc/.gradle/buildOutputCleanup/outputFiles.bin b/buildSrc/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000000..8627527c26 Binary files /dev/null and b/buildSrc/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/buildSrc/.gradle/file-system.probe b/buildSrc/.gradle/file-system.probe new file mode 100644 index 0000000000..a99c41eebd Binary files /dev/null and b/buildSrc/.gradle/file-system.probe differ diff --git a/buildSrc/.gradle/noVersion/buildSrc.lock b/buildSrc/.gradle/noVersion/buildSrc.lock new file mode 100644 index 0000000000..35a038769b Binary files /dev/null and b/buildSrc/.gradle/noVersion/buildSrc.lock differ diff --git a/buildSrc/.gradle/vcs-1/gc.properties b/buildSrc/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle new file mode 100644 index 0000000000..16fbc6f35d --- /dev/null +++ b/buildSrc/build.gradle @@ -0,0 +1,15 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +plugins { + // Support convention plugins written in Groovy. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build. + id 'groovy-gradle-plugin' +} + +repositories { + // Use the plugin portal to apply community plugins in convention plugins. + gradlePluginPortal() +} diff --git a/buildSrc/build/classes/java/main/IoSwaggerParserV3JavaConventionsPlugin.class b/buildSrc/build/classes/java/main/IoSwaggerParserV3JavaConventionsPlugin.class new file mode 100644 index 0000000000..d4bb1186aa Binary files /dev/null and b/buildSrc/build/classes/java/main/IoSwaggerParserV3JavaConventionsPlugin.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/adapter-src/IoSwaggerParserV3JavaConventionsPlugin.java b/buildSrc/build/groovy-dsl-plugins/output/adapter-src/IoSwaggerParserV3JavaConventionsPlugin.java new file mode 100644 index 0000000000..d579f0a715 --- /dev/null +++ b/buildSrc/build/groovy-dsl-plugins/output/adapter-src/IoSwaggerParserV3JavaConventionsPlugin.java @@ -0,0 +1,42 @@ +//CHECKSTYLE:OFF +import org.gradle.util.GradleVersion; +import org.gradle.groovy.scripts.BasicScript; +import org.gradle.groovy.scripts.ScriptSource; +import org.gradle.groovy.scripts.TextResourceScriptSource; +import org.gradle.internal.resource.StringTextResource; +/** + * Precompiled io.swagger.parser.v3.java-conventions script plugin. + **/ +public class IoSwaggerParserV3JavaConventionsPlugin implements org.gradle.api.Plugin { + private static final String MIN_SUPPORTED_GRADLE_VERSION = "5.0"; + public void apply(org.gradle.api.internal.project.ProjectInternal target) { + assertSupportedByCurrentGradleVersion(); + try { + Class pluginsBlockClass = Class.forName("cp_precompiled_IoSwaggerParserV3JavaConventions").asSubclass(BasicScript.class); + BasicScript pluginsBlockScript = pluginsBlockClass.getDeclaredConstructor().newInstance(); + pluginsBlockScript.setScriptSource(scriptSource(pluginsBlockClass)); + pluginsBlockScript.init(target, target.getServices()); + pluginsBlockScript.run(); + target.getPluginManager().apply("java-library"); + target.getPluginManager().apply("maven-publish"); + + + Class precompiledScriptClass = Class.forName("precompiled_IoSwaggerParserV3JavaConventions").asSubclass(BasicScript.class); + BasicScript script = precompiledScriptClass.getDeclaredConstructor().newInstance(); + script.setScriptSource(scriptSource(precompiledScriptClass)); + script.init(target, target.getServices()); + script.run(); + } catch (Exception e) { + throw new RuntimeException(e); + } + } + private static ScriptSource scriptSource(Class scriptClass) { + return new TextResourceScriptSource(new StringTextResource(scriptClass.getSimpleName(), "")); + } + private static void assertSupportedByCurrentGradleVersion() { + if (GradleVersion.current().getBaseVersion().compareTo(GradleVersion.version(MIN_SUPPORTED_GRADLE_VERSION)) < 0) { + throw new RuntimeException("Precompiled Groovy script plugins require Gradle "+MIN_SUPPORTED_GRADLE_VERSION+" or higher"); + } + } +} +//CHECKSTYLE:ON diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure10.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure10.class new file mode 100644 index 0000000000..cfafb9adb3 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure10.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure7.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure7.class new file mode 100644 index 0000000000..0aa55ac28e Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure7.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure8.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure8.class new file mode 100644 index 0000000000..23fe6b42bf Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure8.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure9.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure9.class new file mode 100644 index 0000000000..b708d76114 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure9.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class new file mode 100644 index 0000000000..7b259eeba8 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12$_closure13.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12$_closure13.class new file mode 100644 index 0000000000..c9bcdca6c6 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12$_closure13.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12.class new file mode 100644 index 0000000000..0325bfeee8 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11.class new file mode 100644 index 0000000000..ff92580855 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2.class new file mode 100644 index 0000000000..3b29a679da Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure3.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure3.class new file mode 100644 index 0000000000..cd4b9476dd Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure3.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure4.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure4.class new file mode 100644 index 0000000000..7f9b172a9a Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure4.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure5.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure5.class new file mode 100644 index 0000000000..b11816b3c7 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure5.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure6.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure6.class new file mode 100644 index 0000000000..39490b70b8 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions$_run_closure6.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions.class new file mode 100644 index 0000000000..527fe06844 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-classes/precompiled_IoSwaggerParserV3JavaConventions.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-requests-staging/cp_precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests-staging/cp_precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class new file mode 100644 index 0000000000..c63ad7d615 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests-staging/cp_precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-requests-staging/cp_precompiled_IoSwaggerParserV3JavaConventions.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests-staging/cp_precompiled_IoSwaggerParserV3JavaConventions.class new file mode 100644 index 0000000000..8c5eb7cd27 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests-staging/cp_precompiled_IoSwaggerParserV3JavaConventions.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/cp_precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/cp_precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class new file mode 100644 index 0000000000..c63ad7d615 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/cp_precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/cp_precompiled_IoSwaggerParserV3JavaConventions.class b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/cp_precompiled_IoSwaggerParserV3JavaConventions.class new file mode 100644 index 0000000000..8c5eb7cd27 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/cp_precompiled_IoSwaggerParserV3JavaConventions.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/metadata.bin b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/metadata.bin new file mode 100644 index 0000000000..f76dd238ad Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/output/plugin-requests/io.swagger.parser.v3.java-conventions/metadata.bin differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure10.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure10.class new file mode 100644 index 0000000000..cfafb9adb3 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure10.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure7.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure7.class new file mode 100644 index 0000000000..0aa55ac28e Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure7.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure8.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure8.class new file mode 100644 index 0000000000..23fe6b42bf Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure8.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure9.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure9.class new file mode 100644 index 0000000000..b708d76114 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1$_closure9.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class new file mode 100644 index 0000000000..7b259eeba8 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure1.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12$_closure13.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12$_closure13.class new file mode 100644 index 0000000000..c9bcdca6c6 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12$_closure13.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12.class new file mode 100644 index 0000000000..0325bfeee8 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11$_closure12.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11.class new file mode 100644 index 0000000000..ff92580855 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2$_closure11.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2.class new file mode 100644 index 0000000000..3b29a679da Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure2.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure3.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure3.class new file mode 100644 index 0000000000..cd4b9476dd Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure3.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure4.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure4.class new file mode 100644 index 0000000000..7f9b172a9a Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure4.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure5.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure5.class new file mode 100644 index 0000000000..b11816b3c7 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure5.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure6.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure6.class new file mode 100644 index 0000000000..39490b70b8 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions$_run_closure6.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions.class b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions.class new file mode 100644 index 0000000000..527fe06844 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/classes/io.swagger.parser.v3.java-conventions/precompiled_IoSwaggerParserV3JavaConventions.class differ diff --git a/buildSrc/build/groovy-dsl-plugins/work/metadata/io.swagger.parser.v3.java-conventions/metadata.bin b/buildSrc/build/groovy-dsl-plugins/work/metadata/io.swagger.parser.v3.java-conventions/metadata.bin new file mode 100644 index 0000000000..bdc955b7b2 Binary files /dev/null and b/buildSrc/build/groovy-dsl-plugins/work/metadata/io.swagger.parser.v3.java-conventions/metadata.bin differ diff --git a/buildSrc/build/libs/buildSrc.jar b/buildSrc/build/libs/buildSrc.jar new file mode 100644 index 0000000000..d37ad9a8fd Binary files /dev/null and b/buildSrc/build/libs/buildSrc.jar differ diff --git a/buildSrc/build/pluginDescriptors/io.swagger.parser.v3.java-conventions.properties b/buildSrc/build/pluginDescriptors/io.swagger.parser.v3.java-conventions.properties new file mode 100644 index 0000000000..0cbc7d0e9b --- /dev/null +++ b/buildSrc/build/pluginDescriptors/io.swagger.parser.v3.java-conventions.properties @@ -0,0 +1 @@ +implementation-class=IoSwaggerParserV3JavaConventionsPlugin diff --git a/buildSrc/build/resources/main/META-INF/gradle-plugins/io.swagger.parser.v3.java-conventions.properties b/buildSrc/build/resources/main/META-INF/gradle-plugins/io.swagger.parser.v3.java-conventions.properties new file mode 100644 index 0000000000..0cbc7d0e9b --- /dev/null +++ b/buildSrc/build/resources/main/META-INF/gradle-plugins/io.swagger.parser.v3.java-conventions.properties @@ -0,0 +1 @@ +implementation-class=IoSwaggerParserV3JavaConventionsPlugin diff --git a/buildSrc/build/tmp/compileJava/previous-compilation-data.bin b/buildSrc/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000000..0577d8a332 Binary files /dev/null and b/buildSrc/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/buildSrc/build/tmp/jar/MANIFEST.MF b/buildSrc/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/buildSrc/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/buildSrc/src/main/groovy/io.swagger.parser.v3.java-conventions.gradle b/buildSrc/src/main/groovy/io.swagger.parser.v3.java-conventions.gradle new file mode 100644 index 0000000000..bec6166ec9 --- /dev/null +++ b/buildSrc/src/main/groovy/io.swagger.parser.v3.java-conventions.gradle @@ -0,0 +1,62 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +plugins { + id 'java-library' + id 'maven-publish' +} + +repositories { + mavenLocal() + maven { + url = uri('https://oss.sonatype.org/content/repositories/snapshots') + } + + maven { + url = uri('https://oss.sonatype.org/content/repositories/releases') + } + + maven { + url = uri('https://maven-public.wiremock.io') + } + + maven { + url = uri('https://repo.maven.apache.org/maven2/') + } +} + +group = 'io.swagger.parser.v3' +version = '2.1.13.1-SNAPSHOT' +java.sourceCompatibility = JavaVersion.VERSION_1_8 + +publishing { + repositories { + maven { + name = "wiremock-cloud-public" + url = "s3://wiremock-cloud-maven-public-repo/releases/" + credentials(AwsCredentials) { + accessKey = System.getenv("AWS_ACCESS_KEY_ID") + secretKey = System.getenv("AWS_SECRET_ACCESS_KEY") + } + } + } +} + +java { + withSourcesJar() +} + +tasks.withType(JavaCompile) { + options.encoding = 'UTF-8' +} + +tasks.withType(Javadoc) { + options.encoding = 'UTF-8' +} + +test { + jvmArgs '-Djdk.attach.allowAttachSelf=true' +} diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000..ccebba7710 Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000000..bdc9a83b1e --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip +networkTimeout=10000 +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000000..79a61d421c --- /dev/null +++ b/gradlew @@ -0,0 +1,244 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000000..6689b85bee --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,92 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/modules/swagger-parser-cli/build.gradle b/modules/swagger-parser-cli/build.gradle new file mode 100644 index 0000000000..5b28bb31dc --- /dev/null +++ b/modules/swagger-parser-cli/build.gradle @@ -0,0 +1,26 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +plugins { + id 'io.swagger.parser.v3.java-conventions' +} + +dependencies { + api project(':swagger-parser-v3') + api 'net.sourceforge.argparse4j:argparse4j:0.9.0' + api 'org.slf4j:slf4j-simple:2.0.0' + testImplementation 'org.testng:testng:6.14.2' +} + +description = 'swagger-parser (executable)' + +java { + withJavadocJar() +} + +tasks.named('test') { + useTestNG() +} diff --git a/modules/swagger-parser-cli/build/classes/java/main/io/swagger/v3/parser/SwaggerParser.class b/modules/swagger-parser-cli/build/classes/java/main/io/swagger/v3/parser/SwaggerParser.class new file mode 100644 index 0000000000..bd37ce846b Binary files /dev/null and b/modules/swagger-parser-cli/build/classes/java/main/io/swagger/v3/parser/SwaggerParser.class differ diff --git a/modules/swagger-parser-cli/build/classes/java/test/SwaggerParserCLITest.class b/modules/swagger-parser-cli/build/classes/java/test/SwaggerParserCLITest.class new file mode 100644 index 0000000000..5ed1692a0e Binary files /dev/null and b/modules/swagger-parser-cli/build/classes/java/test/SwaggerParserCLITest.class differ diff --git a/modules/swagger-parser-cli/build/docs/javadoc/allclasses-index.html b/modules/swagger-parser-cli/build/docs/javadoc/allclasses-index.html new file mode 100644 index 0000000000..10cd5af9e1 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/allclasses-index.html @@ -0,0 +1,65 @@ + + + + +All Classes and Interfaces (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes and Interfaces

+
+
+
Classes
+
+
Class
+
Description
+ +
 
+
+
+
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/allpackages-index.html b/modules/swagger-parser-cli/build/docs/javadoc/allpackages-index.html new file mode 100644 index 0000000000..0788e68361 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/allpackages-index.html @@ -0,0 +1,63 @@ + + + + +All Packages (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
Package Summary
+
+
Package
+
Description
+ +
 
+
+
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/constant-values.html b/modules/swagger-parser-cli/build/docs/javadoc/constant-values.html new file mode 100644 index 0000000000..37296465d3 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/constant-values.html @@ -0,0 +1,102 @@ + + + + +Constant Field Values (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

Constant Field Values

+
+

Contents

+ +
+
+
+

io.swagger.*

+ +
+
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/copy.svg b/modules/swagger-parser-cli/build/docs/javadoc/copy.svg new file mode 100644 index 0000000000..7c46ab15fe --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/element-list b/modules/swagger-parser-cli/build/docs/javadoc/element-list new file mode 100644 index 0000000000..5c8cc74ba0 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/element-list @@ -0,0 +1 @@ +io.swagger.v3.parser diff --git a/modules/swagger-parser-cli/build/docs/javadoc/help-doc.html b/modules/swagger-parser-cli/build/docs/javadoc/help-doc.html new file mode 100644 index 0000000000..476b71ece6 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/help-doc.html @@ -0,0 +1,182 @@ + + + + +API Help (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+

JavaDoc Help

+ +
+
+

Navigation

+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
+
+
+

Kinds of Pages

+The following sections describe the different kinds of pages in this collection. +
+

Package

+

Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

+
    +
  • Interfaces
  • +
  • Classes
  • +
  • Enum Classes
  • +
  • Exception Classes
  • +
  • Annotation Interfaces
  • +
+
+
+

Class or Interface

+

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

+
    +
  • Class Inheritance Diagram
  • +
  • Direct Subclasses
  • +
  • All Known Subinterfaces
  • +
  • All Known Implementing Classes
  • +
  • Class or Interface Declaration
  • +
  • Class or Interface Description
  • +
+
+
    +
  • Nested Class Summary
  • +
  • Enum Constant Summary
  • +
  • Field Summary
  • +
  • Property Summary
  • +
  • Constructor Summary
  • +
  • Method Summary
  • +
  • Required Element Summary
  • +
  • Optional Element Summary
  • +
+
+
    +
  • Enum Constant Details
  • +
  • Field Details
  • +
  • Property Details
  • +
  • Constructor Details
  • +
  • Method Details
  • +
  • Element Details
  • +
+

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

+

The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

+
+
+

Other Files

+

Packages and modules may contain pages with additional information related to the declarations nearby.

+
+
+

Tree (Class Hierarchy)

+

There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

+
    +
  • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
  • +
  • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
  • +
+
+
+

Constant Field Values

+

The Constant Field Values page lists the static final fields and their values.

+
+
+

All Packages

+

The All Packages page contains an alphabetic index of all packages contained in the documentation.

+
+
+

All Classes and Interfaces

+

The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

+
+
+

Index

+

The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

+
+
+
+This help file applies to API documentation generated by the standard doclet.
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/index-all.html b/modules/swagger-parser-cli/build/docs/javadoc/index-all.html new file mode 100644 index 0000000000..0dba18b2db --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/index-all.html @@ -0,0 +1,115 @@ + + + + +Index (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

Index

+
+F I J L M O R S T Y 
All Classes and Interfaces|All Packages|Constant Field Values +

F

+
+
FLATTEN - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

I

+
+
INPUT_FILE - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
io.swagger.v3.parser - package io.swagger.v3.parser
+
 
+
+

J

+
+
JSON - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

L

+
+
LOG_ERRORS - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

M

+
+
main(String[]) - Static method in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

O

+
+
OUTPUT_FILE - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

R

+
+
readFromLocation(Namespace) - Static method in class io.swagger.v3.parser.SwaggerParser
+
 
+
RESOLVE - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
RESOLVEFULLY - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

S

+
+
SwaggerParser - Class in io.swagger.v3.parser
+
 
+
SwaggerParser() - Constructor for class io.swagger.v3.parser.SwaggerParser
+
 
+
+

T

+
+
TRUE - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+

Y

+
+
YAML - Static variable in class io.swagger.v3.parser.SwaggerParser
+
 
+
+F I J L M O R S T Y 
All Classes and Interfaces|All Packages|Constant Field Values
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/index.html b/modules/swagger-parser-cli/build/docs/javadoc/index.html new file mode 100644 index 0000000000..d93421a002 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/index.html @@ -0,0 +1,25 @@ + + + + +swagger-parser-cli 2.1.13-SNAPSHOT API + + + + + + + + + + +
+ +

io/swagger/v3/parser/package-summary.html

+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/SwaggerParser.html b/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/SwaggerParser.html new file mode 100644 index 0000000000..91e98dcb43 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/SwaggerParser.html @@ -0,0 +1,353 @@ + + + + +SwaggerParser (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class SwaggerParser

+
+
java.lang.Object +
io.swagger.v3.parser.SwaggerParser
+
+
+
+
public class SwaggerParser +extends Object
+
+
+ +
+
+ +
+ +
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/package-summary.html b/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/package-summary.html new file mode 100644 index 0000000000..7198a9127b --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/package-summary.html @@ -0,0 +1,90 @@ + + + + +io.swagger.v3.parser (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

Package io.swagger.v3.parser

+
+
+
package io.swagger.v3.parser
+
+ +
+
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/package-tree.html b/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/package-tree.html new file mode 100644 index 0000000000..c4422ad1b4 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/io/swagger/v3/parser/package-tree.html @@ -0,0 +1,66 @@ + + + + +io.swagger.v3.parser Class Hierarchy (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package io.swagger.v3.parser

+
+
+

Class Hierarchy

+ +
+
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/jquery-ui.overrides.css b/modules/swagger-parser-cli/build/docs/javadoc/jquery-ui.overrides.css new file mode 100644 index 0000000000..facf852c27 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/modules/swagger-parser-cli/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO b/modules/swagger-parser-cli/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000000..ff700cd09f --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/modules/swagger-parser-cli/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION b/modules/swagger-parser-cli/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000000..065b8d9023 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + http://openjdk.java.net/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/modules/swagger-parser-cli/build/docs/javadoc/legal/LICENSE b/modules/swagger-parser-cli/build/docs/javadoc/legal/LICENSE new file mode 100644 index 0000000000..8b400c7ab8 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/modules/swagger-parser-cli/build/docs/javadoc/legal/jquery.md b/modules/swagger-parser-cli/build/docs/javadoc/legal/jquery.md new file mode 100644 index 0000000000..f7b72e3fbe --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/legal/jquery.md @@ -0,0 +1,72 @@ +## jQuery v3.6.0 + +### jQuery License +``` +jQuery v 3.6.0 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************** + +The jQuery JavaScript Library v3.6.0 also includes Sizzle.js + +Sizzle.js includes the following license: + +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +********************* + +``` diff --git a/modules/swagger-parser-cli/build/docs/javadoc/legal/jqueryUI.md b/modules/swagger-parser-cli/build/docs/javadoc/legal/jqueryUI.md new file mode 100644 index 0000000000..9f4c9e951f --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.13.1 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/modules/swagger-parser-cli/build/docs/javadoc/member-search-index.js b/modules/swagger-parser-cli/build/docs/javadoc/member-search-index.js new file mode 100644 index 0000000000..0433bb43e4 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"FLATTEN"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"INPUT_FILE"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"JSON"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"LOG_ERRORS"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"OUTPUT_FILE"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"readFromLocation(Namespace)","u":"readFromLocation(net.sourceforge.argparse4j.inf.Namespace)"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"RESOLVE"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"RESOLVEFULLY"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"SwaggerParser()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"TRUE"},{"p":"io.swagger.v3.parser","c":"SwaggerParser","l":"YAML"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/docs/javadoc/module-search-index.js b/modules/swagger-parser-cli/build/docs/javadoc/module-search-index.js new file mode 100644 index 0000000000..0d59754fc4 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/docs/javadoc/overview-tree.html b/modules/swagger-parser-cli/build/docs/javadoc/overview-tree.html new file mode 100644 index 0000000000..200389f9c9 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/overview-tree.html @@ -0,0 +1,70 @@ + + + + +Class Hierarchy (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+
+
+
+ + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/package-search-index.js b/modules/swagger-parser-cli/build/docs/javadoc/package-search-index.js new file mode 100644 index 0000000000..43883b565f --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"io.swagger.v3.parser"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/docs/javadoc/resources/glass.png b/modules/swagger-parser-cli/build/docs/javadoc/resources/glass.png new file mode 100644 index 0000000000..a7f591f467 Binary files /dev/null and b/modules/swagger-parser-cli/build/docs/javadoc/resources/glass.png differ diff --git a/modules/swagger-parser-cli/build/docs/javadoc/resources/x.png b/modules/swagger-parser-cli/build/docs/javadoc/resources/x.png new file mode 100644 index 0000000000..30548a756e Binary files /dev/null and b/modules/swagger-parser-cli/build/docs/javadoc/resources/x.png differ diff --git a/modules/swagger-parser-cli/build/docs/javadoc/script-dir/jquery-3.6.0.min.js b/modules/swagger-parser-cli/build/docs/javadoc/script-dir/jquery-3.6.0.min.js new file mode 100644 index 0000000000..c4c6022f29 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/script-dir/jquery-3.6.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(E(s),E(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,l=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
    ").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)});s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
    ").text(i))},100))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("
    ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
    ").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}});x.ui.autocomplete}); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/docs/javadoc/script.js b/modules/swagger-parser-cli/build/docs/javadoc/script.js new file mode 100644 index 0000000000..62953632e9 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/script.js @@ -0,0 +1,266 @@ +/* + * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; + +var oddRowColor = "odd-row-color"; +var evenRowColor = "even-row-color"; +var sortAsc = "sort-asc"; +var sortDesc = "sort-desc"; +var tableTab = "table-tab"; +var activeTableTab = "active-table-tab"; + +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +// Helper for making content containing release names comparable lexicographically +function makeComparable(s) { + return s.toLowerCase().replace(/(\d+)/g, + function(n, m) { + return ("000" + m).slice(-4); + }); +} + +// Switches between two styles depending on a condition +function toggleStyle(classList, condition, trueStyle, falseStyle) { + if (condition) { + classList.remove(falseStyle); + classList.add(trueStyle); + } else { + classList.remove(trueStyle); + classList.add(falseStyle); + } +} + +// Sorts the rows in a table lexicographically by the content of a specific column +function sortTable(header, columnIndex, columns) { + var container = header.parentElement; + var descending = header.classList.contains(sortAsc); + container.querySelectorAll("div.table-header").forEach( + function(header) { + header.classList.remove(sortAsc); + header.classList.remove(sortDesc); + } + ) + var cells = container.children; + var rows = []; + for (var i = columns; i < cells.length; i += columns) { + rows.push(Array.prototype.slice.call(cells, i, i + columns)); + } + var comparator = function(a, b) { + var ka = makeComparable(a[columnIndex].textContent); + var kb = makeComparable(b[columnIndex].textContent); + if (ka < kb) + return descending ? 1 : -1; + if (ka > kb) + return descending ? -1 : 1; + return 0; + }; + var sorted = rows.sort(comparator); + var visible = 0; + sorted.forEach(function(row) { + if (row[0].style.display !== 'none') { + var isEvenRow = visible++ % 2 === 0; + } + row.forEach(function(cell) { + toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor); + container.appendChild(cell); + }) + }); + toggleStyle(header.classList, descending, sortDesc, sortAsc); +} + +// Toggles the visibility of a table category in all tables in a page +function toggleGlobal(checkbox, selected, columns) { + var display = checkbox.checked ? '' : 'none'; + document.querySelectorAll("div.table-tabs").forEach(function(t) { + var id = t.parentElement.getAttribute("id"); + var selectedClass = id + "-tab" + selected; + // if selected is empty string it selects all uncategorized entries + var selectUncategorized = !Boolean(selected); + var visible = 0; + document.querySelectorAll('div.' + id) + .forEach(function(elem) { + if (selectUncategorized) { + if (elem.className.indexOf(selectedClass) === -1) { + elem.style.display = display; + } + } else if (elem.classList.contains(selectedClass)) { + elem.style.display = display; + } + if (elem.style.display === '') { + var isEvenRow = visible++ % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + } + }); + t.parentElement.style.display = visible === 0 ? 'none' : ''; + }) +} + +// Shows the elements of a table belonging to a specific category +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.querySelector('div#' + tableId +' .summary-table') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} +// Copy the contents of the local snippet to the clipboard +function copySnippet(button) { + copyToClipboard(button.nextElementSibling.innerText); + switchCopyLabel(button.firstElementChild, button.parentElement); +} +// Copy the link to the adjacent header to the clipboard +function copyUrl(button) { + var id; + var header = button.parentElement; + if (header.hasAttribute("id")) { + id = header.getAttribute("id"); + } else if (header.parentElement.tagName === 'SECTION' && header.parentElement.hasAttribute("id")) { + id = header.parentElement.getAttribute("id"); + } else if (header.firstElementChild && header.firstElementChild.tagName === "A" + && header.firstElementChild.hasAttribute("id")) { + id = header.firstElementChild.getAttribute("id"); + } + var url = document.location.href; + if (url.indexOf("#") > -1) { + url = url.substring(0, url.indexOf("#")); + } + copyToClipboard(url + "#" + id); + switchCopyLabel(button.lastElementChild, button.parentElement); +} +function copyToClipboard(content) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = content; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); +} +function switchCopyLabel(span, parent) { + var copied = span.getAttribute("data-copied"); + if (span.innerHTML !== copied) { + var initialLabel = span.innerHTML; + span.innerHTML = copied; + parent.onmouseleave = parent.ontouchend = function() { + span.innerHTML = initialLabel; + }; + } +} +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + var timeoutId; + contentDiv.addEventListener("scroll", function(e) { + if (timeoutId) { + clearTimeout(timeoutId); + } + timeoutId = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + }, 100); + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/modules/swagger-parser-cli/build/docs/javadoc/search-page.js b/modules/swagger-parser-cli/build/docs/javadoc/search-page.js new file mode 100644 index 0000000000..d55f29e592 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/search-page.js @@ -0,0 +1,299 @@ +/* + * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +"use strict"; +$(function() { + var copy = $("#page-search-copy"); + var expand = $("#page-search-expand"); + var searchLink = $("span#page-search-link"); + var redirect = $("input#search-redirect"); + function setSearchUrlTemplate() { + var href = document.location.href.split(/[#?]/)[0]; + href += "?q=" + "%s"; + if (redirect.is(":checked")) { + href += "&r=1"; + } + searchLink.html(href); + copy[0].onmouseenter(); + } + function copyLink(e) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = this.previousSibling.innerText; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); + var span = this.lastElementChild; + var copied = span.getAttribute("data-copied"); + if (span.innerHTML !== copied) { + var initialLabel = span.innerHTML; + span.innerHTML = copied; + var parent = this.parentElement.parentElement; + parent.onmouseleave = parent.ontouchend = copy[0].onmouseenter = function() { + span.innerHTML = initialLabel; + }; + } + } + copy.click(copyLink); + copy[0].onmouseenter = function() {}; + redirect.click(setSearchUrlTemplate); + setSearchUrlTemplate(); + copy.prop("disabled", false); + redirect.prop("disabled", false); + expand.click(function (e) { + var searchInfo = $("div.page-search-info"); + if(this.parentElement.hasAttribute("open")) { + searchInfo.attr("style", "border-width: 0;"); + } else { + searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight")); + } + }); +}); +$(window).on("load", function() { + var input = $("#page-search-input"); + var reset = $("#page-search-reset"); + var notify = $("#page-search-notify"); + var resultSection = $("div#result-section"); + var resultContainer = $("div#result-container"); + var searchTerm = ""; + var activeTab = ""; + var fixedTab = false; + var visibleTabs = []; + var feelingLucky = false; + function renderResults(result) { + if (!result.length) { + notify.html(messages.noResult); + } else if (result.length === 1) { + notify.html(messages.oneResult); + } else { + notify.html(messages.manyResults.replace("{0}", result.length)); + } + resultContainer.empty(); + var r = { + "types": [], + "members": [], + "packages": [], + "modules": [], + "searchTags": [] + }; + for (var i in result) { + var item = result[i]; + var arr = r[item.category]; + arr.push(item); + } + if (!activeTab || r[activeTab].length === 0 || !fixedTab) { + Object.keys(r).reduce(function(prev, curr) { + if (r[curr].length > 0 && r[curr][0].score > prev) { + activeTab = curr; + return r[curr][0].score; + } + return prev; + }, 0); + } + if (feelingLucky && activeTab) { + notify.html(messages.redirecting) + var firstItem = r[activeTab][0]; + window.location = getURL(firstItem.indexItem, firstItem.category); + return; + } + if (result.length > 20) { + if (searchTerm[searchTerm.length - 1] === ".") { + if (activeTab === "types" && r["members"].length > r["types"].length) { + activeTab = "members"; + } else if (activeTab === "packages" && r["types"].length > r["packages"].length) { + activeTab = "types"; + } + } + } + var categoryCount = Object.keys(r).reduce(function(prev, curr) { + return prev + (r[curr].length > 0 ? 1 : 0); + }, 0); + visibleTabs = []; + var tabContainer = $("
    ").appendTo(resultContainer); + for (var key in r) { + var id = "#result-tab-" + key.replace("searchTags", "search_tags"); + if (r[key].length) { + var count = r[key].length >= 1000 ? "999+" : r[key].length; + if (result.length > 20 && categoryCount > 1) { + var button = $("").appendTo(tabContainer); + button.click(key, function(e) { + fixedTab = true; + renderResult(e.data, $(this)); + }); + visibleTabs.push(key); + } else { + $("" + categories[key] + + " (" + count + ")").appendTo(tabContainer); + renderTable(key, r[key]).appendTo(resultContainer); + tabContainer = $("
    ").appendTo(resultContainer); + + } + } + } + if (activeTab && result.length > 20 && categoryCount > 1) { + $("button#result-tab-" + activeTab).addClass("active-table-tab"); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + } + resultSection.show(); + function renderResult(category, button) { + activeTab = category; + setSearchUrl(); + resultContainer.find("div.summary-table").remove(); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + button.siblings().removeClass("active-table-tab"); + button.addClass("active-table-tab"); + } + } + function selectTab(category) { + $("button#result-tab-" + category).click(); + } + function renderTable(category, items) { + var table = $("
    ") + .addClass(category === "modules" + ? "one-column-search-results" + : "two-column-search-results"); + var col1, col2; + if (category === "modules") { + col1 = "Module"; + } else if (category === "packages") { + col1 = "Module"; + col2 = "Package"; + } else if (category === "types") { + col1 = "Package"; + col2 = "Class" + } else if (category === "members") { + col1 = "Class"; + col2 = "Member"; + } else if (category === "searchTags") { + col1 = "Location"; + col2 = "Name"; + } + $("
    " + col1 + "
    ").appendTo(table); + if (category !== "modules") { + $("
    " + col2 + "
    ").appendTo(table); + } + $.each(items, function(index, item) { + var rowColor = index % 2 ? "odd-row-color" : "even-row-color"; + renderItem(item, table, rowColor); + }); + return table; + } + function renderItem(item, table, rowColor) { + var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length); + var link = $("") + .attr("href", getURL(item.indexItem, item.category)) + .attr("tabindex", "0") + .addClass("search-result-link") + .html(label); + var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1); + if (item.category === "searchTags") { + container = item.indexItem.h || ""; + } + if (item.category !== "modules") { + $("
    ").html(container).addClass("col-plain").addClass(rowColor).appendTo(table); + } + $("
    ").html(link).addClass("col-last").addClass(rowColor).appendTo(table); + } + var timeout; + function schedulePageSearch() { + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(function () { + doPageSearch() + }, 100); + } + function doPageSearch() { + setSearchUrl(); + var term = searchTerm = input.val().trim(); + if (term === "") { + notify.html(messages.enterTerm); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + resultSection.hide(); + } else { + notify.html(messages.searching); + doSearch({ term: term, maxResults: 1200 }, renderResults); + } + } + function setSearchUrl() { + var query = input.val().trim(); + var url = document.location.pathname; + if (query) { + url += "?q=" + encodeURI(query); + if (activeTab && fixedTab) { + url += "&c=" + activeTab; + } + } + history.replaceState({query: query}, "", url); + } + input.on("input", function(e) { + feelingLucky = false; + schedulePageSearch(); + }); + $(document).keydown(function(e) { + if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) { + if (activeTab && visibleTabs.length > 1) { + var idx = visibleTabs.indexOf(activeTab); + idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1; + selectTab(visibleTabs[idx % visibleTabs.length]); + return false; + } + } + }); + reset.click(function() { + notify.html(messages.enterTerm); + resultSection.hide(); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + input.val('').focus(); + setSearchUrl(); + }); + input.prop("disabled", false); + reset.prop("disabled", false); + + var urlParams = new URLSearchParams(window.location.search); + if (urlParams.has("q")) { + input.val(urlParams.get("q")) + } + if (urlParams.has("c")) { + activeTab = urlParams.get("c"); + fixedTab = true; + } + if (urlParams.get("r")) { + feelingLucky = true; + } + if (input.val()) { + doPageSearch(); + } else { + notify.html(messages.enterTerm); + } + input.select().focus(); +}); diff --git a/modules/swagger-parser-cli/build/docs/javadoc/search.html b/modules/swagger-parser-cli/build/docs/javadoc/search.html new file mode 100644 index 0000000000..9f2d599d3b --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/search.html @@ -0,0 +1,71 @@ + + + + +Search (swagger-parser-cli 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +

    Search

    +
    + + +
    +Additional resources +
    +
    +
    +

    The help page provides an introduction to the scope and syntax of JavaDoc search.

    +

    You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.

    +

    The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.

    +link +

    + +

    +
    +

    Loading search index...

    + +
    +
    +
    + + diff --git a/modules/swagger-parser-cli/build/docs/javadoc/search.js b/modules/swagger-parser-cli/build/docs/javadoc/search.js new file mode 100644 index 0000000000..b2b3c9a1bb --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/search.js @@ -0,0 +1,465 @@ +/* + * Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +"use strict"; +const messages = { + enterTerm: "Enter a search term", + noResult: "No results found", + oneResult: "Found one result", + manyResults: "Found {0} results", + loading: "Loading search index...", + searching: "Searching...", + redirecting: "Redirecting to first result...", + copyUrl: "Copy URL", + urlCopied: "Copied!" +} +const categories = { + modules: "Modules", + packages: "Packages", + types: "Classes and Interfaces", + members: "Members", + searchTags: "Search Tags" +}; +const highlight = "$&"; +const NO_MATCH = {}; +const MAX_RESULTS = 500; +function checkUnnamed(name, separator) { + return name === "" || !name ? "" : name + separator; +} +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(str, boundaries, from, to) { + var start = from; + var text = ""; + for (var i = 0; i < boundaries.length; i += 2) { + var b0 = boundaries[i]; + var b1 = boundaries[i + 1]; + if (b0 >= to || b1 <= from) { + continue; + } + text += escapeHtml(str.slice(start, Math.max(start, b0))); + text += ""; + text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1))); + text += ""; + start = Math.min(to, b1); + } + text += escapeHtml(str.slice(start, to)); + return text; +} +function getURLPrefix(item, category) { + var urlPrefix = ""; + var slash = "/"; + if (category === "modules") { + return item.l + slash; + } else if (category === "packages" && item.m) { + return item.m + slash; + } else if (category === "types" || category === "members") { + if (item.m) { + urlPrefix = item.m + slash; + } else { + $.each(packageSearchIndex, function(index, it) { + if (it.m && item.p === it.l) { + urlPrefix = it.m + slash; + } + }); + } + } + return urlPrefix; +} +function getURL(item, category) { + if (item.url) { + return item.url; + } + var url = getURLPrefix(item, category); + if (category === "modules") { + url += "module-summary.html"; + } else if (category === "packages") { + if (item.u) { + url = item.u; + } else { + url += item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (category === "types") { + if (item.u) { + url = item.u; + } else { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html"; + } + } else if (category === "members") { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#"; + if (item.u) { + url += item.u; + } else { + url += item.l; + } + } else if (category === "searchTags") { + url += item.u; + } + item.url = url; + return url; +} +function createMatcher(term, camelCase) { + if (camelCase && !isUpperCase(term)) { + return null; // no need for camel-case matcher for lower case query + } + var pattern = ""; + var upperCase = []; + term.trim().split(/\s+/).forEach(function(w, index, array) { + var tokens = w.split(/(?=[A-Z,.()<>?[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + // ',' and '?' are the only delimiters commonly followed by space in java signatures + pattern += "(" + $.ui.autocomplete.escapeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")"; + upperCase.push(false); + var isWordToken = /\w$/.test(s); + if (isWordToken) { + if (i === tokens.length - 1 && index < array.length - 1) { + // space in query string matches all delimiters + pattern += "(.*?)"; + upperCase.push(isUpperCase(s[0])); + } else { + if (!camelCase && isUpperCase(s) && s.length === 1) { + pattern += "()"; + } else { + pattern += "([a-z0-9$<>?[\\]]*?)"; + } + upperCase.push(isUpperCase(s[0])); + } + } else { + pattern += "()"; + upperCase.push(false); + } + } + }); + var re = new RegExp(pattern, "gi"); + re.upperCase = upperCase; + return re; +} +function analyzeMatch(matcher, input, startOfName, category) { + var from = startOfName; + matcher.lastIndex = from; + var match = matcher.exec(input); + while (!match && from > 1) { + from = input.lastIndexOf(".", from - 2) + 1; + matcher.lastIndex = from; + match = matcher.exec(input); + } + if (!match) { + return NO_MATCH; + } + var boundaries = []; + var matchEnd = match.index + match[0].length; + var leftParen = input.indexOf("("); + // exclude peripheral matches + if (category !== "modules" && category !== "searchTags") { + if (leftParen > -1 && leftParen < match.index) { + return NO_MATCH; + } else if (startOfName - 1 >= matchEnd) { + return NO_MATCH; + } + } + var endOfName = leftParen > -1 ? leftParen : input.length; + var score = 5; + var start = match.index; + var prevEnd = -1; + for (var i = 1; i < match.length; i += 2) { + var isUpper = isUpperCase(input[start]); + var isMatcherUpper = matcher.upperCase[i]; + // capturing groups come in pairs, match and non-match + boundaries.push(start, start + match[i].length); + // make sure groups are anchored on a left word boundary + var prevChar = input[start - 1] || ""; + var nextChar = input[start + 1] || ""; + if (start !== 0 && !/[\W_]/.test(prevChar) && !/[\W_]/.test(input[start])) { + if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) { + score -= 0.1; + } else if (isMatcherUpper && start === prevEnd) { + score -= isUpper ? 0.1 : 1.0; + } else { + return NO_MATCH; + } + } + prevEnd = start + match[i].length; + start += match[i].length + match[i + 1].length; + + // lower score for parts of the name that are missing + if (match[i + 1] && prevEnd < endOfName) { + score -= rateNoise(match[i + 1]); + } + } + // lower score if a type name contains unmatched camel-case parts + if (input[matchEnd - 1] !== "." && endOfName > matchEnd) + score -= rateNoise(input.slice(matchEnd, endOfName)); + score -= rateNoise(input.slice(0, Math.max(startOfName, match.index))); + + if (score <= 0) { + return NO_MATCH; + } + return { + input: input, + score: score, + category: category, + boundaries: boundaries + }; +} +function isUpperCase(s) { + return s !== s.toLowerCase(); +} +function isLowerCase(s) { + return s !== s.toUpperCase(); +} +function rateNoise(str) { + return (str.match(/([.(])/g) || []).length / 5 + + (str.match(/([A-Z]+)/g) || []).length / 10 + + str.length / 20; +} +function doSearch(request, response) { + var term = request.term.trim(); + var maxResults = request.maxResults || MAX_RESULTS; + if (term.length === 0) { + return this.close(); + } + var matcher = { + plainMatcher: createMatcher(term, false), + camelCaseMatcher: createMatcher(term, true) + } + var indexLoaded = indexFilesLoaded(); + + function getPrefix(item, category) { + switch (category) { + case "packages": + return checkUnnamed(item.m, "/"); + case "types": + return checkUnnamed(item.p, "."); + case "members": + return checkUnnamed(item.p, ".") + item.c + "."; + default: + return ""; + } + } + function useQualifiedName(category) { + switch (category) { + case "packages": + return /[\s/]/.test(term); + case "types": + case "members": + return /[\s.]/.test(term); + default: + return false; + } + } + function searchIndex(indexArray, category) { + var matches = []; + if (!indexArray) { + if (!indexLoaded) { + matches.push({ l: messages.loading, category: category }); + } + return matches; + } + $.each(indexArray, function (i, item) { + var prefix = getPrefix(item, category); + var simpleName = item.l; + var qualifiedName = prefix + simpleName; + var useQualified = useQualifiedName(category); + var input = useQualified ? qualifiedName : simpleName; + var startOfName = useQualified ? prefix.length : 0; + var m = analyzeMatch(matcher.plainMatcher, input, startOfName, category); + if (m === NO_MATCH && matcher.camelCaseMatcher) { + m = analyzeMatch(matcher.camelCaseMatcher, input, startOfName, category); + } + if (m !== NO_MATCH) { + m.indexItem = item; + m.prefix = prefix; + if (!useQualified) { + m.input = qualifiedName; + m.boundaries = m.boundaries.map(function(b) { + return b + prefix.length; + }); + } + matches.push(m); + } + return matches.length < maxResults; + }); + return matches.sort(function(e1, e2) { + return e2.score - e1.score; + }); + } + + var result = searchIndex(moduleSearchIndex, "modules") + .concat(searchIndex(packageSearchIndex, "packages")) + .concat(searchIndex(typeSearchIndex, "types")) + .concat(searchIndex(memberSearchIndex, "members")) + .concat(searchIndex(tagSearchIndex, "searchTags")); + + if (!indexLoaded) { + updateSearchResults = function() { + doSearch(request, response); + } + } else { + updateSearchResults = function() {}; + } + response(result); +} +// JQuery search menu implementation +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> .result-item"); + // workaround for search result scrolling + this.menu._scrollIntoView = function _scrollIntoView( item ) { + var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; + if ( this._hasScroll() ) { + borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0; + paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0; + offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; + scroll = this.activeMenu.scrollTop(); + elementHeight = this.activeMenu.height() - 26; + itemHeight = item.outerHeight(); + + if ( offset < 0 ) { + this.activeMenu.scrollTop( scroll + offset ); + } else if ( offset + itemHeight > elementHeight ) { + this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight ); + } + } + }; + }, + _renderMenu: function(ul, items) { + var currentCategory = ""; + var widget = this; + widget.menu.bindings = $(); + $.each(items, function(index, item) { + if (item.category && item.category !== currentCategory) { + ul.append("
  • " + categories[item.category] + "
  • "); + currentCategory = item.category; + } + var li = widget._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", categories[item.category] + " : " + item.l); + } else { + li.attr("aria-label", item.l); + } + li.attr("class", "result-item"); + }); + ul.append(""); + }, + _renderItem: function(ul, item) { + var li = $("
  • ").appendTo(ul); + var div = $("
    ").appendTo(li); + var label = item.l + ? item.l + : getHighlightedText(item.input, item.boundaries, 0, item.input.length); + var idx = item.indexItem; + if (item.category === "searchTags" && idx.h) { + if (idx.d) { + div.html(label + " (" + idx.h + ")
    " + + idx.d + "
    "); + } else { + div.html(label + " (" + idx.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + var expanded = false; + var windowWidth; + function collapse() { + if (expanded) { + $("div#navbar-top").removeAttr("style"); + $("button#navbar-toggle-button") + .removeClass("expanded") + .attr("aria-expanded", "false"); + expanded = false; + } + } + $("button#navbar-toggle-button").click(function (e) { + if (expanded) { + collapse(); + } else { + var navbar = $("div#navbar-top"); + navbar.height(navbar.prop("scrollHeight")); + $("button#navbar-toggle-button") + .addClass("expanded") + .attr("aria-expanded", "true"); + expanded = true; + windowWidth = window.innerWidth; + } + }); + $("ul.sub-nav-list-small li a").click(collapse); + $("input#search-input").focus(collapse); + $("main").click(collapse); + $("section[id] > :header, :header[id], :header:has(a[id])").hover( + function () { + $(this).append($("")); + }, + function () { + $(this).find("button:last").remove(); + } + ); + $(window).on("orientationchange", collapse).on("resize", function(e) { + if (expanded && windowWidth !== window.innerWidth) collapse(); + }); + var search = $("#search-input"); + var reset = $("#reset-button"); + search.catcomplete({ + minLength: 1, + delay: 200, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push({ l: messages.noResult }); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.indexItem) { + var url = getURL(ui.item.indexItem, ui.item.category); + window.location.href = pathtoroot + url; + $("#search-input").focus(); + } + } + }); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + reset.click(function() { + search.val('').focus(); + }); + search.focus(); +}); diff --git a/modules/swagger-parser-cli/build/docs/javadoc/stylesheet.css b/modules/swagger-parser-cli/build/docs/javadoc/stylesheet.css new file mode 100644 index 0000000000..d3309916f9 --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/stylesheet.css @@ -0,0 +1,1204 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; +} +h4 { + font-size:15px; +} +h5 { + font-size:14px; +} +h6 { + font-size:13px; +} +/* Disable font boosting for selected elements */ +h1, h2, h3, h4, h5, h6, div.member-signature { + max-height: 1000em; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +.summary-table dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 14px; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:11px; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +/* + * Styles for navigation bar. + */ +@media screen { + div.flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + header.flex-header { + flex: 0 0 auto; + } + div.flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + min-height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +button#navbar-toggle-button { + display:none; +} +ul.sub-nav-list-small { + display: none; +} +.sub-nav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.sub-nav div { + clear:left; + float:left; + padding:6px; + text-transform:uppercase; +} +.sub-nav .sub-nav-list { + padding-top:4px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0; + padding:6px; + clear:none; + text-align:right; + position:relative; +} +ul.sub-nav-list li { + list-style:none; + float:left; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:#ffffff; + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + color:#bb7a2a; +} +.nav-bar-cell1-rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header. + */ +.title { + color:#2c4557; + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.header ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.see-list, ul.see-list-long { + padding-left: 0; + list-style: none; +} +ul.see-list li { + display: inline; +} +ul.see-list li:not(:last-child):after, +ul.see-list-long li:not(:last-child):after { + content: ", "; + white-space: pre-wrap; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + clear:none; + overflow:hidden; + padding:0; + padding-top:10px; + padding-left:1px; + margin:0; +} +.caption a:link, .caption a:visited { + color:#1f389c; +} +.caption a:hover, +.caption a:active { + color:#FFFFFF; +} +.caption span { + font-weight:bold; + white-space:nowrap; + padding:5px 12px 7px 12px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:10px 0 0 0; +} +div.table-tabs > span { + background-color: #EEE; + color: #000; + border: none; + padding: 5px 12px 8px 12px; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 8px; +} +div.table-tabs > .active-table-tab { + background: #F8981D; + color: #253441; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.two-column-search-results { + display: grid; + grid-template-columns: minmax(400px, max-content) minmax(400px, auto); +} +div.checkboxes { + line-height: 2em; +} +div.checkboxes > span { + margin-left: 10px; +} +div.checkboxes > label { + margin-left: 8px; + white-space: nowrap; +} +div.checkboxes > label > input { + margin: 0 2px; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(25%, max-content) minmax(25%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto); +} +.three-column-release-summary { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +@media screen and (max-width: 800px) { + .two-column-search-results { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(40%, auto); + } + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-release-summary { + display: grid; + grid-template-columns: minmax(70%, max-content) minmax(30%, max-content) + } + .three-column-summary .col-last, + .three-column-release-summary .col-last{ + grid-column-end: span 2; + } +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; + overflow-x: auto; + scrollbar-width: thin; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:#dee3e9; + font-weight: bold; +} +/* Sortable table columns */ +.table-header[onclick] { + cursor: pointer; +} +.table-header[onclick]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + '); + background-size:100% 100%; + width:9px; + height:14px; + margin-left:4px; + margin-bottom:-3px; +} +.table-header[onclick].sort-asc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + +} +.table-header[onclick].sort-desc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +.col-first, .col-first { + font-size:13px; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:13px; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited { + font-weight:bold; +} +.even-row-color, .even-row-color .table-header { + background-color:#FFFFFF; +} +.odd-row-color, .odd-row-color .table-header { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + color:green; + padding:0 30px 0 0; +} +.block { + display:block; + margin:0 10px 5px 0; + color:#474747; +} +.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +details.invalid-tag, span.invalid-tag { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + background: #ffe6e6; + border: thin solid #000000; + border-radius:2px; + padding: 2px 4px; + display:inline-block; +} +details summary { + cursor: pointer; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:auto; + overflow-x:auto; + scrollbar-width: thin; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:1; + background-color: #FFFFFF; +} +ul.ui-autocomplete li { + float:left; + clear:both; + min-width:100%; +} +ul.ui-autocomplete li.ui-static-link { + position:sticky; + bottom:0; + left:0; + background: #dee3e9; + padding: 5px 0; + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 13px; + font-weight: bolder; + z-index: 2; +} +li.ui-static-link a, li.ui-static-link a:visited { + text-decoration:none; + color:#4A6782; + float:right; + margin-right:20px; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +.ui-autocomplete .result-highlight { + font-weight:bold; +} +#search-input, #page-search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + width: 250px; + margin: 0; +} +#search-input { + margin-left: 4px; +} +#reset-button { + background-color: transparent; + background-image:url('resources/x.png'); + background-repeat:no-repeat; + background-size:contain; + border:0; + border-radius:0; + width:12px; + height:12px; + position:absolute; + right:12px; + top:10px; + font-size:0; +} +::placeholder { + color:#909090; + opacity: 1; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:yellow; +} +details.page-search-details { + display: inline-block; +} +div#result-container { + font-size: 14px; +} +div#result-container a.search-result-link { + padding: 0; + margin: 4px 0; + width: 100%; +} +#result-container .result-highlight { + font-weight:bolder; +} +.page-search-info { + background-color: #f5f8ff; + border-radius: 3px; + border: 0 solid #b9c8d3; + padding: 0 8px; + overflow: hidden; + height: 0; + transition: all 0.2s ease; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.page-search-header { + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; + background-color:#4D7A97; + color:#ffffff; + display: inline-block; +} +button.page-search-header { + border: none; + cursor: pointer; +} +span#page-search-link { + text-decoration: underline; +} +.module-graph span { + display:none; + position:absolute; +} +.module-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0px 20px 5px 10px; + border: 1px solid #ededed; + background-color: #f8f8f8; +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +/* + * Styles for copy-to-clipboard buttons + */ +button.copy { + opacity: 80%; + border: none; + border-radius: 3px; + position: relative; + background:none; + transition: opacity 0.2s; + cursor: pointer; +} +button.copy:hover, +button.copy:active { + opacity: 100%; +} +button.copy img { + position: relative; + background: none; +} +button.copy span { + color: #303030; + position: relative; + top: -0.1em; + transition: all 0.1s; + font-size: 85%; + line-height: 1.2em; +} +/* header/section copy button */ +button.copy-header { + margin: 0 0.2em; + padding: 0 4px; + height: 1.35em; +} +button.copy-header img { + height: 1em; + top: 0.1em; +} +button.copy-header:active { + background-color: rgba(128, 128, 160, 0.2); +} +/* search page copy button */ +button#page-search-copy { + margin-left: 0.4em; + padding:0.3em; + top:0.13em; +} +button#page-search-copy img { + width: 1.2em; + height: 1.2em; + padding: 0.01em 0; + top: 0.15em; +} +button#page-search-copy span { + color: #000000; + content: attr(aria-label); + line-height: 1.2em; + padding: 0.2em; + top: -0.18em; + opacity: 0; +} +div.page-search-info:hover button#page-search-copy, +div.page-search-info:hover button#page-search-copy span { + opacity: 90%; +} +div.page-search-info button#page-search-copy:hover { + background-color: #dfe6f1; +} +div.page-search-info button#page-search-copy:active { + background-color: #cfdbee; +} +/* snippet copy button */ +button.snippet-copy { + position: absolute; + top: 6px; + right: 6px; + height: 1.7em; + opacity: 50%; + padding: 2px; +} +button.snippet-copy img { + width: 18px; + height: 18px; + padding: 0.05em 0; +} +button.snippet-copy span { + content: attr(aria-label); + line-height: 1.2em; + padding: 0.2em; + position: relative; + top: -0.5em; + display: none; +} +div.snippet-container:hover button.snippet-copy span { + display: inline; +} +div.snippet-container:hover button.snippet-copy { + opacity: 80%; +} +div.snippet-container button.snippet-copy:hover { + opacity: 100%; +} +button.snippet-copy:active { + background: #d3d3d3; +} +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak style for small screens. + */ +@media screen and (max-width: 920px) { + header.flex-header { + max-height: 100vh; + overflow-y: auto; + } + div#navbar-top { + height: 2.8em; + transition: height 0.35s ease; + } + ul.nav-list { + display: block; + width: 40%; + float:left; + clear: left; + margin: 10px 0 0 0; + padding: 0; + } + ul.nav-list li { + float: none; + padding: 6px; + margin-left: 10px; + margin-top: 2px; + } + ul.sub-nav-list-small { + display:block; + height: 100%; + width: 50%; + float: right; + clear: right; + background-color: #dee3e9; + color: #353833; + margin: 6px 0 0 0; + padding: 0; + } + ul.sub-nav-list-small ul { + padding-left: 20px; + } + ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited { + color:#4A6782; + } + ul.sub-nav-list-small a:hover { + color:#bb7a2a; + } + ul.sub-nav-list-small li { + list-style:none; + float:none; + padding: 6px; + margin-top: 1px; + text-transform:uppercase; + } + ul.sub-nav-list-small > li { + margin-left: 10px; + } + ul.sub-nav-list-small li p { + margin: 5px 0; + } + div#navbar-sub-list { + display: none; + } + .top-nav a:link, .top-nav a:active, .top-nav a:visited { + display: block; + } + button#navbar-toggle-button { + width: 3.4em; + height: 2.8em; + background-color: transparent; + display: block; + float: left; + border: 0; + margin: 0 10px; + cursor: pointer; + font-size: 10px; + } + button#navbar-toggle-button .nav-bar-toggle-icon { + display: block; + width: 24px; + height: 3px; + margin: 1px 0 4px 0; + border-radius: 2px; + transition: all 0.1s; + background-color: #ffffff; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) { + transform: rotate(45deg); + transform-origin: 10% 10%; + width: 26px; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) { + opacity: 0; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) { + transform: rotate(-45deg); + transform-origin: 10% 90%; + width: 26px; + } +} +@media screen and (max-width: 800px) { + .about-language { + padding-right: 16px; + } + ul.nav-list li { + margin-left: 5px; + } + ul.sub-nav-list-small > li { + margin-left: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 400px) { + .about-language { + font-size: 10px; + padding-right: 12px; + } +} +@media screen and (max-width: 400px) { + .nav-list-search { + width: 94%; + } + #search-input, #page-search-input { + width: 70%; + } +} +@media screen and (max-width: 320px) { + .nav-list-search > label { + display: none; + } + .nav-list-search { + width: 90%; + } + #search-input, #page-search-input { + width: 80%; + } +} + +pre.snippet { + background-color: #ebecee; + padding: 10px; + margin: 12px 0; + overflow: auto; + white-space: pre; +} +div.snippet-container { + position: relative; +} +@media screen and (max-width: 800px) { + pre.snippet { + padding-top: 26px; + } + button.snippet-copy { + top: 4px; + right: 4px; + } +} +pre.snippet .italic { + font-style: italic; +} +pre.snippet .bold { + font-weight: bold; +} +pre.snippet .highlighted { + background-color: #f7c590; + border-radius: 10%; +} diff --git a/modules/swagger-parser-cli/build/docs/javadoc/tag-search-index.js b/modules/swagger-parser-cli/build/docs/javadoc/tag-search-index.js new file mode 100644 index 0000000000..f2a440c7fe --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [{"l":"Constant Field Values","h":"","u":"constant-values.html"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/docs/javadoc/type-search-index.js b/modules/swagger-parser-cli/build/docs/javadoc/type-search-index.js new file mode 100644 index 0000000000..cccc0c918b --- /dev/null +++ b/modules/swagger-parser-cli/build/docs/javadoc/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"io.swagger.v3.parser","l":"SwaggerParser"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT-javadoc.jar b/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT-javadoc.jar new file mode 100644 index 0000000000..6df5a61b54 Binary files /dev/null and b/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT-javadoc.jar differ diff --git a/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT-sources.jar b/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT-sources.jar new file mode 100644 index 0000000000..a52234868f Binary files /dev/null and b/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT-sources.jar differ diff --git a/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT.jar b/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT.jar new file mode 100644 index 0000000000..a4398ba2b3 Binary files /dev/null and b/modules/swagger-parser-cli/build/libs/swagger-parser-cli-2.1.13-SNAPSHOT.jar differ diff --git a/modules/swagger-parser-cli/build/reports/tests/test/classes/SwaggerParserCLITest.html b/modules/swagger-parser-cli/build/reports/tests/test/classes/SwaggerParserCLITest.html new file mode 100644 index 0000000000..caca72baf8 --- /dev/null +++ b/modules/swagger-parser-cli/build/reports/tests/test/classes/SwaggerParserCLITest.html @@ -0,0 +1,814 @@ + + + + + +Test results - Class SwaggerParserCLITest + + + + + +
    +

    Class SwaggerParserCLITest

    + +
    + + + + + +
    +
    + + + + + + + +
    +
    +
    11
    +

    tests

    +
    +
    +
    +
    4
    +

    failures

    +
    +
    +
    +
    0
    +

    ignored

    +
    +
    +
    +
    0.340s
    +

    duration

    +
    +
    +
    +
    +
    +
    63%
    +

    successful

    +
    +
    +
    +
    + +
    +

    Failed tests

    +
    + +

    validateOKFromLocationWithResolveFullyOptionTestJSONMain

    + +
    java.lang.AssertionError: expected [true] but found [false]
    +	at org.testng.Assert.fail(Assert.java:96)
    +	at org.testng.Assert.failNotEquals(Assert.java:776)
    +	at org.testng.Assert.assertTrue(Assert.java:44)
    +	at org.testng.Assert.assertTrue(Assert.java:54)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestJSONMain(SwaggerParserCLITest.java:146)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +
    +
    +
    +
    + +

    validateOKFromLocationWithResolveFullyOptionTestJson

    + +
    java.lang.AssertionError: expected [true] but found [false]
    +	at org.testng.Assert.fail(Assert.java:96)
    +	at org.testng.Assert.failNotEquals(Assert.java:776)
    +	at org.testng.Assert.assertTrue(Assert.java:44)
    +	at org.testng.Assert.assertTrue(Assert.java:54)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestJson(SwaggerParserCLITest.java:96)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +
    +
    +
    +
    + +

    validateOKFromLocationWithResolveFullyOptionTestYaml

    + +
    java.lang.AssertionError: expected [true] but found [false]
    +	at org.testng.Assert.fail(Assert.java:96)
    +	at org.testng.Assert.failNotEquals(Assert.java:776)
    +	at org.testng.Assert.assertTrue(Assert.java:44)
    +	at org.testng.Assert.assertTrue(Assert.java:54)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestYaml(SwaggerParserCLITest.java:81)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +
    +
    +
    +
    + +

    validateOKFromLocationWithResolveFullyOptionTestYamlMain

    + +
    java.lang.AssertionError: expected [true] but found [false]
    +	at org.testng.Assert.fail(Assert.java:96)
    +	at org.testng.Assert.failNotEquals(Assert.java:776)
    +	at org.testng.Assert.assertTrue(Assert.java:44)
    +	at org.testng.Assert.assertTrue(Assert.java:54)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestYamlMain(SwaggerParserCLITest.java:132)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +
    +
    +
    +
    +
    +

    Tests

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TestDurationResult
    validateErrorFromLocationTest0.156spassed
    validateErrorTest0.061spassed
    validateFileNotFoundInLocationTest0.004spassed
    validateOKFromLocationTest0.012spassed
    validateOKFromLocationWithFlattenOptionTest0.032spassed
    validateOKFromLocationWithOnlyResolveFullyOptionTest0.008spassed
    validateOKFromLocationWithResolveFullyOptionTestJSONMain0.027sfailed
    validateOKFromLocationWithResolveFullyOptionTestJson0.007sfailed
    validateOKFromLocationWithResolveFullyOptionTestYaml0.016sfailed
    validateOKFromLocationWithResolveFullyOptionTestYamlMain0.013sfailed
    validateOKFromLocationWithResolveOptionTest0.004spassed
    +
    +
    +

    Standard error

    + +
    java.nio.file.NoSuchFileException: target/test-classes/parsedSpec.yaml
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:114)
    +	at SwaggerParserCLITest.validateErrorTest(SwaggerParserCLITest.java:41)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +java.nio.file.NoSuchFileException: target/test-classes/errorLogs.yaml
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.generateMessagesFile(SwaggerParser.java:93)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:119)
    +	at SwaggerParserCLITest.validateErrorTest(SwaggerParserCLITest.java:41)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while reading:
    +io.swagger.v3.parser.exception.ReadContentException: Unable to read location `src/test/resources/WrongLocation.yaml`
    +	at io.swagger.v3.parser.OpenAPIV3Parser.readContentFromLocation(OpenAPIV3Parser.java:308)
    +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:95)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:103)
    +	at SwaggerParserCLITest.validateFileNotFoundInLocationTest(SwaggerParserCLITest.java:52)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +Caused by: java.lang.RuntimeException: Could not find src/test/resources/WrongLocation.yaml on the classpath
    +	at io.swagger.v3.parser.util.ClasspathHelper.loadFileFromClasspath(ClasspathHelper.java:33)
    +	at io.swagger.v3.parser.OpenAPIV3Parser.readContentFromLocation(OpenAPIV3Parser.java:299)
    +	... 42 more
    +java.nio.file.NoSuchFileException: target/test-classes/errorLogs.yaml
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.generateMessagesFile(SwaggerParser.java:93)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:119)
    +	at SwaggerParserCLITest.validateFileNotFoundInLocationTest(SwaggerParserCLITest.java:52)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +java.nio.file.NoSuchFileException: target/test-classes/parsedSpec.yaml
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:114)
    +	at SwaggerParserCLITest.validateOKFromLocationWithFlattenOptionTest(SwaggerParserCLITest.java:118)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +java.nio.file.NoSuchFileException: target/test-classes/parsedSpec.json
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:114)
    +	at io.swagger.v3.parser.SwaggerParser.main(SwaggerParser.java:82)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestJSONMain(SwaggerParserCLITest.java:145)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +java.nio.file.NoSuchFileException: target/test-classes/parsedSpec.json
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:114)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestJson(SwaggerParserCLITest.java:95)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +java.nio.file.NoSuchFileException: target/test-classes/parsedSpec.yaml
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:114)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestYaml(SwaggerParserCLITest.java:80)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +java.nio.file.NoSuchFileException: target/test-classes/parsedSpec.yaml
    +	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    +	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    +	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
    +	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
    +	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
    +	at io.swagger.v3.parser.SwaggerParser.generateParsedFile(SwaggerParser.java:130)
    +	at io.swagger.v3.parser.SwaggerParser.readFromLocation(SwaggerParser.java:114)
    +	at io.swagger.v3.parser.SwaggerParser.main(SwaggerParser.java:82)
    +	at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestYamlMain(SwaggerParserCLITest.java:131)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
    +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
    +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
    +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
    +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    +	at org.testng.TestRunner.privateRun(TestRunner.java:648)
    +	at org.testng.TestRunner.run(TestRunner.java:505)
    +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
    +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
    +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
    +	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
    +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
    +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
    +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
    +	at org.testng.TestNG.runSuites(TestNG.java:1049)
    +	at org.testng.TestNG.run(TestNG.java:1017)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
    +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
    +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
    +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
    +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
    +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
    +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
    +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
    +
    +
    +
    +
    + +
    + + diff --git a/modules/swagger-parser-cli/build/reports/tests/test/css/base-style.css b/modules/swagger-parser-cli/build/reports/tests/test/css/base-style.css new file mode 100644 index 0000000000..4afa73e3dd --- /dev/null +++ b/modules/swagger-parser-cli/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/reports/tests/test/css/style.css b/modules/swagger-parser-cli/build/reports/tests/test/css/style.css new file mode 100644 index 0000000000..3dc4913e7a --- /dev/null +++ b/modules/swagger-parser-cli/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/modules/swagger-parser-cli/build/reports/tests/test/index.html b/modules/swagger-parser-cli/build/reports/tests/test/index.html new file mode 100644 index 0000000000..fcf95672f9 --- /dev/null +++ b/modules/swagger-parser-cli/build/reports/tests/test/index.html @@ -0,0 +1,157 @@ + + + + + +Test results - Test Summary + + + + + +
    +

    Test Summary

    +
    + + + + + +
    +
    + + + + + + + +
    +
    +
    11
    +

    tests

    +
    +
    +
    +
    4
    +

    failures

    +
    +
    +
    +
    0
    +

    ignored

    +
    +
    +
    +
    0.340s
    +

    duration

    +
    +
    +
    +
    +
    +
    63%
    +

    successful

    +
    +
    +
    +
    + + +
    +

    Packages

    + + + + + + + + + + + + + + + + + + + + + +
    PackageTestsFailuresIgnoredDurationSuccess rate
    +default-package +11400.340s63%
    +
    +
    +

    Classes

    + + + + + + + + + + + + + + + + + + + + + +
    ClassTestsFailuresIgnoredDurationSuccess rate
    +SwaggerParserCLITest +11400.340s63%
    +
    +
    + +
    + + diff --git a/modules/swagger-parser-cli/build/reports/tests/test/js/report.js b/modules/swagger-parser-cli/build/reports/tests/test/js/report.js new file mode 100644 index 0000000000..83bab4a19f --- /dev/null +++ b/modules/swagger-parser-cli/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/reports/tests/test/packages/default-package.html b/modules/swagger-parser-cli/build/reports/tests/test/packages/default-package.html new file mode 100644 index 0000000000..75f9260f0a --- /dev/null +++ b/modules/swagger-parser-cli/build/reports/tests/test/packages/default-package.html @@ -0,0 +1,127 @@ + + + + + +Test results - Default package + + + + + +
    +

    Default package

    + +
    + + + + + +
    +
    + + + + + + + +
    +
    +
    11
    +

    tests

    +
    +
    +
    +
    4
    +

    failures

    +
    +
    +
    +
    0
    +

    ignored

    +
    +
    +
    +
    0.340s
    +

    duration

    +
    +
    +
    +
    +
    +
    63%
    +

    successful

    +
    +
    +
    + + +
    + + diff --git a/modules/swagger-parser-cli/build/resources/test/fileWithNoErrorMessages.yaml b/modules/swagger-parser-cli/build/resources/test/fileWithNoErrorMessages.yaml new file mode 100644 index 0000000000..3378904b47 --- /dev/null +++ b/modules/swagger-parser-cli/build/resources/test/fileWithNoErrorMessages.yaml @@ -0,0 +1,55 @@ +openapi: 3.0.0 +info: + description: test + title: test + version: 1.0 +paths: + /cu: + post: + operationId: savecu + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/AbTestFoo" + "/bar": + put: + operationId: updateBar + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/CoTestBar" +servers: + - url: /foo/bar +components: + schemas: + Thing: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + ThingAs: + type: object + properties: + concept: + $ref: "#/components/schemas/Thing" + AbTestFoo: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + readOnly: true + CoTestBar: + allOf: + - $ref: "#/components/schemas/Thing" \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/resources/test/fileWithValidationErrorMessages.yaml b/modules/swagger-parser-cli/build/resources/test/fileWithValidationErrorMessages.yaml new file mode 100644 index 0000000000..8ef7d2fed8 --- /dev/null +++ b/modules/swagger-parser-cli/build/resources/test/fileWithValidationErrorMessages.yaml @@ -0,0 +1,53 @@ +openapi: 3.0.0 +info: + description: test + title: test +paths: + /cu: + post: + operationId: savecu + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AbTestFoo" + "/bar": + put: + operationId: updateBar + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/CoTestBar" +servers: + - url: /foo/bar +components: + schemas: + Thing: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + ThingAs: + type: object + properties: + concept: + $ref: "#/components/schemas/Thing" + AbTestFoo: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + readOnly: true + CoTestBar: + allOf: + - $ref: "#/components/schemas/Thing" \ No newline at end of file diff --git a/modules/swagger-parser-cli/build/resources/test/internal-references-in-external-files/external.yaml b/modules/swagger-parser-cli/build/resources/test/internal-references-in-external-files/external.yaml new file mode 100644 index 0000000000..361c56fffd --- /dev/null +++ b/modules/swagger-parser-cli/build/resources/test/internal-references-in-external-files/external.yaml @@ -0,0 +1,27 @@ +common: + allOf: + - $ref: "#/core" + - type: object + properties: + attribute: + type: string + direct: + $ref: "#/core" + referenced: + type: array + items: + $ref: "#/core" + +core: + type: object + properties: + coreAttribute: + type: string + inner: + $ref: "#/innerCore" + +innerCore: + type: object + properties: + innerCoreAttribute: + type: string diff --git a/modules/swagger-parser-cli/build/resources/test/internal-references-in-external-files/main.yaml b/modules/swagger-parser-cli/build/resources/test/internal-references-in-external-files/main.yaml new file mode 100644 index 0000000000..95e501c614 --- /dev/null +++ b/modules/swagger-parser-cli/build/resources/test/internal-references-in-external-files/main.yaml @@ -0,0 +1,29 @@ +openapi: 3.0.0 +info: + version: 0.0.1 + title: API +paths: + /: + post: + summary: Create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/create' + responses: + '200': + description: Successful response +components: + schemas: + create: + type: object + properties: + attribute: + type: string + direct: + $ref: "./external.yaml#/common" + referenced: + type: array + items: + $ref: "./external.yaml#/common" diff --git a/modules/swagger-parser-cli/build/test-results/test/TEST-SwaggerParserCLITest.xml b/modules/swagger-parser-cli/build/test-results/test/TEST-SwaggerParserCLITest.xml new file mode 100644 index 0000000000..533982a33a --- /dev/null +++ b/modules/swagger-parser-cli/build/test-results/test/TEST-SwaggerParserCLITest.xml @@ -0,0 +1,650 @@ + + + + + + + + + + + java.lang.AssertionError: expected [true] but found [false] + at org.testng.Assert.fail(Assert.java:96) + at org.testng.Assert.failNotEquals(Assert.java:776) + at org.testng.Assert.assertTrue(Assert.java:44) + at org.testng.Assert.assertTrue(Assert.java:54) + at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestJSONMain(SwaggerParserCLITest.java:146) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) + at org.testng.internal.Invoker.invokeMethod(Invoker.java:580) + at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716) + at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988) + at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) + at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) + at org.testng.TestRunner.privateRun(TestRunner.java:648) + at org.testng.TestRunner.run(TestRunner.java:505) + at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) + at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) + at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) + at org.testng.SuiteRunner.run(SuiteRunner.java:364) + at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) + at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) + at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) + at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) + at org.testng.TestNG.runSuites(TestNG.java:1049) + at org.testng.TestNG.run(TestNG.java:1017) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92) + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) + + + + java.lang.AssertionError: expected [true] but found [false] + at org.testng.Assert.fail(Assert.java:96) + at org.testng.Assert.failNotEquals(Assert.java:776) + at org.testng.Assert.assertTrue(Assert.java:44) + at org.testng.Assert.assertTrue(Assert.java:54) + at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestJson(SwaggerParserCLITest.java:96) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) + at org.testng.internal.Invoker.invokeMethod(Invoker.java:580) + at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716) + at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988) + at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) + at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) + at org.testng.TestRunner.privateRun(TestRunner.java:648) + at org.testng.TestRunner.run(TestRunner.java:505) + at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) + at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) + at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) + at org.testng.SuiteRunner.run(SuiteRunner.java:364) + at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) + at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) + at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) + at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) + at org.testng.TestNG.runSuites(TestNG.java:1049) + at org.testng.TestNG.run(TestNG.java:1017) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92) + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) + + + + java.lang.AssertionError: expected [true] but found [false] + at org.testng.Assert.fail(Assert.java:96) + at org.testng.Assert.failNotEquals(Assert.java:776) + at org.testng.Assert.assertTrue(Assert.java:44) + at org.testng.Assert.assertTrue(Assert.java:54) + at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestYaml(SwaggerParserCLITest.java:81) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) + at org.testng.internal.Invoker.invokeMethod(Invoker.java:580) + at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716) + at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988) + at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) + at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) + at org.testng.TestRunner.privateRun(TestRunner.java:648) + at org.testng.TestRunner.run(TestRunner.java:505) + at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) + at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) + at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) + at org.testng.SuiteRunner.run(SuiteRunner.java:364) + at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) + at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) + at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) + at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) + at org.testng.TestNG.runSuites(TestNG.java:1049) + at org.testng.TestNG.run(TestNG.java:1017) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92) + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) + + + + java.lang.AssertionError: expected [true] but found [false] + at org.testng.Assert.fail(Assert.java:96) + at org.testng.Assert.failNotEquals(Assert.java:776) + at org.testng.Assert.assertTrue(Assert.java:44) + at org.testng.Assert.assertTrue(Assert.java:54) + at SwaggerParserCLITest.validateOKFromLocationWithResolveFullyOptionTestYamlMain(SwaggerParserCLITest.java:132) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) + at org.testng.internal.Invoker.invokeMethod(Invoker.java:580) + at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716) + at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988) + at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) + at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) + at org.testng.TestRunner.privateRun(TestRunner.java:648) + at org.testng.TestRunner.run(TestRunner.java:505) + at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) + at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) + at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) + at org.testng.SuiteRunner.run(SuiteRunner.java:364) + at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) + at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) + at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) + at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) + at org.testng.TestNG.runSuites(TestNG.java:1049) + at org.testng.TestNG.run(TestNG.java:1017) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145) + at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92) + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) + at java.base/java.lang.reflect.Method.invoke(Method.java:578) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) + + + + + + diff --git a/modules/swagger-parser-cli/build/test-results/test/binary/output.bin b/modules/swagger-parser-cli/build/test-results/test/binary/output.bin new file mode 100644 index 0000000000..3af24572c1 Binary files /dev/null and b/modules/swagger-parser-cli/build/test-results/test/binary/output.bin differ diff --git a/modules/swagger-parser-cli/build/test-results/test/binary/output.bin.idx b/modules/swagger-parser-cli/build/test-results/test/binary/output.bin.idx new file mode 100644 index 0000000000..ec0b7b9145 Binary files /dev/null and b/modules/swagger-parser-cli/build/test-results/test/binary/output.bin.idx differ diff --git a/modules/swagger-parser-cli/build/test-results/test/binary/results.bin b/modules/swagger-parser-cli/build/test-results/test/binary/results.bin new file mode 100644 index 0000000000..410de8f041 Binary files /dev/null and b/modules/swagger-parser-cli/build/test-results/test/binary/results.bin differ diff --git a/modules/swagger-parser-cli/build/tmp/compileJava/previous-compilation-data.bin b/modules/swagger-parser-cli/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000000..e069f62134 Binary files /dev/null and b/modules/swagger-parser-cli/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/modules/swagger-parser-cli/build/tmp/compileTestJava/previous-compilation-data.bin b/modules/swagger-parser-cli/build/tmp/compileTestJava/previous-compilation-data.bin new file mode 100644 index 0000000000..2be7208254 Binary files /dev/null and b/modules/swagger-parser-cli/build/tmp/compileTestJava/previous-compilation-data.bin differ diff --git a/modules/swagger-parser-cli/build/tmp/jar/MANIFEST.MF b/modules/swagger-parser-cli/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser-cli/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser-cli/build/tmp/javadoc/javadoc.options b/modules/swagger-parser-cli/build/tmp/javadoc/javadoc.options new file mode 100644 index 0000000000..c762d1927c --- /dev/null +++ b/modules/swagger-parser-cli/build/tmp/javadoc/javadoc.options @@ -0,0 +1,8 @@ +-classpath '/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-cli/build/classes/java/main:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-cli/build/resources/main:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/build/classes/java/main:/Users/prom1/.m2/repository/net/sourceforge/argparse4j/argparse4j/0.9.0/argparse4j-0.9.0.jar:/Users/prom1/.m2/repository/org/slf4j/slf4j-simple/2.0.0/slf4j-simple-2.0.0.jar:/Users/prom1/.m2/repository/io/swagger/core/v3/swagger-core/2.2.8/swagger-core-2.2.8.jar:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-core/build/classes/java/main:/Users/prom1/.m2/repository/io/swagger/core/v3/swagger-models/2.2.8/swagger-models-2.2.8.jar:/Users/prom1/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.14.0/jackson-dataformat-yaml-2.14.0.jar:/Users/prom1/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.14.0/jackson-datatype-jsr310-2.14.0.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.14.0/jackson-databind-2.14.0.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.14.0/jackson-annotations-2.14.0.jar:/Users/prom1/.m2/repository/org/slf4j/slf4j-api/2.0.0/slf4j-api-2.0.0.jar:/Users/prom1/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar:/Users/prom1/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:/Users/prom1/.m2/repository/io/swagger/core/v3/swagger-annotations/2.2.8/swagger-annotations-2.2.8.jar:/Users/prom1/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.14.0/jackson-core-2.14.0.jar:/Users/prom1/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar' +-d '/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-cli/build/docs/javadoc' +-doctitle 'swagger-parser-cli 2.1.13-SNAPSHOT API' +-encoding 'UTF-8' +-notimestamp +-quiet +-windowtitle 'swagger-parser-cli 2.1.13-SNAPSHOT API' +'/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-cli/src/main/java/io/swagger/v3/parser/SwaggerParser.java' diff --git a/modules/swagger-parser-cli/build/tmp/javadocJar/MANIFEST.MF b/modules/swagger-parser-cli/build/tmp/javadocJar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser-cli/build/tmp/javadocJar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser-cli/build/tmp/sourcesJar/MANIFEST.MF b/modules/swagger-parser-cli/build/tmp/sourcesJar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser-cli/build/tmp/sourcesJar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser-cli/out/production/classes/io/swagger/v3/parser/SwaggerParser.class b/modules/swagger-parser-cli/out/production/classes/io/swagger/v3/parser/SwaggerParser.class new file mode 100644 index 0000000000..bd37ce846b Binary files /dev/null and b/modules/swagger-parser-cli/out/production/classes/io/swagger/v3/parser/SwaggerParser.class differ diff --git a/modules/swagger-parser-cli/out/test/classes/SwaggerParserCLITest.class b/modules/swagger-parser-cli/out/test/classes/SwaggerParserCLITest.class new file mode 100644 index 0000000000..5ed1692a0e Binary files /dev/null and b/modules/swagger-parser-cli/out/test/classes/SwaggerParserCLITest.class differ diff --git a/modules/swagger-parser-cli/out/test/resources/fileWithNoErrorMessages.yaml b/modules/swagger-parser-cli/out/test/resources/fileWithNoErrorMessages.yaml new file mode 100644 index 0000000000..3378904b47 --- /dev/null +++ b/modules/swagger-parser-cli/out/test/resources/fileWithNoErrorMessages.yaml @@ -0,0 +1,55 @@ +openapi: 3.0.0 +info: + description: test + title: test + version: 1.0 +paths: + /cu: + post: + operationId: savecu + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/AbTestFoo" + "/bar": + put: + operationId: updateBar + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/CoTestBar" +servers: + - url: /foo/bar +components: + schemas: + Thing: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + ThingAs: + type: object + properties: + concept: + $ref: "#/components/schemas/Thing" + AbTestFoo: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + readOnly: true + CoTestBar: + allOf: + - $ref: "#/components/schemas/Thing" \ No newline at end of file diff --git a/modules/swagger-parser-cli/out/test/resources/fileWithValidationErrorMessages.yaml b/modules/swagger-parser-cli/out/test/resources/fileWithValidationErrorMessages.yaml new file mode 100644 index 0000000000..8ef7d2fed8 --- /dev/null +++ b/modules/swagger-parser-cli/out/test/resources/fileWithValidationErrorMessages.yaml @@ -0,0 +1,53 @@ +openapi: 3.0.0 +info: + description: test + title: test +paths: + /cu: + post: + operationId: savecu + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AbTestFoo" + "/bar": + put: + operationId: updateBar + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/CoTestBar" +servers: + - url: /foo/bar +components: + schemas: + Thing: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + ThingAs: + type: object + properties: + concept: + $ref: "#/components/schemas/Thing" + AbTestFoo: + type: object + properties: + moreThings: + type: array + uniqueItems: true + items: + $ref: "#/components/schemas/ThingAs" + readOnly: true + CoTestBar: + allOf: + - $ref: "#/components/schemas/Thing" \ No newline at end of file diff --git a/modules/swagger-parser-cli/out/test/resources/internal-references-in-external-files/external.yaml b/modules/swagger-parser-cli/out/test/resources/internal-references-in-external-files/external.yaml new file mode 100644 index 0000000000..361c56fffd --- /dev/null +++ b/modules/swagger-parser-cli/out/test/resources/internal-references-in-external-files/external.yaml @@ -0,0 +1,27 @@ +common: + allOf: + - $ref: "#/core" + - type: object + properties: + attribute: + type: string + direct: + $ref: "#/core" + referenced: + type: array + items: + $ref: "#/core" + +core: + type: object + properties: + coreAttribute: + type: string + inner: + $ref: "#/innerCore" + +innerCore: + type: object + properties: + innerCoreAttribute: + type: string diff --git a/modules/swagger-parser-cli/out/test/resources/internal-references-in-external-files/main.yaml b/modules/swagger-parser-cli/out/test/resources/internal-references-in-external-files/main.yaml new file mode 100644 index 0000000000..95e501c614 --- /dev/null +++ b/modules/swagger-parser-cli/out/test/resources/internal-references-in-external-files/main.yaml @@ -0,0 +1,29 @@ +openapi: 3.0.0 +info: + version: 0.0.1 + title: API +paths: + /: + post: + summary: Create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/create' + responses: + '200': + description: Successful response +components: + schemas: + create: + type: object + properties: + attribute: + type: string + direct: + $ref: "./external.yaml#/common" + referenced: + type: array + items: + $ref: "./external.yaml#/common" diff --git a/modules/swagger-parser-core/build.gradle b/modules/swagger-parser-core/build.gradle new file mode 100644 index 0000000000..d94175b0c8 --- /dev/null +++ b/modules/swagger-parser-core/build.gradle @@ -0,0 +1,19 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +plugins { + id 'io.swagger.parser.v3.java-conventions' +} + +dependencies { + api 'io.swagger.core.v3:swagger-models:2.2.8' +} + +description = 'swagger-parser' + +java { + withJavadocJar() +} diff --git a/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/extensions/SwaggerParserExtension.class b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/extensions/SwaggerParserExtension.class new file mode 100644 index 0000000000..c1739166a6 Binary files /dev/null and b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/extensions/SwaggerParserExtension.class differ diff --git a/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/AuthorizationValue.class b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/AuthorizationValue.class new file mode 100644 index 0000000000..5ab85f4d4b Binary files /dev/null and b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/AuthorizationValue.class differ diff --git a/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/ParseOptions.class b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/ParseOptions.class new file mode 100644 index 0000000000..2049dea8d9 Binary files /dev/null and b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/ParseOptions.class differ diff --git a/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/SwaggerParseResult.class b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/SwaggerParseResult.class new file mode 100644 index 0000000000..3fc4549135 Binary files /dev/null and b/modules/swagger-parser-core/build/classes/java/main/io/swagger/v3/parser/core/models/SwaggerParseResult.class differ diff --git a/modules/swagger-parser-core/build/libs/swagger-parser-core-2.1.13-SNAPSHOT.jar b/modules/swagger-parser-core/build/libs/swagger-parser-core-2.1.13-SNAPSHOT.jar new file mode 100644 index 0000000000..d58751ff99 Binary files /dev/null and b/modules/swagger-parser-core/build/libs/swagger-parser-core-2.1.13-SNAPSHOT.jar differ diff --git a/modules/swagger-parser-core/build/libs/swagger-parser-core-2.1.13.1-SNAPSHOT.jar b/modules/swagger-parser-core/build/libs/swagger-parser-core-2.1.13.1-SNAPSHOT.jar new file mode 100644 index 0000000000..9073a46212 Binary files /dev/null and b/modules/swagger-parser-core/build/libs/swagger-parser-core-2.1.13.1-SNAPSHOT.jar differ diff --git a/modules/swagger-parser-core/build/tmp/compileJava/previous-compilation-data.bin b/modules/swagger-parser-core/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000000..200eb385da Binary files /dev/null and b/modules/swagger-parser-core/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/modules/swagger-parser-core/build/tmp/jar/MANIFEST.MF b/modules/swagger-parser-core/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser-core/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/extensions/SwaggerParserExtension.class b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/extensions/SwaggerParserExtension.class new file mode 100644 index 0000000000..c1739166a6 Binary files /dev/null and b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/extensions/SwaggerParserExtension.class differ diff --git a/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/AuthorizationValue.class b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/AuthorizationValue.class new file mode 100644 index 0000000000..5ab85f4d4b Binary files /dev/null and b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/AuthorizationValue.class differ diff --git a/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/ParseOptions.class b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/ParseOptions.class new file mode 100644 index 0000000000..2049dea8d9 Binary files /dev/null and b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/ParseOptions.class differ diff --git a/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/SwaggerParseResult.class b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/SwaggerParseResult.class new file mode 100644 index 0000000000..3fc4549135 Binary files /dev/null and b/modules/swagger-parser-core/out/production/classes/io/swagger/v3/parser/core/models/SwaggerParseResult.class differ diff --git a/modules/swagger-parser-v2-converter/build.gradle b/modules/swagger-parser-v2-converter/build.gradle new file mode 100644 index 0000000000..749790f1a2 --- /dev/null +++ b/modules/swagger-parser-v2-converter/build.gradle @@ -0,0 +1,34 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +plugins { + id 'io.swagger.parser.v3.java-conventions' +} + +dependencies { + api 'io.swagger:swagger-core:1.6.9' + api 'io.swagger:swagger-parser:1.0.64' + api 'io.swagger:swagger-compat-spec-parser:1.0.64' + api 'io.swagger.core.v3:swagger-models:2.2.8' + api project(':swagger-parser-core') + api project(':swagger-parser-v3') + testImplementation 'org.slf4j:slf4j-simple:1.7.30' + testImplementation 'org.testng:testng:6.9.10' + compileOnly 'org.apache.commons:commons-lang3:3.2.1' + compileOnly 'com.fasterxml.jackson.core:jackson-annotations:2.14.0' + compileOnly 'com.fasterxml.jackson.core:jackson-databind:2.14.0' + compileOnly 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.0' +} + +description = 'swagger-parser-v2-converter' + +java { + withJavadocJar() +} + +tasks.named('test') { + useTestNG() +} diff --git a/modules/swagger-parser-v2-converter/build/classes/java/main/io/swagger/v3/parser/converter/SwaggerConverter.class b/modules/swagger-parser-v2-converter/build/classes/java/main/io/swagger/v3/parser/converter/SwaggerConverter.class new file mode 100644 index 0000000000..4085626e74 Binary files /dev/null and b/modules/swagger-parser-v2-converter/build/classes/java/main/io/swagger/v3/parser/converter/SwaggerConverter.class differ diff --git a/modules/swagger-parser-v2-converter/build/classes/java/main/io/swagger/v3/parser/converter/SwaggerInventory.class b/modules/swagger-parser-v2-converter/build/classes/java/main/io/swagger/v3/parser/converter/SwaggerInventory.class new file mode 100644 index 0000000000..791c770fbc Binary files /dev/null and b/modules/swagger-parser-v2-converter/build/classes/java/main/io/swagger/v3/parser/converter/SwaggerInventory.class differ diff --git a/modules/swagger-parser-v2-converter/build/libs/swagger-parser-v2-converter-2.1.13-SNAPSHOT.jar b/modules/swagger-parser-v2-converter/build/libs/swagger-parser-v2-converter-2.1.13-SNAPSHOT.jar new file mode 100644 index 0000000000..d3ec5a932b Binary files /dev/null and b/modules/swagger-parser-v2-converter/build/libs/swagger-parser-v2-converter-2.1.13-SNAPSHOT.jar differ diff --git a/modules/swagger-parser-v2-converter/build/resources/main/META-INF/services/io.swagger.v3.parser.core.extensions.SwaggerParserExtension b/modules/swagger-parser-v2-converter/build/resources/main/META-INF/services/io.swagger.v3.parser.core.extensions.SwaggerParserExtension new file mode 100644 index 0000000000..435ef222b7 --- /dev/null +++ b/modules/swagger-parser-v2-converter/build/resources/main/META-INF/services/io.swagger.v3.parser.core.extensions.SwaggerParserExtension @@ -0,0 +1 @@ +io.swagger.v3.parser.converter.SwaggerConverter \ No newline at end of file diff --git a/modules/swagger-parser-v2-converter/build/tmp/compileJava/previous-compilation-data.bin b/modules/swagger-parser-v2-converter/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000000..6200546b4f Binary files /dev/null and b/modules/swagger-parser-v2-converter/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/modules/swagger-parser-v2-converter/build/tmp/jar/MANIFEST.MF b/modules/swagger-parser-v2-converter/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser-v2-converter/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser-v3/build.gradle b/modules/swagger-parser-v3/build.gradle new file mode 100644 index 0000000000..9e4def745c --- /dev/null +++ b/modules/swagger-parser-v3/build.gradle @@ -0,0 +1,35 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +plugins { + id 'io.swagger.parser.v3.java-conventions' +} + +dependencies { + api 'io.swagger.core.v3:swagger-models:2.2.8' + api 'io.swagger.core.v3:swagger-core:2.2.8' + api project(':swagger-parser-core') + api 'commons-io:commons-io:2.11.0' + api 'org.yaml:snakeyaml:1.33' + api 'com.fasterxml.jackson.core:jackson-annotations:2.14.0' + api 'com.fasterxml.jackson.core:jackson-databind:2.14.0' + api 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.0' + testImplementation 'org.jmockit:jmockit:1.35' + testImplementation 'org.testng:testng:6.9.10' + testImplementation 'org.slf4j:slf4j-simple:1.7.30' + testImplementation 'com.github.tomakehurst:wiremock:1.57' + testImplementation 'junit:junit:4.13.2' +} + +description = 'swagger-parser-v3' + +java { + withJavadocJar() +} + +tasks.named('test') { + useTestNG() +} diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/ObjectMapperFactory.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/ObjectMapperFactory.class new file mode 100644 index 0000000000..85c838141f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/ObjectMapperFactory.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIResolver$Settings.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIResolver$Settings.class new file mode 100644 index 0000000000..eef9ab6e19 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIResolver$Settings.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIResolver.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIResolver.class new file mode 100644 index 0000000000..659a2b915b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIResolver.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIV3Parser.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIV3Parser.class new file mode 100644 index 0000000000..ea35ca79ea Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/OpenAPIV3Parser.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/ResolverCache.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/ResolverCache.class new file mode 100644 index 0000000000..0ae88f4f99 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/ResolverCache.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/exception/EncodingNotSupportedException.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/exception/EncodingNotSupportedException.class new file mode 100644 index 0000000000..e43e81909e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/exception/EncodingNotSupportedException.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/exception/ReadContentException.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/exception/ReadContentException.class new file mode 100644 index 0000000000..8deda8fb3c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/exception/ReadContentException.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/extensions/JsonSchemaParserExtension.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/extensions/JsonSchemaParserExtension.class new file mode 100644 index 0000000000..3b383a68dc Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/extensions/JsonSchemaParserExtension.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/models/RefFormat.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/models/RefFormat.class new file mode 100644 index 0000000000..78574b6071 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/models/RefFormat.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/models/RefType.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/models/RefType.class new file mode 100644 index 0000000000..80e4b16bc9 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/models/RefType.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/CallbackProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/CallbackProcessor.class new file mode 100644 index 0000000000..7bdc9fc302 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/CallbackProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ComponentsProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ComponentsProcessor.class new file mode 100644 index 0000000000..95e66b9605 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ComponentsProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ExampleProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ExampleProcessor.class new file mode 100644 index 0000000000..d6ba04049e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ExampleProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ExternalRefProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ExternalRefProcessor.class new file mode 100644 index 0000000000..875323a7f2 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ExternalRefProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/HeaderProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/HeaderProcessor.class new file mode 100644 index 0000000000..2578a767da Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/HeaderProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/LinkProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/LinkProcessor.class new file mode 100644 index 0000000000..4b3bccb310 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/LinkProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/OperationProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/OperationProcessor.class new file mode 100644 index 0000000000..00c492d298 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/OperationProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ParameterProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ParameterProcessor.class new file mode 100644 index 0000000000..332e33336d Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ParameterProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/PathsProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/PathsProcessor.class new file mode 100644 index 0000000000..352434f6c2 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/PathsProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/RequestBodyProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/RequestBodyProcessor.class new file mode 100644 index 0000000000..9173a8ee6a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/RequestBodyProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ResponseProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ResponseProcessor.class new file mode 100644 index 0000000000..c09ea84559 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/ResponseProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/SchemaProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/SchemaProcessor.class new file mode 100644 index 0000000000..a89ae6ea83 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/SchemaProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/SecuritySchemeProcessor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/SecuritySchemeProcessor.class new file mode 100644 index 0000000000..61cdfffaad Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/processors/SecuritySchemeProcessor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/AbstractVisitor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/AbstractVisitor.class new file mode 100644 index 0000000000..67d7d5183f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/AbstractVisitor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/DereferencerContext.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/DereferencerContext.class new file mode 100644 index 0000000000..bf329b0a4a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/DereferencerContext.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/DereferencersFactory.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/DereferencersFactory.class new file mode 100644 index 0000000000..ea7dd386bf Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/DereferencersFactory.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPI31Traverser.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPI31Traverser.class new file mode 100644 index 0000000000..0ec887db69 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPI31Traverser.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPIDereferencer.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPIDereferencer.class new file mode 100644 index 0000000000..4a5ae9399a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPIDereferencer.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPIDereferencer31.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPIDereferencer31.class new file mode 100644 index 0000000000..9de389fb8e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/OpenAPIDereferencer31.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Reference.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Reference.class new file mode 100644 index 0000000000..08712ae364 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Reference.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/ReferenceUtils.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/ReferenceUtils.class new file mode 100644 index 0000000000..4b162bde73 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/ReferenceUtils.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/ReferenceVisitor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/ReferenceVisitor.class new file mode 100644 index 0000000000..7fc698a23a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/ReferenceVisitor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Traverser.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Traverser.class new file mode 100644 index 0000000000..6884dcdc88 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Traverser.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Visitor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Visitor.class new file mode 100644 index 0000000000..d9b3aa002d Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/reference/Visitor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ClasspathHelper.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ClasspathHelper.class new file mode 100644 index 0000000000..9f599ade9c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ClasspathHelper.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$CustomResolver.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$CustomResolver.class new file mode 100644 index 0000000000..558878d444 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$CustomResolver.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$CustomSnakeYamlConstructor.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$CustomSnakeYamlConstructor.class new file mode 100644 index 0000000000..85006a54bf Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$CustomSnakeYamlConstructor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$Options.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$Options.class new file mode 100644 index 0000000000..6795ba6017 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$Options.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$SnakeException.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$SnakeException.class new file mode 100644 index 0000000000..3a012c27af Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils$SnakeException.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils.class new file mode 100644 index 0000000000..502dc30aff Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/DeserializationUtils.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/InlineModelResolver.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/InlineModelResolver.class new file mode 100644 index 0000000000..01a81cdcf3 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/InlineModelResolver.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ManagedValue.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ManagedValue.class new file mode 100644 index 0000000000..286d71bde0 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ManagedValue.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer$Location.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer$Location.class new file mode 100644 index 0000000000..f1fb78dcad Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer$Location.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer$ParseResult.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer$ParseResult.class new file mode 100644 index 0000000000..2b2057f8d9 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer$ParseResult.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer.class new file mode 100644 index 0000000000..13b2f2ef33 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/OpenAPIDeserializer.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/PathUtils.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/PathUtils.class new file mode 100644 index 0000000000..3e6e796a5a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/PathUtils.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RefUtils.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RefUtils.class new file mode 100644 index 0000000000..2586b3b08f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RefUtils.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$1.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$1.class new file mode 100644 index 0000000000..07a3985f0a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$2.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$2.class new file mode 100644 index 0000000000..ada36dce40 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$3.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$3.class new file mode 100644 index 0000000000..13a409c9ce Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$4.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$4.class new file mode 100644 index 0000000000..0828277aa9 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$5.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$5.class new file mode 100644 index 0000000000..bcb30b8906 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$5.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$6.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$6.class new file mode 100644 index 0000000000..acfcab1efe Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$6.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$7.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$7.class new file mode 100644 index 0000000000..c9f05febe6 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$7.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$8.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$8.class new file mode 100644 index 0000000000..168ab1258e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$8.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$9.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$9.class new file mode 100644 index 0000000000..96849f9f82 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator$9.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator.class new file mode 100644 index 0000000000..1cf47e2373 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ReferenceValidator.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$1.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$1.class new file mode 100644 index 0000000000..d57b43955f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$2.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$2.class new file mode 100644 index 0000000000..5c6f2e05ef Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$3.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$3.class new file mode 100644 index 0000000000..fb893df6be Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$4.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$4.class new file mode 100644 index 0000000000..2dc88e9a4b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$ConnectionConfigurator.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$ConnectionConfigurator.class new file mode 100644 index 0000000000..f9a06bca49 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl$ConnectionConfigurator.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl.class new file mode 100644 index 0000000000..a85ca6765e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/RemoteUrl.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ResolverFully.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ResolverFully.class new file mode 100644 index 0000000000..d41cff67ae Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/ResolverFully.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/SchemaTypeUtil.class b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/SchemaTypeUtil.class new file mode 100644 index 0000000000..577132bf08 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/main/io/swagger/v3/parser/util/SchemaTypeUtil.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$1.class new file mode 100644 index 0000000000..2118fcc987 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$2.class new file mode 100644 index 0000000000..25538f18dc Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$3.class new file mode 100644 index 0000000000..92d486cc2a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$4.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$4.class new file mode 100644 index 0000000000..903eaf7d2b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$5.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$5.class new file mode 100644 index 0000000000..04047dbb12 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$5.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$6.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$6.class new file mode 100644 index 0000000000..f828b2ea15 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$6.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$7.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$7.class new file mode 100644 index 0000000000..963d5a9f21 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest$7.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest.class new file mode 100644 index 0000000000..2a3ad1b3e6 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ComponentsProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$1.class new file mode 100644 index 0000000000..9e0bd206f3 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$2.class new file mode 100644 index 0000000000..1d59f07cbc Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$3.class new file mode 100644 index 0000000000..07f5c0c566 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest.class new file mode 100644 index 0000000000..940d928f39 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ExternalRefProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest$1.class new file mode 100644 index 0000000000..d3177aabc2 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest$2.class new file mode 100644 index 0000000000..a3bfb132e5 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest.class new file mode 100644 index 0000000000..edc8fdbb79 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/OperationProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$1.class new file mode 100644 index 0000000000..0c9c853ee9 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$2.class new file mode 100644 index 0000000000..1ec6e8e690 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$3.class new file mode 100644 index 0000000000..5286f1219f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$4.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$4.class new file mode 100644 index 0000000000..8454cf9146 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$5.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$5.class new file mode 100644 index 0000000000..0d8efbed47 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$5.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$6.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$6.class new file mode 100644 index 0000000000..96bbf7f74f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$6.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$7.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$7.class new file mode 100644 index 0000000000..17884c493c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$7.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$8.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$8.class new file mode 100644 index 0000000000..9623743482 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$8.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$9.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$9.class new file mode 100644 index 0000000000..3a87bd2cea Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest$9.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest.class new file mode 100644 index 0000000000..da5e46881c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ParameterProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/PathsProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/PathsProcessorTest.class new file mode 100644 index 0000000000..879e291a93 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/PathsProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest$1.class new file mode 100644 index 0000000000..58aa450b3e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest$2.class new file mode 100644 index 0000000000..80bb33d016 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest.class new file mode 100644 index 0000000000..8befffeae7 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/ResponseProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$1.class new file mode 100644 index 0000000000..5a3b735e74 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$10.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$10.class new file mode 100644 index 0000000000..e0e9a7f779 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$10.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$2.class new file mode 100644 index 0000000000..d2832431f6 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$3.class new file mode 100644 index 0000000000..314f3fd47a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$4.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$4.class new file mode 100644 index 0000000000..5080d71057 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$5.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$5.class new file mode 100644 index 0000000000..e343444827 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$5.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$6.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$6.class new file mode 100644 index 0000000000..7f593a599c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$6.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$7.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$7.class new file mode 100644 index 0000000000..62da41d05b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$7.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$8.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$8.class new file mode 100644 index 0000000000..c5a7b48a7d Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$8.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$9.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$9.class new file mode 100644 index 0000000000..1976ec7558 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest$9.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest.class new file mode 100644 index 0000000000..e2183fba2c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/processors/SchemaProcessorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/AnchorTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/AnchorTest.class new file mode 100644 index 0000000000..7174fa5e04 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/AnchorTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/CustomOpenAPIDereferencer$CustomVisitor.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/CustomOpenAPIDereferencer$CustomVisitor.class new file mode 100644 index 0000000000..1d08358206 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/CustomOpenAPIDereferencer$CustomVisitor.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/CustomOpenAPIDereferencer.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/CustomOpenAPIDereferencer.class new file mode 100644 index 0000000000..385b574a21 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/CustomOpenAPIDereferencer.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/FileReferenceTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/FileReferenceTest.class new file mode 100644 index 0000000000..e6802c0631 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/FileReferenceTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/JsonToYamlFileDuplicator.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/JsonToYamlFileDuplicator.class new file mode 100644 index 0000000000..83494bfbb4 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/JsonToYamlFileDuplicator.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/LocalReferenceTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/LocalReferenceTest$1.class new file mode 100644 index 0000000000..f31f75ca3c Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/LocalReferenceTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/LocalReferenceTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/LocalReferenceTest.class new file mode 100644 index 0000000000..2797d4b2f4 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/LocalReferenceTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$1.class new file mode 100644 index 0000000000..fcf3508b11 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$2.class new file mode 100644 index 0000000000..cffc0a4504 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$3.class new file mode 100644 index 0000000000..e6e34114e4 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$4.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$4.class new file mode 100644 index 0000000000..f8c904e1d8 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$5.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$5.class new file mode 100644 index 0000000000..71a0827f2e Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$5.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$6.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$6.class new file mode 100644 index 0000000000..0a71c05295 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$6.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$7.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$7.class new file mode 100644 index 0000000000..63e8edf0ae Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$7.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$8.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$8.class new file mode 100644 index 0000000000..7882504a09 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest$8.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest.class new file mode 100644 index 0000000000..56615aa667 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/NetworkReferenceTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OAI31DeserializationTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OAI31DeserializationTest.class new file mode 100644 index 0000000000..5de0feb0ab Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OAI31DeserializationTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OAIDeserializationTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OAIDeserializationTest.class new file mode 100644 index 0000000000..ab121d5b5f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OAIDeserializationTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIResolverTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIResolverTest$1.class new file mode 100644 index 0000000000..8780609c81 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIResolverTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIResolverTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIResolverTest.class new file mode 100644 index 0000000000..116702918d Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIResolverTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserExampleTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserExampleTest.class new file mode 100644 index 0000000000..fba5b82a46 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserExampleTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFSFullTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFSFullTest.class new file mode 100644 index 0000000000..6d47b6ce03 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFSFullTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullFlattenTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullFlattenTest.class new file mode 100644 index 0000000000..7fa279b28a Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullFlattenTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullResolveFullyTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullResolveFullyTest.class new file mode 100644 index 0000000000..4639a3eeb1 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullResolveFullyTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullTest.class new file mode 100644 index 0000000000..42b345ab4b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserFullTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserParameterIndirectTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserParameterIndirectTest.class new file mode 100644 index 0000000000..0fec839d01 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserParameterIndirectTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserParameterTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserParameterTest.class new file mode 100644 index 0000000000..cc886ff252 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserParameterTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemResolveFullyTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemResolveFullyTest.class new file mode 100644 index 0000000000..6bfaed1a22 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemResolveFullyTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.class new file mode 100644 index 0000000000..5e7857d1ee Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserSchemaIndirectTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserSchemaIndirectTest.class new file mode 100644 index 0000000000..30016d0912 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserSchemaIndirectTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserSchemaTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserSchemaTest.class new file mode 100644 index 0000000000..9d9f4e2328 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV31ParserSchemaTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV3ParserTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV3ParserTest.class new file mode 100644 index 0000000000..8a78862076 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/OpenAPIV3ParserTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest$1.class new file mode 100644 index 0000000000..9b65e80ed0 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest$2.class new file mode 100644 index 0000000000..ba832c68df Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest.class new file mode 100644 index 0000000000..d8b4c08434 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/RelativeReferenceTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$1.class new file mode 100644 index 0000000000..1ea0e2a91b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$2.class new file mode 100644 index 0000000000..20affda32b Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$3.class new file mode 100644 index 0000000000..bd35aa1ba5 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$4.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$4.class new file mode 100644 index 0000000000..4fdc77a969 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest.class new file mode 100644 index 0000000000..e1ceca9659 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResolverCacheTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResponseResolverTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResponseResolverTest.class new file mode 100644 index 0000000000..891d926b89 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/test/ResponseResolverTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/ClasspathHelperTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/ClasspathHelperTest.class new file mode 100644 index 0000000000..567c8c1058 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/ClasspathHelperTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/InlineModelResolverTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/InlineModelResolverTest.class new file mode 100644 index 0000000000..1f7652b6d6 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/InlineModelResolverTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/OpenAPIDeserializerTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/OpenAPIDeserializerTest.class new file mode 100644 index 0000000000..65d9fabbd0 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/OpenAPIDeserializerTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/PathUtilTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/PathUtilTest.class new file mode 100644 index 0000000000..f8bf1c4ee8 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/PathUtilTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$1.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$1.class new file mode 100644 index 0000000000..7ccd56bf0d Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$1.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$2.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$2.class new file mode 100644 index 0000000000..229906f325 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$2.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$3.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$3.class new file mode 100644 index 0000000000..34d368e7c5 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$3.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$4.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$4.class new file mode 100644 index 0000000000..27dc55d57f Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$4.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$5.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$5.class new file mode 100644 index 0000000000..4012505918 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$5.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$6.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$6.class new file mode 100644 index 0000000000..0af46ff4e2 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$6.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$7.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$7.class new file mode 100644 index 0000000000..dce2d01875 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$7.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$8.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$8.class new file mode 100644 index 0000000000..db8c6dbcf9 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest$8.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest.class new file mode 100644 index 0000000000..3a61e97d86 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RefUtilsTest.class differ diff --git a/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RemoteUrlTest.class b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RemoteUrlTest.class new file mode 100644 index 0000000000..e5d01d5976 Binary files /dev/null and b/modules/swagger-parser-v3/build/classes/java/test/io/swagger/v3/parser/util/RemoteUrlTest.class differ diff --git a/modules/swagger-parser-v3/build/docs/javadoc/allclasses-index.html b/modules/swagger-parser-v3/build/docs/javadoc/allclasses-index.html new file mode 100644 index 0000000000..7897d9bfcb --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/allclasses-index.html @@ -0,0 +1,187 @@ + + + + +All Classes and Interfaces (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    All Classes and Interfaces

    +
    +
    +
    +
    +
    +
    Class
    +
    Description
    + +
     
    + +
    +
    Created by gracekarina on 23/06/17.
    +
    + +
     
    + +
    +
    Created by gracekarina on 13/06/17.
    +
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
    +
    Created by gracekarina on 23/06/17.
    +
    + +
     
    + +
     
    + +
     
    + +
     
    + +
    +
    Created by gracekarina on 23/06/17.
    +
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
     
    + +
    +
    Happens when it's unable to read content from file or other resource
    +
    + +
     
    + +
     
    + +
     
    + +
     
    + +
    +
    Created by gracekarina on 16/06/17.
    +
    + +
    +
    Created by gracekarina on 16/06/17.
    +
    + +
     
    + +
     
    + +
    +
    Created by gracekarina on 20/06/17.
    +
    + +
    +
    A class that caches values that have been loaded so we don't have to repeat + expensive operations like: + 1) reading a remote URL with authorization (e.g.
    +
    + +
     
    + +
     
    + +
     
    + +
     
    + +
    +
    Created by gracekarina on 23/06/17.
    +
    + +
     
    + +
     
    +
    +
    +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/allpackages-index.html b/modules/swagger-parser-v3/build/docs/javadoc/allpackages-index.html new file mode 100644 index 0000000000..9463b44c61 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/allpackages-index.html @@ -0,0 +1,77 @@ + + + + +All Packages (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + + +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/constant-values.html b/modules/swagger-parser-v3/build/docs/javadoc/constant-values.html new file mode 100644 index 0000000000..c505451b75 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/constant-values.html @@ -0,0 +1,141 @@ + + + + +Constant Field Values (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Constant Field Values

    +
    +

    Contents

    + +
    +
    +
    +

    io.swagger.*

    + + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/copy.svg b/modules/swagger-parser-v3/build/docs/javadoc/copy.svg new file mode 100644 index 0000000000..7c46ab15fe --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/deprecated-list.html b/modules/swagger-parser-v3/build/docs/javadoc/deprecated-list.html new file mode 100644 index 0000000000..ca75180d88 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/deprecated-list.html @@ -0,0 +1,93 @@ + + + + +Deprecated List (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Deprecated API

    +

    Contents

    + +
    + + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/element-list b/modules/swagger-parser-v3/build/docs/javadoc/element-list new file mode 100644 index 0000000000..ca8a196f02 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/element-list @@ -0,0 +1,7 @@ +io.swagger.v3.parser +io.swagger.v3.parser.exception +io.swagger.v3.parser.extensions +io.swagger.v3.parser.models +io.swagger.v3.parser.processors +io.swagger.v3.parser.reference +io.swagger.v3.parser.util diff --git a/modules/swagger-parser-v3/build/docs/javadoc/help-doc.html b/modules/swagger-parser-v3/build/docs/javadoc/help-doc.html new file mode 100644 index 0000000000..d4e74a6209 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/help-doc.html @@ -0,0 +1,199 @@ + + + + +API Help (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +

    JavaDoc Help

    + +
    +
    +

    Navigation

    +Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
    +
    +
    +

    Kinds of Pages

    +The following sections describe the different kinds of pages in this collection. +
    +

    Overview

    +

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +
    +
    +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

    +
      +
    • Interfaces
    • +
    • Classes
    • +
    • Enum Classes
    • +
    • Exception Classes
    • +
    • Annotation Interfaces
    • +
    +
    +
    +

    Class or Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

    +
      +
    • Class Inheritance Diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class or Interface Declaration
    • +
    • Class or Interface Description
    • +
    +
    +
      +
    • Nested Class Summary
    • +
    • Enum Constant Summary
    • +
    • Field Summary
    • +
    • Property Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    +
    +
      +
    • Enum Constant Details
    • +
    • Field Details
    • +
    • Property Details
    • +
    • Constructor Details
    • +
    • Method Details
    • +
    • Element Details
    • +
    +

    Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

    +

    The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
    +
    +

    Other Files

    +

    Packages and modules may contain pages with additional information related to the declarations nearby.

    +
    +
    +

    Tree (Class Hierarchy)

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
    • +
    +
    +
    +

    Deprecated API

    +

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to shortcomings, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
    +
    +

    Constant Field Values

    +

    The Constant Field Values page lists the static final fields and their values.

    +
    +
    +

    Serialized Form

    +

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

    +
    +
    +

    All Packages

    +

    The All Packages page contains an alphabetic index of all packages contained in the documentation.

    +
    +
    +

    All Classes and Interfaces

    +

    The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

    +
    +
    +

    Index

    +

    The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

    +
    +
    +
    +This help file applies to API documentation generated by the standard doclet.
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/index-all.html b/modules/swagger-parser-v3/build/docs/javadoc/index-all.html new file mode 100644 index 0000000000..a9f74bafef --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/index-all.html @@ -0,0 +1,1423 @@ + + + + +Index (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Index

    +
    +A B C D E F G H I J K L M N O P R S T U V W X 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +

    A

    +
    +
    AbstractVisitor - Class in io.swagger.v3.parser.reference
    +
     
    +
    AbstractVisitor() - Constructor for class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    addDereferencer(OpenAPIDereferencer) - Method in class io.swagger.v3.parser.reference.DereferencersFactory
    +
     
    +
    addGenerated(String, Schema) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    addImplicitResolvers() - Method in class io.swagger.v3.parser.util.DeserializationUtils.CustomResolver
    +
     
    +
    addParametersToEachOperation - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    addParametersToEachOperation() - Method in class io.swagger.v3.parser.OpenAPIResolver.Settings
    +
    +
    If true, resource parameters are added to each operation
    +
    +
    addParametersToEachOperation(boolean) - Method in class io.swagger.v3.parser.OpenAPIResolver.Settings
    +
    +
    If true, resource parameters are added to each operation
    +
    +
    addParametersToEachOperation(boolean) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    addReferencedKey(String) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    allowEmptyStrings(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    auths - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    auths(List<AuthorizationValue>) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    +

    B

    +
    +
    BINARY_AS_STRING - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    BINARY_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    BOOLEAN_TYPE - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    buildReferenceVisitor(DereferencerContext, Reference, Traverser) - Method in interface io.swagger.v3.parser.reference.OpenAPIDereferencer
    +
     
    +
    buildReferenceVisitor(DereferencerContext, Reference, Traverser) - Method in class io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
     
    +
    buildSnakeYaml(BaseConstructor) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    buildTraverser(DereferencerContext) - Method in interface io.swagger.v3.parser.reference.OpenAPIDereferencer
    +
     
    +
    buildTraverser(DereferencerContext) - Method in class io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
     
    +
    buildUrl(String, String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    BYTE_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    +

    C

    +
    +
    CallbackProcessor - Class in io.swagger.v3.parser.processors
    +
    +
    Created by gracekarina on 23/06/17.
    +
    +
    CallbackProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.CallbackProcessor
    +
     
    +
    CallbackProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.CallbackProcessor
    +
     
    +
    callbacks - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    canDereference(DereferencerContext) - Method in interface io.swagger.v3.parser.reference.OpenAPIDereferencer
    +
     
    +
    canDereference(DereferencerContext) - Method in class io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
     
    +
    ClasspathHelper - Class in io.swagger.v3.parser.util
    +
     
    +
    ClasspathHelper() - Constructor for class io.swagger.v3.parser.util.ClasspathHelper
    +
     
    +
    cleanUrl(String) - Static method in class io.swagger.v3.parser.util.RemoteUrl
    +
     
    +
    COMPONENTS - Enum constant in enum class io.swagger.v3.parser.models.RefType
    +
     
    +
    COMPONENTS_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    COMPONENTS_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ComponentsProcessor - Class in io.swagger.v3.parser.processors
    +
    +
    Created by gracekarina on 13/06/17.
    +
    +
    ComponentsProcessor(OpenAPI, ResolverCache) - Constructor for class io.swagger.v3.parser.processors.ComponentsProcessor
    +
     
    +
    ComponentsProcessor(OpenAPI, ResolverCache, boolean) - Constructor for class io.swagger.v3.parser.processors.ComponentsProcessor
    +
     
    +
    computeDefinitionName(String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    computeLocalRef(String, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    computeRef(String, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    computeRefFormat(String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    computeRelativeRef(String, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    constructRef(Schema, String) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    CONTACT_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    CONTACT_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    context(DereferencerContext) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    copyVendorExtensions(Schema, Schema) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
    +
    Copy vendor extensions from Property to another Property
    +
    +
    createJson() - Static method in class io.swagger.v3.parser.ObjectMapperFactory
    +
     
    +
    createJson(boolean, boolean) - Static method in class io.swagger.v3.parser.ObjectMapperFactory
    +
     
    +
    createModelFromProperty(Schema, String) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    createSchema(String, String) - Static method in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    createSchemaByType(ObjectNode) - Static method in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    createYaml() - Static method in class io.swagger.v3.parser.ObjectMapperFactory
    +
     
    +
    createYaml(boolean, boolean) - Static method in class io.swagger.v3.parser.ObjectMapperFactory
    +
     
    +
    currentUri - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    currentUri(String) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    CustomResolver() - Constructor for class io.swagger.v3.parser.util.DeserializationUtils.CustomResolver
    +
     
    +
    +

    D

    +
    +
    DATE_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    DATE_TIME_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    deepcopy(T, Class<T>) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    depth(int) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    dereference(DereferencerContext, Iterator<OpenAPIDereferencer>) - Method in interface io.swagger.v3.parser.reference.OpenAPIDereferencer
    +
     
    +
    dereference(DereferencerContext, Iterator<OpenAPIDereferencer>) - Method in class io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
     
    +
    DereferencerContext - Class in io.swagger.v3.parser.reference
    +
     
    +
    DereferencerContext(SwaggerParseResult, List<AuthorizationValue>, String, ParseOptions, String, Map<String, Reference>, Boolean) - Constructor for class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    DereferencersFactory - Class in io.swagger.v3.parser.reference
    +
     
    +
    DeserializationUtils - Class in io.swagger.v3.parser.util
    +
     
    +
    DeserializationUtils() - Constructor for class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    DeserializationUtils.CustomResolver - Class in io.swagger.v3.parser.util
    +
     
    +
    DeserializationUtils.Options - Class in io.swagger.v3.parser.util
    +
     
    +
    deserialize(JsonNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    deserialize(JsonNode, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    deserialize(JsonNode, String, ParseOptions) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    deserialize(JsonNode, String, ParseOptions, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    deserialize(Object, String, Class<T>) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    deserialize(Object, String, Class<T>, boolean) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    deserializeFragment(JsonNode, Class<T>, String, String, Set<String>) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    deserializeIntoTree(String) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    deserializeIntoTree(String, String) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    deserializeIntoTree(String, String, ParseOptions, SwaggerParseResult) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    DISABLE_OAS31_RESOLVE - Static variable in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    DOUBLE_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    +

    E

    +
    +
    EMAIL_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    ENCODING_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ENCODING_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    EncodingNotSupportedException - Exception Class in io.swagger.v3.parser.exception
    +
     
    +
    EncodingNotSupportedException(String) - Constructor for exception class io.swagger.v3.parser.exception.EncodingNotSupportedException
    +
     
    +
    ensureComponents(OpenAPI) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    equals(Object) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.Location
    +
     
    +
    EXAMPLE_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    EXAMPLE_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ExampleProcessor - Class in io.swagger.v3.parser.processors
    +
    +
    Created by gracekarina on 23/06/17.
    +
    +
    ExampleProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.ExampleProcessor
    +
     
    +
    examples - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    EXTERNAL_DOCS_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    EXTERNAL_DOCS_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ExternalRefProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    ExternalRefProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    extra(String, String, JsonNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    +

    F

    +
    +
    findAnchor(JsonNode, String) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    flatten(OpenAPI) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    flattenProperties(Map<String, Schema>, String) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    FLOAT_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    +

    G

    +
    +
    getAbsoluteUrl(String) - Static method in class io.swagger.v3.parser.util.PathUtils
    +
     
    +
    getAllOperationsInAPath(PathItem) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getAnyType(String, ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getArray(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getArray(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getAuths() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getAuths() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getBigDecimal(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getBoolean(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getCache() - Method in class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    getCallback(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getCallbacks(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getCommonSchemaFields(ObjectNode, String, OpenAPIDeserializer.ParseResult, Schema) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getComponents(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getContact(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getContent(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getContext() - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    getCurrentUri() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getDepth() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getDereferencers() - Method in class io.swagger.v3.parser.reference.DereferencersFactory
    +
     
    +
    getDiscriminator(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getEncoding() - Static method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    getEncoding(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getEncodingMap(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getExample(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getExamples(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getExtensions() - Static method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
    +
    Locates extensions on the current thread class loader and then, if it differs from this class classloader (as in + OSGi), locates extensions from this class classloader as well.
    +
    +
    getExtensions(ObjectNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getExtensions(ClassLoader) - Static method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    getExternalDocs(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getExternalFileCache() - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    getExternalPath(String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    getFragment(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    getHeader(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getHeaders(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getInfo(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getInstance() - Static method in class io.swagger.v3.parser.reference.DereferencersFactory
    +
     
    +
    getInteger(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getInternalPrefix() - Method in enum class io.swagger.v3.parser.models.RefType
    +
    +
    The prefix in an internal reference of this type.
    +
    +
    getJsonNode() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getJsonSchema(JsonNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getJsonSchemaParserExtensions() - Static method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
    +
    Locates extensions on the current thread class loader and then, if it differs from this class classloader (as in + OSGi), locates extensions from this class classloader as well.
    +
    +
    getJsonSchemaParserExtensions(ClassLoader) - Static method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getKeys(ObjectNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getLicense(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getLink(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getLinks(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getMaxYamlAliasesForCollections() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    getMaxYamlCodePoints() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    getMaxYamlDepth() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    getMaxYamlReferences() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    getMediaType(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getMessages() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getMessages() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    getOAuthFlow(String, ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getOAuthFlows(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getObject(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getObjectOrBoolean(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getOpenApi() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getOperation(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getOptions() - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    getParameter(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getParameterList(ArrayNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getParameters(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getParentDirectoryOfFile(String) - Static method in class io.swagger.v3.parser.util.PathUtils
    +
     
    +
    getParseOptions() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getParseOptions() - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    getPathItem(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getPathItems(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getPathItems(ObjectNode, String, OpenAPIDeserializer.ParseResult, Map<String, PathItem>, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getPaths(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getProvidedBaseUri() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getReferenceSet() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getReferenceSet() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getRefName(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    getRenameCache() - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    getRenamedRef(String) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    getRequestBodies(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getRequestBody(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getResolutionCache() - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    getResponse(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getResponses(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getRootUri() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getSchema(JsonNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getSchema(JsonNode, String, OpenAPIDeserializer.ParseResult, Map<String, Object>, String) - Method in interface io.swagger.v3.parser.extensions.JsonSchemaParserExtension
    +
     
    +
    getSchemas(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getSchemaType(Schema) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    getSecurityRequirementsList(ArrayNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getSecurityScheme(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getSecuritySchemes(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getServer(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getServer(ObjectNode, String, OpenAPIDeserializer.ParseResult, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getServersList(ArrayNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getServersList(ArrayNode, String, OpenAPIDeserializer.ParseResult, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getServerVariable(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getServerVariables(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getString(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getString(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult, Set<String>) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getString(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult, Set<String>, boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getSwaggerParseResult() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    getTag(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getTagList(ArrayNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getTagsStrings(ArrayNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getUri() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getValue() - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    getWebhooks(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    getXml(ObjectNode, String, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    +

    H

    +
    +
    handleRootLocalRefs(String, T, Map<String, T>) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    hashCode() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.Location
    +
     
    +
    hasReferencedKey(String) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    hasSchemaType(Schema) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    HEADER_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    HEADER_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    HeaderProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    HeaderProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.HeaderProcessor
    +
     
    +
    HeaderProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.HeaderProcessor
    +
     
    +
    headers - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    +

    I

    +
    +
    inferSchemaType(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    inferTypeFromArray(ArrayNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    INFO_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    INFO_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    InlineModelResolver - Class in io.swagger.v3.parser.util
    +
     
    +
    InlineModelResolver() - Constructor for class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    InlineModelResolver(boolean, boolean) - Constructor for class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    InlineModelResolver(boolean, boolean, boolean) - Constructor for class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    INTEGER_TYPE - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    INTEGER32_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    INTEGER64_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    INTERNAL - Enum constant in enum class io.swagger.v3.parser.models.RefFormat
    +
     
    +
    invalid() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    invalidType(String, String, String, JsonNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    io.swagger.v3.parser - package io.swagger.v3.parser
    +
     
    +
    io.swagger.v3.parser.exception - package io.swagger.v3.parser.exception
    +
     
    +
    io.swagger.v3.parser.extensions - package io.swagger.v3.parser.extensions
    +
     
    +
    io.swagger.v3.parser.models - package io.swagger.v3.parser.models
    +
     
    +
    io.swagger.v3.parser.processors - package io.swagger.v3.parser.processors
    +
     
    +
    io.swagger.v3.parser.reference - package io.swagger.v3.parser.reference
    +
     
    +
    io.swagger.v3.parser.util - package io.swagger.v3.parser.util
    +
     
    +
    isAbsoluteRef(String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    isAddParametersToEachOperation() - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    isAllowEmptyStrings() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    isAnchor(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    isAnchorRef(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    isAnExternalRefFormat(RefFormat) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    isInferSchemaType() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    isJson(String) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    isLocalRef(String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    isLocalRef(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    isLocalRefToComponents(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    isOaiAuthor() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    isOpenapi31() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    isSkipMatches() - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    isValid() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    isValidateInternalRefs() - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    isValidateYamlInput() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    isYamlAllowRecursiveKeys() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    isYamlCycleCheck() - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    +

    J

    +
    +
    join(String, String) - Static method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    JSON_SCHEMA_2020_12_TYPES - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    jsonNode(JsonNode) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    jsonPointerEvaluate(String, JsonNode, String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    JsonSchemaParserExtension - Interface in io.swagger.v3.parser.extensions
    +
     
    +
    +

    K

    +
    +
    KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    +

    L

    +
    +
    LICENSE_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    LICENSE_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    LINK_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    LINK_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    LinkProcessor - Class in io.swagger.v3.parser.processors
    +
    +
    Created by gracekarina on 23/06/17.
    +
    +
    LinkProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.LinkProcessor
    +
     
    +
    LinkProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.LinkProcessor
    +
     
    +
    links - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    loadFileFromClasspath(String) - Static method in class io.swagger.v3.parser.util.ClasspathHelper
    +
     
    +
    loadRef(String, RefFormat, Class<T>) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    Location(String, String) - Constructor for class io.swagger.v3.parser.util.OpenAPIDeserializer.Location
    +
     
    +
    +

    M

    +
    +
    makeRefProperty(String, Schema) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
    +
    Make a RefProperty
    +
    +
    ManagedValue - Interface in io.swagger.v3.parser.util
    +
     
    +
    matchGenerated(Schema) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    MEDIATYPE_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    MEDIATYPE_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    merge(String, String) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    mergeSchemas(Schema, Schema) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    messages - Variable in class io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
     
    +
    messages(Set<String>) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    missing(String, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    modelFromProperty(ArraySchema, String) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    modelFromProperty(Schema, String) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    mungedRef(String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    mungedRef(String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    +

    N

    +
    +
    NUMBER_TYPE - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    +

    O

    +
    +
    oaiAuthor(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    OAUTHFLOW_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OAUTHFLOW_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OAUTHFLOWS_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OAUTHFLOWS_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OBJECT_TYPE - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    ObjectMapperFactory - Class in io.swagger.v3.parser
    +
     
    +
    ObjectMapperFactory() - Constructor for class io.swagger.v3.parser.ObjectMapperFactory
    +
     
    +
    openApi - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    openapi31 - Variable in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    openapi31(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    OpenAPI31Traverser - Class in io.swagger.v3.parser.reference
    +
     
    +
    OpenAPI31Traverser(DereferencerContext) - Constructor for class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    OpenAPIDereferencer - Interface in io.swagger.v3.parser.reference
    +
     
    +
    OpenAPIDereferencer31 - Class in io.swagger.v3.parser.reference
    +
     
    +
    OpenAPIDereferencer31() - Constructor for class io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
     
    +
    OpenAPIDeserializer - Class in io.swagger.v3.parser.util
    +
     
    +
    OpenAPIDeserializer() - Constructor for class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OpenAPIDeserializer.Location - Class in io.swagger.v3.parser.util
    +
     
    +
    OpenAPIDeserializer.ParseResult - Class in io.swagger.v3.parser.util
    +
     
    +
    OpenAPIResolver - Class in io.swagger.v3.parser
    +
     
    +
    OpenAPIResolver(OpenAPI) - Constructor for class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    OpenAPIResolver(OpenAPI, List<AuthorizationValue>) - Constructor for class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    OpenAPIResolver(OpenAPI, List<AuthorizationValue>, String) - Constructor for class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    OpenAPIResolver(OpenAPI, List<AuthorizationValue>, String, OpenAPIResolver.Settings) - Constructor for class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    OpenAPIResolver(OpenAPI, List<AuthorizationValue>, String, OpenAPIResolver.Settings, ParseOptions) - Constructor for class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    OpenAPIResolver.Settings - Class in io.swagger.v3.parser
    +
     
    +
    openAPITraverser - Variable in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    OpenAPIV3Parser - Class in io.swagger.v3.parser
    +
     
    +
    OpenAPIV3Parser() - Constructor for class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    OPERATION_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OPERATION_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    OperationProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    OperationProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.OperationProcessor
    +
     
    +
    OperationProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.OperationProcessor
    +
     
    +
    Options() - Constructor for class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    +

    P

    +
    +
    PARAMETER_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    PARAMETER_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ParameterProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    ParameterProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.ParameterProcessor
    +
     
    +
    ParameterProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.ParameterProcessor
    +
     
    +
    parameters - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    parse(String, List<AuthorizationValue>) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    parseJsonNode(String, JsonNode) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    parseJsonNode(String, JsonNode, ParseOptions) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    parseOptions - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    ParseResult() - Constructor for class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    parseRoot(JsonNode, OpenAPIDeserializer.ParseResult, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    PASSWORD_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    PATH - Enum constant in enum class io.swagger.v3.parser.models.RefType
    +
     
    +
    PATHITEM_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    PATHITEM_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    PathsProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    PathsProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    PathsProcessor(ResolverCache, OpenAPI, OpenAPIResolver.Settings) - Constructor for class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    PathsProcessor(ResolverCache, OpenAPI, OpenAPIResolver.Settings, boolean) - Constructor for class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    PathUtils - Class in io.swagger.v3.parser.util
    +
     
    +
    PathUtils() - Constructor for class io.swagger.v3.parser.util.PathUtils
    +
     
    +
    process(URL) - Method in interface io.swagger.v3.parser.util.ManagedValue
    +
     
    +
    processArraySchema(ArraySchema) - Method in class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    processCallback(Callback) - Method in class io.swagger.v3.parser.processors.CallbackProcessor
    +
     
    +
    processComponents() - Method in class io.swagger.v3.parser.processors.ComponentsProcessor
    +
     
    +
    processComposedSchema(ComposedSchema) - Method in class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    processExample(Example) - Method in class io.swagger.v3.parser.processors.ExampleProcessor
    +
     
    +
    processExample(List<Example>) - Method in class io.swagger.v3.parser.processors.ExampleProcessor
    +
     
    +
    processHeader(Header) - Method in class io.swagger.v3.parser.processors.HeaderProcessor
    +
     
    +
    processLink(Link) - Method in class io.swagger.v3.parser.processors.LinkProcessor
    +
     
    +
    processOperation(Operation) - Method in class io.swagger.v3.parser.processors.OperationProcessor
    +
     
    +
    processParameter(Parameter) - Method in class io.swagger.v3.parser.processors.ParameterProcessor
    +
     
    +
    processParameters(List<Parameter>) - Method in class io.swagger.v3.parser.processors.ParameterProcessor
    +
     
    +
    processPaths() - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    processPropertySchema(Schema) - Method in class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    processReferenceCallback(Callback) - Method in class io.swagger.v3.parser.processors.CallbackProcessor
    +
     
    +
    processReferencePath(PathItem) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    processReferenceRequestBody(RequestBody) - Method in class io.swagger.v3.parser.processors.RequestBodyProcessor
    +
     
    +
    processReferenceResponse(ApiResponse) - Method in class io.swagger.v3.parser.processors.ResponseProcessor
    +
     
    +
    processRefToExternalCallback(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalExample(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalHeader(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalLink(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalParameter(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalPathItem(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalRequestBody(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalResponse(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalSchema(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRefToExternalSecurityScheme(String, RefFormat) - Method in class io.swagger.v3.parser.processors.ExternalRefProcessor
    +
     
    +
    processRequestBody(RequestBody) - Method in class io.swagger.v3.parser.processors.RequestBodyProcessor
    +
     
    +
    processResponse(ApiResponse) - Method in class io.swagger.v3.parser.processors.ResponseProcessor
    +
     
    +
    processSchema(Schema) - Method in class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    processSchemas(Set<String>, Map<String, Schema>) - Method in class io.swagger.v3.parser.processors.ComponentsProcessor
    +
     
    +
    processSchemaType(Schema) - Method in class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    processSecurityScheme(SecurityScheme) - Method in class io.swagger.v3.parser.processors.SecuritySchemeProcessor
    +
     
    +
    providedBaseUri - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    providedBaseUri(String) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    putRenamedRef(String, String) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    +

    R

    +
    +
    read(String) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    read(String, List<AuthorizationValue>, ParseOptions) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    readClasspath(String) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    ReadContentException - Exception Class in io.swagger.v3.parser.exception
    +
    +
    Happens when it's unable to read content from file or other resource
    +
    +
    ReadContentException(String, Throwable) - Constructor for exception class io.swagger.v3.parser.exception.ReadContentException
    +
     
    +
    readContents(String) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    readContents(String, List<AuthorizationValue>, ParseOptions) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    readContents(String, List<AuthorizationValue>, ParseOptions, String) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    readExternalClasspathRef(String, RefFormat, List<AuthorizationValue>, String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    readExternalRef(String, RefFormat, List<AuthorizationValue>, Path) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    readExternalUrlRef(String, RefFormat, List<AuthorizationValue>, String) - Static method in class io.swagger.v3.parser.util.RefUtils
    +
     
    +
    readFile(String) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    readHttp(String, List<AuthorizationValue>) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    readLocation(String, List<AuthorizationValue>, ParseOptions) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    readURI(String, List<AuthorizationValue>) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    readWithInfo(String, JsonNode) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
    +
    Deprecated.
    +
    +
    readWithInfo(String, List<AuthorizationValue>) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
    +
    Deprecated.
    +
    +
    readYamlTree(String) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    readYamlTree(String, ParseOptions, SwaggerParseResult) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    readYamlValue(String, Class<T>) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    readYamlValue(String, Class<T>, boolean) - Static method in class io.swagger.v3.parser.util.DeserializationUtils
    +
     
    +
    reference - Variable in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    Reference - Class in io.swagger.v3.parser.reference
    +
     
    +
    Reference() - Constructor for class io.swagger.v3.parser.reference.Reference
    +
     
    +
    referenceSet(Map<String, Reference>) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    referenceSet(Map<String, Reference>) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    ReferenceUtils - Class in io.swagger.v3.parser.reference
    +
     
    +
    ReferenceUtils() - Constructor for class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    ReferenceValidator - Enum Class in io.swagger.v3.parser.util
    +
     
    +
    ReferenceVisitor - Class in io.swagger.v3.parser.reference
    +
     
    +
    ReferenceVisitor(Reference, OpenAPI31Traverser, HashSet<Object>, HashMap<Object, Object>) - Constructor for class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    RefFormat - Enum Class in io.swagger.v3.parser.models
    +
    +
    Created by gracekarina on 16/06/17.
    +
    +
    RefType - Enum Class in io.swagger.v3.parser.models
    +
    +
    Created by gracekarina on 16/06/17.
    +
    +
    RefUtils - Class in io.swagger.v3.parser.util
    +
     
    +
    RELATIVE - Enum constant in enum class io.swagger.v3.parser.models.RefFormat
    +
     
    +
    RemoteUrl - Class in io.swagger.v3.parser.util
    +
     
    +
    RemoteUrl() - Constructor for class io.swagger.v3.parser.util.RemoteUrl
    +
     
    +
    removeDereferencer(OpenAPIDereferencer) - Method in class io.swagger.v3.parser.reference.DereferencersFactory
    +
     
    +
    REQUEST_BODY_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    REQUEST_BODY_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    requestBodies - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    RequestBodyProcessor - Class in io.swagger.v3.parser.processors
    +
    +
    Created by gracekarina on 20/06/17.
    +
    +
    RequestBodyProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.RequestBodyProcessor
    +
     
    +
    RequestBodyProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.RequestBodyProcessor
    +
     
    +
    reserved(String, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    RESERVED_KEYWORDS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    resolve() - Method in class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    resolve(SwaggerParseResult) - Method in class io.swagger.v3.parser.OpenAPIResolver
    +
     
    +
    resolve(String, String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    resolveCallback(Callback) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveExample(Map<String, Example>) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveFully(OpenAPI) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveHeader(Header) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveLink(Link) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveParameter(Parameter) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolvePath(PathItem) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    ResolverCache - Class in io.swagger.v3.parser
    +
    +
    A class that caches values that have been loaded so we don't have to repeat + expensive operations like: + 1) reading a remote URL with authorization (e.g.
    +
    +
    ResolverCache(OpenAPI, List<AuthorizationValue>, String) - Constructor for class io.swagger.v3.parser.ResolverCache
    +
     
    +
    ResolverCache(OpenAPI, List<AuthorizationValue>, String, Set<String>) - Constructor for class io.swagger.v3.parser.ResolverCache
    +
     
    +
    ResolverCache(OpenAPI, List<AuthorizationValue>, String, Set<String>, ParseOptions) - Constructor for class io.swagger.v3.parser.ResolverCache
    +
     
    +
    resolveRef(T, String, Class<T>, BiFunction<T, ReferenceVisitor, T>) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    resolveRequestBody(RequestBody) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    ResolverFully - Class in io.swagger.v3.parser.util
    +
     
    +
    ResolverFully() - Constructor for class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    ResolverFully(boolean) - Constructor for class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveSchema(Schema) - Method in class io.swagger.v3.parser.util.ResolverFully
    +
     
    +
    resolveSchema(Schema, ResolverCache, OpenAPI, boolean) - Method in interface io.swagger.v3.parser.extensions.JsonSchemaParserExtension
    +
     
    +
    resolveSchemaRef(Schema, String, List<String>) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    RESPONSE_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    RESPONSE_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ResponseProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    ResponseProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.ResponseProcessor
    +
     
    +
    ResponseProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.ResponseProcessor
    +
     
    +
    responses - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    ROOT_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    ROOT_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    rootUri - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    rootUri(String) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    +

    S

    +
    +
    SCHEMA_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SCHEMA_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SchemaProcessor - Class in io.swagger.v3.parser.processors
    +
     
    +
    SchemaProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    SchemaProcessor(ResolverCache, OpenAPI, boolean) - Constructor for class io.swagger.v3.parser.processors.SchemaProcessor
    +
     
    +
    schemas - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    SCHEMAS - Enum constant in enum class io.swagger.v3.parser.models.RefType
    +
     
    +
    SchemaTypeUtil - Class in io.swagger.v3.parser.util
    +
     
    +
    SchemaTypeUtil() - Constructor for class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    SECURITY_SCHEME_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SECURITY_SCHEME_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SecuritySchemeProcessor - Class in io.swagger.v3.parser.processors
    +
    +
    Created by gracekarina on 23/06/17.
    +
    +
    SecuritySchemeProcessor(ResolverCache, OpenAPI) - Constructor for class io.swagger.v3.parser.processors.SecuritySchemeProcessor
    +
     
    +
    securitySchemes - Enum constant in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    SERVER_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SERVER_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SERVER_VARIABLE_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    SERVER_VARIABLE_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    setAddParametersToEachOperation(boolean) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    setAllowEmptyStrings(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    setAuths(List<AuthorizationValue>) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setContext(DereferencerContext) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    setCurrentUri(String) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    setDepth(int) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setEncoding(String) - Static method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
     
    +
    setInferSchemaType(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    setJsonNode(JsonNode) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setMaxYamlAliasesForCollections(Integer) - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    setMaxYamlDepth(Integer) - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    setMaxYamlReferences(Long) - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    setMessages(Set<String>) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setOaiAuthor(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    setOpenapi31(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    setReferenceSet(Map<String, Reference>) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    setReferenceSet(Map<String, Reference>) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setSkipMatches(boolean) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    setStyle(String, Parameter, String, ObjectNode, OpenAPIDeserializer.ParseResult) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    Settings() - Constructor for class io.swagger.v3.parser.OpenAPIResolver.Settings
    +
     
    +
    setUri(String) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setValidateInternalRefs(boolean) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    setValidateYamlInput(boolean) - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    setValue(Object) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    setYamlAllowRecursiveKeys(boolean) - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    setYamlCycleCheck(boolean) - Method in class io.swagger.v3.parser.util.DeserializationUtils.Options
    +
     
    +
    shouldHandleRootLocalRefs(boolean, String, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    STRING_TYPE - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    swaggerParseResult - Variable in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    swaggerParseResult(SwaggerParseResult) - Method in class io.swagger.v3.parser.reference.DereferencerContext
    +
     
    +
    +

    T

    +
    +
    TAG_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    TAG_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    toBaseURI(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    toBaseURI(String) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    toReference(String) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    toSchemaReference(String, JsonNode) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    transform(List<AuthorizationValue>) - Method in class io.swagger.v3.parser.OpenAPIV3Parser
    +
    +
    Deprecated.
    +
    +
    traverse(OpenAPI, Visitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverse(OpenAPI, Visitor) - Method in interface io.swagger.v3.parser.reference.Traverser
    +
     
    +
    traverseCallback(Callback, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseComponents(Components, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseEncoding(Encoding, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseExample(Example, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseHeader(Header, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseLink(Link, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseMap(Map<String, T>, ReferenceVisitor, BiFunction<T, ReferenceVisitor, T>) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseMediaType(MediaType, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseOpenApi(OpenAPI, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseOperation(Operation, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseParameter(Parameter, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traversePathItem(PathItem, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traversePaths(Paths, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    Traverser - Interface in io.swagger.v3.parser.reference
    +
     
    +
    traverseRequestBody(RequestBody, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseResponse(ApiResponse, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseResponses(ApiResponses, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseSchema(Schema, ReferenceVisitor, List<String>) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseSchemaMap(Map<String, Schema>, ReferenceVisitor, List<String>) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    traverseSecurityScheme(SecurityScheme, ReferenceVisitor) - Method in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    +

    U

    +
    +
    unescapePointer(String) - Static method in class io.swagger.v3.parser.reference.ReferenceUtils
    +
     
    +
    unique(String, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    uniqueName(String) - Method in class io.swagger.v3.parser.util.InlineModelResolver
    +
     
    +
    uniqueTags(String, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    unsupported(String, String, JsonNode) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    updateLocalRefs(String, Schema) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    updateLocalRefs(String, T) - Method in class io.swagger.v3.parser.ResolverCache
    +
     
    +
    updateReferenceForParentNode(Schema, String) - Static method in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    updateRefs(Example, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    updateRefs(Schema, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    updateRefs(Parameter, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    updateRefs(RequestBody, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    updateRefs(PathItem, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    updateRefs(ApiResponse, String) - Method in class io.swagger.v3.parser.processors.PathsProcessor
    +
     
    +
    uri(String) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    URL - Enum constant in enum class io.swagger.v3.parser.models.RefFormat
    +
     
    +
    urlToString(String, List<AuthorizationValue>) - Static method in class io.swagger.v3.parser.util.RemoteUrl
    +
     
    +
    UUID_FORMAT - Static variable in class io.swagger.v3.parser.util.SchemaTypeUtil
    +
     
    +
    +

    V

    +
    +
    validateComponent(Components, String) - Method in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
     
    +
    value(Object) - Method in class io.swagger.v3.parser.reference.Reference
    +
     
    +
    valueOf(String) - Static method in enum class io.swagger.v3.parser.models.RefFormat
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    valueOf(String) - Static method in enum class io.swagger.v3.parser.models.RefType
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    valueOf(String) - Static method in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    values() - Static method in enum class io.swagger.v3.parser.models.RefFormat
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    values() - Static method in enum class io.swagger.v3.parser.models.RefType
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    values() - Static method in enum class io.swagger.v3.parser.util.ReferenceValidator
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    visitComponents(Components) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitComponents(Components) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visited - Variable in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitedMap - Variable in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    visitedMap - Variable in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitEncoding(Encoding) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitEncoding(Encoding) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitExample(Example) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitExample(Example) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitExample(Example) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitHeader(Header) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitHeader(Header) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitHeader(Header) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visiting - Variable in class io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
     
    +
    visitLink(Link) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitLink(Link) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitLink(Link) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitMediaType(MediaType) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitMediaType(MediaType) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitOpenApi(OpenAPI) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitOpenApi(OpenAPI) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitOperation(Operation) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitOperation(Operation) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    Visitor - Interface in io.swagger.v3.parser.reference
    +
     
    +
    visitParameter(Parameter) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitParameter(Parameter) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitParameter(Parameter) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitPathItem(PathItem) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitPathItem(PathItem) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitPathItem(PathItem) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitPaths(Paths) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitPaths(Paths) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitRequestBody(RequestBody) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitRequestBody(RequestBody) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitRequestBody(RequestBody) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitResponse(ApiResponse) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitResponse(ApiResponse) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitResponse(ApiResponse) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitResponses(ApiResponses) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitResponses(ApiResponses) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitSchema(Schema, List<String>) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitSchema(Schema, List<String>) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitSchema(Schema, List<String>) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    visitSecurityScheme(SecurityScheme) - Method in class io.swagger.v3.parser.reference.AbstractVisitor
    +
     
    +
    visitSecurityScheme(SecurityScheme) - Method in class io.swagger.v3.parser.reference.ReferenceVisitor
    +
     
    +
    visitSecurityScheme(SecurityScheme) - Method in interface io.swagger.v3.parser.reference.Visitor
    +
     
    +
    +

    W

    +
    +
    warning(String, String) - Method in class io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
     
    +
    +

    X

    +
    +
    XML_KEYS - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    XML_KEYS_31 - Static variable in class io.swagger.v3.parser.util.OpenAPIDeserializer
    +
     
    +
    +A B C D E F G H I J K L M N O P R S T U V W X 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/index.html b/modules/swagger-parser-v3/build/docs/javadoc/index.html new file mode 100644 index 0000000000..175a030751 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/index.html @@ -0,0 +1,79 @@ + + + + +Overview (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    swagger-parser-v3 2.1.13.1-SNAPSHOT API

    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/ObjectMapperFactory.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/ObjectMapperFactory.html new file mode 100644 index 0000000000..3d81adfe3a --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/ObjectMapperFactory.html @@ -0,0 +1,204 @@ + + + + +ObjectMapperFactory (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ObjectMapperFactory

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.ObjectMapperFactory
    +
    +
    +
    +
    public class ObjectMapperFactory +extends Object
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      static com.fasterxml.jackson.databind.ObjectMapper
      + +
       
      +
      protected static com.fasterxml.jackson.databind.ObjectMapper
      +
      createJson(boolean includePathDeserializer, + boolean includeResponseDeserializer)
      +
       
      +
      static com.fasterxml.jackson.databind.ObjectMapper
      + +
       
      +
      protected static com.fasterxml.jackson.databind.ObjectMapper
      +
      createYaml(boolean includePathDeserializer, + boolean includeResponseDeserializer)
      +
       
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ObjectMapperFactory

        +
        public ObjectMapperFactory()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        createJson

        +
        public static com.fasterxml.jackson.databind.ObjectMapper createJson()
        +
        +
      • +
      • +
        +

        createJson

        +
        protected static com.fasterxml.jackson.databind.ObjectMapper createJson(boolean includePathDeserializer, + boolean includeResponseDeserializer)
        +
        +
      • +
      • +
        +

        createYaml

        +
        public static com.fasterxml.jackson.databind.ObjectMapper createYaml()
        +
        +
      • +
      • +
        +

        createYaml

        +
        protected static com.fasterxml.jackson.databind.ObjectMapper createYaml(boolean includePathDeserializer, + boolean includeResponseDeserializer)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIResolver.Settings.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIResolver.Settings.html new file mode 100644 index 0000000000..c53f07487e --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIResolver.Settings.html @@ -0,0 +1,192 @@ + + + + +OpenAPIResolver.Settings (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIResolver.Settings

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.OpenAPIResolver.Settings
    +
    +
    +
    +
    Enclosing class:
    +
    OpenAPIResolver
    +
    +
    +
    public static class OpenAPIResolver.Settings +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Settings

        +
        public Settings()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        addParametersToEachOperation

        +
        public boolean addParametersToEachOperation()
        +
        If true, resource parameters are added to each operation
        +
        +
      • +
      • +
        +

        addParametersToEachOperation

        +
        public OpenAPIResolver.Settings addParametersToEachOperation(boolean addParametersToEachOperation)
        +
        If true, resource parameters are added to each operation
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIResolver.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIResolver.html new file mode 100644 index 0000000000..fa044c45a4 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIResolver.html @@ -0,0 +1,258 @@ + + + + +OpenAPIResolver (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIResolver

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.OpenAPIResolver
    +
    +
    +
    +
    public class OpenAPIResolver +extends Object
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static class 
      + +
       
      +
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi)
      +
       
      +
      OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
      +
       
      +
      OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation)
      +
       
      +
      OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation, + OpenAPIResolver.Settings settings)
      +
       
      +
      OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation, + OpenAPIResolver.Settings settings, + io.swagger.v3.parser.core.models.ParseOptions parseOptions)
      +
       
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
       
      +
      io.swagger.v3.oas.models.OpenAPI
      + +
       
      +
      void
      +
      resolve(io.swagger.v3.parser.core.models.SwaggerParseResult result)
      +
       
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        OpenAPIResolver

        +
        public OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi)
        +
        +
      • +
      • +
        +

        OpenAPIResolver

        +
        public OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
        +
        +
      • +
      • +
        +

        OpenAPIResolver

        +
        public OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation)
        +
        +
      • +
      • +
        +

        OpenAPIResolver

        +
        public OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation, + OpenAPIResolver.Settings settings)
        +
        +
      • +
      • +
        +

        OpenAPIResolver

        +
        public OpenAPIResolver(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation, + OpenAPIResolver.Settings settings, + io.swagger.v3.parser.core.models.ParseOptions parseOptions)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getCache

        +
        public ResolverCache getCache()
        +
        +
      • +
      • +
        +

        resolve

        +
        public void resolve(io.swagger.v3.parser.core.models.SwaggerParseResult result)
        +
        +
      • +
      • +
        +

        resolve

        +
        public io.swagger.v3.oas.models.OpenAPI resolve()
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIV3Parser.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIV3Parser.html new file mode 100644 index 0000000000..a0790bca2d --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/OpenAPIV3Parser.html @@ -0,0 +1,405 @@ + + + + +OpenAPIV3Parser (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIV3Parser

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.OpenAPIV3Parser
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    io.swagger.v3.parser.core.extensions.SwaggerParserExtension
    +
    +
    +
    public class OpenAPIV3Parser +extends Object +implements io.swagger.v3.parser.core.extensions.SwaggerParserExtension
    +
    +
    +
      + +
    • +
      +

      Field Summary

      +
      Fields
      +
      +
      Modifier and Type
      +
      Field
      +
      Description
      +
      static final String
      + +
       
      +
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      static String
      + +
       
      +
      static List<io.swagger.v3.parser.core.extensions.SwaggerParserExtension>
      + +
      +
      Locates extensions on the current thread class loader and then, if it differs from this class classloader (as in + OSGi), locates extensions from this class classloader as well.
      +
      +
      protected static List<io.swagger.v3.parser.core.extensions.SwaggerParserExtension>
      + +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      parseJsonNode(String path, + com.fasterxml.jackson.databind.JsonNode node)
      +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      parseJsonNode(String path, + com.fasterxml.jackson.databind.JsonNode node, + io.swagger.v3.parser.core.models.ParseOptions options)
      +
       
      +
      io.swagger.v3.oas.models.OpenAPI
      +
      read(String location)
      +
       
      +
      io.swagger.v3.oas.models.OpenAPI
      +
      read(String location, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + io.swagger.v3.parser.core.models.ParseOptions resolve)
      +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      + +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      readContents(String swaggerAsString, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
      +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      readContents(String swaggerAsString, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options, + String location)
      +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      readLocation(String url, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
      +
       
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      readWithInfo(String path, + com.fasterxml.jackson.databind.JsonNode node)
      +
      +
      Deprecated.
      +
      +
      io.swagger.v3.parser.core.models.SwaggerParseResult
      +
      readWithInfo(String location, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
      +
      +
      Deprecated.
      +
      +
      static void
      +
      setEncoding(String encoding)
      +
       
      +
      protected List<io.swagger.v3.parser.core.models.AuthorizationValue>
      +
      transform(List<io.swagger.v3.parser.core.models.AuthorizationValue> input)
      +
      +
      Deprecated.
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Field Details

      + +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        OpenAPIV3Parser

        +
        public OpenAPIV3Parser()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getExtensions

        +
        public static List<io.swagger.v3.parser.core.extensions.SwaggerParserExtension> getExtensions()
        +
        Locates extensions on the current thread class loader and then, if it differs from this class classloader (as in + OSGi), locates extensions from this class classloader as well.
        +
        +
        Returns:
        +
        a list of extensions
        +
        +
        +
      • +
      • +
        +

        getExtensions

        +
        protected static List<io.swagger.v3.parser.core.extensions.SwaggerParserExtension> getExtensions(ClassLoader cl)
        +
        +
      • +
      • +
        +

        getEncoding

        +
        public static String getEncoding()
        +
        +
      • +
      • +
        +

        setEncoding

        +
        public static void setEncoding(String encoding)
        +
        +
      • +
      • +
        +

        readLocation

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult readLocation(String url, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
        +
        +
        Specified by:
        +
        readLocation in interface io.swagger.v3.parser.core.extensions.SwaggerParserExtension
        +
        +
        +
      • +
      • +
        +

        readContents

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult readContents(String swaggerAsString, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
        +
        +
        Specified by:
        +
        readContents in interface io.swagger.v3.parser.core.extensions.SwaggerParserExtension
        +
        +
        +
      • +
      • +
        +

        read

        +
        public io.swagger.v3.oas.models.OpenAPI read(String location)
        +
        +
      • +
      • +
        +

        read

        +
        public io.swagger.v3.oas.models.OpenAPI read(String location, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + io.swagger.v3.parser.core.models.ParseOptions resolve)
        +
        +
      • +
      • +
        +

        readWithInfo

        +
        @Deprecated +public io.swagger.v3.parser.core.models.SwaggerParseResult readWithInfo(String path, + com.fasterxml.jackson.databind.JsonNode node)
        +
        Deprecated.
        +
        +
      • +
      • +
        +

        parseJsonNode

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult parseJsonNode(String path, + com.fasterxml.jackson.databind.JsonNode node)
        +
        +
      • +
      • +
        +

        parseJsonNode

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult parseJsonNode(String path, + com.fasterxml.jackson.databind.JsonNode node, + io.swagger.v3.parser.core.models.ParseOptions options)
        +
        +
      • +
      • +
        +

        readContents

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult readContents(String yaml)
        +
        +
      • +
      • +
        +

        readContents

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult readContents(String swaggerAsString, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options, + String location)
        +
        +
      • +
      • +
        +

        readWithInfo

        +
        @Deprecated +public io.swagger.v3.parser.core.models.SwaggerParseResult readWithInfo(String location, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
        +
        Deprecated.
        +
        +
      • +
      • +
        +

        transform

        +
        @Deprecated +protected List<io.swagger.v3.parser.core.models.AuthorizationValue> transform(List<io.swagger.v3.parser.core.models.AuthorizationValue> input)
        +
        Deprecated.
        +
        Transform the swagger-model version of AuthorizationValue into a parser-specific one, to avoid + dependencies across extensions
        +
        +
        Parameters:
        +
        input -
        +
        Returns:
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/ResolverCache.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/ResolverCache.html new file mode 100644 index 0000000000..7989227aa3 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/ResolverCache.html @@ -0,0 +1,353 @@ + + + + +ResolverCache (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ResolverCache

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.ResolverCache
    +
    +
    +
    +
    public class ResolverCache +extends Object
    +
    A class that caches values that have been loaded so we don't have to repeat + expensive operations like: + 1) reading a remote URL with authorization (e.g. using RemoteURL.java) + 2) reading the contents of a file into memory + 3) extracting a sub object from a json/yaml tree + 4) de-serializing json strings into objects
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      +
        +
      • +
        +

        openapi31

        +
        protected boolean openapi31
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ResolverCache

        +
        public ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation)
        +
        +
      • +
      • +
        +

        ResolverCache

        +
        public ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation, + Set<String> resolveValidationMessages)
        +
        +
      • +
      • +
        +

        ResolverCache

        +
        public ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String parentFileLocation, + Set<String> resolveValidationMessages, + io.swagger.v3.parser.core.models.ParseOptions parseOptions)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        loadRef

        +
        public <T> T loadRef(String ref, + RefFormat refFormat, + Class<T> expectedType)
        +
        +
      • +
      • +
        +

        updateLocalRefs

        +
        protected <T> void updateLocalRefs(String file, + T result)
        +
        +
      • +
      • +
        +

        updateLocalRefs

        +
        protected <T> void updateLocalRefs(String file, + io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        merge

        +
        protected String merge(String host, + String ref)
        +
        +
      • +
      • +
        +

        hasReferencedKey

        +
        public boolean hasReferencedKey(String modelKey)
        +
        +
      • +
      • +
        +

        addReferencedKey

        +
        public void addReferencedKey(String modelKey)
        +
        +
      • +
      • +
        +

        getRenamedRef

        +
        public String getRenamedRef(String originalRef)
        +
        +
      • +
      • +
        +

        putRenamedRef

        +
        public void putRenamedRef(String originalRef, + String newRef)
        +
        +
      • +
      • +
        +

        getResolutionCache

        +
        public Map<String,Object> getResolutionCache()
        +
        +
      • +
      • +
        +

        getExternalFileCache

        +
        public Map<String,String> getExternalFileCache()
        +
        +
      • +
      • +
        +

        getRenameCache

        +
        public Map<String,String> getRenameCache()
        +
        +
      • +
      • +
        +

        getParseOptions

        +
        public io.swagger.v3.parser.core.models.ParseOptions getParseOptions()
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/EncodingNotSupportedException.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/EncodingNotSupportedException.html new file mode 100644 index 0000000000..7455f50f22 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/EncodingNotSupportedException.html @@ -0,0 +1,167 @@ + + + + +EncodingNotSupportedException (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class EncodingNotSupportedException

    +
    +
    java.lang.Object +
    java.lang.Throwable +
    java.lang.Exception +
    java.lang.RuntimeException +
    io.swagger.v3.parser.exception.EncodingNotSupportedException
    +
    +
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    public class EncodingNotSupportedException +extends RuntimeException
    +
    +
    See Also:
    +
    + +
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        EncodingNotSupportedException

        +
        public EncodingNotSupportedException(String encoding)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/ReadContentException.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/ReadContentException.html new file mode 100644 index 0000000000..6ee350f4f3 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/ReadContentException.html @@ -0,0 +1,170 @@ + + + + +ReadContentException (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ReadContentException

    +
    +
    java.lang.Object +
    java.lang.Throwable +
    java.lang.Exception +
    java.lang.RuntimeException +
    io.swagger.v3.parser.exception.ReadContentException
    +
    +
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    public class ReadContentException +extends RuntimeException
    +
    Happens when it's unable to read content from file or other resource
    +
    +
    See Also:
    +
    + +
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ReadContentException

        +
        public ReadContentException(String message, + Throwable cause)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/package-summary.html new file mode 100644 index 0000000000..a039d3fabc --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/package-summary.html @@ -0,0 +1,117 @@ + + + + +io.swagger.v3.parser.exception (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser.exception

    +
    +
    +
    package io.swagger.v3.parser.exception
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/package-tree.html new file mode 100644 index 0000000000..a66bb1f733 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/exception/package-tree.html @@ -0,0 +1,85 @@ + + + + +io.swagger.v3.parser.exception Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser.exception

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/JsonSchemaParserExtension.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/JsonSchemaParserExtension.html new file mode 100644 index 0000000000..95c17f0f10 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/JsonSchemaParserExtension.html @@ -0,0 +1,162 @@ + + + + +JsonSchemaParserExtension (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface JsonSchemaParserExtension

    +
    +
    +
    +
    public interface JsonSchemaParserExtension
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      io.swagger.v3.oas.models.media.Schema
      +
      getSchema(com.fasterxml.jackson.databind.JsonNode node, + String location, + OpenAPIDeserializer.ParseResult result, + Map<String,Object> rootMap, + String basePath)
      +
       
      +
      boolean
      +
      resolveSchema(io.swagger.v3.oas.models.media.Schema schema, + ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
      +
       
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getSchema

        +
        io.swagger.v3.oas.models.media.Schema getSchema(com.fasterxml.jackson.databind.JsonNode node, + String location, + OpenAPIDeserializer.ParseResult result, + Map<String,Object> rootMap, + String basePath)
        +
        +
      • +
      • +
        +

        resolveSchema

        +
        boolean resolveSchema(io.swagger.v3.oas.models.media.Schema schema, + ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/package-summary.html new file mode 100644 index 0000000000..3f16ba6654 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/package-summary.html @@ -0,0 +1,113 @@ + + + + +io.swagger.v3.parser.extensions (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser.extensions

    +
    +
    +
    package io.swagger.v3.parser.extensions
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/package-tree.html new file mode 100644 index 0000000000..ca088fe0f7 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/extensions/package-tree.html @@ -0,0 +1,68 @@ + + + + +io.swagger.v3.parser.extensions Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser.extensions

    +Package Hierarchies: + +
    +
    +

    Interface Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/RefFormat.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/RefFormat.html new file mode 100644 index 0000000000..b61e63f6df --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/RefFormat.html @@ -0,0 +1,241 @@ + + + + +RefFormat (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class RefFormat

    +
    +
    java.lang.Object +
    java.lang.Enum<RefFormat> +
    io.swagger.v3.parser.models.RefFormat
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<RefFormat>, Constable
    +
    +
    +
    public enum RefFormat +extends Enum<RefFormat>
    +
    Created by gracekarina on 16/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      +
        +
      • +
        +

        URL

        +
        public static final RefFormat URL
        +
        +
      • +
      • +
        +

        RELATIVE

        +
        public static final RefFormat RELATIVE
        +
        +
      • +
      • +
        +

        INTERNAL

        +
        public static final RefFormat INTERNAL
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static RefFormat[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static RefFormat valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/RefType.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/RefType.html new file mode 100644 index 0000000000..b57ce47fe4 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/RefType.html @@ -0,0 +1,253 @@ + + + + +RefType (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class RefType

    +
    +
    java.lang.Object +
    java.lang.Enum<RefType> +
    io.swagger.v3.parser.models.RefType
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<RefType>, Constable
    +
    +
    +
    public enum RefType +extends Enum<RefType>
    +
    Created by gracekarina on 16/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      +
        +
      • +
        +

        COMPONENTS

        +
        public static final RefType COMPONENTS
        +
        +
      • +
      • +
        +

        SCHEMAS

        +
        public static final RefType SCHEMAS
        +
        +
      • +
      • +
        +

        PATH

        +
        public static final RefType PATH
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static RefType[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static RefType valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      • +
        +

        getInternalPrefix

        +
        public String getInternalPrefix()
        +
        The prefix in an internal reference of this type.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/package-summary.html new file mode 100644 index 0000000000..86f3ca2547 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/package-summary.html @@ -0,0 +1,119 @@ + + + + +io.swagger.v3.parser.models (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser.models

    +
    +
    +
    package io.swagger.v3.parser.models
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/package-tree.html new file mode 100644 index 0000000000..03e23c1adb --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/models/package-tree.html @@ -0,0 +1,77 @@ + + + + +io.swagger.v3.parser.models Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser.models

    +Package Hierarchies: + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/package-summary.html new file mode 100644 index 0000000000..2b376aaed8 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/package-summary.html @@ -0,0 +1,125 @@ + + + + +io.swagger.v3.parser (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser

    +
    +
    +
    package io.swagger.v3.parser
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/package-tree.html new file mode 100644 index 0000000000..f34952f1d7 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/package-tree.html @@ -0,0 +1,76 @@ + + + + +io.swagger.v3.parser Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/CallbackProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/CallbackProcessor.html new file mode 100644 index 0000000000..bd7e4c1085 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/CallbackProcessor.html @@ -0,0 +1,197 @@ + + + + +CallbackProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CallbackProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.CallbackProcessor
    +
    +
    +
    +
    public class CallbackProcessor +extends Object
    +
    Created by gracekarina on 23/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CallbackProcessor

        +
        public CallbackProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        CallbackProcessor

        +
        public CallbackProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processCallback

        +
        public void processCallback(io.swagger.v3.oas.models.callbacks.Callback callback)
        +
        +
      • +
      • +
        +

        processReferenceCallback

        +
        public void processReferenceCallback(io.swagger.v3.oas.models.callbacks.Callback callback)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ComponentsProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ComponentsProcessor.html new file mode 100644 index 0000000000..a101bd151f --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ComponentsProcessor.html @@ -0,0 +1,199 @@ + + + + +ComponentsProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ComponentsProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.ComponentsProcessor
    +
    +
    +
    +
    public class ComponentsProcessor +extends Object
    +
    Created by gracekarina on 13/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ComponentsProcessor

        +
        public ComponentsProcessor(io.swagger.v3.oas.models.OpenAPI openApi, + ResolverCache cache)
        +
        +
      • +
      • +
        +

        ComponentsProcessor

        +
        public ComponentsProcessor(io.swagger.v3.oas.models.OpenAPI openApi, + ResolverCache cache, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processComponents

        +
        public void processComponents()
        +
        +
      • +
      • +
        +

        processSchemas

        +
        public void processSchemas(Set<String> schemaKeys, + Map<String,io.swagger.v3.oas.models.media.Schema> schemas)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ExampleProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ExampleProcessor.html new file mode 100644 index 0000000000..a4b9a59581 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ExampleProcessor.html @@ -0,0 +1,185 @@ + + + + +ExampleProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ExampleProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.ExampleProcessor
    +
    +
    +
    +
    public class ExampleProcessor +extends Object
    +
    Created by gracekarina on 23/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ExampleProcessor

        +
        public ExampleProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processExample

        +
        public void processExample(io.swagger.v3.oas.models.examples.Example example)
        +
        +
      • +
      • +
        +

        processExample

        +
        public void processExample(List<io.swagger.v3.oas.models.examples.Example> examples)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ExternalRefProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ExternalRefProcessor.html new file mode 100644 index 0000000000..87950e3390 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ExternalRefProcessor.html @@ -0,0 +1,298 @@ + + + + +ExternalRefProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ExternalRefProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.ExternalRefProcessor
    +
    +
    +
    +
    public final class ExternalRefProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ExternalRefProcessor

        +
        public ExternalRefProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processRefToExternalSchema

        +
        public String processRefToExternalSchema(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalPathItem

        +
        public io.swagger.v3.oas.models.PathItem processRefToExternalPathItem(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalResponse

        +
        public String processRefToExternalResponse(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalRequestBody

        +
        public String processRefToExternalRequestBody(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalHeader

        +
        public String processRefToExternalHeader(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalSecurityScheme

        +
        public String processRefToExternalSecurityScheme(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalLink

        +
        public String processRefToExternalLink(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalExample

        +
        public String processRefToExternalExample(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalParameter

        +
        public String processRefToExternalParameter(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        processRefToExternalCallback

        +
        public String processRefToExternalCallback(String $ref, + RefFormat refFormat)
        +
        +
      • +
      • +
        +

        constructRef

        +
        protected String constructRef(io.swagger.v3.oas.models.media.Schema refProperty, + String rootLocation)
        +
        +
      • +
      • +
        +

        join

        +
        public static String join(String source, + String fragment)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/HeaderProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/HeaderProcessor.html new file mode 100644 index 0000000000..f2dc5f5d55 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/HeaderProcessor.html @@ -0,0 +1,187 @@ + + + + +HeaderProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class HeaderProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.HeaderProcessor
    +
    +
    +
    +
    public class HeaderProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        HeaderProcessor

        +
        public HeaderProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        HeaderProcessor

        +
        public HeaderProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processHeader

        +
        public void processHeader(io.swagger.v3.oas.models.headers.Header header)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/LinkProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/LinkProcessor.html new file mode 100644 index 0000000000..cccc99332d --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/LinkProcessor.html @@ -0,0 +1,188 @@ + + + + +LinkProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class LinkProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.LinkProcessor
    +
    +
    +
    +
    public class LinkProcessor +extends Object
    +
    Created by gracekarina on 23/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        LinkProcessor

        +
        public LinkProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        LinkProcessor

        +
        public LinkProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processLink

        +
        public void processLink(io.swagger.v3.oas.models.links.Link link)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/OperationProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/OperationProcessor.html new file mode 100644 index 0000000000..3de3345e03 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/OperationProcessor.html @@ -0,0 +1,187 @@ + + + + +OperationProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OperationProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.OperationProcessor
    +
    +
    +
    +
    public class OperationProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        OperationProcessor

        +
        public OperationProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        OperationProcessor

        +
        public OperationProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processOperation

        +
        public void processOperation(io.swagger.v3.oas.models.Operation operation)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ParameterProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ParameterProcessor.html new file mode 100644 index 0000000000..1b42660f1d --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ParameterProcessor.html @@ -0,0 +1,196 @@ + + + + +ParameterProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ParameterProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.ParameterProcessor
    +
    +
    +
    +
    public class ParameterProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ParameterProcessor

        +
        public ParameterProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        ParameterProcessor

        +
        public ParameterProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processParameter

        +
        public void processParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
        +
        +
      • +
      • +
        +

        processParameters

        +
        public List<io.swagger.v3.oas.models.parameters.Parameter> processParameters(List<io.swagger.v3.oas.models.parameters.Parameter> parameters)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/PathsProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/PathsProcessor.html new file mode 100644 index 0000000000..71b2a9c027 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/PathsProcessor.html @@ -0,0 +1,327 @@ + + + + +PathsProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class PathsProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.PathsProcessor
    +
    +
    +
    +
    public class PathsProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        PathsProcessor

        +
        public PathsProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        PathsProcessor

        +
        public PathsProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + OpenAPIResolver.Settings settings)
        +
        +
      • +
      • +
        +

        PathsProcessor

        +
        public PathsProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + OpenAPIResolver.Settings settings, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processPaths

        +
        public void processPaths()
        +
        +
      • +
      • +
        +

        updateRefs

        +
        protected void updateRefs(io.swagger.v3.oas.models.PathItem path, + String pathRef)
        +
        +
      • +
      • +
        +

        updateRefs

        +
        protected void updateRefs(io.swagger.v3.oas.models.responses.ApiResponse response, + String pathRef)
        +
        +
      • +
      • +
        +

        updateRefs

        +
        protected void updateRefs(io.swagger.v3.oas.models.examples.Example example, + String pathRef)
        +
        +
      • +
      • +
        +

        updateRefs

        +
        protected void updateRefs(io.swagger.v3.oas.models.parameters.Parameter param, + String pathRef)
        +
        +
      • +
      • +
        +

        updateRefs

        +
        protected void updateRefs(io.swagger.v3.oas.models.parameters.RequestBody body, + String pathRef)
        +
        +
      • +
      • +
        +

        updateRefs

        +
        protected void updateRefs(io.swagger.v3.oas.models.media.Schema model, + String pathRef)
        +
        +
      • +
      • +
        +

        isLocalRef

        +
        protected boolean isLocalRef(String ref)
        +
        +
      • +
      • +
        +

        isAbsoluteRef

        +
        protected boolean isAbsoluteRef(String ref)
        +
        +
      • +
      • +
        +

        computeRef

        +
        protected String computeRef(String ref, + String prefix)
        +
        +
      • +
      • +
        +

        computeRelativeRef

        +
        protected String computeRelativeRef(String ref, + String prefix)
        +
        +
      • +
      • +
        +

        computeLocalRef

        +
        protected String computeLocalRef(String ref, + String prefix)
        +
        +
      • +
      • +
        +

        processReferencePath

        +
        public io.swagger.v3.oas.models.PathItem processReferencePath(io.swagger.v3.oas.models.PathItem pathItem)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/RequestBodyProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/RequestBodyProcessor.html new file mode 100644 index 0000000000..7eafd1f97b --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/RequestBodyProcessor.html @@ -0,0 +1,197 @@ + + + + +RequestBodyProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class RequestBodyProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.RequestBodyProcessor
    +
    +
    +
    +
    public class RequestBodyProcessor +extends Object
    +
    Created by gracekarina on 20/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        RequestBodyProcessor

        +
        public RequestBodyProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        RequestBodyProcessor

        +
        public RequestBodyProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processRequestBody

        +
        public void processRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
        +
        +
      • +
      • +
        +

        processReferenceRequestBody

        +
        public void processReferenceRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ResponseProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ResponseProcessor.html new file mode 100644 index 0000000000..004e37c985 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/ResponseProcessor.html @@ -0,0 +1,196 @@ + + + + +ResponseProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ResponseProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.ResponseProcessor
    +
    +
    +
    +
    public class ResponseProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ResponseProcessor

        +
        public ResponseProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        ResponseProcessor

        +
        public ResponseProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processResponse

        +
        public void processResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
        +
        +
      • +
      • +
        +

        processReferenceResponse

        +
        public void processReferenceResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/SchemaProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/SchemaProcessor.html new file mode 100644 index 0000000000..0cad3852d4 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/SchemaProcessor.html @@ -0,0 +1,223 @@ + + + + +SchemaProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class SchemaProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.SchemaProcessor
    +
    +
    +
    +
    public class SchemaProcessor +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        SchemaProcessor

        +
        public SchemaProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        SchemaProcessor

        +
        public SchemaProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI, + boolean openapi31)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processSchema

        +
        public void processSchema(io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        processSchemaType

        +
        public void processSchemaType(io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        processPropertySchema

        +
        public void processPropertySchema(io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        processComposedSchema

        +
        public void processComposedSchema(io.swagger.v3.oas.models.media.ComposedSchema composedSchema)
        +
        +
      • +
      • +
        +

        processArraySchema

        +
        public void processArraySchema(io.swagger.v3.oas.models.media.ArraySchema arraySchema)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/SecuritySchemeProcessor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/SecuritySchemeProcessor.html new file mode 100644 index 0000000000..51dbd7b4d5 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/SecuritySchemeProcessor.html @@ -0,0 +1,176 @@ + + + + +SecuritySchemeProcessor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class SecuritySchemeProcessor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.processors.SecuritySchemeProcessor
    +
    +
    +
    +
    public class SecuritySchemeProcessor +extends Object
    +
    Created by gracekarina on 23/06/17.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        SecuritySchemeProcessor

        +
        public SecuritySchemeProcessor(ResolverCache cache, + io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        processSecurityScheme

        +
        public io.swagger.v3.oas.models.security.SecurityScheme processSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/package-summary.html new file mode 100644 index 0000000000..bc9e68a5b7 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/package-summary.html @@ -0,0 +1,149 @@ + + + + +io.swagger.v3.parser.processors (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser.processors

    +
    +
    +
    package io.swagger.v3.parser.processors
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/package-tree.html new file mode 100644 index 0000000000..b21bdc1630 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/processors/package-tree.html @@ -0,0 +1,84 @@ + + + + +io.swagger.v3.parser.processors Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser.processors

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/AbstractVisitor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/AbstractVisitor.html new file mode 100644 index 0000000000..7933618075 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/AbstractVisitor.html @@ -0,0 +1,386 @@ + + + + +AbstractVisitor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class AbstractVisitor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.AbstractVisitor
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Visitor
    +
    +
    +
    Direct Known Subclasses:
    +
    ReferenceVisitor
    +
    +
    +
    public abstract class AbstractVisitor +extends Object +implements Visitor
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      io.swagger.v3.oas.models.Components
      +
      visitComponents(io.swagger.v3.oas.models.Components components)
      +
       
      +
      io.swagger.v3.oas.models.media.Encoding
      +
      visitEncoding(io.swagger.v3.oas.models.media.Encoding encoding)
      +
       
      +
      io.swagger.v3.oas.models.examples.Example
      +
      visitExample(io.swagger.v3.oas.models.examples.Example example)
      +
       
      +
      io.swagger.v3.oas.models.headers.Header
      +
      visitHeader(io.swagger.v3.oas.models.headers.Header header)
      +
       
      +
      io.swagger.v3.oas.models.links.Link
      +
      visitLink(io.swagger.v3.oas.models.links.Link link)
      +
       
      +
      io.swagger.v3.oas.models.media.MediaType
      +
      visitMediaType(io.swagger.v3.oas.models.media.MediaType mediaType)
      +
       
      +
      io.swagger.v3.oas.models.OpenAPI
      +
      visitOpenApi(io.swagger.v3.oas.models.OpenAPI openAPI)
      +
       
      +
      io.swagger.v3.oas.models.Operation
      +
      visitOperation(io.swagger.v3.oas.models.Operation operation)
      +
       
      +
      io.swagger.v3.oas.models.parameters.Parameter
      +
      visitParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
      +
       
      +
      io.swagger.v3.oas.models.PathItem
      +
      visitPathItem(io.swagger.v3.oas.models.PathItem pathItem)
      +
       
      +
      io.swagger.v3.oas.models.Paths
      +
      visitPaths(io.swagger.v3.oas.models.Paths paths)
      +
       
      +
      io.swagger.v3.oas.models.parameters.RequestBody
      +
      visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
      +
       
      +
      io.swagger.v3.oas.models.responses.ApiResponse
      +
      visitResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
      +
       
      +
      io.swagger.v3.oas.models.responses.ApiResponses
      +
      visitResponses(io.swagger.v3.oas.models.responses.ApiResponses responses)
      +
       
      +
      io.swagger.v3.oas.models.media.Schema
      +
      visitSchema(io.swagger.v3.oas.models.media.Schema schema, + List<String> inheritedIds)
      +
       
      +
      io.swagger.v3.oas.models.security.SecurityScheme
      +
      visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme)
      +
       
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +

      Methods inherited from interface io.swagger.v3.parser.reference.Visitor

      +readClasspath, readFile, readHttp, readURI
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        AbstractVisitor

        +
        public AbstractVisitor()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        visitOpenApi

        +
        public io.swagger.v3.oas.models.OpenAPI visitOpenApi(io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
        Specified by:
        +
        visitOpenApi in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitPaths

        +
        public io.swagger.v3.oas.models.Paths visitPaths(io.swagger.v3.oas.models.Paths paths)
        +
        +
        Specified by:
        +
        visitPaths in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitComponents

        +
        public io.swagger.v3.oas.models.Components visitComponents(io.swagger.v3.oas.models.Components components)
        +
        +
        Specified by:
        +
        visitComponents in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitPathItem

        +
        public io.swagger.v3.oas.models.PathItem visitPathItem(io.swagger.v3.oas.models.PathItem pathItem)
        +
        +
        Specified by:
        +
        visitPathItem in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitParameter

        +
        public io.swagger.v3.oas.models.parameters.Parameter visitParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
        +
        +
        Specified by:
        +
        visitParameter in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitOperation

        +
        public io.swagger.v3.oas.models.Operation visitOperation(io.swagger.v3.oas.models.Operation operation)
        +
        +
        Specified by:
        +
        visitOperation in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitSchema

        +
        public io.swagger.v3.oas.models.media.Schema visitSchema(io.swagger.v3.oas.models.media.Schema schema, + List<String> inheritedIds)
        +
        +
        Specified by:
        +
        visitSchema in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitResponse

        +
        public io.swagger.v3.oas.models.responses.ApiResponse visitResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
        +
        +
        Specified by:
        +
        visitResponse in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitRequestBody

        +
        public io.swagger.v3.oas.models.parameters.RequestBody visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
        +
        +
        Specified by:
        +
        visitRequestBody in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitLink

        +
        public io.swagger.v3.oas.models.links.Link visitLink(io.swagger.v3.oas.models.links.Link link)
        +
        +
        Specified by:
        +
        visitLink in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitSecurityScheme

        +
        public io.swagger.v3.oas.models.security.SecurityScheme visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme)
        +
        +
        Specified by:
        +
        visitSecurityScheme in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitResponses

        +
        public io.swagger.v3.oas.models.responses.ApiResponses visitResponses(io.swagger.v3.oas.models.responses.ApiResponses responses)
        +
        +
        Specified by:
        +
        visitResponses in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitMediaType

        +
        public io.swagger.v3.oas.models.media.MediaType visitMediaType(io.swagger.v3.oas.models.media.MediaType mediaType)
        +
        +
        Specified by:
        +
        visitMediaType in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitEncoding

        +
        public io.swagger.v3.oas.models.media.Encoding visitEncoding(io.swagger.v3.oas.models.media.Encoding encoding)
        +
        +
        Specified by:
        +
        visitEncoding in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitHeader

        +
        public io.swagger.v3.oas.models.headers.Header visitHeader(io.swagger.v3.oas.models.headers.Header header)
        +
        +
        Specified by:
        +
        visitHeader in interface Visitor
        +
        +
        +
      • +
      • +
        +

        visitExample

        +
        public io.swagger.v3.oas.models.examples.Example visitExample(io.swagger.v3.oas.models.examples.Example example)
        +
        +
        Specified by:
        +
        visitExample in interface Visitor
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/DereferencerContext.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/DereferencerContext.html new file mode 100644 index 0000000000..b4a36aa784 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/DereferencerContext.html @@ -0,0 +1,430 @@ + + + + +DereferencerContext (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class DereferencerContext

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.DereferencerContext
    +
    +
    +
    +
    public class DereferencerContext +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      +
        +
      • +
        +

        openApi

        +
        protected final io.swagger.v3.oas.models.OpenAPI openApi
        +
        +
      • +
      • +
        +

        auths

        +
        protected final List<io.swagger.v3.parser.core.models.AuthorizationValue> auths
        +
        +
      • +
      • +
        +

        rootUri

        +
        protected String rootUri
        +
        +
      • +
      • +
        +

        parseOptions

        +
        protected final io.swagger.v3.parser.core.models.ParseOptions parseOptions
        +
        +
      • +
      • +
        +

        providedBaseUri

        +
        protected String providedBaseUri
        +
        +
      • +
      • +
        +

        swaggerParseResult

        +
        protected io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult
        +
        +
      • +
      • +
        +

        addParametersToEachOperation

        +
        protected boolean addParametersToEachOperation
        +
        +
      • +
      • +
        +

        currentUri

        +
        protected String currentUri
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        DereferencerContext

        +
        public DereferencerContext(io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String rootUri, + io.swagger.v3.parser.core.models.ParseOptions parseOptions, + String providedBaseUri, + Map<String,Reference> referenceSet, + Boolean addParametersToEachOperation)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getOpenApi

        +
        public io.swagger.v3.oas.models.OpenAPI getOpenApi()
        +
        +
      • +
      • +
        +

        getAuths

        +
        public List<io.swagger.v3.parser.core.models.AuthorizationValue> getAuths()
        +
        +
      • +
      • +
        +

        getRootUri

        +
        public String getRootUri()
        +
        +
      • +
      • +
        +

        getParseOptions

        +
        public io.swagger.v3.parser.core.models.ParseOptions getParseOptions()
        +
        +
      • +
      • +
        +

        getProvidedBaseUri

        +
        public String getProvidedBaseUri()
        +
        +
      • +
      • +
        +

        getSwaggerParseResult

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult getSwaggerParseResult()
        +
        +
      • +
      • +
        +

        isAddParametersToEachOperation

        +
        public boolean isAddParametersToEachOperation()
        +
        +
      • +
      • +
        +

        setAddParametersToEachOperation

        +
        public void setAddParametersToEachOperation(boolean addParametersToEachOperation)
        +
        +
      • +
      • +
        +

        getCurrentUri

        +
        public String getCurrentUri()
        +
        +
      • +
      • +
        +

        setCurrentUri

        +
        public void setCurrentUri(String currentUri)
        +
        +
      • +
      • +
        +

        providedBaseUri

        +
        public DereferencerContext providedBaseUri(String providedBaseUri)
        +
        +
      • +
      • +
        +

        swaggerParseResult

        +
        public DereferencerContext swaggerParseResult(io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult)
        +
        +
      • +
      • +
        +

        addParametersToEachOperation

        +
        public DereferencerContext addParametersToEachOperation(boolean addParametersToEachOperation)
        +
        +
      • +
      • +
        +

        currentUri

        +
        public DereferencerContext currentUri(String currentUri)
        +
        +
      • +
      • +
        +

        getReferenceSet

        +
        public Map<String,Reference> getReferenceSet()
        +
        +
      • +
      • +
        +

        setReferenceSet

        +
        public void setReferenceSet(Map<String,Reference> referenceSet)
        +
        +
      • +
      • +
        +

        referenceSet

        +
        public DereferencerContext referenceSet(Map<String,Reference> referenceSet)
        +
        +
      • +
      • +
        +

        rootUri

        +
        public DereferencerContext rootUri(String rootUri)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/DereferencersFactory.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/DereferencersFactory.html new file mode 100644 index 0000000000..9a04a8683d --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/DereferencersFactory.html @@ -0,0 +1,173 @@ + + + + +DereferencersFactory (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class DereferencersFactory

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.DereferencersFactory
    +
    +
    +
    +
    public class DereferencersFactory +extends Object
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPI31Traverser.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPI31Traverser.html new file mode 100644 index 0000000000..3a8fa95db5 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPI31Traverser.html @@ -0,0 +1,541 @@ + + + + +OpenAPI31Traverser (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPI31Traverser

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.OpenAPI31Traverser
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Traverser
    +
    +
    +
    public class OpenAPI31Traverser +extends Object +implements Traverser
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      + +
      +
    • + +
    • +
      +

      Constructor Details

      + +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getContext

        +
        public DereferencerContext getContext()
        +
        +
      • +
      • +
        +

        setContext

        +
        public void setContext(DereferencerContext context)
        +
        +
      • +
      • +
        +

        context

        +
        public OpenAPI31Traverser context(DereferencerContext context)
        +
        +
      • +
      • +
        +

        traverse

        +
        public io.swagger.v3.oas.models.OpenAPI traverse(io.swagger.v3.oas.models.OpenAPI openAPI, + Visitor visitor) + throws Exception
        +
        +
        Specified by:
        +
        traverse in interface Traverser
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        deserializeFragment

        +
        public <T> T deserializeFragment(com.fasterxml.jackson.databind.JsonNode node, + Class<T> expectedType, + String uri, + String fragment, + Set<String> validationMessages)
        +
        +
      • +
      • +
        +

        traverseOpenApi

        +
        public io.swagger.v3.oas.models.OpenAPI traverseOpenApi(io.swagger.v3.oas.models.OpenAPI openAPI, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseComponents

        +
        public io.swagger.v3.oas.models.Components traverseComponents(io.swagger.v3.oas.models.Components components, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traversePaths

        +
        public io.swagger.v3.oas.models.Paths traversePaths(io.swagger.v3.oas.models.Paths paths, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseOperation

        +
        public io.swagger.v3.oas.models.Operation traverseOperation(io.swagger.v3.oas.models.Operation operation, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseResponses

        +
        public io.swagger.v3.oas.models.responses.ApiResponses traverseResponses(io.swagger.v3.oas.models.responses.ApiResponses responses, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseResponse

        +
        public io.swagger.v3.oas.models.responses.ApiResponse traverseResponse(io.swagger.v3.oas.models.responses.ApiResponse response, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseRequestBody

        +
        public io.swagger.v3.oas.models.parameters.RequestBody traverseRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traversePathItem

        +
        public io.swagger.v3.oas.models.PathItem traversePathItem(io.swagger.v3.oas.models.PathItem pathItem, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseParameter

        +
        public io.swagger.v3.oas.models.parameters.Parameter traverseParameter(io.swagger.v3.oas.models.parameters.Parameter parameter, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseExample

        +
        public io.swagger.v3.oas.models.examples.Example traverseExample(io.swagger.v3.oas.models.examples.Example example, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseCallback

        +
        public io.swagger.v3.oas.models.callbacks.Callback traverseCallback(io.swagger.v3.oas.models.callbacks.Callback callback, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseMediaType

        +
        public io.swagger.v3.oas.models.media.MediaType traverseMediaType(io.swagger.v3.oas.models.media.MediaType mediaType, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseEncoding

        +
        public io.swagger.v3.oas.models.media.Encoding traverseEncoding(io.swagger.v3.oas.models.media.Encoding encoding, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseHeader

        +
        public io.swagger.v3.oas.models.headers.Header traverseHeader(io.swagger.v3.oas.models.headers.Header header, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseSecurityScheme

        +
        public io.swagger.v3.oas.models.security.SecurityScheme traverseSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseLink

        +
        public io.swagger.v3.oas.models.links.Link traverseLink(io.swagger.v3.oas.models.links.Link link, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        traverseSchema

        +
        public io.swagger.v3.oas.models.media.Schema traverseSchema(io.swagger.v3.oas.models.media.Schema schema, + ReferenceVisitor visitor, + List<String> inheritedIds)
        +
        +
      • +
      • +
        +

        deepcopy

        +
        public <T> T deepcopy(T entity, + Class<T> clazz)
        +
        +
      • +
      • +
        +

        traverseMap

        +
        public <T> void traverseMap(Map<String,T> map, + ReferenceVisitor visitor, + BiFunction<T,ReferenceVisitor,T> traverser)
        +
        +
      • +
      • +
        +

        traverseSchemaMap

        +
        public void traverseSchemaMap(Map<String,io.swagger.v3.oas.models.media.Schema> map, + ReferenceVisitor visitor, + List<String> inheritedIds)
        +
        +
      • +
      • +
        +

        handleRootLocalRefs

        +
        public <T> T handleRootLocalRefs(String ref, + T entity, + Map<String,T> map)
        +
        +
      • +
      • +
        +

        shouldHandleRootLocalRefs

        +
        public boolean shouldHandleRootLocalRefs(boolean resolvedNotNull, + String ref, + ReferenceVisitor visitor)
        +
        +
      • +
      • +
        +

        ensureComponents

        +
        public void ensureComponents(io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        mergeSchemas

        +
        public void mergeSchemas(io.swagger.v3.oas.models.media.Schema source, + io.swagger.v3.oas.models.media.Schema target)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPIDereferencer.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPIDereferencer.html new file mode 100644 index 0000000000..eda26ca155 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPIDereferencer.html @@ -0,0 +1,176 @@ + + + + +OpenAPIDereferencer (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface OpenAPIDereferencer

    +
    +
    +
    +
    All Known Implementing Classes:
    +
    OpenAPIDereferencer31
    +
    +
    +
    public interface OpenAPIDereferencer
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPIDereferencer31.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPIDereferencer31.html new file mode 100644 index 0000000000..124a365e85 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/OpenAPIDereferencer31.html @@ -0,0 +1,256 @@ + + + + +OpenAPIDereferencer31 (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIDereferencer31

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.OpenAPIDereferencer31
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    OpenAPIDereferencer
    +
    +
    +
    public class OpenAPIDereferencer31 +extends Object +implements OpenAPIDereferencer
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Reference.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Reference.html new file mode 100644 index 0000000000..3095b89e43 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Reference.html @@ -0,0 +1,353 @@ + + + + +Reference (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class Reference

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.Reference
    +
    +
    +
    +
    public class Reference +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Reference

        +
        public Reference()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getUri

        +
        public String getUri()
        +
        +
      • +
      • +
        +

        setUri

        +
        public void setUri(String uri)
        +
        +
      • +
      • +
        +

        getDepth

        +
        public int getDepth()
        +
        +
      • +
      • +
        +

        setDepth

        +
        public void setDepth(int depth)
        +
        +
      • +
      • +
        +

        getValue

        +
        public Object getValue()
        +
        +
      • +
      • +
        +

        setValue

        +
        public void setValue(Object value)
        +
        +
      • +
      • +
        +

        getMessages

        +
        public Set<String> getMessages()
        +
        +
      • +
      • +
        +

        setMessages

        +
        public void setMessages(Set<String> messages)
        +
        +
      • +
      • +
        +

        getReferenceSet

        +
        public Map<String,Reference> getReferenceSet()
        +
        +
      • +
      • +
        +

        setReferenceSet

        +
        public void setReferenceSet(Map<String,Reference> referenceSet)
        +
        +
      • +
      • +
        +

        uri

        +
        public Reference uri(String uri)
        +
        +
      • +
      • +
        +

        depth

        +
        public Reference depth(int depth)
        +
        +
      • +
      • +
        +

        value

        +
        public Reference value(Object value)
        +
        +
      • +
      • +
        +

        messages

        +
        public Reference messages(Set<String> messages)
        +
        +
      • +
      • +
        +

        referenceSet

        +
        public Reference referenceSet(Map<String,Reference> referenceSet)
        +
        +
      • +
      • +
        +

        getAuths

        +
        public List<io.swagger.v3.parser.core.models.AuthorizationValue> getAuths()
        +
        +
      • +
      • +
        +

        setAuths

        +
        public void setAuths(List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
        +
        +
      • +
      • +
        +

        auths

        +
        public Reference auths(List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
        +
        +
      • +
      • +
        +

        getJsonNode

        +
        public com.fasterxml.jackson.databind.JsonNode getJsonNode()
        +
        +
      • +
      • +
        +

        setJsonNode

        +
        public void setJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode)
        +
        +
      • +
      • +
        +

        jsonNode

        +
        public Reference jsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/ReferenceUtils.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/ReferenceUtils.html new file mode 100644 index 0000000000..114c851883 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/ReferenceUtils.html @@ -0,0 +1,275 @@ + + + + +ReferenceUtils (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ReferenceUtils

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.ReferenceUtils
    +
    +
    +
    +
    public class ReferenceUtils +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ReferenceUtils

        +
        public ReferenceUtils()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toBaseURI

        +
        public static String toBaseURI(String uri) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        getFragment

        +
        public static String getFragment(String uri) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        resolve

        +
        public static String resolve(String uri, + String baseURI) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        isLocalRef

        +
        public static boolean isLocalRef(String ref)
        +
        +
      • +
      • +
        +

        isLocalRefToComponents

        +
        public static boolean isLocalRefToComponents(String ref)
        +
        +
      • +
      • +
        +

        isAnchorRef

        +
        public static boolean isAnchorRef(String ref)
        +
        +
      • +
      • +
        +

        isAnchor

        +
        public static boolean isAnchor(String ref)
        +
        +
      • +
      • +
        +

        unescapePointer

        +
        public static String unescapePointer(String jsonPathElement)
        +
        +
      • +
      • +
        +

        jsonPointerEvaluate

        +
        public static com.fasterxml.jackson.databind.JsonNode jsonPointerEvaluate(String fragment, + com.fasterxml.jackson.databind.JsonNode tree, + String uri)
        +
        +
      • +
      • +
        +

        getRefName

        +
        public static String getRefName(String uri)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/ReferenceVisitor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/ReferenceVisitor.html new file mode 100644 index 0000000000..74b26ce565 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/ReferenceVisitor.html @@ -0,0 +1,488 @@ + + + + +ReferenceVisitor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ReferenceVisitor

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.reference.AbstractVisitor +
    io.swagger.v3.parser.reference.ReferenceVisitor
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Visitor
    +
    +
    +
    public class ReferenceVisitor +extends AbstractVisitor
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      + +
      +
    • + +
    • +
      +

      Constructor Details

      + +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toBaseURI

        +
        public String toBaseURI(String uri) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        toReference

        +
        public Reference toReference(String uri) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        toSchemaReference

        +
        public Reference toSchemaReference(String baseUri, + com.fasterxml.jackson.databind.JsonNode node) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        visitPathItem

        +
        public io.swagger.v3.oas.models.PathItem visitPathItem(io.swagger.v3.oas.models.PathItem pathItem)
        +
        +
        Specified by:
        +
        visitPathItem in interface Visitor
        +
        Overrides:
        +
        visitPathItem in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitParameter

        +
        public io.swagger.v3.oas.models.parameters.Parameter visitParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
        +
        +
        Specified by:
        +
        visitParameter in interface Visitor
        +
        Overrides:
        +
        visitParameter in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitExample

        +
        public io.swagger.v3.oas.models.examples.Example visitExample(io.swagger.v3.oas.models.examples.Example example)
        +
        +
        Specified by:
        +
        visitExample in interface Visitor
        +
        Overrides:
        +
        visitExample in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitSchema

        +
        public io.swagger.v3.oas.models.media.Schema visitSchema(io.swagger.v3.oas.models.media.Schema schema, + List<String> inheritedIds)
        +
        +
        Specified by:
        +
        visitSchema in interface Visitor
        +
        Overrides:
        +
        visitSchema in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitResponse

        +
        public io.swagger.v3.oas.models.responses.ApiResponse visitResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
        +
        +
        Specified by:
        +
        visitResponse in interface Visitor
        +
        Overrides:
        +
        visitResponse in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitRequestBody

        +
        public io.swagger.v3.oas.models.parameters.RequestBody visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
        +
        +
        Specified by:
        +
        visitRequestBody in interface Visitor
        +
        Overrides:
        +
        visitRequestBody in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitLink

        +
        public io.swagger.v3.oas.models.links.Link visitLink(io.swagger.v3.oas.models.links.Link link)
        +
        +
        Specified by:
        +
        visitLink in interface Visitor
        +
        Overrides:
        +
        visitLink in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitSecurityScheme

        +
        public io.swagger.v3.oas.models.security.SecurityScheme visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme)
        +
        +
        Specified by:
        +
        visitSecurityScheme in interface Visitor
        +
        Overrides:
        +
        visitSecurityScheme in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        visitHeader

        +
        public io.swagger.v3.oas.models.headers.Header visitHeader(io.swagger.v3.oas.models.headers.Header header)
        +
        +
        Specified by:
        +
        visitHeader in interface Visitor
        +
        Overrides:
        +
        visitHeader in class AbstractVisitor
        +
        +
        +
      • +
      • +
        +

        resolveRef

        +
        public <T> T resolveRef(T visiting, + String ref, + Class<T> clazz, + BiFunction<T,ReferenceVisitor,T> traverseFunction)
        +
        +
      • +
      • +
        +

        resolveSchemaRef

        +
        public io.swagger.v3.oas.models.media.Schema resolveSchemaRef(io.swagger.v3.oas.models.media.Schema visiting, + String ref, + List<String> inheritedIds)
        +
        +
      • +
      • +
        +

        findAnchor

        +
        public com.fasterxml.jackson.databind.JsonNode findAnchor(com.fasterxml.jackson.databind.JsonNode root, + String anchor)
        +
        +
      • +
      • +
        +

        deserializeIntoTree

        +
        public com.fasterxml.jackson.databind.JsonNode deserializeIntoTree(String content) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        parse

        +
        public com.fasterxml.jackson.databind.JsonNode parse(String absoluteUri, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Traverser.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Traverser.html new file mode 100644 index 0000000000..bf3d6b81ef --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Traverser.html @@ -0,0 +1,150 @@ + + + + +Traverser (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface Traverser

    +
    +
    +
    +
    All Known Implementing Classes:
    +
    OpenAPI31Traverser
    +
    +
    +
    public interface Traverser
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      io.swagger.v3.oas.models.OpenAPI
      +
      traverse(io.swagger.v3.oas.models.OpenAPI openAPI, + Visitor visitor)
      +
       
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        traverse

        +
        io.swagger.v3.oas.models.OpenAPI traverse(io.swagger.v3.oas.models.OpenAPI openAPI, + Visitor visitor) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Visitor.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Visitor.html new file mode 100644 index 0000000000..861c8436fd --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/Visitor.html @@ -0,0 +1,340 @@ + + + + +Visitor (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface Visitor

    +
    +
    +
    +
    All Known Implementing Classes:
    +
    AbstractVisitor, ReferenceVisitor
    +
    +
    +
    public interface Visitor
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      default String
      + +
       
      +
      default String
      + +
       
      +
      default String
      +
      readHttp(String uri, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
      +
       
      +
      default String
      +
      readURI(String absoluteUri, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths)
      +
       
      +
      io.swagger.v3.oas.models.Components
      +
      visitComponents(io.swagger.v3.oas.models.Components components)
      +
       
      +
      io.swagger.v3.oas.models.media.Encoding
      +
      visitEncoding(io.swagger.v3.oas.models.media.Encoding encoding)
      +
       
      +
      io.swagger.v3.oas.models.examples.Example
      +
      visitExample(io.swagger.v3.oas.models.examples.Example example)
      +
       
      +
      io.swagger.v3.oas.models.headers.Header
      +
      visitHeader(io.swagger.v3.oas.models.headers.Header header)
      +
       
      +
      io.swagger.v3.oas.models.links.Link
      +
      visitLink(io.swagger.v3.oas.models.links.Link link)
      +
       
      +
      io.swagger.v3.oas.models.media.MediaType
      +
      visitMediaType(io.swagger.v3.oas.models.media.MediaType mediaType)
      +
       
      +
      io.swagger.v3.oas.models.OpenAPI
      +
      visitOpenApi(io.swagger.v3.oas.models.OpenAPI openAPI)
      +
       
      +
      io.swagger.v3.oas.models.Operation
      +
      visitOperation(io.swagger.v3.oas.models.Operation operation)
      +
       
      +
      io.swagger.v3.oas.models.parameters.Parameter
      +
      visitParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
      +
       
      +
      io.swagger.v3.oas.models.PathItem
      +
      visitPathItem(io.swagger.v3.oas.models.PathItem pathItem)
      +
       
      +
      io.swagger.v3.oas.models.Paths
      +
      visitPaths(io.swagger.v3.oas.models.Paths paths)
      +
       
      +
      io.swagger.v3.oas.models.parameters.RequestBody
      +
      visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
      +
       
      +
      io.swagger.v3.oas.models.responses.ApiResponse
      +
      visitResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
      +
       
      +
      io.swagger.v3.oas.models.responses.ApiResponses
      +
      visitResponses(io.swagger.v3.oas.models.responses.ApiResponses responses)
      +
       
      +
      io.swagger.v3.oas.models.media.Schema
      +
      visitSchema(io.swagger.v3.oas.models.media.Schema schema, + List<String> inheritedIds)
      +
       
      +
      io.swagger.v3.oas.models.security.SecurityScheme
      +
      visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme)
      +
       
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        visitOpenApi

        +
        io.swagger.v3.oas.models.OpenAPI visitOpenApi(io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        visitPaths

        +
        io.swagger.v3.oas.models.Paths visitPaths(io.swagger.v3.oas.models.Paths paths)
        +
        +
      • +
      • +
        +

        visitComponents

        +
        io.swagger.v3.oas.models.Components visitComponents(io.swagger.v3.oas.models.Components components)
        +
        +
      • +
      • +
        +

        visitPathItem

        +
        io.swagger.v3.oas.models.PathItem visitPathItem(io.swagger.v3.oas.models.PathItem pathItem)
        +
        +
      • +
      • +
        +

        visitParameter

        +
        io.swagger.v3.oas.models.parameters.Parameter visitParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
        +
        +
      • +
      • +
        +

        visitOperation

        +
        io.swagger.v3.oas.models.Operation visitOperation(io.swagger.v3.oas.models.Operation operation)
        +
        +
      • +
      • +
        +

        visitSchema

        +
        io.swagger.v3.oas.models.media.Schema visitSchema(io.swagger.v3.oas.models.media.Schema schema, + List<String> inheritedIds)
        +
        +
      • +
      • +
        +

        visitResponse

        +
        io.swagger.v3.oas.models.responses.ApiResponse visitResponse(io.swagger.v3.oas.models.responses.ApiResponse response)
        +
        +
      • +
      • +
        +

        visitRequestBody

        +
        io.swagger.v3.oas.models.parameters.RequestBody visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
        +
        +
      • +
      • +
        +

        visitLink

        +
        io.swagger.v3.oas.models.links.Link visitLink(io.swagger.v3.oas.models.links.Link link)
        +
        +
      • +
      • +
        +

        visitSecurityScheme

        +
        io.swagger.v3.oas.models.security.SecurityScheme visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme securityScheme)
        +
        +
      • +
      • +
        +

        visitResponses

        +
        io.swagger.v3.oas.models.responses.ApiResponses visitResponses(io.swagger.v3.oas.models.responses.ApiResponses responses)
        +
        +
      • +
      • +
        +

        visitMediaType

        +
        io.swagger.v3.oas.models.media.MediaType visitMediaType(io.swagger.v3.oas.models.media.MediaType mediaType)
        +
        +
      • +
      • +
        +

        visitEncoding

        +
        io.swagger.v3.oas.models.media.Encoding visitEncoding(io.swagger.v3.oas.models.media.Encoding encoding)
        +
        +
      • +
      • +
        +

        visitHeader

        +
        io.swagger.v3.oas.models.headers.Header visitHeader(io.swagger.v3.oas.models.headers.Header header)
        +
        +
      • +
      • +
        +

        visitExample

        +
        io.swagger.v3.oas.models.examples.Example visitExample(io.swagger.v3.oas.models.examples.Example example)
        +
        +
      • +
      • +
        +

        readFile

        +
        default String readFile(String uri) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        readClasspath

        +
        default String readClasspath(String uri) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        readHttp

        +
        default String readHttp(String uri, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      • +
        +

        readURI

        +
        default String readURI(String absoluteUri, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/package-summary.html new file mode 100644 index 0000000000..eb684c0819 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/package-summary.html @@ -0,0 +1,135 @@ + + + + +io.swagger.v3.parser.reference (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser.reference

    +
    +
    +
    package io.swagger.v3.parser.reference
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/package-tree.html new file mode 100644 index 0000000000..099e2f5dc2 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/reference/package-tree.html @@ -0,0 +1,90 @@ + + + + +io.swagger.v3.parser.reference Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser.reference

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    +
    +

    Interface Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ClasspathHelper.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ClasspathHelper.html new file mode 100644 index 0000000000..f80f2c0151 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ClasspathHelper.html @@ -0,0 +1,173 @@ + + + + +ClasspathHelper (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ClasspathHelper

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.ClasspathHelper
    +
    +
    +
    +
    public class ClasspathHelper +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ClasspathHelper

        +
        public ClasspathHelper()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        loadFileFromClasspath

        +
        public static String loadFileFromClasspath(String location)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.CustomResolver.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.CustomResolver.html new file mode 100644 index 0000000000..9243da354d --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.CustomResolver.html @@ -0,0 +1,195 @@ + + + + +DeserializationUtils.CustomResolver (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class DeserializationUtils.CustomResolver

    +
    +
    java.lang.Object +
    org.yaml.snakeyaml.resolver.Resolver +
    io.swagger.v3.parser.util.DeserializationUtils.CustomResolver
    +
    +
    +
    +
    +
    Enclosing class:
    +
    DeserializationUtils
    +
    +
    +
    public static class DeserializationUtils.CustomResolver +extends org.yaml.snakeyaml.resolver.Resolver
    +
    +
    +
      + +
    • +
      +

      Field Summary

      +
      +

      Fields inherited from class org.yaml.snakeyaml.resolver.Resolver

      +BOOL, EMPTY, FLOAT, INT, MERGE, NULL, TIMESTAMP, VALUE, YAML, yamlImplicitResolvers
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      protected void
      + +
       
      +
      +
      +
      +
      +

      Methods inherited from class org.yaml.snakeyaml.resolver.Resolver

      +addImplicitResolver, addImplicitResolver, resolve
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CustomResolver

        +
        public CustomResolver()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        addImplicitResolvers

        +
        protected void addImplicitResolvers()
        +
        +
        Overrides:
        +
        addImplicitResolvers in class org.yaml.snakeyaml.resolver.Resolver
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.Options.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.Options.html new file mode 100644 index 0000000000..a6edd64af4 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.Options.html @@ -0,0 +1,285 @@ + + + + +DeserializationUtils.Options (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class DeserializationUtils.Options

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.DeserializationUtils.Options
    +
    +
    +
    +
    Enclosing class:
    +
    DeserializationUtils
    +
    +
    +
    public static class DeserializationUtils.Options +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Options

        +
        public Options()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getMaxYamlDepth

        +
        public Integer getMaxYamlDepth()
        +
        +
      • +
      • +
        +

        setMaxYamlDepth

        +
        public void setMaxYamlDepth(Integer maxYamlDepth)
        +
        +
      • +
      • +
        +

        getMaxYamlReferences

        +
        public Long getMaxYamlReferences()
        +
        +
      • +
      • +
        +

        setMaxYamlReferences

        +
        public void setMaxYamlReferences(Long maxYamlReferences)
        +
        +
      • +
      • +
        +

        isValidateYamlInput

        +
        public boolean isValidateYamlInput()
        +
        +
      • +
      • +
        +

        setValidateYamlInput

        +
        public void setValidateYamlInput(boolean validateYamlInput)
        +
        +
      • +
      • +
        +

        isYamlCycleCheck

        +
        public boolean isYamlCycleCheck()
        +
        +
      • +
      • +
        +

        getMaxYamlCodePoints

        +
        public Integer getMaxYamlCodePoints()
        +
        +
      • +
      • +
        +

        setYamlCycleCheck

        +
        public void setYamlCycleCheck(boolean yamlCycleCheck)
        +
        +
      • +
      • +
        +

        getMaxYamlAliasesForCollections

        +
        public Integer getMaxYamlAliasesForCollections()
        +
        +
      • +
      • +
        +

        setMaxYamlAliasesForCollections

        +
        public void setMaxYamlAliasesForCollections(Integer maxYamlAliasesForCollections)
        +
        +
      • +
      • +
        +

        isYamlAllowRecursiveKeys

        +
        public boolean isYamlAllowRecursiveKeys()
        +
        +
      • +
      • +
        +

        setYamlAllowRecursiveKeys

        +
        public void setYamlAllowRecursiveKeys(boolean yamlAllowRecursiveKeys)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.html new file mode 100644 index 0000000000..3cb963257e --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/DeserializationUtils.html @@ -0,0 +1,309 @@ + + + + +DeserializationUtils (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class DeserializationUtils

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.DeserializationUtils
    +
    +
    +
    +
    public class DeserializationUtils +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        DeserializationUtils

        +
        public DeserializationUtils()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getOptions

        +
        public static DeserializationUtils.Options getOptions()
        +
        +
      • +
      • +
        +

        deserializeIntoTree

        +
        public static com.fasterxml.jackson.databind.JsonNode deserializeIntoTree(String contents, + String fileOrHost)
        +
        +
      • +
      • +
        +

        deserializeIntoTree

        +
        public static com.fasterxml.jackson.databind.JsonNode deserializeIntoTree(String contents, + String uri, + io.swagger.v3.parser.core.models.ParseOptions parseOptions, + io.swagger.v3.parser.core.models.SwaggerParseResult deserializationUtilsResult)
        +
        +
      • +
      • +
        +

        deserialize

        +
        public static <T> T deserialize(Object contents, + String fileOrHost, + Class<T> expectedType)
        +
        +
      • +
      • +
        +

        deserialize

        +
        public static <T> T deserialize(Object contents, + String fileOrHost, + Class<T> expectedType, + boolean openapi31)
        +
        +
      • +
      • +
        +

        isJson

        +
        public static boolean isJson(String contents)
        +
        +
      • +
      • +
        +

        readYamlTree

        +
        public static com.fasterxml.jackson.databind.JsonNode readYamlTree(String contents)
        +
        +
      • +
      • +
        +

        readYamlTree

        +
        public static com.fasterxml.jackson.databind.JsonNode readYamlTree(String contents, + io.swagger.v3.parser.core.models.ParseOptions parseOptions, + io.swagger.v3.parser.core.models.SwaggerParseResult deserializationUtilsResult)
        +
        +
      • +
      • +
        +

        readYamlValue

        +
        public static <T> T readYamlValue(String contents, + Class<T> expectedType)
        +
        +
      • +
      • +
        +

        readYamlValue

        +
        public static <T> T readYamlValue(String contents, + Class<T> expectedType, + boolean openapi31)
        +
        +
      • +
      • +
        +

        buildSnakeYaml

        +
        public static org.yaml.snakeyaml.Yaml buildSnakeYaml(org.yaml.snakeyaml.constructor.BaseConstructor constructor)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/InlineModelResolver.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/InlineModelResolver.html new file mode 100644 index 0000000000..951f8a871d --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/InlineModelResolver.html @@ -0,0 +1,325 @@ + + + + +InlineModelResolver (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class InlineModelResolver

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.InlineModelResolver
    +
    +
    +
    +
    public class InlineModelResolver +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        InlineModelResolver

        +
        public InlineModelResolver()
        +
        +
      • +
      • +
        +

        InlineModelResolver

        +
        public InlineModelResolver(boolean flattenComposedSchemas, + boolean camelCaseFlattenNaming)
        +
        +
      • +
      • +
        +

        InlineModelResolver

        +
        public InlineModelResolver(boolean flattenComposedSchemas, + boolean camelCaseFlattenNaming, + boolean skipMatches)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        flatten

        +
        public void flatten(io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        matchGenerated

        +
        public String matchGenerated(io.swagger.v3.oas.models.media.Schema model)
        +
        +
      • +
      • +
        +

        addGenerated

        +
        public void addGenerated(String name, + io.swagger.v3.oas.models.media.Schema model)
        +
        +
      • +
      • +
        +

        uniqueName

        +
        public String uniqueName(String key)
        +
        +
      • +
      • +
        +

        flattenProperties

        +
        public void flattenProperties(Map<String,io.swagger.v3.oas.models.media.Schema> properties, + String path)
        +
        +
      • +
      • +
        +

        modelFromProperty

        +
        public io.swagger.v3.oas.models.media.Schema modelFromProperty(io.swagger.v3.oas.models.media.ArraySchema object, + String path)
        +
        +
      • +
      • +
        +

        createModelFromProperty

        +
        public io.swagger.v3.oas.models.media.Schema createModelFromProperty(io.swagger.v3.oas.models.media.Schema schema, + String path)
        +
        +
      • +
      • +
        +

        modelFromProperty

        +
        public io.swagger.v3.oas.models.media.Schema modelFromProperty(io.swagger.v3.oas.models.media.Schema object, + String path)
        +
        +
      • +
      • +
        +

        makeRefProperty

        +
        public io.swagger.v3.oas.models.media.Schema makeRefProperty(String ref, + io.swagger.v3.oas.models.media.Schema property)
        +
        Make a RefProperty
        +
        +
        Parameters:
        +
        ref - new property name
        +
        property - Property
        +
        Returns:
        +
        +
        +
      • +
      • +
        +

        copyVendorExtensions

        +
        public void copyVendorExtensions(io.swagger.v3.oas.models.media.Schema source, + io.swagger.v3.oas.models.media.Schema target)
        +
        Copy vendor extensions from Property to another Property
        +
        +
        Parameters:
        +
        source - source property
        +
        target - target property
        +
        +
        +
      • +
      • +
        +

        isSkipMatches

        +
        public boolean isSkipMatches()
        +
        +
      • +
      • +
        +

        setSkipMatches

        +
        public void setSkipMatches(boolean skipMatches)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ManagedValue.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ManagedValue.html new file mode 100644 index 0000000000..0ecae7d892 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ManagedValue.html @@ -0,0 +1,139 @@ + + + + +ManagedValue (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface ManagedValue

    +
    +
    +
    +
    public interface ManagedValue
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      boolean
      +
      process(URL url)
      +
       
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        process

        +
        boolean process(URL url)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.Location.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.Location.html new file mode 100644 index 0000000000..4d2072cd42 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.Location.html @@ -0,0 +1,196 @@ + + + + +OpenAPIDeserializer.Location (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIDeserializer.Location

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.OpenAPIDeserializer.Location
    +
    +
    +
    +
    Enclosing class:
    +
    OpenAPIDeserializer
    +
    +
    +
    protected static class OpenAPIDeserializer.Location +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Location

        +
        public Location(String location, + String key)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.ParseResult.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.ParseResult.html new file mode 100644 index 0000000000..7e2614cbe2 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.ParseResult.html @@ -0,0 +1,417 @@ + + + + +OpenAPIDeserializer.ParseResult (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIDeserializer.ParseResult

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult
    +
    +
    +
    +
    Enclosing class:
    +
    OpenAPIDeserializer
    +
    +
    +
    public static class OpenAPIDeserializer.ParseResult +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ParseResult

        +
        public ParseResult()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        isInferSchemaType

        +
        public boolean isInferSchemaType()
        +
        +
      • +
      • +
        +

        setInferSchemaType

        +
        public void setInferSchemaType(boolean inferSchemaType)
        +
        +
      • +
      • +
        +

        inferSchemaType

        +
        public OpenAPIDeserializer.ParseResult inferSchemaType(boolean inferSchemaType)
        +
        +
      • +
      • +
        +

        isAllowEmptyStrings

        +
        public boolean isAllowEmptyStrings()
        +
        +
      • +
      • +
        +

        setAllowEmptyStrings

        +
        public void setAllowEmptyStrings(boolean allowEmptyStrings)
        +
        +
      • +
      • +
        +

        allowEmptyStrings

        +
        public OpenAPIDeserializer.ParseResult allowEmptyStrings(boolean allowEmptyStrings)
        +
        +
      • +
      • +
        +

        unsupported

        +
        public void unsupported(String location, + String key, + com.fasterxml.jackson.databind.JsonNode value)
        +
        +
      • +
      • +
        +

        reserved

        +
        public void reserved(String location, + String key)
        +
        +
      • +
      • +
        +

        extra

        +
        public void extra(String location, + String key, + com.fasterxml.jackson.databind.JsonNode value)
        +
        +
      • +
      • +
        +

        missing

        +
        public void missing(String location, + String key)
        +
        +
      • +
      • +
        +

        warning

        +
        public void warning(String location, + String key)
        +
        +
      • +
      • +
        +

        unique

        +
        public void unique(String location, + String key)
        +
        +
      • +
      • +
        +

        uniqueTags

        +
        public void uniqueTags(String location, + String key)
        +
        +
      • +
      • +
        +

        invalidType

        +
        public void invalidType(String location, + String key, + String expectedType, + com.fasterxml.jackson.databind.JsonNode value)
        +
        +
      • +
      • +
        +

        invalid

        +
        public void invalid()
        +
        +
      • +
      • +
        +

        isValid

        +
        public boolean isValid()
        +
        +
      • +
      • +
        +

        setOpenapi31

        +
        public void setOpenapi31(boolean openapi31)
        +
        +
      • +
      • +
        +

        openapi31

        +
        public OpenAPIDeserializer.ParseResult openapi31(boolean openapi31)
        +
        +
      • +
      • +
        +

        isOpenapi31

        +
        public boolean isOpenapi31()
        +
        +
      • +
      • +
        +

        isOaiAuthor

        +
        public boolean isOaiAuthor()
        +
        +
      • +
      • +
        +

        setOaiAuthor

        +
        public void setOaiAuthor(boolean oaiAuthor)
        +
        +
      • +
      • +
        +

        oaiAuthor

        +
        public OpenAPIDeserializer.ParseResult oaiAuthor(boolean oaiAuthor)
        +
        +
      • +
      • +
        +

        getMessages

        +
        public List<String> getMessages()
        +
        +
      • +
      • +
        +

        setValidateInternalRefs

        +
        public void setValidateInternalRefs(boolean validateInternalRefs)
        +
        +
      • +
      • +
        +

        isValidateInternalRefs

        +
        public boolean isValidateInternalRefs()
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.html new file mode 100644 index 0000000000..eafc1707a9 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/OpenAPIDeserializer.html @@ -0,0 +1,1686 @@ + + + + +OpenAPIDeserializer (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class OpenAPIDeserializer

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.OpenAPIDeserializer
    +
    +
    +
    +
    public class OpenAPIDeserializer +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      +
        +
      • +
        +

        JSON_SCHEMA_2020_12_TYPES

        +
        protected static Set<String> JSON_SCHEMA_2020_12_TYPES
        +
        +
      • +
      • +
        +

        ROOT_KEYS

        +
        protected static Set<String> ROOT_KEYS
        +
        +
      • +
      • +
        +

        INFO_KEYS

        +
        protected static Set<String> INFO_KEYS
        +
        +
      • +
      • +
        +

        CONTACT_KEYS

        +
        protected static Set<String> CONTACT_KEYS
        +
        +
      • +
      • +
        +

        LICENSE_KEYS

        +
        protected static Set<String> LICENSE_KEYS
        +
        +
      • +
      • +
        +

        TAG_KEYS

        +
        protected static Set<String> TAG_KEYS
        +
        +
      • +
      • +
        +

        RESPONSE_KEYS

        +
        protected static Set<String> RESPONSE_KEYS
        +
        +
      • +
      • +
        +

        SERVER_KEYS

        +
        protected static Set<String> SERVER_KEYS
        +
        +
      • +
      • +
        +

        SERVER_VARIABLE_KEYS

        +
        protected static Set<String> SERVER_VARIABLE_KEYS
        +
        +
      • +
      • +
        +

        PATHITEM_KEYS

        +
        protected static Set<String> PATHITEM_KEYS
        +
        +
      • +
      • +
        +

        OPERATION_KEYS

        +
        protected static Set<String> OPERATION_KEYS
        +
        +
      • +
      • +
        +

        PARAMETER_KEYS

        +
        protected static Set<String> PARAMETER_KEYS
        +
        +
      • +
      • +
        +

        REQUEST_BODY_KEYS

        +
        protected static Set<String> REQUEST_BODY_KEYS
        +
        +
      • +
      • +
        +

        SECURITY_SCHEME_KEYS

        +
        protected static Set<String> SECURITY_SCHEME_KEYS
        +
        +
      • +
      • +
        +

        EXTERNAL_DOCS_KEYS

        +
        protected static Set<String> EXTERNAL_DOCS_KEYS
        +
        +
      • +
      • +
        +

        COMPONENTS_KEYS

        +
        protected static Set<String> COMPONENTS_KEYS
        +
        +
      • +
      • +
        +

        SCHEMA_KEYS

        +
        protected static Set<String> SCHEMA_KEYS
        +
        +
      • +
      • +
        +

        EXAMPLE_KEYS

        +
        protected static Set<String> EXAMPLE_KEYS
        +
        +
      • +
      • +
        +

        HEADER_KEYS

        +
        protected static Set<String> HEADER_KEYS
        +
        +
      • +
      • + +
      • +
      • +
        +

        MEDIATYPE_KEYS

        +
        protected static Set<String> MEDIATYPE_KEYS
        +
        +
      • +
      • +
        +

        XML_KEYS

        +
        protected static Set<String> XML_KEYS
        +
        +
      • +
      • +
        +

        OAUTHFLOW_KEYS

        +
        protected static Set<String> OAUTHFLOW_KEYS
        +
        +
      • +
      • +
        +

        OAUTHFLOWS_KEYS

        +
        protected static Set<String> OAUTHFLOWS_KEYS
        +
        +
      • +
      • +
        +

        ENCODING_KEYS

        +
        protected static Set<String> ENCODING_KEYS
        +
        +
      • +
      • +
        +

        ROOT_KEYS_31

        +
        protected static Set<String> ROOT_KEYS_31
        +
        +
      • +
      • +
        +

        RESERVED_KEYWORDS_31

        +
        protected static Set<String> RESERVED_KEYWORDS_31
        +
        +
      • +
      • +
        +

        INFO_KEYS_31

        +
        protected static Set<String> INFO_KEYS_31
        +
        +
      • +
      • +
        +

        CONTACT_KEYS_31

        +
        protected static Set<String> CONTACT_KEYS_31
        +
        +
      • +
      • +
        +

        LICENSE_KEYS_31

        +
        protected static Set<String> LICENSE_KEYS_31
        +
        +
      • +
      • +
        +

        TAG_KEYS_31

        +
        protected static Set<String> TAG_KEYS_31
        +
        +
      • +
      • +
        +

        RESPONSE_KEYS_31

        +
        protected static Set<String> RESPONSE_KEYS_31
        +
        +
      • +
      • +
        +

        SERVER_KEYS_31

        +
        protected static Set<String> SERVER_KEYS_31
        +
        +
      • +
      • +
        +

        SERVER_VARIABLE_KEYS_31

        +
        protected static Set<String> SERVER_VARIABLE_KEYS_31
        +
        +
      • +
      • +
        +

        PATHITEM_KEYS_31

        +
        protected static Set<String> PATHITEM_KEYS_31
        +
        +
      • +
      • +
        +

        OPERATION_KEYS_31

        +
        protected static Set<String> OPERATION_KEYS_31
        +
        +
      • +
      • +
        +

        PARAMETER_KEYS_31

        +
        protected static Set<String> PARAMETER_KEYS_31
        +
        +
      • +
      • +
        +

        REQUEST_BODY_KEYS_31

        +
        protected static Set<String> REQUEST_BODY_KEYS_31
        +
        +
      • +
      • +
        +

        SECURITY_SCHEME_KEYS_31

        +
        protected static Set<String> SECURITY_SCHEME_KEYS_31
        +
        +
      • +
      • +
        +

        EXTERNAL_DOCS_KEYS_31

        +
        protected static Set<String> EXTERNAL_DOCS_KEYS_31
        +
        +
      • +
      • +
        +

        COMPONENTS_KEYS_31

        +
        protected static Set<String> COMPONENTS_KEYS_31
        +
        +
      • +
      • +
        +

        SCHEMA_KEYS_31

        +
        protected static Set<String> SCHEMA_KEYS_31
        +
        +
      • +
      • +
        +

        EXAMPLE_KEYS_31

        +
        protected static Set<String> EXAMPLE_KEYS_31
        +
        +
      • +
      • +
        +

        HEADER_KEYS_31

        +
        protected static Set<String> HEADER_KEYS_31
        +
        +
      • +
      • + +
      • +
      • +
        +

        MEDIATYPE_KEYS_31

        +
        protected static Set<String> MEDIATYPE_KEYS_31
        +
        +
      • +
      • +
        +

        XML_KEYS_31

        +
        protected static Set<String> XML_KEYS_31
        +
        +
      • +
      • +
        +

        OAUTHFLOW_KEYS_31

        +
        protected static Set<String> OAUTHFLOW_KEYS_31
        +
        +
      • +
      • +
        +

        OAUTHFLOWS_KEYS_31

        +
        protected static Set<String> OAUTHFLOWS_KEYS_31
        +
        +
      • +
      • +
        +

        ENCODING_KEYS_31

        +
        protected static Set<String> ENCODING_KEYS_31
        +
        +
      • +
      • +
        +

        KEYS

        +
        protected static Map<String,Map<String,Set<String>>> KEYS
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        OpenAPIDeserializer

        +
        public OpenAPIDeserializer()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        deserialize

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult deserialize(com.fasterxml.jackson.databind.JsonNode rootNode)
        +
        +
      • +
      • +
        +

        deserialize

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult deserialize(com.fasterxml.jackson.databind.JsonNode rootNode, + String path)
        +
        +
      • +
      • +
        +

        deserialize

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult deserialize(com.fasterxml.jackson.databind.JsonNode rootNode, + String path, + io.swagger.v3.parser.core.models.ParseOptions options)
        +
        +
      • +
      • +
        +

        deserialize

        +
        public io.swagger.v3.parser.core.models.SwaggerParseResult deserialize(com.fasterxml.jackson.databind.JsonNode rootNode, + String path, + io.swagger.v3.parser.core.models.ParseOptions options, + boolean isOaiAuthor)
        +
        +
      • +
      • +
        +

        parseRoot

        +
        public io.swagger.v3.oas.models.OpenAPI parseRoot(com.fasterxml.jackson.databind.JsonNode node, + OpenAPIDeserializer.ParseResult result, + String path)
        +
        +
      • +
      • +
        +

        mungedRef

        +
        public String mungedRef(String refString)
        +
        +
      • +
      • +
        +

        getExtensions

        +
        public Map<String,Object> getExtensions(com.fasterxml.jackson.databind.node.ObjectNode node)
        +
        +
      • +
      • +
        +

        getComponents

        +
        public io.swagger.v3.oas.models.Components getComponents(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getTagList

        +
        public List<io.swagger.v3.oas.models.tags.Tag> getTagList(com.fasterxml.jackson.databind.node.ArrayNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getTag

        +
        public io.swagger.v3.oas.models.tags.Tag getTag(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getServersList

        +
        public List<io.swagger.v3.oas.models.servers.Server> getServersList(com.fasterxml.jackson.databind.node.ArrayNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + String path)
        +
        +
      • +
      • +
        +

        getServersList

        +
        public List<io.swagger.v3.oas.models.servers.Server> getServersList(com.fasterxml.jackson.databind.node.ArrayNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getServer

        +
        public io.swagger.v3.oas.models.servers.Server getServer(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getServer

        +
        public io.swagger.v3.oas.models.servers.Server getServer(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + String path)
        +
        +
      • +
      • +
        +

        getServerVariables

        +
        public io.swagger.v3.oas.models.servers.ServerVariables getServerVariables(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getServerVariable

        +
        public io.swagger.v3.oas.models.servers.ServerVariable getServerVariable(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getPaths

        +
        public io.swagger.v3.oas.models.Paths getPaths(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getPathItems

        +
        public Map<String,io.swagger.v3.oas.models.PathItem> getPathItems(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getWebhooks

        +
        public Map<String,io.swagger.v3.oas.models.PathItem> getWebhooks(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getPathItems

        +
        protected boolean getPathItems(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + Map<String,io.swagger.v3.oas.models.PathItem> paths, + boolean isWebhook)
        +
        +
      • +
      • +
        +

        getAllOperationsInAPath

        +
        public List<io.swagger.v3.oas.models.Operation> getAllOperationsInAPath(io.swagger.v3.oas.models.PathItem pathObj)
        +
        +
      • +
      • +
        +

        getPathItem

        +
        public io.swagger.v3.oas.models.PathItem getPathItem(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getExternalDocs

        +
        public io.swagger.v3.oas.models.ExternalDocumentation getExternalDocs(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getString

        +
        public String getString(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result, + Set<String> uniqueValues, + boolean noInvalidError)
        +
        +
      • +
      • +
        +

        getString

        +
        public String getString(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result, + Set<String> uniqueValues)
        +
        +
      • +
      • +
        +

        getString

        +
        public String getString(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getKeys

        +
        public Set<String> getKeys(com.fasterxml.jackson.databind.node.ObjectNode node)
        +
        +
      • +
      • +
        +

        getObject

        +
        public com.fasterxml.jackson.databind.node.ObjectNode getObject(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getObjectOrBoolean

        +
        public com.fasterxml.jackson.databind.JsonNode getObjectOrBoolean(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getInfo

        +
        public io.swagger.v3.oas.models.info.Info getInfo(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getLicense

        +
        public io.swagger.v3.oas.models.info.License getLicense(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getContact

        +
        public io.swagger.v3.oas.models.info.Contact getContact(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getContent

        +
        public io.swagger.v3.oas.models.media.Content getContent(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getMediaType

        +
        public io.swagger.v3.oas.models.media.MediaType getMediaType(com.fasterxml.jackson.databind.node.ObjectNode contentNode, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getEncodingMap

        +
        public Map<String,io.swagger.v3.oas.models.media.Encoding> getEncodingMap(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getEncoding

        +
        public io.swagger.v3.oas.models.media.Encoding getEncoding(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getLinks

        +
        public Map<String,io.swagger.v3.oas.models.links.Link> getLinks(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getLink

        +
        public io.swagger.v3.oas.models.links.Link getLink(com.fasterxml.jackson.databind.node.ObjectNode linkNode, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getCallbacks

        +
        public Map<String,io.swagger.v3.oas.models.callbacks.Callback> getCallbacks(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getCallback

        +
        public io.swagger.v3.oas.models.callbacks.Callback getCallback(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getXml

        +
        public io.swagger.v3.oas.models.media.XML getXml(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getArray

        +
        public com.fasterxml.jackson.databind.node.ArrayNode getArray(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result, + boolean noInvalidError)
        +
        +
      • +
      • +
        +

        getArray

        +
        public com.fasterxml.jackson.databind.node.ArrayNode getArray(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getBoolean

        +
        public Boolean getBoolean(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getBigDecimal

        +
        public BigDecimal getBigDecimal(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getInteger

        +
        public Integer getInteger(String key, + com.fasterxml.jackson.databind.node.ObjectNode node, + boolean required, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getParameters

        +
        public Map<String,io.swagger.v3.oas.models.parameters.Parameter> getParameters(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getParameterList

        +
        public List<io.swagger.v3.oas.models.parameters.Parameter> getParameterList(com.fasterxml.jackson.databind.node.ArrayNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getParameter

        +
        public io.swagger.v3.oas.models.parameters.Parameter getParameter(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getHeaders

        +
        public Map<String,io.swagger.v3.oas.models.headers.Header> getHeaders(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getHeader

        +
        public io.swagger.v3.oas.models.headers.Header getHeader(com.fasterxml.jackson.databind.node.ObjectNode headerNode, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getAnyType

        +
        public Object getAnyType(String nodeKey, + com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getSecuritySchemes

        +
        public Map<String,io.swagger.v3.oas.models.security.SecurityScheme> getSecuritySchemes(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getSecurityScheme

        +
        public io.swagger.v3.oas.models.security.SecurityScheme getSecurityScheme(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getOAuthFlows

        +
        public io.swagger.v3.oas.models.security.OAuthFlows getOAuthFlows(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getOAuthFlow

        +
        public io.swagger.v3.oas.models.security.OAuthFlow getOAuthFlow(String oAuthFlowType, + com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getSchemas

        +
        public Map<String,io.swagger.v3.oas.models.media.Schema> getSchemas(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getDiscriminator

        +
        public io.swagger.v3.oas.models.media.Discriminator getDiscriminator(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getSchema

        +
        public io.swagger.v3.oas.models.media.Schema getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getCommonSchemaFields

        +
        protected void getCommonSchemaFields(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result, + io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        getExamples

        +
        public Map<String,io.swagger.v3.oas.models.examples.Example> getExamples(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getExample

        +
        public io.swagger.v3.oas.models.examples.Example getExample(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        setStyle

        +
        public void setStyle(String value, + io.swagger.v3.oas.models.parameters.Parameter parameter, + String location, + com.fasterxml.jackson.databind.node.ObjectNode obj, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getResponses

        +
        public io.swagger.v3.oas.models.responses.ApiResponses getResponses(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getResponse

        +
        public io.swagger.v3.oas.models.responses.ApiResponse getResponse(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getTagsStrings

        +
        public List<String> getTagsStrings(com.fasterxml.jackson.databind.node.ArrayNode nodes, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getOperation

        +
        public io.swagger.v3.oas.models.Operation getOperation(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getSecurityRequirementsList

        +
        public List<io.swagger.v3.oas.models.security.SecurityRequirement> getSecurityRequirementsList(com.fasterxml.jackson.databind.node.ArrayNode nodes, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        getRequestBodies

        +
        public Map<String,io.swagger.v3.oas.models.parameters.RequestBody> getRequestBodies(com.fasterxml.jackson.databind.node.ObjectNode obj, + String location, + OpenAPIDeserializer.ParseResult result, + boolean underComponents)
        +
        +
      • +
      • +
        +

        getRequestBody

        +
        public io.swagger.v3.oas.models.parameters.RequestBody getRequestBody(com.fasterxml.jackson.databind.node.ObjectNode node, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      • +
        +

        inferTypeFromArray

        +
        public String inferTypeFromArray(com.fasterxml.jackson.databind.node.ArrayNode an)
        +
        +
      • +
      • +
        +

        getJsonSchemaParserExtensions

        +
        public static List<JsonSchemaParserExtension> getJsonSchemaParserExtensions()
        +
        Locates extensions on the current thread class loader and then, if it differs from this class classloader (as in + OSGi), locates extensions from this class classloader as well.
        +
        +
        Returns:
        +
        a list of extensions
        +
        +
        +
      • +
      • +
        +

        getJsonSchemaParserExtensions

        +
        protected static List<JsonSchemaParserExtension> getJsonSchemaParserExtensions(ClassLoader cl)
        +
        +
      • +
      • +
        +

        getJsonSchema

        +
        public io.swagger.v3.oas.models.media.Schema getJsonSchema(com.fasterxml.jackson.databind.JsonNode jsonNode, + String location, + OpenAPIDeserializer.ParseResult result)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/PathUtils.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/PathUtils.html new file mode 100644 index 0000000000..2b48ef8568 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/PathUtils.html @@ -0,0 +1,182 @@ + + + + +PathUtils (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class PathUtils

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.PathUtils
    +
    +
    +
    +
    public class PathUtils +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        PathUtils

        +
        public PathUtils()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getParentDirectoryOfFile

        +
        public static Path getParentDirectoryOfFile(String location)
        +
        +
      • +
      • +
        +

        getAbsoluteUrl

        +
        public static String getAbsoluteUrl(String location)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/RefUtils.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/RefUtils.html new file mode 100644 index 0000000000..e6aa8a31b2 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/RefUtils.html @@ -0,0 +1,238 @@ + + + + +RefUtils (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class RefUtils

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.RefUtils
    +
    +
    +
    +
    public class RefUtils +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        computeDefinitionName

        +
        public static String computeDefinitionName(String ref)
        +
        +
      • +
      • +
        +

        getExternalPath

        +
        public static Optional<String> getExternalPath(String ref)
        +
        +
      • +
      • +
        +

        isAnExternalRefFormat

        +
        public static boolean isAnExternalRefFormat(RefFormat refFormat)
        +
        +
      • +
      • +
        +

        computeRefFormat

        +
        public static RefFormat computeRefFormat(String ref)
        +
        +
      • +
      • +
        +

        mungedRef

        +
        public static String mungedRef(String refString)
        +
        +
      • +
      • +
        +

        readExternalUrlRef

        +
        public static String readExternalUrlRef(String file, + RefFormat refFormat, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String rootPath)
        +
        +
      • +
      • +
        +

        readExternalClasspathRef

        +
        public static String readExternalClasspathRef(String file, + RefFormat refFormat, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + String rootPath)
        +
        +
      • +
      • +
        +

        buildUrl

        +
        public static String buildUrl(String rootPath, + String relativePath)
        +
        +
      • +
      • +
        +

        readExternalRef

        +
        public static String readExternalRef(String file, + RefFormat refFormat, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, + Path parentDirectory)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ReferenceValidator.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ReferenceValidator.html new file mode 100644 index 0000000000..fb0af02d92 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ReferenceValidator.html @@ -0,0 +1,299 @@ + + + + +ReferenceValidator (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class ReferenceValidator

    +
    +
    java.lang.Object +
    java.lang.Enum<ReferenceValidator> +
    io.swagger.v3.parser.util.ReferenceValidator
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<ReferenceValidator>, Constable
    +
    +
    +
    public enum ReferenceValidator +extends Enum<ReferenceValidator>
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      + +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static ReferenceValidator[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static ReferenceValidator valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      • +
        +

        validateComponent

        +
        public abstract boolean validateComponent(io.swagger.v3.oas.models.Components components, + String reference)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/RemoteUrl.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/RemoteUrl.html new file mode 100644 index 0000000000..ebee6252e6 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/RemoteUrl.html @@ -0,0 +1,189 @@ + + + + +RemoteUrl (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class RemoteUrl

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.RemoteUrl
    +
    +
    +
    +
    public class RemoteUrl +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        RemoteUrl

        +
        public RemoteUrl()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        cleanUrl

        +
        public static String cleanUrl(String url)
        +
        +
      • +
      • +
        +

        urlToString

        +
        public static String urlToString(String url, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auths) + throws Exception
        +
        +
        Throws:
        +
        Exception
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ResolverFully.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ResolverFully.html new file mode 100644 index 0000000000..189ff19352 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/ResolverFully.html @@ -0,0 +1,271 @@ + + + + +ResolverFully (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class ResolverFully

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.ResolverFully
    +
    +
    +
    +
    public class ResolverFully +extends Object
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      ResolverFully(boolean aggregateCombinators)
      +
       
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      protected String
      +
      getSchemaType(io.swagger.v3.oas.models.media.Schema schema)
      +
       
      +
      protected boolean
      +
      hasSchemaType(io.swagger.v3.oas.models.media.Schema schema)
      +
       
      +
      io.swagger.v3.oas.models.callbacks.Callback
      +
      resolveCallback(io.swagger.v3.oas.models.callbacks.Callback callback)
      +
       
      +
      Map<String,io.swagger.v3.oas.models.examples.Example>
      +
      resolveExample(Map<String,io.swagger.v3.oas.models.examples.Example> examples)
      +
       
      +
      void
      +
      resolveFully(io.swagger.v3.oas.models.OpenAPI openAPI)
      +
       
      +
      io.swagger.v3.oas.models.headers.Header
      +
      resolveHeader(io.swagger.v3.oas.models.headers.Header header)
      +
       
      +
      io.swagger.v3.oas.models.links.Link
      +
      resolveLink(io.swagger.v3.oas.models.links.Link link)
      +
       
      +
      io.swagger.v3.oas.models.parameters.Parameter
      +
      resolveParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
      +
       
      +
      void
      +
      resolvePath(io.swagger.v3.oas.models.PathItem pathItem)
      +
       
      +
      io.swagger.v3.oas.models.parameters.RequestBody
      +
      resolveRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
      +
       
      +
      io.swagger.v3.oas.models.media.Schema
      +
      resolveSchema(io.swagger.v3.oas.models.media.Schema schema)
      +
       
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ResolverFully

        +
        public ResolverFully()
        +
        +
      • +
      • +
        +

        ResolverFully

        +
        public ResolverFully(boolean aggregateCombinators)
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        resolveFully

        +
        public void resolveFully(io.swagger.v3.oas.models.OpenAPI openAPI)
        +
        +
      • +
      • +
        +

        resolvePath

        +
        public void resolvePath(io.swagger.v3.oas.models.PathItem pathItem)
        +
        +
      • +
      • +
        +

        resolveHeader

        +
        public io.swagger.v3.oas.models.headers.Header resolveHeader(io.swagger.v3.oas.models.headers.Header header)
        +
        +
      • +
      • +
        +

        resolveLink

        +
        public io.swagger.v3.oas.models.links.Link resolveLink(io.swagger.v3.oas.models.links.Link link)
        +
        +
      • +
      • +
        +

        resolveRequestBody

        +
        public io.swagger.v3.oas.models.parameters.RequestBody resolveRequestBody(io.swagger.v3.oas.models.parameters.RequestBody requestBody)
        +
        +
      • +
      • +
        +

        resolveCallback

        +
        public io.swagger.v3.oas.models.callbacks.Callback resolveCallback(io.swagger.v3.oas.models.callbacks.Callback callback)
        +
        +
      • +
      • +
        +

        resolveParameter

        +
        public io.swagger.v3.oas.models.parameters.Parameter resolveParameter(io.swagger.v3.oas.models.parameters.Parameter parameter)
        +
        +
      • +
      • +
        +

        resolveSchema

        +
        public io.swagger.v3.oas.models.media.Schema resolveSchema(io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        getSchemaType

        +
        protected String getSchemaType(io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        hasSchemaType

        +
        protected boolean hasSchemaType(io.swagger.v3.oas.models.media.Schema schema)
        +
        +
      • +
      • +
        +

        resolveExample

        +
        public Map<String,io.swagger.v3.oas.models.examples.Example> resolveExample(Map<String,io.swagger.v3.oas.models.examples.Example> examples)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/SchemaTypeUtil.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/SchemaTypeUtil.html new file mode 100644 index 0000000000..9a8c7cde38 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/SchemaTypeUtil.html @@ -0,0 +1,504 @@ + + + + +SchemaTypeUtil (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class SchemaTypeUtil

    +
    +
    java.lang.Object +
    io.swagger.v3.parser.util.SchemaTypeUtil
    +
    +
    +
    +
    public class SchemaTypeUtil +extends Object
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      + +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        SchemaTypeUtil

        +
        public SchemaTypeUtil()
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        createSchemaByType

        +
        public static io.swagger.v3.oas.models.media.Schema createSchemaByType(com.fasterxml.jackson.databind.node.ObjectNode node)
        +
        +
      • +
      • +
        +

        updateReferenceForParentNode

        +
        public static void updateReferenceForParentNode(io.swagger.v3.oas.models.media.Schema schema, + String ref)
        +
        +
      • +
      • +
        +

        createSchema

        +
        public static io.swagger.v3.oas.models.media.Schema createSchema(String type, + String format)
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/package-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/package-summary.html new file mode 100644 index 0000000000..eecdd9901c --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/package-summary.html @@ -0,0 +1,143 @@ + + + + +io.swagger.v3.parser.util (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package io.swagger.v3.parser.util

    +
    +
    +
    package io.swagger.v3.parser.util
    +
    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/package-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/package-tree.html new file mode 100644 index 0000000000..dce1f5462b --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/io/swagger/v3/parser/util/package-tree.html @@ -0,0 +1,108 @@ + + + + +io.swagger.v3.parser.util Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package io.swagger.v3.parser.util

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    +
    +

    Interface Hierarchy

    + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/jquery-ui.overrides.css b/modules/swagger-parser-v3/build/docs/javadoc/jquery-ui.overrides.css new file mode 100644 index 0000000000..facf852c27 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/modules/swagger-parser-v3/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO b/modules/swagger-parser-v3/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000000..ff700cd09f --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/modules/swagger-parser-v3/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION b/modules/swagger-parser-v3/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000000..065b8d9023 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + http://openjdk.java.net/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/modules/swagger-parser-v3/build/docs/javadoc/legal/LICENSE b/modules/swagger-parser-v3/build/docs/javadoc/legal/LICENSE new file mode 100644 index 0000000000..8b400c7ab8 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/modules/swagger-parser-v3/build/docs/javadoc/legal/jquery.md b/modules/swagger-parser-v3/build/docs/javadoc/legal/jquery.md new file mode 100644 index 0000000000..f7b72e3fbe --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/legal/jquery.md @@ -0,0 +1,72 @@ +## jQuery v3.6.0 + +### jQuery License +``` +jQuery v 3.6.0 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************** + +The jQuery JavaScript Library v3.6.0 also includes Sizzle.js + +Sizzle.js includes the following license: + +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +********************* + +``` diff --git a/modules/swagger-parser-v3/build/docs/javadoc/legal/jqueryUI.md b/modules/swagger-parser-v3/build/docs/javadoc/legal/jqueryUI.md new file mode 100644 index 0000000000..9f4c9e951f --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.13.1 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/modules/swagger-parser-v3/build/docs/javadoc/member-search-index.js b/modules/swagger-parser-v3/build/docs/javadoc/member-search-index.js new file mode 100644 index 0000000000..48294353c5 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"AbstractVisitor()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencersFactory","l":"addDereferencer(OpenAPIDereferencer)","u":"addDereferencer(io.swagger.v3.parser.reference.OpenAPIDereferencer)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"addGenerated(String, Schema)","u":"addGenerated(java.lang.String,io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.CustomResolver","l":"addImplicitResolvers()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"addParametersToEachOperation"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver.Settings","l":"addParametersToEachOperation()"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver.Settings","l":"addParametersToEachOperation(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"addParametersToEachOperation(boolean)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"addReferencedKey(String)","u":"addReferencedKey(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"allowEmptyStrings(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"auths"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"auths(List)","u":"auths(java.util.List)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"BINARY_AS_STRING"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"BINARY_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"BOOLEAN_TYPE"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer","l":"buildReferenceVisitor(DereferencerContext, Reference, Traverser)","u":"buildReferenceVisitor(io.swagger.v3.parser.reference.DereferencerContext,io.swagger.v3.parser.reference.Reference,io.swagger.v3.parser.reference.Traverser)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer31","l":"buildReferenceVisitor(DereferencerContext, Reference, Traverser)","u":"buildReferenceVisitor(io.swagger.v3.parser.reference.DereferencerContext,io.swagger.v3.parser.reference.Reference,io.swagger.v3.parser.reference.Traverser)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"buildSnakeYaml(BaseConstructor)","u":"buildSnakeYaml(org.yaml.snakeyaml.constructor.BaseConstructor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer","l":"buildTraverser(DereferencerContext)","u":"buildTraverser(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer31","l":"buildTraverser(DereferencerContext)","u":"buildTraverser(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"buildUrl(String, String)","u":"buildUrl(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"BYTE_FORMAT"},{"p":"io.swagger.v3.parser.processors","c":"CallbackProcessor","l":"CallbackProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"CallbackProcessor","l":"CallbackProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"callbacks"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer","l":"canDereference(DereferencerContext)","u":"canDereference(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer31","l":"canDereference(DereferencerContext)","u":"canDereference(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.util","c":"ClasspathHelper","l":"ClasspathHelper()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"RemoteUrl","l":"cleanUrl(String)","u":"cleanUrl(java.lang.String)"},{"p":"io.swagger.v3.parser.models","c":"RefType","l":"COMPONENTS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"COMPONENTS_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"COMPONENTS_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"ComponentsProcessor","l":"ComponentsProcessor(OpenAPI, ResolverCache)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.ResolverCache)"},{"p":"io.swagger.v3.parser.processors","c":"ComponentsProcessor","l":"ComponentsProcessor(OpenAPI, ResolverCache, boolean)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.ResolverCache,boolean)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"computeDefinitionName(String)","u":"computeDefinitionName(java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"computeLocalRef(String, String)","u":"computeLocalRef(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"computeRef(String, String)","u":"computeRef(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"computeRefFormat(String)","u":"computeRefFormat(java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"computeRelativeRef(String, String)","u":"computeRelativeRef(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"constructRef(Schema, String)","u":"constructRef(io.swagger.v3.oas.models.media.Schema,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"CONTACT_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"CONTACT_KEYS_31"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"context(DereferencerContext)","u":"context(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"copyVendorExtensions(Schema, Schema)","u":"copyVendorExtensions(io.swagger.v3.oas.models.media.Schema,io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser","c":"ObjectMapperFactory","l":"createJson()"},{"p":"io.swagger.v3.parser","c":"ObjectMapperFactory","l":"createJson(boolean, boolean)","u":"createJson(boolean,boolean)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"createModelFromProperty(Schema, String)","u":"createModelFromProperty(io.swagger.v3.oas.models.media.Schema,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"createSchema(String, String)","u":"createSchema(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"createSchemaByType(ObjectNode)","u":"createSchemaByType(com.fasterxml.jackson.databind.node.ObjectNode)"},{"p":"io.swagger.v3.parser","c":"ObjectMapperFactory","l":"createYaml()"},{"p":"io.swagger.v3.parser","c":"ObjectMapperFactory","l":"createYaml(boolean, boolean)","u":"createYaml(boolean,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"currentUri"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"currentUri(String)","u":"currentUri(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.CustomResolver","l":"CustomResolver()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"DATE_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"DATE_TIME_FORMAT"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"deepcopy(T, Class)","u":"deepcopy(T,java.lang.Class)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"depth(int)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer","l":"dereference(DereferencerContext, Iterator)","u":"dereference(io.swagger.v3.parser.reference.DereferencerContext,java.util.Iterator)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer31","l":"dereference(DereferencerContext, Iterator)","u":"dereference(io.swagger.v3.parser.reference.DereferencerContext,java.util.Iterator)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"DereferencerContext(SwaggerParseResult, List, String, ParseOptions, String, Map, Boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.core.models.SwaggerParseResult,java.util.List,java.lang.String,io.swagger.v3.parser.core.models.ParseOptions,java.lang.String,java.util.Map,java.lang.Boolean)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"DeserializationUtils()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"deserialize(JsonNode)","u":"deserialize(com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"deserialize(JsonNode, String)","u":"deserialize(com.fasterxml.jackson.databind.JsonNode,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"deserialize(JsonNode, String, ParseOptions)","u":"deserialize(com.fasterxml.jackson.databind.JsonNode,java.lang.String,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"deserialize(JsonNode, String, ParseOptions, boolean)","u":"deserialize(com.fasterxml.jackson.databind.JsonNode,java.lang.String,io.swagger.v3.parser.core.models.ParseOptions,boolean)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"deserialize(Object, String, Class)","u":"deserialize(java.lang.Object,java.lang.String,java.lang.Class)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"deserialize(Object, String, Class, boolean)","u":"deserialize(java.lang.Object,java.lang.String,java.lang.Class,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"deserializeFragment(JsonNode, Class, String, String, Set)","u":"deserializeFragment(com.fasterxml.jackson.databind.JsonNode,java.lang.Class,java.lang.String,java.lang.String,java.util.Set)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"deserializeIntoTree(String)","u":"deserializeIntoTree(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"deserializeIntoTree(String, String)","u":"deserializeIntoTree(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"deserializeIntoTree(String, String, ParseOptions, SwaggerParseResult)","u":"deserializeIntoTree(java.lang.String,java.lang.String,io.swagger.v3.parser.core.models.ParseOptions,io.swagger.v3.parser.core.models.SwaggerParseResult)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"DISABLE_OAS31_RESOLVE"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"DOUBLE_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"EMAIL_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"ENCODING_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"ENCODING_KEYS_31"},{"p":"io.swagger.v3.parser.exception","c":"EncodingNotSupportedException","l":"EncodingNotSupportedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"ensureComponents(OpenAPI)","u":"ensureComponents(io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.Location","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"EXAMPLE_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"EXAMPLE_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"ExampleProcessor","l":"ExampleProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"examples"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"EXTERNAL_DOCS_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"EXTERNAL_DOCS_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"ExternalRefProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"extra(String, String, JsonNode)","u":"extra(java.lang.String,java.lang.String,com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"findAnchor(JsonNode, String)","u":"findAnchor(com.fasterxml.jackson.databind.JsonNode,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"flatten(OpenAPI)","u":"flatten(io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"flattenProperties(Map, String)","u":"flattenProperties(java.util.Map,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"FLOAT_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"PathUtils","l":"getAbsoluteUrl(String)","u":"getAbsoluteUrl(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getAllOperationsInAPath(PathItem)","u":"getAllOperationsInAPath(io.swagger.v3.oas.models.PathItem)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getAnyType(String, ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getAnyType(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getArray(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getArray(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getArray(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getArray(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getAuths()"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getAuths()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getBigDecimal(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getBigDecimal(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getBoolean(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getBoolean(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"getCache()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getCallback(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getCallback(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getCallbacks(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getCallbacks(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getCommonSchemaFields(ObjectNode, String, OpenAPIDeserializer.ParseResult, Schema)","u":"getCommonSchemaFields(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getComponents(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getComponents(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getContact(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getContact(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getContent(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getContent(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"getContext()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getCurrentUri()"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getDepth()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencersFactory","l":"getDereferencers()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getDiscriminator(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getDiscriminator(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"getEncoding()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getEncoding(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getEncoding(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getEncodingMap(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getEncodingMap(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getExample(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getExample(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getExamples(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getExamples(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"getExtensions()"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"getExtensions(ClassLoader)","u":"getExtensions(java.lang.ClassLoader)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getExtensions(ObjectNode)","u":"getExtensions(com.fasterxml.jackson.databind.node.ObjectNode)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getExternalDocs(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getExternalDocs(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"getExternalFileCache()"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"getExternalPath(String)","u":"getExternalPath(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"getFragment(String)","u":"getFragment(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getHeader(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getHeader(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getHeaders(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getHeaders(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getInfo(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getInfo(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencersFactory","l":"getInstance()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getInteger(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getInteger(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.models","c":"RefType","l":"getInternalPrefix()"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getJsonNode()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getJsonSchema(JsonNode, String, OpenAPIDeserializer.ParseResult)","u":"getJsonSchema(com.fasterxml.jackson.databind.JsonNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getJsonSchemaParserExtensions()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getJsonSchemaParserExtensions(ClassLoader)","u":"getJsonSchemaParserExtensions(java.lang.ClassLoader)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getKeys(ObjectNode)","u":"getKeys(com.fasterxml.jackson.databind.node.ObjectNode)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getLicense(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getLicense(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getLink(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getLink(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getLinks(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getLinks(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"getMaxYamlAliasesForCollections()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"getMaxYamlCodePoints()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"getMaxYamlDepth()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"getMaxYamlReferences()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getMediaType(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getMediaType(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getMessages()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"getMessages()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getOAuthFlow(String, ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getOAuthFlow(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getOAuthFlows(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getOAuthFlows(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getObject(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getObject(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getObjectOrBoolean(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getObjectOrBoolean(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getOpenApi()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getOperation(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getOperation(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"getOptions()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getParameter(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getParameter(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getParameterList(ArrayNode, String, OpenAPIDeserializer.ParseResult)","u":"getParameterList(com.fasterxml.jackson.databind.node.ArrayNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getParameters(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getParameters(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"PathUtils","l":"getParentDirectoryOfFile(String)","u":"getParentDirectoryOfFile(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getParseOptions()"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"getParseOptions()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getPathItem(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getPathItem(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getPathItems(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getPathItems(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getPathItems(ObjectNode, String, OpenAPIDeserializer.ParseResult, Map, boolean)","u":"getPathItems(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.util.Map,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getPaths(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getPaths(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getProvidedBaseUri()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getReferenceSet()"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getReferenceSet()"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"getRefName(String)","u":"getRefName(java.lang.String)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"getRenameCache()"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"getRenamedRef(String)","u":"getRenamedRef(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getRequestBodies(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getRequestBodies(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getRequestBody(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getRequestBody(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"getResolutionCache()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getResponse(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getResponse(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getResponses(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getResponses(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getRootUri()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getSchema(JsonNode, String, OpenAPIDeserializer.ParseResult)","u":"getSchema(com.fasterxml.jackson.databind.JsonNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.extensions","c":"JsonSchemaParserExtension","l":"getSchema(JsonNode, String, OpenAPIDeserializer.ParseResult, Map, String)","u":"getSchema(com.fasterxml.jackson.databind.JsonNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.util.Map,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getSchemas(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getSchemas(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"getSchemaType(Schema)","u":"getSchemaType(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getSecurityRequirementsList(ArrayNode, String, OpenAPIDeserializer.ParseResult)","u":"getSecurityRequirementsList(com.fasterxml.jackson.databind.node.ArrayNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getSecurityScheme(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getSecurityScheme(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getSecuritySchemes(ObjectNode, String, OpenAPIDeserializer.ParseResult, boolean)","u":"getSecuritySchemes(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getServer(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getServer(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getServer(ObjectNode, String, OpenAPIDeserializer.ParseResult, String)","u":"getServer(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getServersList(ArrayNode, String, OpenAPIDeserializer.ParseResult)","u":"getServersList(com.fasterxml.jackson.databind.node.ArrayNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getServersList(ArrayNode, String, OpenAPIDeserializer.ParseResult, String)","u":"getServersList(com.fasterxml.jackson.databind.node.ArrayNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getServerVariable(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getServerVariable(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getServerVariables(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getServerVariables(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getString(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult)","u":"getString(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getString(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult, Set)","u":"getString(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.util.Set)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getString(String, ObjectNode, boolean, String, OpenAPIDeserializer.ParseResult, Set, boolean)","u":"getString(java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,boolean,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.util.Set,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"getSwaggerParseResult()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getTag(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getTag(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getTagList(ArrayNode, String, OpenAPIDeserializer.ParseResult)","u":"getTagList(com.fasterxml.jackson.databind.node.ArrayNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getTagsStrings(ArrayNode, String, OpenAPIDeserializer.ParseResult)","u":"getTagsStrings(com.fasterxml.jackson.databind.node.ArrayNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getUri()"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"getValue()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getWebhooks(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getWebhooks(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"getXml(ObjectNode, String, OpenAPIDeserializer.ParseResult)","u":"getXml(com.fasterxml.jackson.databind.node.ObjectNode,java.lang.String,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"handleRootLocalRefs(String, T, Map)","u":"handleRootLocalRefs(java.lang.String,T,java.util.Map)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.Location","l":"hashCode()"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"hasReferencedKey(String)","u":"hasReferencedKey(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"hasSchemaType(Schema)","u":"hasSchemaType(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"HEADER_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"HEADER_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"HeaderProcessor","l":"HeaderProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"HeaderProcessor","l":"HeaderProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"headers"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"inferSchemaType(boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"inferTypeFromArray(ArrayNode)","u":"inferTypeFromArray(com.fasterxml.jackson.databind.node.ArrayNode)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"INFO_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"INFO_KEYS_31"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"InlineModelResolver()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"InlineModelResolver(boolean, boolean)","u":"%3Cinit%3E(boolean,boolean)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"InlineModelResolver(boolean, boolean, boolean)","u":"%3Cinit%3E(boolean,boolean,boolean)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"INTEGER_TYPE"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"INTEGER32_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"INTEGER64_FORMAT"},{"p":"io.swagger.v3.parser.models","c":"RefFormat","l":"INTERNAL"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"invalid()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"invalidType(String, String, String, JsonNode)","u":"invalidType(java.lang.String,java.lang.String,java.lang.String,com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"isAbsoluteRef(String)","u":"isAbsoluteRef(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"isAddParametersToEachOperation()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"isAllowEmptyStrings()"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"isAnchor(String)","u":"isAnchor(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"isAnchorRef(String)","u":"isAnchorRef(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"isAnExternalRefFormat(RefFormat)","u":"isAnExternalRefFormat(io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"isInferSchemaType()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"isJson(String)","u":"isJson(java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"isLocalRef(String)","u":"isLocalRef(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"isLocalRef(String)","u":"isLocalRef(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"isLocalRefToComponents(String)","u":"isLocalRefToComponents(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"isOaiAuthor()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"isOpenapi31()"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"isSkipMatches()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"isValid()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"isValidateInternalRefs()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"isValidateYamlInput()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"isYamlAllowRecursiveKeys()"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"isYamlCycleCheck()"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"join(String, String)","u":"join(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"JSON_SCHEMA_2020_12_TYPES"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"jsonNode(JsonNode)","u":"jsonNode(com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"jsonPointerEvaluate(String, JsonNode, String)","u":"jsonPointerEvaluate(java.lang.String,com.fasterxml.jackson.databind.JsonNode,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"LICENSE_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"LICENSE_KEYS_31"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"LINK_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"LINK_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"LinkProcessor","l":"LinkProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"LinkProcessor","l":"LinkProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"links"},{"p":"io.swagger.v3.parser.util","c":"ClasspathHelper","l":"loadFileFromClasspath(String)","u":"loadFileFromClasspath(java.lang.String)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"loadRef(String, RefFormat, Class)","u":"loadRef(java.lang.String,io.swagger.v3.parser.models.RefFormat,java.lang.Class)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.Location","l":"Location(String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"makeRefProperty(String, Schema)","u":"makeRefProperty(java.lang.String,io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"matchGenerated(Schema)","u":"matchGenerated(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"MEDIATYPE_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"MEDIATYPE_KEYS_31"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"merge(String, String)","u":"merge(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"mergeSchemas(Schema, Schema)","u":"mergeSchemas(io.swagger.v3.oas.models.media.Schema,io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer31","l":"messages"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"messages(Set)","u":"messages(java.util.Set)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"missing(String, String)","u":"missing(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"modelFromProperty(ArraySchema, String)","u":"modelFromProperty(io.swagger.v3.oas.models.media.ArraySchema,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"modelFromProperty(Schema, String)","u":"modelFromProperty(io.swagger.v3.oas.models.media.Schema,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"mungedRef(String)","u":"mungedRef(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"mungedRef(String)","u":"mungedRef(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"NUMBER_TYPE"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"oaiAuthor(boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OAUTHFLOW_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OAUTHFLOW_KEYS_31"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OAUTHFLOWS_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OAUTHFLOWS_KEYS_31"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"OBJECT_TYPE"},{"p":"io.swagger.v3.parser","c":"ObjectMapperFactory","l":"ObjectMapperFactory()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"openApi"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"openapi31"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"openapi31(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"OpenAPI31Traverser(DereferencerContext)","u":"%3Cinit%3E(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPIDereferencer31","l":"OpenAPIDereferencer31()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OpenAPIDeserializer()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"OpenAPIResolver(OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"OpenAPIResolver(OpenAPI, List)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"OpenAPIResolver(OpenAPI, List, String)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List,java.lang.String)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"OpenAPIResolver(OpenAPI, List, String, OpenAPIResolver.Settings)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List,java.lang.String,io.swagger.v3.parser.OpenAPIResolver.Settings)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"OpenAPIResolver(OpenAPI, List, String, OpenAPIResolver.Settings, ParseOptions)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List,java.lang.String,io.swagger.v3.parser.OpenAPIResolver.Settings,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"openAPITraverser"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"OpenAPIV3Parser()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OPERATION_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"OPERATION_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"OperationProcessor","l":"OperationProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"OperationProcessor","l":"OperationProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"Options()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"PARAMETER_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"PARAMETER_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"ParameterProcessor","l":"ParameterProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"ParameterProcessor","l":"ParameterProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"parameters"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"parse(String, List)","u":"parse(java.lang.String,java.util.List)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"parseJsonNode(String, JsonNode)","u":"parseJsonNode(java.lang.String,com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"parseJsonNode(String, JsonNode, ParseOptions)","u":"parseJsonNode(java.lang.String,com.fasterxml.jackson.databind.JsonNode,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"parseOptions"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"ParseResult()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"parseRoot(JsonNode, OpenAPIDeserializer.ParseResult, String)","u":"parseRoot(com.fasterxml.jackson.databind.JsonNode,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"PASSWORD_FORMAT"},{"p":"io.swagger.v3.parser.models","c":"RefType","l":"PATH"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"PATHITEM_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"PATHITEM_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"PathsProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"PathsProcessor(ResolverCache, OpenAPI, OpenAPIResolver.Settings)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.OpenAPIResolver.Settings)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"PathsProcessor(ResolverCache, OpenAPI, OpenAPIResolver.Settings, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.OpenAPIResolver.Settings,boolean)"},{"p":"io.swagger.v3.parser.util","c":"PathUtils","l":"PathUtils()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"ManagedValue","l":"process(URL)","u":"process(java.net.URL)"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"processArraySchema(ArraySchema)","u":"processArraySchema(io.swagger.v3.oas.models.media.ArraySchema)"},{"p":"io.swagger.v3.parser.processors","c":"CallbackProcessor","l":"processCallback(Callback)","u":"processCallback(io.swagger.v3.oas.models.callbacks.Callback)"},{"p":"io.swagger.v3.parser.processors","c":"ComponentsProcessor","l":"processComponents()"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"processComposedSchema(ComposedSchema)","u":"processComposedSchema(io.swagger.v3.oas.models.media.ComposedSchema)"},{"p":"io.swagger.v3.parser.processors","c":"ExampleProcessor","l":"processExample(Example)","u":"processExample(io.swagger.v3.oas.models.examples.Example)"},{"p":"io.swagger.v3.parser.processors","c":"ExampleProcessor","l":"processExample(List)","u":"processExample(java.util.List)"},{"p":"io.swagger.v3.parser.processors","c":"HeaderProcessor","l":"processHeader(Header)","u":"processHeader(io.swagger.v3.oas.models.headers.Header)"},{"p":"io.swagger.v3.parser.processors","c":"LinkProcessor","l":"processLink(Link)","u":"processLink(io.swagger.v3.oas.models.links.Link)"},{"p":"io.swagger.v3.parser.processors","c":"OperationProcessor","l":"processOperation(Operation)","u":"processOperation(io.swagger.v3.oas.models.Operation)"},{"p":"io.swagger.v3.parser.processors","c":"ParameterProcessor","l":"processParameter(Parameter)","u":"processParameter(io.swagger.v3.oas.models.parameters.Parameter)"},{"p":"io.swagger.v3.parser.processors","c":"ParameterProcessor","l":"processParameters(List)","u":"processParameters(java.util.List)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"processPaths()"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"processPropertySchema(Schema)","u":"processPropertySchema(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.processors","c":"CallbackProcessor","l":"processReferenceCallback(Callback)","u":"processReferenceCallback(io.swagger.v3.oas.models.callbacks.Callback)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"processReferencePath(PathItem)","u":"processReferencePath(io.swagger.v3.oas.models.PathItem)"},{"p":"io.swagger.v3.parser.processors","c":"RequestBodyProcessor","l":"processReferenceRequestBody(RequestBody)","u":"processReferenceRequestBody(io.swagger.v3.oas.models.parameters.RequestBody)"},{"p":"io.swagger.v3.parser.processors","c":"ResponseProcessor","l":"processReferenceResponse(ApiResponse)","u":"processReferenceResponse(io.swagger.v3.oas.models.responses.ApiResponse)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalCallback(String, RefFormat)","u":"processRefToExternalCallback(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalExample(String, RefFormat)","u":"processRefToExternalExample(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalHeader(String, RefFormat)","u":"processRefToExternalHeader(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalLink(String, RefFormat)","u":"processRefToExternalLink(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalParameter(String, RefFormat)","u":"processRefToExternalParameter(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalPathItem(String, RefFormat)","u":"processRefToExternalPathItem(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalRequestBody(String, RefFormat)","u":"processRefToExternalRequestBody(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalResponse(String, RefFormat)","u":"processRefToExternalResponse(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalSchema(String, RefFormat)","u":"processRefToExternalSchema(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"ExternalRefProcessor","l":"processRefToExternalSecurityScheme(String, RefFormat)","u":"processRefToExternalSecurityScheme(java.lang.String,io.swagger.v3.parser.models.RefFormat)"},{"p":"io.swagger.v3.parser.processors","c":"RequestBodyProcessor","l":"processRequestBody(RequestBody)","u":"processRequestBody(io.swagger.v3.oas.models.parameters.RequestBody)"},{"p":"io.swagger.v3.parser.processors","c":"ResponseProcessor","l":"processResponse(ApiResponse)","u":"processResponse(io.swagger.v3.oas.models.responses.ApiResponse)"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"processSchema(Schema)","u":"processSchema(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.processors","c":"ComponentsProcessor","l":"processSchemas(Set, Map)","u":"processSchemas(java.util.Set,java.util.Map)"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"processSchemaType(Schema)","u":"processSchemaType(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.processors","c":"SecuritySchemeProcessor","l":"processSecurityScheme(SecurityScheme)","u":"processSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"providedBaseUri"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"providedBaseUri(String)","u":"providedBaseUri(java.lang.String)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"putRenamedRef(String, String)","u":"putRenamedRef(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"read(String)","u":"read(java.lang.String)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"read(String, List, ParseOptions)","u":"read(java.lang.String,java.util.List,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"readClasspath(String)","u":"readClasspath(java.lang.String)"},{"p":"io.swagger.v3.parser.exception","c":"ReadContentException","l":"ReadContentException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"readContents(String)","u":"readContents(java.lang.String)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"readContents(String, List, ParseOptions)","u":"readContents(java.lang.String,java.util.List,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"readContents(String, List, ParseOptions, String)","u":"readContents(java.lang.String,java.util.List,io.swagger.v3.parser.core.models.ParseOptions,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"readExternalClasspathRef(String, RefFormat, List, String)","u":"readExternalClasspathRef(java.lang.String,io.swagger.v3.parser.models.RefFormat,java.util.List,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"readExternalRef(String, RefFormat, List, Path)","u":"readExternalRef(java.lang.String,io.swagger.v3.parser.models.RefFormat,java.util.List,java.nio.file.Path)"},{"p":"io.swagger.v3.parser.util","c":"RefUtils","l":"readExternalUrlRef(String, RefFormat, List, String)","u":"readExternalUrlRef(java.lang.String,io.swagger.v3.parser.models.RefFormat,java.util.List,java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"readFile(String)","u":"readFile(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"readHttp(String, List)","u":"readHttp(java.lang.String,java.util.List)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"readLocation(String, List, ParseOptions)","u":"readLocation(java.lang.String,java.util.List,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"readURI(String, List)","u":"readURI(java.lang.String,java.util.List)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"readWithInfo(String, JsonNode)","u":"readWithInfo(java.lang.String,com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"readWithInfo(String, List)","u":"readWithInfo(java.lang.String,java.util.List)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"readYamlTree(String)","u":"readYamlTree(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"readYamlTree(String, ParseOptions, SwaggerParseResult)","u":"readYamlTree(java.lang.String,io.swagger.v3.parser.core.models.ParseOptions,io.swagger.v3.parser.core.models.SwaggerParseResult)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"readYamlValue(String, Class)","u":"readYamlValue(java.lang.String,java.lang.Class)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils","l":"readYamlValue(String, Class, boolean)","u":"readYamlValue(java.lang.String,java.lang.Class,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"reference"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"Reference()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"referenceSet(Map)","u":"referenceSet(java.util.Map)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"referenceSet(Map)","u":"referenceSet(java.util.Map)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"ReferenceUtils()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"ReferenceVisitor(Reference, OpenAPI31Traverser, HashSet, HashMap)","u":"%3Cinit%3E(io.swagger.v3.parser.reference.Reference,io.swagger.v3.parser.reference.OpenAPI31Traverser,java.util.HashSet,java.util.HashMap)"},{"p":"io.swagger.v3.parser.models","c":"RefFormat","l":"RELATIVE"},{"p":"io.swagger.v3.parser.util","c":"RemoteUrl","l":"RemoteUrl()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.reference","c":"DereferencersFactory","l":"removeDereferencer(OpenAPIDereferencer)","u":"removeDereferencer(io.swagger.v3.parser.reference.OpenAPIDereferencer)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"REQUEST_BODY_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"REQUEST_BODY_KEYS_31"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"requestBodies"},{"p":"io.swagger.v3.parser.processors","c":"RequestBodyProcessor","l":"RequestBodyProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"RequestBodyProcessor","l":"RequestBodyProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"RESERVED_KEYWORDS_31"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"reserved(String, String)","u":"reserved(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"resolve()"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"resolve(String, String)","u":"resolve(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver","l":"resolve(SwaggerParseResult)","u":"resolve(io.swagger.v3.parser.core.models.SwaggerParseResult)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveCallback(Callback)","u":"resolveCallback(io.swagger.v3.oas.models.callbacks.Callback)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveExample(Map)","u":"resolveExample(java.util.Map)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveFully(OpenAPI)","u":"resolveFully(io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveHeader(Header)","u":"resolveHeader(io.swagger.v3.oas.models.headers.Header)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveLink(Link)","u":"resolveLink(io.swagger.v3.oas.models.links.Link)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveParameter(Parameter)","u":"resolveParameter(io.swagger.v3.oas.models.parameters.Parameter)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolvePath(PathItem)","u":"resolvePath(io.swagger.v3.oas.models.PathItem)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"ResolverCache(OpenAPI, List, String)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List,java.lang.String)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"ResolverCache(OpenAPI, List, String, Set)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List,java.lang.String,java.util.Set)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"ResolverCache(OpenAPI, List, String, Set, ParseOptions)","u":"%3Cinit%3E(io.swagger.v3.oas.models.OpenAPI,java.util.List,java.lang.String,java.util.Set,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"resolveRef(T, String, Class, BiFunction)","u":"resolveRef(T,java.lang.String,java.lang.Class,java.util.function.BiFunction)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveRequestBody(RequestBody)","u":"resolveRequestBody(io.swagger.v3.oas.models.parameters.RequestBody)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"ResolverFully()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"ResolverFully(boolean)","u":"%3Cinit%3E(boolean)"},{"p":"io.swagger.v3.parser.util","c":"ResolverFully","l":"resolveSchema(Schema)","u":"resolveSchema(io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser.extensions","c":"JsonSchemaParserExtension","l":"resolveSchema(Schema, ResolverCache, OpenAPI, boolean)","u":"resolveSchema(io.swagger.v3.oas.models.media.Schema,io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"resolveSchemaRef(Schema, String, List)","u":"resolveSchemaRef(io.swagger.v3.oas.models.media.Schema,java.lang.String,java.util.List)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"RESPONSE_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"RESPONSE_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"ResponseProcessor","l":"ResponseProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"ResponseProcessor","l":"ResponseProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"responses"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"ROOT_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"ROOT_KEYS_31"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"rootUri"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"rootUri(String)","u":"rootUri(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SCHEMA_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SCHEMA_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"SchemaProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.processors","c":"SchemaProcessor","l":"SchemaProcessor(ResolverCache, OpenAPI, boolean)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI,boolean)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"schemas"},{"p":"io.swagger.v3.parser.models","c":"RefType","l":"SCHEMAS"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"SchemaTypeUtil()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SECURITY_SCHEME_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SECURITY_SCHEME_KEYS_31"},{"p":"io.swagger.v3.parser.processors","c":"SecuritySchemeProcessor","l":"SecuritySchemeProcessor(ResolverCache, OpenAPI)","u":"%3Cinit%3E(io.swagger.v3.parser.ResolverCache,io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"securitySchemes"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SERVER_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SERVER_KEYS_31"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SERVER_VARIABLE_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"SERVER_VARIABLE_KEYS_31"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"setAddParametersToEachOperation(boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"setAllowEmptyStrings(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setAuths(List)","u":"setAuths(java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"setContext(DereferencerContext)","u":"setContext(io.swagger.v3.parser.reference.DereferencerContext)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"setCurrentUri(String)","u":"setCurrentUri(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setDepth(int)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"setEncoding(String)","u":"setEncoding(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"setInferSchemaType(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setJsonNode(JsonNode)","u":"setJsonNode(com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"setMaxYamlAliasesForCollections(Integer)","u":"setMaxYamlAliasesForCollections(java.lang.Integer)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"setMaxYamlDepth(Integer)","u":"setMaxYamlDepth(java.lang.Integer)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"setMaxYamlReferences(Long)","u":"setMaxYamlReferences(java.lang.Long)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setMessages(Set)","u":"setMessages(java.util.Set)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"setOaiAuthor(boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"setOpenapi31(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"setReferenceSet(Map)","u":"setReferenceSet(java.util.Map)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setReferenceSet(Map)","u":"setReferenceSet(java.util.Map)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"setSkipMatches(boolean)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"setStyle(String, Parameter, String, ObjectNode, OpenAPIDeserializer.ParseResult)","u":"setStyle(java.lang.String,io.swagger.v3.oas.models.parameters.Parameter,java.lang.String,com.fasterxml.jackson.databind.node.ObjectNode,io.swagger.v3.parser.util.OpenAPIDeserializer.ParseResult)"},{"p":"io.swagger.v3.parser","c":"OpenAPIResolver.Settings","l":"Settings()","u":"%3Cinit%3E()"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setUri(String)","u":"setUri(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"setValidateInternalRefs(boolean)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"setValidateYamlInput(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"setValue(Object)","u":"setValue(java.lang.Object)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"setYamlAllowRecursiveKeys(boolean)"},{"p":"io.swagger.v3.parser.util","c":"DeserializationUtils.Options","l":"setYamlCycleCheck(boolean)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"shouldHandleRootLocalRefs(boolean, String, ReferenceVisitor)","u":"shouldHandleRootLocalRefs(boolean,java.lang.String,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"STRING_TYPE"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"swaggerParseResult"},{"p":"io.swagger.v3.parser.reference","c":"DereferencerContext","l":"swaggerParseResult(SwaggerParseResult)","u":"swaggerParseResult(io.swagger.v3.parser.core.models.SwaggerParseResult)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"TAG_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"TAG_KEYS_31"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"toBaseURI(String)","u":"toBaseURI(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"toBaseURI(String)","u":"toBaseURI(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"toReference(String)","u":"toReference(java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"toSchemaReference(String, JsonNode)","u":"toSchemaReference(java.lang.String,com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser","c":"OpenAPIV3Parser","l":"transform(List)","u":"transform(java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverse(OpenAPI, Visitor)","u":"traverse(io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.reference.Visitor)"},{"p":"io.swagger.v3.parser.reference","c":"Traverser","l":"traverse(OpenAPI, Visitor)","u":"traverse(io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.reference.Visitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseCallback(Callback, ReferenceVisitor)","u":"traverseCallback(io.swagger.v3.oas.models.callbacks.Callback,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseComponents(Components, ReferenceVisitor)","u":"traverseComponents(io.swagger.v3.oas.models.Components,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseEncoding(Encoding, ReferenceVisitor)","u":"traverseEncoding(io.swagger.v3.oas.models.media.Encoding,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseExample(Example, ReferenceVisitor)","u":"traverseExample(io.swagger.v3.oas.models.examples.Example,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseHeader(Header, ReferenceVisitor)","u":"traverseHeader(io.swagger.v3.oas.models.headers.Header,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseLink(Link, ReferenceVisitor)","u":"traverseLink(io.swagger.v3.oas.models.links.Link,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseMap(Map, ReferenceVisitor, BiFunction)","u":"traverseMap(java.util.Map,io.swagger.v3.parser.reference.ReferenceVisitor,java.util.function.BiFunction)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseMediaType(MediaType, ReferenceVisitor)","u":"traverseMediaType(io.swagger.v3.oas.models.media.MediaType,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseOpenApi(OpenAPI, ReferenceVisitor)","u":"traverseOpenApi(io.swagger.v3.oas.models.OpenAPI,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseOperation(Operation, ReferenceVisitor)","u":"traverseOperation(io.swagger.v3.oas.models.Operation,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseParameter(Parameter, ReferenceVisitor)","u":"traverseParameter(io.swagger.v3.oas.models.parameters.Parameter,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traversePathItem(PathItem, ReferenceVisitor)","u":"traversePathItem(io.swagger.v3.oas.models.PathItem,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traversePaths(Paths, ReferenceVisitor)","u":"traversePaths(io.swagger.v3.oas.models.Paths,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseRequestBody(RequestBody, ReferenceVisitor)","u":"traverseRequestBody(io.swagger.v3.oas.models.parameters.RequestBody,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseResponse(ApiResponse, ReferenceVisitor)","u":"traverseResponse(io.swagger.v3.oas.models.responses.ApiResponse,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseResponses(ApiResponses, ReferenceVisitor)","u":"traverseResponses(io.swagger.v3.oas.models.responses.ApiResponses,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseSchema(Schema, ReferenceVisitor, List)","u":"traverseSchema(io.swagger.v3.oas.models.media.Schema,io.swagger.v3.parser.reference.ReferenceVisitor,java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseSchemaMap(Map, ReferenceVisitor, List)","u":"traverseSchemaMap(java.util.Map,io.swagger.v3.parser.reference.ReferenceVisitor,java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"traverseSecurityScheme(SecurityScheme, ReferenceVisitor)","u":"traverseSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme,io.swagger.v3.parser.reference.ReferenceVisitor)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceUtils","l":"unescapePointer(String)","u":"unescapePointer(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"unique(String, String)","u":"unique(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"InlineModelResolver","l":"uniqueName(String)","u":"uniqueName(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"uniqueTags(String, String)","u":"uniqueTags(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"unsupported(String, String, JsonNode)","u":"unsupported(java.lang.String,java.lang.String,com.fasterxml.jackson.databind.JsonNode)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"updateLocalRefs(String, Schema)","u":"updateLocalRefs(java.lang.String,io.swagger.v3.oas.models.media.Schema)"},{"p":"io.swagger.v3.parser","c":"ResolverCache","l":"updateLocalRefs(String, T)","u":"updateLocalRefs(java.lang.String,T)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"updateReferenceForParentNode(Schema, String)","u":"updateReferenceForParentNode(io.swagger.v3.oas.models.media.Schema,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"updateRefs(ApiResponse, String)","u":"updateRefs(io.swagger.v3.oas.models.responses.ApiResponse,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"updateRefs(Example, String)","u":"updateRefs(io.swagger.v3.oas.models.examples.Example,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"updateRefs(Parameter, String)","u":"updateRefs(io.swagger.v3.oas.models.parameters.Parameter,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"updateRefs(PathItem, String)","u":"updateRefs(io.swagger.v3.oas.models.PathItem,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"updateRefs(RequestBody, String)","u":"updateRefs(io.swagger.v3.oas.models.parameters.RequestBody,java.lang.String)"},{"p":"io.swagger.v3.parser.processors","c":"PathsProcessor","l":"updateRefs(Schema, String)","u":"updateRefs(io.swagger.v3.oas.models.media.Schema,java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"uri(String)","u":"uri(java.lang.String)"},{"p":"io.swagger.v3.parser.models","c":"RefFormat","l":"URL"},{"p":"io.swagger.v3.parser.util","c":"RemoteUrl","l":"urlToString(String, List)","u":"urlToString(java.lang.String,java.util.List)"},{"p":"io.swagger.v3.parser.util","c":"SchemaTypeUtil","l":"UUID_FORMAT"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"validateComponent(Components, String)","u":"validateComponent(io.swagger.v3.oas.models.Components,java.lang.String)"},{"p":"io.swagger.v3.parser.reference","c":"Reference","l":"value(Object)","u":"value(java.lang.Object)"},{"p":"io.swagger.v3.parser.models","c":"RefFormat","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"io.swagger.v3.parser.models","c":"RefType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"io.swagger.v3.parser.models","c":"RefFormat","l":"values()"},{"p":"io.swagger.v3.parser.models","c":"RefType","l":"values()"},{"p":"io.swagger.v3.parser.util","c":"ReferenceValidator","l":"values()"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitComponents(Components)","u":"visitComponents(io.swagger.v3.oas.models.Components)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitComponents(Components)","u":"visitComponents(io.swagger.v3.oas.models.Components)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visited"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"visitedMap"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitedMap"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitEncoding(Encoding)","u":"visitEncoding(io.swagger.v3.oas.models.media.Encoding)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitEncoding(Encoding)","u":"visitEncoding(io.swagger.v3.oas.models.media.Encoding)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitExample(Example)","u":"visitExample(io.swagger.v3.oas.models.examples.Example)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitExample(Example)","u":"visitExample(io.swagger.v3.oas.models.examples.Example)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitExample(Example)","u":"visitExample(io.swagger.v3.oas.models.examples.Example)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitHeader(Header)","u":"visitHeader(io.swagger.v3.oas.models.headers.Header)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitHeader(Header)","u":"visitHeader(io.swagger.v3.oas.models.headers.Header)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitHeader(Header)","u":"visitHeader(io.swagger.v3.oas.models.headers.Header)"},{"p":"io.swagger.v3.parser.reference","c":"OpenAPI31Traverser","l":"visiting"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitLink(Link)","u":"visitLink(io.swagger.v3.oas.models.links.Link)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitLink(Link)","u":"visitLink(io.swagger.v3.oas.models.links.Link)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitLink(Link)","u":"visitLink(io.swagger.v3.oas.models.links.Link)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitMediaType(MediaType)","u":"visitMediaType(io.swagger.v3.oas.models.media.MediaType)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitMediaType(MediaType)","u":"visitMediaType(io.swagger.v3.oas.models.media.MediaType)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitOpenApi(OpenAPI)","u":"visitOpenApi(io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitOpenApi(OpenAPI)","u":"visitOpenApi(io.swagger.v3.oas.models.OpenAPI)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitOperation(Operation)","u":"visitOperation(io.swagger.v3.oas.models.Operation)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitOperation(Operation)","u":"visitOperation(io.swagger.v3.oas.models.Operation)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitParameter(Parameter)","u":"visitParameter(io.swagger.v3.oas.models.parameters.Parameter)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitParameter(Parameter)","u":"visitParameter(io.swagger.v3.oas.models.parameters.Parameter)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitParameter(Parameter)","u":"visitParameter(io.swagger.v3.oas.models.parameters.Parameter)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitPathItem(PathItem)","u":"visitPathItem(io.swagger.v3.oas.models.PathItem)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitPathItem(PathItem)","u":"visitPathItem(io.swagger.v3.oas.models.PathItem)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitPathItem(PathItem)","u":"visitPathItem(io.swagger.v3.oas.models.PathItem)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitPaths(Paths)","u":"visitPaths(io.swagger.v3.oas.models.Paths)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitPaths(Paths)","u":"visitPaths(io.swagger.v3.oas.models.Paths)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitRequestBody(RequestBody)","u":"visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitRequestBody(RequestBody)","u":"visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitRequestBody(RequestBody)","u":"visitRequestBody(io.swagger.v3.oas.models.parameters.RequestBody)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitResponse(ApiResponse)","u":"visitResponse(io.swagger.v3.oas.models.responses.ApiResponse)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitResponse(ApiResponse)","u":"visitResponse(io.swagger.v3.oas.models.responses.ApiResponse)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitResponse(ApiResponse)","u":"visitResponse(io.swagger.v3.oas.models.responses.ApiResponse)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitResponses(ApiResponses)","u":"visitResponses(io.swagger.v3.oas.models.responses.ApiResponses)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitResponses(ApiResponses)","u":"visitResponses(io.swagger.v3.oas.models.responses.ApiResponses)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitSchema(Schema, List)","u":"visitSchema(io.swagger.v3.oas.models.media.Schema,java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitSchema(Schema, List)","u":"visitSchema(io.swagger.v3.oas.models.media.Schema,java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitSchema(Schema, List)","u":"visitSchema(io.swagger.v3.oas.models.media.Schema,java.util.List)"},{"p":"io.swagger.v3.parser.reference","c":"AbstractVisitor","l":"visitSecurityScheme(SecurityScheme)","u":"visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme)"},{"p":"io.swagger.v3.parser.reference","c":"ReferenceVisitor","l":"visitSecurityScheme(SecurityScheme)","u":"visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme)"},{"p":"io.swagger.v3.parser.reference","c":"Visitor","l":"visitSecurityScheme(SecurityScheme)","u":"visitSecurityScheme(io.swagger.v3.oas.models.security.SecurityScheme)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer.ParseResult","l":"warning(String, String)","u":"warning(java.lang.String,java.lang.String)"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"XML_KEYS"},{"p":"io.swagger.v3.parser.util","c":"OpenAPIDeserializer","l":"XML_KEYS_31"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/docs/javadoc/module-search-index.js b/modules/swagger-parser-v3/build/docs/javadoc/module-search-index.js new file mode 100644 index 0000000000..0d59754fc4 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/docs/javadoc/overview-summary.html b/modules/swagger-parser-v3/build/docs/javadoc/overview-summary.html new file mode 100644 index 0000000000..f2c291b742 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/overview-summary.html @@ -0,0 +1,25 @@ + + + + +swagger-parser-v3 2.1.13.1-SNAPSHOT API + + + + + + + + + + +
    + +

    index.html

    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/overview-tree.html b/modules/swagger-parser-v3/build/docs/javadoc/overview-tree.html new file mode 100644 index 0000000000..3926b7bd47 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/overview-tree.html @@ -0,0 +1,163 @@ + + + + +Class Hierarchy (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    +

    Class Hierarchy

    + +
    +
    +

    Interface Hierarchy

    + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/package-search-index.js b/modules/swagger-parser-v3/build/docs/javadoc/package-search-index.js new file mode 100644 index 0000000000..d86361f76b --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"io.swagger.v3.parser"},{"l":"io.swagger.v3.parser.exception"},{"l":"io.swagger.v3.parser.extensions"},{"l":"io.swagger.v3.parser.models"},{"l":"io.swagger.v3.parser.processors"},{"l":"io.swagger.v3.parser.reference"},{"l":"io.swagger.v3.parser.util"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/docs/javadoc/resources/glass.png b/modules/swagger-parser-v3/build/docs/javadoc/resources/glass.png new file mode 100644 index 0000000000..a7f591f467 Binary files /dev/null and b/modules/swagger-parser-v3/build/docs/javadoc/resources/glass.png differ diff --git a/modules/swagger-parser-v3/build/docs/javadoc/resources/x.png b/modules/swagger-parser-v3/build/docs/javadoc/resources/x.png new file mode 100644 index 0000000000..30548a756e Binary files /dev/null and b/modules/swagger-parser-v3/build/docs/javadoc/resources/x.png differ diff --git a/modules/swagger-parser-v3/build/docs/javadoc/script-dir/jquery-3.6.0.min.js b/modules/swagger-parser-v3/build/docs/javadoc/script-dir/jquery-3.6.0.min.js new file mode 100644 index 0000000000..c4c6022f29 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/script-dir/jquery-3.6.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n
    "),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(E(s),E(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,l=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
      ").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)});s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
      ").text(i))},100))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("
      ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
      ").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}});x.ui.autocomplete}); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/docs/javadoc/script.js b/modules/swagger-parser-v3/build/docs/javadoc/script.js new file mode 100644 index 0000000000..62953632e9 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/script.js @@ -0,0 +1,266 @@ +/* + * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; + +var oddRowColor = "odd-row-color"; +var evenRowColor = "even-row-color"; +var sortAsc = "sort-asc"; +var sortDesc = "sort-desc"; +var tableTab = "table-tab"; +var activeTableTab = "active-table-tab"; + +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +// Helper for making content containing release names comparable lexicographically +function makeComparable(s) { + return s.toLowerCase().replace(/(\d+)/g, + function(n, m) { + return ("000" + m).slice(-4); + }); +} + +// Switches between two styles depending on a condition +function toggleStyle(classList, condition, trueStyle, falseStyle) { + if (condition) { + classList.remove(falseStyle); + classList.add(trueStyle); + } else { + classList.remove(trueStyle); + classList.add(falseStyle); + } +} + +// Sorts the rows in a table lexicographically by the content of a specific column +function sortTable(header, columnIndex, columns) { + var container = header.parentElement; + var descending = header.classList.contains(sortAsc); + container.querySelectorAll("div.table-header").forEach( + function(header) { + header.classList.remove(sortAsc); + header.classList.remove(sortDesc); + } + ) + var cells = container.children; + var rows = []; + for (var i = columns; i < cells.length; i += columns) { + rows.push(Array.prototype.slice.call(cells, i, i + columns)); + } + var comparator = function(a, b) { + var ka = makeComparable(a[columnIndex].textContent); + var kb = makeComparable(b[columnIndex].textContent); + if (ka < kb) + return descending ? 1 : -1; + if (ka > kb) + return descending ? -1 : 1; + return 0; + }; + var sorted = rows.sort(comparator); + var visible = 0; + sorted.forEach(function(row) { + if (row[0].style.display !== 'none') { + var isEvenRow = visible++ % 2 === 0; + } + row.forEach(function(cell) { + toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor); + container.appendChild(cell); + }) + }); + toggleStyle(header.classList, descending, sortDesc, sortAsc); +} + +// Toggles the visibility of a table category in all tables in a page +function toggleGlobal(checkbox, selected, columns) { + var display = checkbox.checked ? '' : 'none'; + document.querySelectorAll("div.table-tabs").forEach(function(t) { + var id = t.parentElement.getAttribute("id"); + var selectedClass = id + "-tab" + selected; + // if selected is empty string it selects all uncategorized entries + var selectUncategorized = !Boolean(selected); + var visible = 0; + document.querySelectorAll('div.' + id) + .forEach(function(elem) { + if (selectUncategorized) { + if (elem.className.indexOf(selectedClass) === -1) { + elem.style.display = display; + } + } else if (elem.classList.contains(selectedClass)) { + elem.style.display = display; + } + if (elem.style.display === '') { + var isEvenRow = visible++ % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + } + }); + t.parentElement.style.display = visible === 0 ? 'none' : ''; + }) +} + +// Shows the elements of a table belonging to a specific category +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.querySelector('div#' + tableId +' .summary-table') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} +// Copy the contents of the local snippet to the clipboard +function copySnippet(button) { + copyToClipboard(button.nextElementSibling.innerText); + switchCopyLabel(button.firstElementChild, button.parentElement); +} +// Copy the link to the adjacent header to the clipboard +function copyUrl(button) { + var id; + var header = button.parentElement; + if (header.hasAttribute("id")) { + id = header.getAttribute("id"); + } else if (header.parentElement.tagName === 'SECTION' && header.parentElement.hasAttribute("id")) { + id = header.parentElement.getAttribute("id"); + } else if (header.firstElementChild && header.firstElementChild.tagName === "A" + && header.firstElementChild.hasAttribute("id")) { + id = header.firstElementChild.getAttribute("id"); + } + var url = document.location.href; + if (url.indexOf("#") > -1) { + url = url.substring(0, url.indexOf("#")); + } + copyToClipboard(url + "#" + id); + switchCopyLabel(button.lastElementChild, button.parentElement); +} +function copyToClipboard(content) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = content; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); +} +function switchCopyLabel(span, parent) { + var copied = span.getAttribute("data-copied"); + if (span.innerHTML !== copied) { + var initialLabel = span.innerHTML; + span.innerHTML = copied; + parent.onmouseleave = parent.ontouchend = function() { + span.innerHTML = initialLabel; + }; + } +} +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + var timeoutId; + contentDiv.addEventListener("scroll", function(e) { + if (timeoutId) { + clearTimeout(timeoutId); + } + timeoutId = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + }, 100); + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/modules/swagger-parser-v3/build/docs/javadoc/search-page.js b/modules/swagger-parser-v3/build/docs/javadoc/search-page.js new file mode 100644 index 0000000000..d55f29e592 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/search-page.js @@ -0,0 +1,299 @@ +/* + * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +"use strict"; +$(function() { + var copy = $("#page-search-copy"); + var expand = $("#page-search-expand"); + var searchLink = $("span#page-search-link"); + var redirect = $("input#search-redirect"); + function setSearchUrlTemplate() { + var href = document.location.href.split(/[#?]/)[0]; + href += "?q=" + "%s"; + if (redirect.is(":checked")) { + href += "&r=1"; + } + searchLink.html(href); + copy[0].onmouseenter(); + } + function copyLink(e) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = this.previousSibling.innerText; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); + var span = this.lastElementChild; + var copied = span.getAttribute("data-copied"); + if (span.innerHTML !== copied) { + var initialLabel = span.innerHTML; + span.innerHTML = copied; + var parent = this.parentElement.parentElement; + parent.onmouseleave = parent.ontouchend = copy[0].onmouseenter = function() { + span.innerHTML = initialLabel; + }; + } + } + copy.click(copyLink); + copy[0].onmouseenter = function() {}; + redirect.click(setSearchUrlTemplate); + setSearchUrlTemplate(); + copy.prop("disabled", false); + redirect.prop("disabled", false); + expand.click(function (e) { + var searchInfo = $("div.page-search-info"); + if(this.parentElement.hasAttribute("open")) { + searchInfo.attr("style", "border-width: 0;"); + } else { + searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight")); + } + }); +}); +$(window).on("load", function() { + var input = $("#page-search-input"); + var reset = $("#page-search-reset"); + var notify = $("#page-search-notify"); + var resultSection = $("div#result-section"); + var resultContainer = $("div#result-container"); + var searchTerm = ""; + var activeTab = ""; + var fixedTab = false; + var visibleTabs = []; + var feelingLucky = false; + function renderResults(result) { + if (!result.length) { + notify.html(messages.noResult); + } else if (result.length === 1) { + notify.html(messages.oneResult); + } else { + notify.html(messages.manyResults.replace("{0}", result.length)); + } + resultContainer.empty(); + var r = { + "types": [], + "members": [], + "packages": [], + "modules": [], + "searchTags": [] + }; + for (var i in result) { + var item = result[i]; + var arr = r[item.category]; + arr.push(item); + } + if (!activeTab || r[activeTab].length === 0 || !fixedTab) { + Object.keys(r).reduce(function(prev, curr) { + if (r[curr].length > 0 && r[curr][0].score > prev) { + activeTab = curr; + return r[curr][0].score; + } + return prev; + }, 0); + } + if (feelingLucky && activeTab) { + notify.html(messages.redirecting) + var firstItem = r[activeTab][0]; + window.location = getURL(firstItem.indexItem, firstItem.category); + return; + } + if (result.length > 20) { + if (searchTerm[searchTerm.length - 1] === ".") { + if (activeTab === "types" && r["members"].length > r["types"].length) { + activeTab = "members"; + } else if (activeTab === "packages" && r["types"].length > r["packages"].length) { + activeTab = "types"; + } + } + } + var categoryCount = Object.keys(r).reduce(function(prev, curr) { + return prev + (r[curr].length > 0 ? 1 : 0); + }, 0); + visibleTabs = []; + var tabContainer = $("
      ").appendTo(resultContainer); + for (var key in r) { + var id = "#result-tab-" + key.replace("searchTags", "search_tags"); + if (r[key].length) { + var count = r[key].length >= 1000 ? "999+" : r[key].length; + if (result.length > 20 && categoryCount > 1) { + var button = $("").appendTo(tabContainer); + button.click(key, function(e) { + fixedTab = true; + renderResult(e.data, $(this)); + }); + visibleTabs.push(key); + } else { + $("" + categories[key] + + " (" + count + ")").appendTo(tabContainer); + renderTable(key, r[key]).appendTo(resultContainer); + tabContainer = $("
      ").appendTo(resultContainer); + + } + } + } + if (activeTab && result.length > 20 && categoryCount > 1) { + $("button#result-tab-" + activeTab).addClass("active-table-tab"); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + } + resultSection.show(); + function renderResult(category, button) { + activeTab = category; + setSearchUrl(); + resultContainer.find("div.summary-table").remove(); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + button.siblings().removeClass("active-table-tab"); + button.addClass("active-table-tab"); + } + } + function selectTab(category) { + $("button#result-tab-" + category).click(); + } + function renderTable(category, items) { + var table = $("
      ") + .addClass(category === "modules" + ? "one-column-search-results" + : "two-column-search-results"); + var col1, col2; + if (category === "modules") { + col1 = "Module"; + } else if (category === "packages") { + col1 = "Module"; + col2 = "Package"; + } else if (category === "types") { + col1 = "Package"; + col2 = "Class" + } else if (category === "members") { + col1 = "Class"; + col2 = "Member"; + } else if (category === "searchTags") { + col1 = "Location"; + col2 = "Name"; + } + $("
      " + col1 + "
      ").appendTo(table); + if (category !== "modules") { + $("
      " + col2 + "
      ").appendTo(table); + } + $.each(items, function(index, item) { + var rowColor = index % 2 ? "odd-row-color" : "even-row-color"; + renderItem(item, table, rowColor); + }); + return table; + } + function renderItem(item, table, rowColor) { + var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length); + var link = $("") + .attr("href", getURL(item.indexItem, item.category)) + .attr("tabindex", "0") + .addClass("search-result-link") + .html(label); + var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1); + if (item.category === "searchTags") { + container = item.indexItem.h || ""; + } + if (item.category !== "modules") { + $("
      ").html(container).addClass("col-plain").addClass(rowColor).appendTo(table); + } + $("
      ").html(link).addClass("col-last").addClass(rowColor).appendTo(table); + } + var timeout; + function schedulePageSearch() { + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(function () { + doPageSearch() + }, 100); + } + function doPageSearch() { + setSearchUrl(); + var term = searchTerm = input.val().trim(); + if (term === "") { + notify.html(messages.enterTerm); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + resultSection.hide(); + } else { + notify.html(messages.searching); + doSearch({ term: term, maxResults: 1200 }, renderResults); + } + } + function setSearchUrl() { + var query = input.val().trim(); + var url = document.location.pathname; + if (query) { + url += "?q=" + encodeURI(query); + if (activeTab && fixedTab) { + url += "&c=" + activeTab; + } + } + history.replaceState({query: query}, "", url); + } + input.on("input", function(e) { + feelingLucky = false; + schedulePageSearch(); + }); + $(document).keydown(function(e) { + if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) { + if (activeTab && visibleTabs.length > 1) { + var idx = visibleTabs.indexOf(activeTab); + idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1; + selectTab(visibleTabs[idx % visibleTabs.length]); + return false; + } + } + }); + reset.click(function() { + notify.html(messages.enterTerm); + resultSection.hide(); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + input.val('').focus(); + setSearchUrl(); + }); + input.prop("disabled", false); + reset.prop("disabled", false); + + var urlParams = new URLSearchParams(window.location.search); + if (urlParams.has("q")) { + input.val(urlParams.get("q")) + } + if (urlParams.has("c")) { + activeTab = urlParams.get("c"); + fixedTab = true; + } + if (urlParams.get("r")) { + feelingLucky = true; + } + if (input.val()) { + doPageSearch(); + } else { + notify.html(messages.enterTerm); + } + input.select().focus(); +}); diff --git a/modules/swagger-parser-v3/build/docs/javadoc/search.html b/modules/swagger-parser-v3/build/docs/javadoc/search.html new file mode 100644 index 0000000000..3c94657ba9 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/search.html @@ -0,0 +1,73 @@ + + + + +Search (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +

      Search

      +
      + + +
      +Additional resources +
      +
      +
      +

      The help page provides an introduction to the scope and syntax of JavaDoc search.

      +

      You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.

      +

      The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.

      +link +

      + +

      +
      +

      Loading search index...

      + +
      +
      +
      + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/search.js b/modules/swagger-parser-v3/build/docs/javadoc/search.js new file mode 100644 index 0000000000..b2b3c9a1bb --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/search.js @@ -0,0 +1,465 @@ +/* + * Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +"use strict"; +const messages = { + enterTerm: "Enter a search term", + noResult: "No results found", + oneResult: "Found one result", + manyResults: "Found {0} results", + loading: "Loading search index...", + searching: "Searching...", + redirecting: "Redirecting to first result...", + copyUrl: "Copy URL", + urlCopied: "Copied!" +} +const categories = { + modules: "Modules", + packages: "Packages", + types: "Classes and Interfaces", + members: "Members", + searchTags: "Search Tags" +}; +const highlight = "$&"; +const NO_MATCH = {}; +const MAX_RESULTS = 500; +function checkUnnamed(name, separator) { + return name === "" || !name ? "" : name + separator; +} +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(str, boundaries, from, to) { + var start = from; + var text = ""; + for (var i = 0; i < boundaries.length; i += 2) { + var b0 = boundaries[i]; + var b1 = boundaries[i + 1]; + if (b0 >= to || b1 <= from) { + continue; + } + text += escapeHtml(str.slice(start, Math.max(start, b0))); + text += ""; + text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1))); + text += ""; + start = Math.min(to, b1); + } + text += escapeHtml(str.slice(start, to)); + return text; +} +function getURLPrefix(item, category) { + var urlPrefix = ""; + var slash = "/"; + if (category === "modules") { + return item.l + slash; + } else if (category === "packages" && item.m) { + return item.m + slash; + } else if (category === "types" || category === "members") { + if (item.m) { + urlPrefix = item.m + slash; + } else { + $.each(packageSearchIndex, function(index, it) { + if (it.m && item.p === it.l) { + urlPrefix = it.m + slash; + } + }); + } + } + return urlPrefix; +} +function getURL(item, category) { + if (item.url) { + return item.url; + } + var url = getURLPrefix(item, category); + if (category === "modules") { + url += "module-summary.html"; + } else if (category === "packages") { + if (item.u) { + url = item.u; + } else { + url += item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (category === "types") { + if (item.u) { + url = item.u; + } else { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html"; + } + } else if (category === "members") { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#"; + if (item.u) { + url += item.u; + } else { + url += item.l; + } + } else if (category === "searchTags") { + url += item.u; + } + item.url = url; + return url; +} +function createMatcher(term, camelCase) { + if (camelCase && !isUpperCase(term)) { + return null; // no need for camel-case matcher for lower case query + } + var pattern = ""; + var upperCase = []; + term.trim().split(/\s+/).forEach(function(w, index, array) { + var tokens = w.split(/(?=[A-Z,.()<>?[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + // ',' and '?' are the only delimiters commonly followed by space in java signatures + pattern += "(" + $.ui.autocomplete.escapeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")"; + upperCase.push(false); + var isWordToken = /\w$/.test(s); + if (isWordToken) { + if (i === tokens.length - 1 && index < array.length - 1) { + // space in query string matches all delimiters + pattern += "(.*?)"; + upperCase.push(isUpperCase(s[0])); + } else { + if (!camelCase && isUpperCase(s) && s.length === 1) { + pattern += "()"; + } else { + pattern += "([a-z0-9$<>?[\\]]*?)"; + } + upperCase.push(isUpperCase(s[0])); + } + } else { + pattern += "()"; + upperCase.push(false); + } + } + }); + var re = new RegExp(pattern, "gi"); + re.upperCase = upperCase; + return re; +} +function analyzeMatch(matcher, input, startOfName, category) { + var from = startOfName; + matcher.lastIndex = from; + var match = matcher.exec(input); + while (!match && from > 1) { + from = input.lastIndexOf(".", from - 2) + 1; + matcher.lastIndex = from; + match = matcher.exec(input); + } + if (!match) { + return NO_MATCH; + } + var boundaries = []; + var matchEnd = match.index + match[0].length; + var leftParen = input.indexOf("("); + // exclude peripheral matches + if (category !== "modules" && category !== "searchTags") { + if (leftParen > -1 && leftParen < match.index) { + return NO_MATCH; + } else if (startOfName - 1 >= matchEnd) { + return NO_MATCH; + } + } + var endOfName = leftParen > -1 ? leftParen : input.length; + var score = 5; + var start = match.index; + var prevEnd = -1; + for (var i = 1; i < match.length; i += 2) { + var isUpper = isUpperCase(input[start]); + var isMatcherUpper = matcher.upperCase[i]; + // capturing groups come in pairs, match and non-match + boundaries.push(start, start + match[i].length); + // make sure groups are anchored on a left word boundary + var prevChar = input[start - 1] || ""; + var nextChar = input[start + 1] || ""; + if (start !== 0 && !/[\W_]/.test(prevChar) && !/[\W_]/.test(input[start])) { + if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) { + score -= 0.1; + } else if (isMatcherUpper && start === prevEnd) { + score -= isUpper ? 0.1 : 1.0; + } else { + return NO_MATCH; + } + } + prevEnd = start + match[i].length; + start += match[i].length + match[i + 1].length; + + // lower score for parts of the name that are missing + if (match[i + 1] && prevEnd < endOfName) { + score -= rateNoise(match[i + 1]); + } + } + // lower score if a type name contains unmatched camel-case parts + if (input[matchEnd - 1] !== "." && endOfName > matchEnd) + score -= rateNoise(input.slice(matchEnd, endOfName)); + score -= rateNoise(input.slice(0, Math.max(startOfName, match.index))); + + if (score <= 0) { + return NO_MATCH; + } + return { + input: input, + score: score, + category: category, + boundaries: boundaries + }; +} +function isUpperCase(s) { + return s !== s.toLowerCase(); +} +function isLowerCase(s) { + return s !== s.toUpperCase(); +} +function rateNoise(str) { + return (str.match(/([.(])/g) || []).length / 5 + + (str.match(/([A-Z]+)/g) || []).length / 10 + + str.length / 20; +} +function doSearch(request, response) { + var term = request.term.trim(); + var maxResults = request.maxResults || MAX_RESULTS; + if (term.length === 0) { + return this.close(); + } + var matcher = { + plainMatcher: createMatcher(term, false), + camelCaseMatcher: createMatcher(term, true) + } + var indexLoaded = indexFilesLoaded(); + + function getPrefix(item, category) { + switch (category) { + case "packages": + return checkUnnamed(item.m, "/"); + case "types": + return checkUnnamed(item.p, "."); + case "members": + return checkUnnamed(item.p, ".") + item.c + "."; + default: + return ""; + } + } + function useQualifiedName(category) { + switch (category) { + case "packages": + return /[\s/]/.test(term); + case "types": + case "members": + return /[\s.]/.test(term); + default: + return false; + } + } + function searchIndex(indexArray, category) { + var matches = []; + if (!indexArray) { + if (!indexLoaded) { + matches.push({ l: messages.loading, category: category }); + } + return matches; + } + $.each(indexArray, function (i, item) { + var prefix = getPrefix(item, category); + var simpleName = item.l; + var qualifiedName = prefix + simpleName; + var useQualified = useQualifiedName(category); + var input = useQualified ? qualifiedName : simpleName; + var startOfName = useQualified ? prefix.length : 0; + var m = analyzeMatch(matcher.plainMatcher, input, startOfName, category); + if (m === NO_MATCH && matcher.camelCaseMatcher) { + m = analyzeMatch(matcher.camelCaseMatcher, input, startOfName, category); + } + if (m !== NO_MATCH) { + m.indexItem = item; + m.prefix = prefix; + if (!useQualified) { + m.input = qualifiedName; + m.boundaries = m.boundaries.map(function(b) { + return b + prefix.length; + }); + } + matches.push(m); + } + return matches.length < maxResults; + }); + return matches.sort(function(e1, e2) { + return e2.score - e1.score; + }); + } + + var result = searchIndex(moduleSearchIndex, "modules") + .concat(searchIndex(packageSearchIndex, "packages")) + .concat(searchIndex(typeSearchIndex, "types")) + .concat(searchIndex(memberSearchIndex, "members")) + .concat(searchIndex(tagSearchIndex, "searchTags")); + + if (!indexLoaded) { + updateSearchResults = function() { + doSearch(request, response); + } + } else { + updateSearchResults = function() {}; + } + response(result); +} +// JQuery search menu implementation +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> .result-item"); + // workaround for search result scrolling + this.menu._scrollIntoView = function _scrollIntoView( item ) { + var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; + if ( this._hasScroll() ) { + borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0; + paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0; + offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; + scroll = this.activeMenu.scrollTop(); + elementHeight = this.activeMenu.height() - 26; + itemHeight = item.outerHeight(); + + if ( offset < 0 ) { + this.activeMenu.scrollTop( scroll + offset ); + } else if ( offset + itemHeight > elementHeight ) { + this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight ); + } + } + }; + }, + _renderMenu: function(ul, items) { + var currentCategory = ""; + var widget = this; + widget.menu.bindings = $(); + $.each(items, function(index, item) { + if (item.category && item.category !== currentCategory) { + ul.append("
    • " + categories[item.category] + "
    • "); + currentCategory = item.category; + } + var li = widget._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", categories[item.category] + " : " + item.l); + } else { + li.attr("aria-label", item.l); + } + li.attr("class", "result-item"); + }); + ul.append(""); + }, + _renderItem: function(ul, item) { + var li = $("
    • ").appendTo(ul); + var div = $("
      ").appendTo(li); + var label = item.l + ? item.l + : getHighlightedText(item.input, item.boundaries, 0, item.input.length); + var idx = item.indexItem; + if (item.category === "searchTags" && idx.h) { + if (idx.d) { + div.html(label + " (" + idx.h + ")
      " + + idx.d + "
      "); + } else { + div.html(label + " (" + idx.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + var expanded = false; + var windowWidth; + function collapse() { + if (expanded) { + $("div#navbar-top").removeAttr("style"); + $("button#navbar-toggle-button") + .removeClass("expanded") + .attr("aria-expanded", "false"); + expanded = false; + } + } + $("button#navbar-toggle-button").click(function (e) { + if (expanded) { + collapse(); + } else { + var navbar = $("div#navbar-top"); + navbar.height(navbar.prop("scrollHeight")); + $("button#navbar-toggle-button") + .addClass("expanded") + .attr("aria-expanded", "true"); + expanded = true; + windowWidth = window.innerWidth; + } + }); + $("ul.sub-nav-list-small li a").click(collapse); + $("input#search-input").focus(collapse); + $("main").click(collapse); + $("section[id] > :header, :header[id], :header:has(a[id])").hover( + function () { + $(this).append($("")); + }, + function () { + $(this).find("button:last").remove(); + } + ); + $(window).on("orientationchange", collapse).on("resize", function(e) { + if (expanded && windowWidth !== window.innerWidth) collapse(); + }); + var search = $("#search-input"); + var reset = $("#reset-button"); + search.catcomplete({ + minLength: 1, + delay: 200, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push({ l: messages.noResult }); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.indexItem) { + var url = getURL(ui.item.indexItem, ui.item.category); + window.location.href = pathtoroot + url; + $("#search-input").focus(); + } + } + }); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + reset.click(function() { + search.val('').focus(); + }); + search.focus(); +}); diff --git a/modules/swagger-parser-v3/build/docs/javadoc/serialized-form.html b/modules/swagger-parser-v3/build/docs/javadoc/serialized-form.html new file mode 100644 index 0000000000..01d59453c3 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/serialized-form.html @@ -0,0 +1,87 @@ + + + + +Serialized Form (swagger-parser-v3 2.1.13.1-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +
      +

      Serialized Form

      +
      + +
      +
      +
      + + diff --git a/modules/swagger-parser-v3/build/docs/javadoc/stylesheet.css b/modules/swagger-parser-v3/build/docs/javadoc/stylesheet.css new file mode 100644 index 0000000000..d3309916f9 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/stylesheet.css @@ -0,0 +1,1204 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; +} +h4 { + font-size:15px; +} +h5 { + font-size:14px; +} +h6 { + font-size:13px; +} +/* Disable font boosting for selected elements */ +h1, h2, h3, h4, h5, h6, div.member-signature { + max-height: 1000em; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +.summary-table dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 14px; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:11px; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +/* + * Styles for navigation bar. + */ +@media screen { + div.flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + header.flex-header { + flex: 0 0 auto; + } + div.flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + min-height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +button#navbar-toggle-button { + display:none; +} +ul.sub-nav-list-small { + display: none; +} +.sub-nav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.sub-nav div { + clear:left; + float:left; + padding:6px; + text-transform:uppercase; +} +.sub-nav .sub-nav-list { + padding-top:4px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0; + padding:6px; + clear:none; + text-align:right; + position:relative; +} +ul.sub-nav-list li { + list-style:none; + float:left; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:#ffffff; + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + color:#bb7a2a; +} +.nav-bar-cell1-rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header. + */ +.title { + color:#2c4557; + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.header ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.see-list, ul.see-list-long { + padding-left: 0; + list-style: none; +} +ul.see-list li { + display: inline; +} +ul.see-list li:not(:last-child):after, +ul.see-list-long li:not(:last-child):after { + content: ", "; + white-space: pre-wrap; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + clear:none; + overflow:hidden; + padding:0; + padding-top:10px; + padding-left:1px; + margin:0; +} +.caption a:link, .caption a:visited { + color:#1f389c; +} +.caption a:hover, +.caption a:active { + color:#FFFFFF; +} +.caption span { + font-weight:bold; + white-space:nowrap; + padding:5px 12px 7px 12px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:10px 0 0 0; +} +div.table-tabs > span { + background-color: #EEE; + color: #000; + border: none; + padding: 5px 12px 8px 12px; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 8px; +} +div.table-tabs > .active-table-tab { + background: #F8981D; + color: #253441; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.two-column-search-results { + display: grid; + grid-template-columns: minmax(400px, max-content) minmax(400px, auto); +} +div.checkboxes { + line-height: 2em; +} +div.checkboxes > span { + margin-left: 10px; +} +div.checkboxes > label { + margin-left: 8px; + white-space: nowrap; +} +div.checkboxes > label > input { + margin: 0 2px; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(25%, max-content) minmax(25%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto); +} +.three-column-release-summary { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +@media screen and (max-width: 800px) { + .two-column-search-results { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(40%, auto); + } + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-release-summary { + display: grid; + grid-template-columns: minmax(70%, max-content) minmax(30%, max-content) + } + .three-column-summary .col-last, + .three-column-release-summary .col-last{ + grid-column-end: span 2; + } +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; + overflow-x: auto; + scrollbar-width: thin; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:#dee3e9; + font-weight: bold; +} +/* Sortable table columns */ +.table-header[onclick] { + cursor: pointer; +} +.table-header[onclick]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + '); + background-size:100% 100%; + width:9px; + height:14px; + margin-left:4px; + margin-bottom:-3px; +} +.table-header[onclick].sort-asc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + +} +.table-header[onclick].sort-desc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +.col-first, .col-first { + font-size:13px; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:13px; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited { + font-weight:bold; +} +.even-row-color, .even-row-color .table-header { + background-color:#FFFFFF; +} +.odd-row-color, .odd-row-color .table-header { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + color:green; + padding:0 30px 0 0; +} +.block { + display:block; + margin:0 10px 5px 0; + color:#474747; +} +.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +details.invalid-tag, span.invalid-tag { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + background: #ffe6e6; + border: thin solid #000000; + border-radius:2px; + padding: 2px 4px; + display:inline-block; +} +details summary { + cursor: pointer; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:auto; + overflow-x:auto; + scrollbar-width: thin; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:1; + background-color: #FFFFFF; +} +ul.ui-autocomplete li { + float:left; + clear:both; + min-width:100%; +} +ul.ui-autocomplete li.ui-static-link { + position:sticky; + bottom:0; + left:0; + background: #dee3e9; + padding: 5px 0; + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 13px; + font-weight: bolder; + z-index: 2; +} +li.ui-static-link a, li.ui-static-link a:visited { + text-decoration:none; + color:#4A6782; + float:right; + margin-right:20px; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +.ui-autocomplete .result-highlight { + font-weight:bold; +} +#search-input, #page-search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + width: 250px; + margin: 0; +} +#search-input { + margin-left: 4px; +} +#reset-button { + background-color: transparent; + background-image:url('resources/x.png'); + background-repeat:no-repeat; + background-size:contain; + border:0; + border-radius:0; + width:12px; + height:12px; + position:absolute; + right:12px; + top:10px; + font-size:0; +} +::placeholder { + color:#909090; + opacity: 1; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:yellow; +} +details.page-search-details { + display: inline-block; +} +div#result-container { + font-size: 14px; +} +div#result-container a.search-result-link { + padding: 0; + margin: 4px 0; + width: 100%; +} +#result-container .result-highlight { + font-weight:bolder; +} +.page-search-info { + background-color: #f5f8ff; + border-radius: 3px; + border: 0 solid #b9c8d3; + padding: 0 8px; + overflow: hidden; + height: 0; + transition: all 0.2s ease; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.page-search-header { + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; + background-color:#4D7A97; + color:#ffffff; + display: inline-block; +} +button.page-search-header { + border: none; + cursor: pointer; +} +span#page-search-link { + text-decoration: underline; +} +.module-graph span { + display:none; + position:absolute; +} +.module-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0px 20px 5px 10px; + border: 1px solid #ededed; + background-color: #f8f8f8; +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +/* + * Styles for copy-to-clipboard buttons + */ +button.copy { + opacity: 80%; + border: none; + border-radius: 3px; + position: relative; + background:none; + transition: opacity 0.2s; + cursor: pointer; +} +button.copy:hover, +button.copy:active { + opacity: 100%; +} +button.copy img { + position: relative; + background: none; +} +button.copy span { + color: #303030; + position: relative; + top: -0.1em; + transition: all 0.1s; + font-size: 85%; + line-height: 1.2em; +} +/* header/section copy button */ +button.copy-header { + margin: 0 0.2em; + padding: 0 4px; + height: 1.35em; +} +button.copy-header img { + height: 1em; + top: 0.1em; +} +button.copy-header:active { + background-color: rgba(128, 128, 160, 0.2); +} +/* search page copy button */ +button#page-search-copy { + margin-left: 0.4em; + padding:0.3em; + top:0.13em; +} +button#page-search-copy img { + width: 1.2em; + height: 1.2em; + padding: 0.01em 0; + top: 0.15em; +} +button#page-search-copy span { + color: #000000; + content: attr(aria-label); + line-height: 1.2em; + padding: 0.2em; + top: -0.18em; + opacity: 0; +} +div.page-search-info:hover button#page-search-copy, +div.page-search-info:hover button#page-search-copy span { + opacity: 90%; +} +div.page-search-info button#page-search-copy:hover { + background-color: #dfe6f1; +} +div.page-search-info button#page-search-copy:active { + background-color: #cfdbee; +} +/* snippet copy button */ +button.snippet-copy { + position: absolute; + top: 6px; + right: 6px; + height: 1.7em; + opacity: 50%; + padding: 2px; +} +button.snippet-copy img { + width: 18px; + height: 18px; + padding: 0.05em 0; +} +button.snippet-copy span { + content: attr(aria-label); + line-height: 1.2em; + padding: 0.2em; + position: relative; + top: -0.5em; + display: none; +} +div.snippet-container:hover button.snippet-copy span { + display: inline; +} +div.snippet-container:hover button.snippet-copy { + opacity: 80%; +} +div.snippet-container button.snippet-copy:hover { + opacity: 100%; +} +button.snippet-copy:active { + background: #d3d3d3; +} +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak style for small screens. + */ +@media screen and (max-width: 920px) { + header.flex-header { + max-height: 100vh; + overflow-y: auto; + } + div#navbar-top { + height: 2.8em; + transition: height 0.35s ease; + } + ul.nav-list { + display: block; + width: 40%; + float:left; + clear: left; + margin: 10px 0 0 0; + padding: 0; + } + ul.nav-list li { + float: none; + padding: 6px; + margin-left: 10px; + margin-top: 2px; + } + ul.sub-nav-list-small { + display:block; + height: 100%; + width: 50%; + float: right; + clear: right; + background-color: #dee3e9; + color: #353833; + margin: 6px 0 0 0; + padding: 0; + } + ul.sub-nav-list-small ul { + padding-left: 20px; + } + ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited { + color:#4A6782; + } + ul.sub-nav-list-small a:hover { + color:#bb7a2a; + } + ul.sub-nav-list-small li { + list-style:none; + float:none; + padding: 6px; + margin-top: 1px; + text-transform:uppercase; + } + ul.sub-nav-list-small > li { + margin-left: 10px; + } + ul.sub-nav-list-small li p { + margin: 5px 0; + } + div#navbar-sub-list { + display: none; + } + .top-nav a:link, .top-nav a:active, .top-nav a:visited { + display: block; + } + button#navbar-toggle-button { + width: 3.4em; + height: 2.8em; + background-color: transparent; + display: block; + float: left; + border: 0; + margin: 0 10px; + cursor: pointer; + font-size: 10px; + } + button#navbar-toggle-button .nav-bar-toggle-icon { + display: block; + width: 24px; + height: 3px; + margin: 1px 0 4px 0; + border-radius: 2px; + transition: all 0.1s; + background-color: #ffffff; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) { + transform: rotate(45deg); + transform-origin: 10% 10%; + width: 26px; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) { + opacity: 0; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) { + transform: rotate(-45deg); + transform-origin: 10% 90%; + width: 26px; + } +} +@media screen and (max-width: 800px) { + .about-language { + padding-right: 16px; + } + ul.nav-list li { + margin-left: 5px; + } + ul.sub-nav-list-small > li { + margin-left: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 400px) { + .about-language { + font-size: 10px; + padding-right: 12px; + } +} +@media screen and (max-width: 400px) { + .nav-list-search { + width: 94%; + } + #search-input, #page-search-input { + width: 70%; + } +} +@media screen and (max-width: 320px) { + .nav-list-search > label { + display: none; + } + .nav-list-search { + width: 90%; + } + #search-input, #page-search-input { + width: 80%; + } +} + +pre.snippet { + background-color: #ebecee; + padding: 10px; + margin: 12px 0; + overflow: auto; + white-space: pre; +} +div.snippet-container { + position: relative; +} +@media screen and (max-width: 800px) { + pre.snippet { + padding-top: 26px; + } + button.snippet-copy { + top: 4px; + right: 4px; + } +} +pre.snippet .italic { + font-style: italic; +} +pre.snippet .bold { + font-weight: bold; +} +pre.snippet .highlighted { + background-color: #f7c590; + border-radius: 10%; +} diff --git a/modules/swagger-parser-v3/build/docs/javadoc/tag-search-index.js b/modules/swagger-parser-v3/build/docs/javadoc/tag-search-index.js new file mode 100644 index 0000000000..bf10aaf6d1 --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [{"l":"Constant Field Values","h":"","u":"constant-values.html"},{"l":"Serialized Form","h":"","u":"serialized-form.html"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/docs/javadoc/type-search-index.js b/modules/swagger-parser-v3/build/docs/javadoc/type-search-index.js new file mode 100644 index 0000000000..ef9a2cc62a --- /dev/null +++ b/modules/swagger-parser-v3/build/docs/javadoc/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"io.swagger.v3.parser.reference","l":"AbstractVisitor"},{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"io.swagger.v3.parser.processors","l":"CallbackProcessor"},{"p":"io.swagger.v3.parser.util","l":"ClasspathHelper"},{"p":"io.swagger.v3.parser.processors","l":"ComponentsProcessor"},{"p":"io.swagger.v3.parser.util","l":"DeserializationUtils.CustomResolver"},{"p":"io.swagger.v3.parser.reference","l":"DereferencerContext"},{"p":"io.swagger.v3.parser.reference","l":"DereferencersFactory"},{"p":"io.swagger.v3.parser.util","l":"DeserializationUtils"},{"p":"io.swagger.v3.parser.exception","l":"EncodingNotSupportedException"},{"p":"io.swagger.v3.parser.processors","l":"ExampleProcessor"},{"p":"io.swagger.v3.parser.processors","l":"ExternalRefProcessor"},{"p":"io.swagger.v3.parser.processors","l":"HeaderProcessor"},{"p":"io.swagger.v3.parser.util","l":"InlineModelResolver"},{"p":"io.swagger.v3.parser.extensions","l":"JsonSchemaParserExtension"},{"p":"io.swagger.v3.parser.processors","l":"LinkProcessor"},{"p":"io.swagger.v3.parser.util","l":"OpenAPIDeserializer.Location"},{"p":"io.swagger.v3.parser.util","l":"ManagedValue"},{"p":"io.swagger.v3.parser","l":"ObjectMapperFactory"},{"p":"io.swagger.v3.parser.reference","l":"OpenAPI31Traverser"},{"p":"io.swagger.v3.parser.reference","l":"OpenAPIDereferencer"},{"p":"io.swagger.v3.parser.reference","l":"OpenAPIDereferencer31"},{"p":"io.swagger.v3.parser.util","l":"OpenAPIDeserializer"},{"p":"io.swagger.v3.parser","l":"OpenAPIResolver"},{"p":"io.swagger.v3.parser","l":"OpenAPIV3Parser"},{"p":"io.swagger.v3.parser.processors","l":"OperationProcessor"},{"p":"io.swagger.v3.parser.util","l":"DeserializationUtils.Options"},{"p":"io.swagger.v3.parser.processors","l":"ParameterProcessor"},{"p":"io.swagger.v3.parser.util","l":"OpenAPIDeserializer.ParseResult"},{"p":"io.swagger.v3.parser.processors","l":"PathsProcessor"},{"p":"io.swagger.v3.parser.util","l":"PathUtils"},{"p":"io.swagger.v3.parser.exception","l":"ReadContentException"},{"p":"io.swagger.v3.parser.reference","l":"Reference"},{"p":"io.swagger.v3.parser.reference","l":"ReferenceUtils"},{"p":"io.swagger.v3.parser.util","l":"ReferenceValidator"},{"p":"io.swagger.v3.parser.reference","l":"ReferenceVisitor"},{"p":"io.swagger.v3.parser.models","l":"RefFormat"},{"p":"io.swagger.v3.parser.models","l":"RefType"},{"p":"io.swagger.v3.parser.util","l":"RefUtils"},{"p":"io.swagger.v3.parser.util","l":"RemoteUrl"},{"p":"io.swagger.v3.parser.processors","l":"RequestBodyProcessor"},{"p":"io.swagger.v3.parser","l":"ResolverCache"},{"p":"io.swagger.v3.parser.util","l":"ResolverFully"},{"p":"io.swagger.v3.parser.processors","l":"ResponseProcessor"},{"p":"io.swagger.v3.parser.processors","l":"SchemaProcessor"},{"p":"io.swagger.v3.parser.util","l":"SchemaTypeUtil"},{"p":"io.swagger.v3.parser.processors","l":"SecuritySchemeProcessor"},{"p":"io.swagger.v3.parser","l":"OpenAPIResolver.Settings"},{"p":"io.swagger.v3.parser.reference","l":"Traverser"},{"p":"io.swagger.v3.parser.reference","l":"Visitor"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT-javadoc.jar b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT-javadoc.jar new file mode 100644 index 0000000000..9c5422088d Binary files /dev/null and b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT-javadoc.jar differ diff --git a/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT-sources.jar b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT-sources.jar new file mode 100644 index 0000000000..993591437a Binary files /dev/null and b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT-sources.jar differ diff --git a/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT.jar b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT.jar new file mode 100644 index 0000000000..61b063f992 Binary files /dev/null and b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13-SNAPSHOT.jar differ diff --git a/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT-javadoc.jar b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT-javadoc.jar new file mode 100644 index 0000000000..5be298b63f Binary files /dev/null and b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT-javadoc.jar differ diff --git a/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT-sources.jar b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT-sources.jar new file mode 100644 index 0000000000..74990b89a6 Binary files /dev/null and b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT-sources.jar differ diff --git a/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT.jar b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT.jar new file mode 100644 index 0000000000..066f9062cd Binary files /dev/null and b/modules/swagger-parser-v3/build/libs/swagger-parser-v3-2.1.13.1-SNAPSHOT.jar differ diff --git a/modules/swagger-parser-v3/build/publications/maven/module.json b/modules/swagger-parser-v3/build/publications/maven/module.json new file mode 100644 index 0000000000..127b51f942 --- /dev/null +++ b/modules/swagger-parser-v3/build/publications/maven/module.json @@ -0,0 +1,216 @@ +{ + "formatVersion": "1.1", + "component": { + "group": "io.swagger.parser.v3", + "module": "swagger-parser-v3", + "version": "2.1.13-SNAPSHOT", + "attributes": { + "org.gradle.status": "integration" + } + }, + "createdBy": { + "gradle": { + "version": "8.0.2" + } + }, + "variants": [ + { + "name": "apiElements", + "attributes": { + "org.gradle.category": "library", + "org.gradle.dependency.bundling": "external", + "org.gradle.jvm.version": 8, + "org.gradle.libraryelements": "jar", + "org.gradle.usage": "java-api" + }, + "dependencies": [ + { + "group": "io.swagger.core.v3", + "module": "swagger-models", + "version": { + "requires": "2.2.8" + } + }, + { + "group": "io.swagger.core.v3", + "module": "swagger-core", + "version": { + "requires": "2.2.8" + } + }, + { + "group": "io.swagger.parser.v3", + "module": "swagger-parser-core", + "version": { + "requires": "2.1.13-SNAPSHOT" + } + }, + { + "group": "commons-io", + "module": "commons-io", + "version": { + "requires": "2.11.0" + } + }, + { + "group": "org.yaml", + "module": "snakeyaml", + "version": { + "requires": "1.33" + } + }, + { + "group": "com.fasterxml.jackson.core", + "module": "jackson-annotations", + "version": { + "requires": "2.14.0" + } + }, + { + "group": "com.fasterxml.jackson.core", + "module": "jackson-databind", + "version": { + "requires": "2.14.0" + } + }, + { + "group": "com.fasterxml.jackson.dataformat", + "module": "jackson-dataformat-yaml", + "version": { + "requires": "2.14.0" + } + } + ], + "files": [ + { + "name": "swagger-parser-v3-2.1.13-SNAPSHOT.jar", + "url": "swagger-parser-v3-2.1.13-SNAPSHOT.jar", + "size": 200473, + "sha512": "b5bfef594c3cc0d462fb2128612a14c32c7cd0b55b857a8a8342e0f09bd2563579a5046f384bc8c7243a119fff1dcc05dfbecd3141483e82853e3a5cffc42ea3", + "sha256": "802ebcdbf0535b29947b6cfd7015b358db9887585a525e4ec140ab9a248f0827", + "sha1": "d6f9fd0dfe3e8caa7b9364733bf14dba438e3544", + "md5": "cdd71509dba338ad68fe46bcd6482631" + } + ] + }, + { + "name": "runtimeElements", + "attributes": { + "org.gradle.category": "library", + "org.gradle.dependency.bundling": "external", + "org.gradle.jvm.version": 8, + "org.gradle.libraryelements": "jar", + "org.gradle.usage": "java-runtime" + }, + "dependencies": [ + { + "group": "io.swagger.core.v3", + "module": "swagger-models", + "version": { + "requires": "2.2.8" + } + }, + { + "group": "io.swagger.core.v3", + "module": "swagger-core", + "version": { + "requires": "2.2.8" + } + }, + { + "group": "io.swagger.parser.v3", + "module": "swagger-parser-core", + "version": { + "requires": "2.1.13-SNAPSHOT" + } + }, + { + "group": "commons-io", + "module": "commons-io", + "version": { + "requires": "2.11.0" + } + }, + { + "group": "org.yaml", + "module": "snakeyaml", + "version": { + "requires": "1.33" + } + }, + { + "group": "com.fasterxml.jackson.core", + "module": "jackson-annotations", + "version": { + "requires": "2.14.0" + } + }, + { + "group": "com.fasterxml.jackson.core", + "module": "jackson-databind", + "version": { + "requires": "2.14.0" + } + }, + { + "group": "com.fasterxml.jackson.dataformat", + "module": "jackson-dataformat-yaml", + "version": { + "requires": "2.14.0" + } + } + ], + "files": [ + { + "name": "swagger-parser-v3-2.1.13-SNAPSHOT.jar", + "url": "swagger-parser-v3-2.1.13-SNAPSHOT.jar", + "size": 200473, + "sha512": "b5bfef594c3cc0d462fb2128612a14c32c7cd0b55b857a8a8342e0f09bd2563579a5046f384bc8c7243a119fff1dcc05dfbecd3141483e82853e3a5cffc42ea3", + "sha256": "802ebcdbf0535b29947b6cfd7015b358db9887585a525e4ec140ab9a248f0827", + "sha1": "d6f9fd0dfe3e8caa7b9364733bf14dba438e3544", + "md5": "cdd71509dba338ad68fe46bcd6482631" + } + ] + }, + { + "name": "sourcesElements", + "attributes": { + "org.gradle.category": "documentation", + "org.gradle.dependency.bundling": "external", + "org.gradle.docstype": "sources", + "org.gradle.usage": "java-runtime" + }, + "files": [ + { + "name": "swagger-parser-v3-2.1.13-SNAPSHOT-sources.jar", + "url": "swagger-parser-v3-2.1.13-SNAPSHOT-sources.jar", + "size": 93357, + "sha512": "8bc0b9919ac6d2ab05b23de425a82635c191a97b7782121c8d143402d9114fa2d1e8a74c8feac21790e7a6e40ce70cef394bc99b47d364ddc49fd1f8724a2c3d", + "sha256": "a2cd69bd40930c07576b23ecca66a80361ad7f4e746b120977b8eda59298198c", + "sha1": "5caed8be9540711b1b88587d7e90e752bb68b283", + "md5": "0429c6771896dff32598c91ff38d672d" + } + ] + }, + { + "name": "javadocElements", + "attributes": { + "org.gradle.category": "documentation", + "org.gradle.dependency.bundling": "external", + "org.gradle.docstype": "javadoc", + "org.gradle.usage": "java-runtime" + }, + "files": [ + { + "name": "swagger-parser-v3-2.1.13-SNAPSHOT-javadoc.jar", + "url": "swagger-parser-v3-2.1.13-SNAPSHOT-javadoc.jar", + "size": 296627, + "sha512": "b3591307f75c578d13626ae8b8331052d8e5ba45c1c3534abc6f1d31129e0d95ef00fea4926e6419868bfe55fe2bbab9f948e4e8a14e2cfcf58f75dc4824131a", + "sha256": "cd947ff057073ffe343e03335a8b77e5ddc3f0a72f616bf3542f798cc03e9c4a", + "sha1": "7c00b38257c6239006008cf22f925ee2ed95b5f4", + "md5": "4c7ea8052d4b350888d1060d87b75091" + } + ] + } + ] +} diff --git a/modules/swagger-parser-v3/build/publications/maven/pom-default.xml b/modules/swagger-parser-v3/build/publications/maven/pom-default.xml new file mode 100644 index 0000000000..c260bd8eec --- /dev/null +++ b/modules/swagger-parser-v3/build/publications/maven/pom-default.xml @@ -0,0 +1,63 @@ + + + + + + + + 4.0.0 + io.swagger.parser.v3 + swagger-parser-v3 + 2.1.13-SNAPSHOT + + + io.swagger.core.v3 + swagger-models + 2.2.8 + compile + + + io.swagger.core.v3 + swagger-core + 2.2.8 + compile + + + io.swagger.parser.v3 + swagger-parser-core + 2.1.13-SNAPSHOT + compile + + + commons-io + commons-io + 2.11.0 + compile + + + org.yaml + snakeyaml + 1.33 + compile + + + com.fasterxml.jackson.core + jackson-annotations + 2.14.0 + compile + + + com.fasterxml.jackson.core + jackson-databind + 2.14.0 + compile + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + 2.14.0 + compile + + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ComponentsProcessorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ComponentsProcessorTest.html new file mode 100644 index 0000000000..be31d43387 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ComponentsProcessorTest.html @@ -0,0 +1,208 @@ + + + + + +Test results - Class io.swagger.v3.parser.processors.ComponentsProcessorTest + + + + + +
      +

      Class io.swagger.v3.parser.processors.ComponentsProcessorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      3
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.210s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testComponentsSchemasProcessor[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +}, class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +}, io.swagger.v3.parser.ResolverCache@6540cf1d)0.160spassed
      testDefinitionsProcessor_RefModelInDefinitionsMap[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.015spassed
      testNoComponentsDefined[0](class OpenAPI { + openapi: null + info: null + externalDocs: null + servers: null + security: null + tags: null + paths: null + components: null +}, io.swagger.v3.parser.ResolverCache@5cf3157b)0.035spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ExternalRefProcessorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ExternalRefProcessorTest.html new file mode 100644 index 0000000000..128fbcad55 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ExternalRefProcessorTest.html @@ -0,0 +1,199 @@ + + + + + +Test results - Class io.swagger.v3.parser.processors.ExternalRefProcessorTest + + + + + +
      +

      Class io.swagger.v3.parser.processors.ExternalRefProcessorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      3
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.121s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testNestedExternalRefs[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.085spassed
      testProcessRefToExternalDefinition_NoNameConflict[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.025spassed
      testRelativeRefIncludingUrlRef[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.011spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ParameterProcessorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ParameterProcessorTest.html new file mode 100644 index 0000000000..0adbcee065 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ParameterProcessorTest.html @@ -0,0 +1,228 @@ + + + + + +Test results - Class io.swagger.v3.parser.processors.ParameterProcessorTest + + + + + +
      +

      Class io.swagger.v3.parser.processors.ParameterProcessorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      3
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.285s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testProcessParameters_BodyParameter[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.056spassed
      testProcessParameters_RefToHeader[0](class HeaderParameter { + class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null + } + in: null +})0.078spassed
      testProcessParameters_TypesThatAreNotRefOrBody[0](class HeaderParameter { + class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null + } + in: null +}, class QueryParameter { + class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null + } + in: null +}, class CookieParameter { + class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null + } + in: null +}, class PathParameter { + class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null + } + in: null + required: null +})0.151spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.PathsProcessorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.PathsProcessorTest.html new file mode 100644 index 0000000000..324ca67453 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.PathsProcessorTest.html @@ -0,0 +1,111 @@ + + + + + +Test results - Class io.swagger.v3.parser.processors.PathsProcessorTest + + + + + +
      +

      Class io.swagger.v3.parser.processors.PathsProcessorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      4
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.009s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testProcessPaths_parameters_internalOperationLevelDefinition0.003spassed
      testProcessPaths_parameters_internalTopLevelDefinition0.001spassed
      testProcessPaths_parameters_refOperationLevelDefinition0.001spassed
      testProcessPaths_parameters_refTopLevelDefinition0.004spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ResponseProcessorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ResponseProcessorTest.html new file mode 100644 index 0000000000..5a8673e7c5 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.ResponseProcessorTest.html @@ -0,0 +1,138 @@ + + + + + +Test results - Class io.swagger.v3.parser.processors.ResponseProcessorTest + + + + + +
      +

      Class io.swagger.v3.parser.processors.ResponseProcessorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.151s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testProcessResponse[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +}, class Header { + description: null + required: null + deprecated: null + style: null + explode: null + schema: null + examples: null + example: null + content: null + $ref: null +})0.151spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.SchemaProcessorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.SchemaProcessorTest.html new file mode 100644 index 0000000000..9cd554a47a --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.processors.SchemaProcessorTest.html @@ -0,0 +1,136 @@ + + + + + +Test results - Class io.swagger.v3.parser.processors.SchemaProcessorTest + + + + + +
      +

      Class io.swagger.v3.parser.processors.SchemaProcessorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      9
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.051s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testProcessArrayProperty_ItemsIsRefProperty0.049spassed
      testProcessArraySchema0spassed
      testProcessComposedSchema0.001spassed
      testProcessMapProperty_AdditionalPropertiesIsRefProperty0spassed
      testProcessRefProperty_ExternalRef0spassed
      testProcessRefProperty_InternalRef0.001spassed
      testProcessRefSchema_ExternalRef0spassed
      testProcessRefSchema_InternalRef0spassed
      testProcessSchema0spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.AnchorTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.AnchorTest.html new file mode 100644 index 0000000000..9bb6a9430f --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.AnchorTest.html @@ -0,0 +1,578 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.AnchorTest + + + + + +
      +

      Class io.swagger.v3.parser.test.AnchorTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      5
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.525s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testBillionLaughProtectionSnakeYaml0.286spassed
      testCycle0.004spassed
      testIssue1460.010spassed
      testIssue9980.010spassed
      testIssue998Billion0.215spassed
      +
      +
      +

      Standard error

      + +
      [Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error snake-parsing yaml content
      +io.swagger.v3.parser.util.DeserializationUtils$SnakeException: Exception safe-checking yaml content  (maxDepth 2000, maxYamlAliasesForCollections 50)
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:442)
      +	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:477)
      +	at org.yaml.snakeyaml.Yaml.load(Yaml.java:406)
      +	at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:213)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:145)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:168)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.AnchorTest.testBillionLaughProtectionSnakeYaml(AnchorTest.java:138)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: org.yaml.snakeyaml.error.YAMLException: Number of aliases for non-scalar nodes exceeds the specified max=50
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:193)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:134)
      +	at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:160)
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:419)
      +	... 45 more
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - detected cycle in snake-yaml result; cycle check can be disabled by setting system property `yamlCycleCheck` to false.
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error converting snake-parsed yaml to JsonNode
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error snake-parsing yaml content
      +io.swagger.v3.parser.util.DeserializationUtils$SnakeException: Exception safe-checking yaml content  (maxDepth 2000, maxYamlAliasesForCollections 2147483647)
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:442)
      +	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:477)
      +	at org.yaml.snakeyaml.Yaml.load(Yaml.java:406)
      +	at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:213)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:145)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:168)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.AnchorTest.testIssue998(AnchorTest.java:85)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: org.yaml.snakeyaml.error.YAMLException: Nesting Depth exceeded max 50
      +	at org.yaml.snakeyaml.composer.Composer.increaseNestingDepth(Composer.java:365)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:205)
      +	at org.yaml.snakeyaml.composer.Composer.composeKeyNode(Composer.java:347)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:332)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:134)
      +	at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:160)
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:419)
      +	... 45 more
      +[Test worker] ERROR io.swagger.v3.parser.util.DeserializationUtils - Error parsing content
      +com.fasterxml.jackson.core.JsonParseException: Expected a field name (Scalar value in YAML), got this instead: <org.yaml.snakeyaml.events.AliasEvent(anchor=id001)>
      + at [Source: (StringReader); line: 2, column: 7]
      +	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2418)
      +	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:749)
      +	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:450)
      +	at com.fasterxml.jackson.core.JsonParser.nextFieldName(JsonParser.java:1065)
      +	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer._deserializeContainerNoRecursion(JsonNodeDeserializer.java:534)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:98)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:23)
      +	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
      +	at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4772)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3124)
      +	at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:234)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:145)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:168)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.AnchorTest.testIssue998(AnchorTest.java:85)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while parsing:
      +com.fasterxml.jackson.core.JsonParseException: Expected a field name (Scalar value in YAML), got this instead: <org.yaml.snakeyaml.events.AliasEvent(anchor=id001)>
      + at [Source: (StringReader); line: 2, column: 7]
      +	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2418)
      +	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:749)
      +	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:450)
      +	at com.fasterxml.jackson.core.JsonParser.nextFieldName(JsonParser.java:1065)
      +	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer._deserializeContainerNoRecursion(JsonNodeDeserializer.java:534)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:98)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:23)
      +	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
      +	at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4772)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3124)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:170)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.AnchorTest.testIssue998(AnchorTest.java:85)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - snake-yaml result exceeds max references 100000; threshold can be increased if needed by setting system property `maxYamlReferences` to a higher value.
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error converting snake-parsed yaml to JsonNode
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - snake-yaml result exceeds max references 100000; threshold can be increased if needed by setting system property `maxYamlReferences` to a higher value.
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error converting snake-parsed yaml to JsonNode
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.FileReferenceTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.FileReferenceTest.html new file mode 100644 index 0000000000..97e2feb648 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.FileReferenceTest.html @@ -0,0 +1,422 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.FileReferenceTest + + + + + +
      +

      Class io.swagger.v3.parser.test.FileReferenceTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      15
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.218s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testAllOfFlatAndNested0.074spassed
      testIssue2890.017spassed
      testIssue3040.007spassed
      testIssue3060.005spassed
      testIssue3080.005spassed
      testIssue3100.002spassed
      testIssue3120.029spassed
      testIssue3140.003spassed
      testIssue3160.003spassed
      testIssue3230.003spassed
      testIssue3360.029spassed
      testIssue3400.010spassed
      testIssue4210.018spassed
      testIssue8220.010spassed
      testRelativeRefIssue4210.003spassed
      +
      +
      +

      Standard output

      + +
      openapi: 3.0.0
      +info:
      +  title: Test API
      +  version: "1"
      +servers:
      +- url: https://example.com/api/v1
      +paths:
      +  /events:
      +    get:
      +      description: A list of events
      +      operationId: getEvents
      +      responses:
      +        "200":
      +          description: OK
      +          content:
      +            application/json; charset=utf-8:
      +              schema:
      +                required:
      +                - items
      +                - paging
      +                type: object
      +                properties:
      +                  paging:
      +                    $ref: '#/components/schemas/Paging'
      +                  items:
      +                    $ref: '#/components/schemas/StatusResponse'
      +components:
      +  schemas:
      +    StatusResponse:
      +      properties:
      +        http_code:
      +          type: integer
      +    Paging:
      +      properties:
      +        total_items:
      +          type: integer
      +
      +
      +
      +
      +
      +

      Standard error

      + +
      [Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@3cad68df: attribute paths is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@14f40030: attribute paths is missing
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.NullPointerException: Cannot invoke "io.swagger.v3.oas.models.media.Schema.getProperties()" because "model" is null
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processSchemas(ComponentsProcessor.java:255)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processComponents(ComponentsProcessor.java:145)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:73)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.FileReferenceTest.testIssue304(FileReferenceTest.java:199)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: An exception was thrown while trying to deserialize the contents of ./title/issue-336-reservation.json into type class io.swagger.v3.oas.models.media.Schema
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserialize(DeserializationUtils.java:187)
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:169)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:88)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processReferenceSchemaForProperty(SchemaProcessor.java:260)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processPropertySchema(SchemaProcessor.java:147)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchemaType(SchemaProcessor.java:76)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchema(SchemaProcessor.java:61)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processSchemas(ComponentsProcessor.java:231)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processComponents(ComponentsProcessor.java:145)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:73)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.FileReferenceTest.testIssue336(FileReferenceTest.java:177)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: java.lang.IllegalArgumentException: Cannot deserialize value of type `io.swagger.v3.oas.models.media.ObjectSchema` from Array value (token `JsonToken.START_ARRAY`)
      + at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.swagger.v3.oas.models.media.ObjectSchema["properties"]->java.util.LinkedHashMap["required"])
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4449)
      +	at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4380)
      +	at io.swagger.v3.core.util.ModelDeserializer.deserializeObjectSchema(ModelDeserializer.java:120)
      +	at io.swagger.v3.core.util.ModelDeserializer.deserialize(ModelDeserializer.java:88)
      +	at io.swagger.v3.core.util.ModelDeserializer.deserialize(ModelDeserializer.java:33)
      +	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
      +	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4730)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3677)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3645)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserialize(DeserializationUtils.java:181)
      +	... 52 more
      +Caused by: com.fasterxml.jackson.databind.JsonMappingException: Cannot deserialize value of type `io.swagger.v3.oas.models.media.ObjectSchema` from Array value (token `JsonToken.START_ARRAY`)
      + at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.swagger.v3.oas.models.media.ObjectSchema["properties"]->java.util.LinkedHashMap["required"])
      +	at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
      +	at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
      +	at com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase.wrapAndThrow(ContainerDeserializerBase.java:190)
      +	at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:638)
      +	at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:449)
      +	at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:32)
      +	at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:314)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:177)
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4444)
      +	... 61 more
      +Caused by: java.lang.IllegalArgumentException: Cannot deserialize value of type `io.swagger.v3.oas.models.media.ObjectSchema` from Array value (token `JsonToken.START_ARRAY`)
      + at [Source: UNKNOWN; byte offset: #UNKNOWN]
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4449)
      +	at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4380)
      +	at io.swagger.v3.core.util.ModelDeserializer.deserializeObjectSchema(ModelDeserializer.java:120)
      +	at io.swagger.v3.core.util.ModelDeserializer.deserialize(ModelDeserializer.java:93)
      +	at io.swagger.v3.core.util.ModelDeserializer.deserialize(ModelDeserializer.java:33)
      +	at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:623)
      +	... 67 more
      +Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `io.swagger.v3.oas.models.media.ObjectSchema` from Array value (token `JsonToken.START_ARRAY`)
      + at [Source: UNKNOWN; byte offset: #UNKNOWN]
      +	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
      +	at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1746)
      +	at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1520)
      +	at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1467)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeFromArray(BeanDeserializer.java:648)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:211)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4444)
      +	... 72 more
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: Could not find paths/~1haha/{bar} in contents of ./issue-822-b.yaml
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:195)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalPathItem(ExternalRefProcessor.java:261)
      +	at io.swagger.v3.parser.processors.PathsProcessor.processReferencePath(PathsProcessor.java:317)
      +	at io.swagger.v3.parser.processors.PathsProcessor.processPaths(PathsProcessor.java:65)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:72)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.FileReferenceTest.testIssue822(FileReferenceTest.java:162)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.LocalReferenceTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.LocalReferenceTest.html new file mode 100644 index 0000000000..6097f03d40 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.LocalReferenceTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.LocalReferenceTest + + + + + +
      +

      Class io.swagger.v3.parser.test.LocalReferenceTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.011s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testAuth0.011spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.NetworkReferenceTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.NetworkReferenceTest.html new file mode 100644 index 0000000000..17cd27a6a2 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.NetworkReferenceTest.html @@ -0,0 +1,142 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.NetworkReferenceTest + + + + + +
      +

      Class io.swagger.v3.parser.test.NetworkReferenceTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      8
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.052s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testIssue3230.015spassed
      testIssue3280.003spassed
      testIssue3300.002spassed
      testIssue3350.001spassed
      testIssue4110.005spassed
      testIssue7420.001spassed
      testPathReference0.015spassed
      testValidateExternalRefsTrueRemote0.010spassed
      +
      +
      +

      Standard error

      + +
      [Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `./ref.yaml#/components/parameters/skipParam`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `./ref.yaml#/components/parameters/skipParam`.  It may not be available or the reference isn't a valid model schema
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OAI31DeserializationTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OAI31DeserializationTest.html new file mode 100644 index 0000000000..0644675921 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OAI31DeserializationTest.html @@ -0,0 +1,246 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OAI31DeserializationTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OAI31DeserializationTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      31
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.071s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      test30NonRefSiblingsBehavior0.009spassed
      test31Issue18010.002spassed
      test31Issue18210.016spassed
      testArbitraryKeywordsJSONSchema0.001spassed
      testBasic0.002spassed
      testBasicOAS30_With31Fields0.003spassed
      testBasicOAS310.004spassed
      testDeserializeSimpleDefinition0.002spassed
      testDiscriminatorExtensions0.004spassed
      testExamplesJSONSchema0.001spassed
      testInfo0.001spassed
      testJsonSchemaDialectInvalid0.001spassed
      testJsonSchemaDialectValid0spassed
      testNotDefaultSchemaType0.001spassed
      testOAS310.005spassed
      testOptionalPathsObject0spassed
      testPathsItemsUnderComponents0.003spassed
      testReservedExtensionsOaiAuthorFalse0.002spassed
      testReservedExtensionsOaiAuthorTrue0.003spassed
      testSchemaKeysOAS310.002spassed
      testSecurityDeserialization0.001spassed
      testSecurityDeserialization20.002spassed
      testSiblingsReferenceJSONSchema10.001spassed
      testSiblingsReferenceJSONSchema20.001spassed
      testSiblingsReferenceJSONSchema30spassed
      testSiblingsReferenceJSONSchema40spassed
      testSiblingsReferenceJSONSchema50.001spassed
      testSiblingsReferenceJSONSchema60.001spassed
      testSiblingsReferenceObjects0.001spassed
      testTuplesJSONSchema0.001spassed
      testValidOpenAPIDocument0spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OAIDeserializationTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OAIDeserializationTest.html new file mode 100644 index 0000000000..c274c7d066 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OAIDeserializationTest.html @@ -0,0 +1,101 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OAIDeserializationTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OAIDeserializationTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      2
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.002s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testDeserializeSimpleDefinition0spassed
      testIssue9110.002spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIResolverTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIResolverTest.html new file mode 100644 index 0000000000..b807f89600 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIResolverTest.html @@ -0,0 +1,342 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIResolverTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIResolverTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      45
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.734s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      allOfExampleGeneration[0](jdk.proxy3.$Proxy28@3de473d9)0.029spassed
      componentsResolver0.047spassed
      componentsResolver310.082spassed
      pathsResolver0.025spassed
      propertyNameMixup0.005spassed
      recursiveIssue9840.003spassed
      recursiveResolving0.002spassed
      recursiveResolving20.001spassed
      referringSpecWithoutComponentsTag0.001spassed
      resolveAllOfWithoutAggregatingParameters[0](jdk.proxy3.$Proxy28@6e1af662)0.032spassed
      resolveComposedReferenceAllOfSchema[0](jdk.proxy3.$Proxy28@5f914d68)0.032spassed
      resolveComposedSchema[0](jdk.proxy3.$Proxy28@61df99e6)0.030spassed
      selfReferenceTest[0](jdk.proxy3.$Proxy28@512542aa)0.029spassed
      testComposedSchemaAdjacentWithExamples[0](jdk.proxy3.$Proxy28@4977e352)0.028spassed
      testComposedSchemaAdjacent[0](jdk.proxy3.$Proxy28@62e0fe3)0.035spassed
      testIssue1157[0](jdk.proxy3.$Proxy28@5e535e23)0.034spassed
      testIssue1161[0](jdk.proxy3.$Proxy28@41991619)0.030spassed
      testIssue1170[0](jdk.proxy3.$Proxy28@1790a1d6)0.035spassed
      testIssue1352[0](jdk.proxy3.$Proxy28@3393d740)0.029spassed
      testIssue17060.001spassed
      testIssue2910.001spassed
      testIssue85[0](jdk.proxy3.$Proxy28@16c574c4)0.029spassed
      testJsonArrayRemoteModelProperty0.003spassed
      testJsonMapRemoteModelProperty0.004spassed
      testJsonOperationBodyparamRemoteRefs0.002spassed
      testJsonResponseRemoteRefs0.001spassed
      testJsonSimpleRemoteModelProperty0.003spassed
      testOperationBodyParameterRemoteRefs0.001spassed
      testOperationParameterRemoteRefs0spassed
      testParameterOnPathLevel0spassed
      testRefNameConflicts0.004spassed
      testSelfReferenceResolution[0](jdk.proxy3.$Proxy28@1235d778)0.032spassed
      testSettingsAddParametersToEachOperationDisabled0.001spassed
      testSharedPathParametersTest0spassed
      testSharedResponses0spassed
      testSharedSwaggerParametersTest0spassed
      testSwaggerResolver[0](class OpenAPI { + openapi: null + info: null + externalDocs: null + servers: null + security: null + tags: null + paths: null + components: null +}, jdk.proxy3.$Proxy28@472ab5a1, io.swagger.v3.parser.ResolverCache@66fa0be5, io.swagger.v3.parser.core.models.ParseOptions@2712bbab, io.swagger.v3.parser.processors.ComponentsProcessor@2e178fb6, io.swagger.v3.parser.processors.PathsProcessor@3c02b068)0.115spassed
      testSwaggerResolver_NullSwagger0spassed
      testUpdateInternalReferencesOfExternalFiles0.004spassed
      testYamlArrayRemoteModelProperty0.004spassed
      testYamlArrayResponseRemoteRefs0.004spassed
      testYamlMapRemoteModelProperty0.004spassed
      testYamlOperationBodyparamRemoteRefs0.004spassed
      testYamlResponseRemoteRefs0.004spassed
      testYamlSimpleRemoteModelProperty0.004spassed
      +
      +
      +

      Standard error

      + +
      [Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@26ae9861: attribute info.title is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@26ae9861: attribute paths.'/foo'(get).responses.200.description is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@26ae9861: attribute paths.'/bar'(get).responses.200.description is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@1861c4a9: attribute info.title is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@1676550a: attribute info is missing
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/definitions/StructureB`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/definitions/StructureB`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/#/definitions/StructureB`.  It may not be available or the reference isn't a valid model schema
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserExampleTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserExampleTest.html new file mode 100644 index 0000000000..55c46caa4b --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserExampleTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserExampleTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserExampleTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.012s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testExamples0.012spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFSFullTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFSFullTest.html new file mode 100644 index 0000000000..828cadd94a --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFSFullTest.html @@ -0,0 +1,101 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserFSFullTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserFSFullTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      2
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.013s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testCustomUrlResolver0.004spassed
      testFull0.009spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullFlattenTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullFlattenTest.html new file mode 100644 index 0000000000..324843198a --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullFlattenTest.html @@ -0,0 +1,106 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserFullFlattenTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserFullFlattenTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.005s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testFull0.005spassed
      +
      +
      +

      Standard error

      + +
      [Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@53a96c87: attribute info is missing
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullResolveFullyTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullResolveFullyTest.html new file mode 100644 index 0000000000..5e7ef57b5f --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullResolveFullyTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserFullResolveFullyTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserFullResolveFullyTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.010s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testFull0.010spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullTest.html new file mode 100644 index 0000000000..9d17dd1c95 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserFullTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserFullTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserFullTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.024s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testFull0.024spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserParameterIndirectTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserParameterIndirectTest.html new file mode 100644 index 0000000000..ee4e6e33b3 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserParameterIndirectTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserParameterIndirectTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserParameterIndirectTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.005s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testParameter0.005spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserParameterTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserParameterTest.html new file mode 100644 index 0000000000..e8176ea340 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserParameterTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserParameterTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserParameterTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.004s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testParameter0.004spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserPathItemResolveFullyTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserPathItemResolveFullyTest.html new file mode 100644 index 0000000000..d7d0429d87 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserPathItemResolveFullyTest.html @@ -0,0 +1,131 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserPathItemResolveFullyTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserPathItemResolveFullyTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      8
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.019s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testPathItemBasicRef0.007spassed
      testPathItemDirectExternalCircularRef0.002spassed
      testPathItemExternalIndirectionsRef0.002spassed
      testPathItemExternalInternalNestedRef0.003spassed
      testPathItemExternalOnlyRef0.001spassed
      testPathItemIndirectExternalCircularRef0.003spassed
      testPathItemInternalExternalRef0.001spassed
      testPathItemInternalNoLocation0spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserPathItemTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserPathItemTest.html new file mode 100644 index 0000000000..a04766eff7 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserPathItemTest.html @@ -0,0 +1,126 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserPathItemTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserPathItemTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      7
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.025s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testPathItemBasicRef0.005spassed
      testPathItemDirectExternalCircularRef0.001spassed
      testPathItemExternalIndirectionsRef0.001spassed
      testPathItemExternalInternalNestedRef0.002spassed
      testPathItemExternalOnlyRef0.001spassed
      testPathItemIndirectExternalCircularRef0.012spassed
      testPathItemInternalExternalRef0.003spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserSchemaIndirectTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserSchemaIndirectTest.html new file mode 100644 index 0000000000..e31b409f5d --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserSchemaIndirectTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserSchemaIndirectTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserSchemaIndirectTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.003s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testFull0.003spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest.html new file mode 100644 index 0000000000..cbd25d05fb --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest.html @@ -0,0 +1,247 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      7
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.016s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      test$idUrlDirect0.004spassed
      test$idUrlEnclosing0.002spassed
      test$idUrlExternal0.002spassed
      test$idUrlUnresolvable0.003spassed
      testAnchorExt0.002spassed
      testAnchorInt0.001spassed
      testAnchorUnresolve0.002spassed
      +
      +
      +

      Standard error

      + +
      [Test worker] ERROR io.swagger.v3.parser.reference.ReferenceVisitor - Error resolving schema ./ex.json
      +java.lang.RuntimeException: Could not find /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/schema/$id-unresolvable/ex.json on the classpath
      +	at io.swagger.v3.parser.util.ClasspathHelper.loadFileFromClasspath(ClasspathHelper.java:33)
      +	at io.swagger.v3.parser.reference.Visitor.readClasspath(Visitor.java:72)
      +	at io.swagger.v3.parser.reference.Visitor.readURI(Visitor.java:97)
      +	at io.swagger.v3.parser.reference.ReferenceVisitor.parse(ReferenceVisitor.java:279)
      +	at io.swagger.v3.parser.reference.ReferenceVisitor.resolveSchemaRef(ReferenceVisitor.java:215)
      +	at io.swagger.v3.parser.reference.ReferenceVisitor.visitSchema(ReferenceVisitor.java:123)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchema(OpenAPI31Traverser.java:790)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchemaMap(OpenAPI31Traverser.java:946)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchema(OpenAPI31Traverser.java:800)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchemaMap(OpenAPI31Traverser.java:946)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseComponents(OpenAPI31Traverser.java:169)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseOpenApi(OpenAPI31Traverser.java:128)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverse(OpenAPI31Traverser.java:65)
      +	at io.swagger.v3.parser.reference.OpenAPIDereferencer31.dereference(OpenAPIDereferencer31.java:74)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:225)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest.test$idUrlUnresolvable(OpenAPIV31ParserSchemaTest.java:193)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +[Test worker] ERROR io.swagger.v3.parser.reference.ReferenceVisitor - Error resolving schema #user-profile
      +java.lang.RuntimeException: Could not find user-profile in contents of #user-profile
      +	at io.swagger.v3.parser.reference.ReferenceVisitor.resolveSchemaRef(ReferenceVisitor.java:227)
      +	at io.swagger.v3.parser.reference.ReferenceVisitor.visitSchema(ReferenceVisitor.java:123)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchema(OpenAPI31Traverser.java:790)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchemaMap(OpenAPI31Traverser.java:946)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchema(OpenAPI31Traverser.java:800)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseSchemaMap(OpenAPI31Traverser.java:946)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseComponents(OpenAPI31Traverser.java:169)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverseOpenApi(OpenAPI31Traverser.java:128)
      +	at io.swagger.v3.parser.reference.OpenAPI31Traverser.traverse(OpenAPI31Traverser.java:65)
      +	at io.swagger.v3.parser.reference.OpenAPIDereferencer31.dereference(OpenAPIDereferencer31.java:74)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:225)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest.testAnchorUnresolve(OpenAPIV31ParserSchemaTest.java:217)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV3ParserTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV3ParserTest.html new file mode 100644 index 0000000000..bbaf0f4281 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.OpenAPIV3ParserTest.html @@ -0,0 +1,2051 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.OpenAPIV3ParserTest + + + + + +
      +

      Class io.swagger.v3.parser.test.OpenAPIV3ParserTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      191
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.992s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      checkAllOfAreTaken0.003spassed
      checkAllOfWithRelativeReferencesAreFound0.002spassed
      checkAllOfWithRelativeReferencesIssue6040.001spassed
      checkPathParameterRequiredValue0.001spassed
      int64ExampleWithoutOverflow0.001spassed
      issue1455_testResolveFullyV2_shouldNotThrowNPE0.001spassed
      issue6820.002spassed
      issue9410.002spassed
      issueRelativeRefs20.002spassed
      readingSpecNodeShouldNotOverQuotingStringExample0.001spassed
      readingSpecStringShouldNotOverQuotingStringExample0spassed
      shouldParseApiWithMultipleParameterReferences0spassed
      shouldParseApiWithParametersUsingContentvsSchema0.002spassed
      shouldParseExternalSchemaModelHavingReferenceToItsLocalModel0.001spassed
      shouldParseParameters0spassed
      shouldParseRequestBody0.001spassed
      test30NoOptions[0](jdk.proxy3.$Proxy28@ace5f3b)0.042spassed
      test30[0](jdk.proxy3.$Proxy28@4d45dc4d)0.053spassed
      testAnonymousModelAllOf0.002spassed
      testBadFormat0.001spassed
      testBlankQueryParameterExample0.001spassed
      testCamelCaseFlattenNamingFalse0.005spassed
      testCantReadDeepProperties0.001spassed
      testCodegenIssue45550.003spassed
      testCodegenIssue86010.003spassed
      testCodegenIssue97730.001spassed
      testCodegenPetstore0.011spassed
      testComposedRefResolvingIssue628[0](jdk.proxy3.$Proxy28@4117fd79)0.038spassed
      testComposedSchemaAdjacent[0](jdk.proxy3.$Proxy28@66890357)0.040spassed
      testConverterIssue170.001spassed
      testDeserializeExampleFlag0.001spassed
      testDiscriminatorSameFileExternalMapping0.002spassed
      testDiscriminatorSeparateFileExternalMapping0.003spassed
      testDiscriminatorSeparateFileInternalMapping0.001spassed
      testDiscriminatorSeparateFileNoMapping0.001spassed
      testDiscriminatorSeparateFilePlainMapping0.002spassed
      testDiscriminatorSingleFileInternalMapping0.001spassed
      testDiscriminatorSingleFileNoMapping0.001spassed
      testDiscriminatorSingleFilePlainMapping0.001spassed
      testDuplicateHttpStatusCodesJson0.001spassed
      testDuplicateHttpStatusCodesYaml0.001spassed
      testEmptyQueryParameterExample0.001spassed
      testEmptyStrings_False0spassed
      testEmptyStrings_True0spassed
      testExampleFlag0.003spassed
      testExampleFormatByte0.002spassed
      testFileReferenceWithVendorExt0spassed
      testFlattenComposedSchema0.001spassed
      testIncompatibleRefs0.001spassed
      testInlineModelResolverByUrl0.002spassed
      testInlineModelResolver[0](jdk.proxy3.$Proxy28@7d5561c3)0.037spassed
      testInternalRefsValidation0.001spassed
      testIssue0.001spassed
      testIssue1003_ExtensionsClassloader0.001spassed
      testIssue10150.001spassed
      testIssue10390.002spassed
      testIssue10630.001spassed
      testIssue10710spassed
      testIssue1071False0spassed
      testIssue1071True0.001spassed
      testIssue1080spassed
      testIssue11050.002spassed
      testIssue11080.001spassed
      testIssue11190.001spassed
      testIssue11310.002spassed
      testIssue11470.001spassed
      testIssue1148_Flatten_Dot0.001spassed
      testIssue11690.001spassed
      testIssue1169noSplit0.001spassed
      testIssue1177[0](jdk.proxy3.$Proxy28@4d43e058)0.038spassed
      testIssue11900.001spassed
      testIssue12660.002spassed
      testIssue13090.001spassed
      testIssue13160.001spassed
      testIssue13350.001spassed
      testIssue13670.001spassed
      testIssue13980.001spassed
      testIssue1460spassed
      testIssue15180.002spassed
      testIssue1518StackOverFlow0.003spassed
      testIssue15400.014spassed
      testIssue15610.006spassed
      testIssue15920.001spassed
      testIssue16210.001spassed
      testIssue1637_StyleAndContent0.001spassed
      testIssue1643_False0spassed
      testIssue1643_True0.001spassed
      testIssue1644_EmptyValue0spassed
      testIssue1644_NullValue0spassed
      testIssue16580.001spassed
      testIssue17580.001spassed
      testIssue17770.001spassed
      testIssue17800.001spassed
      testIssue18020.001spassed
      testIssue18650.001spassed
      testIssue2430spassed
      testIssue2510.004spassed
      testIssue2550.001spassed
      testIssue2860.002spassed
      testIssue292WithCSVCollectionFormat0spassed
      testIssue3390.009spassed
      testIssue3570.001spassed
      testIssue3580spassed
      testIssue3600spassed
      testIssue3930spassed
      testIssue4500.001spassed
      testIssue4800.001spassed
      testIssue5940spassed
      testIssue7190.002spassed
      testIssue750spassed
      testIssue8110.001spassed
      testIssue811_RefSchema_ToRefSchema0.001spassed
      testIssue8340.001spassed
      testIssue8370.001spassed
      testIssue8530.002spassed
      testIssue8840.001spassed
      testIssue9010.001spassed
      testIssue901_20.001spassed
      testIssue9130.005spassed
      testIssue9150.001spassed
      testIssue9310.001spassed
      testIssue9480.001spassed
      testIssue975_allOf0.002spassed
      testIssue975_anyOf0.001spassed
      testIssue975_array0.002spassed
      testIssue975_array_array0.002spassed
      testIssue975_array_map0.001spassed
      testIssue975_map0.001spassed
      testIssue975_map_array0.001spassed
      testIssue975_map_map0.002spassed
      testIssue975_oneOf0.001spassed
      testIssue975_property0.001spassed
      testIssue9830.001spassed
      testIssueDereferencingComposedSchemaOneOf0.001spassed
      testIssueFlattenAdditionalPropertiesSchemaInlineModelTrue0spassed
      testIssueFlattenArraySchemaItemsInlineModelFalse0.002spassed
      testIssueFlattenArraySchemaItemsInlineModelTrue0.001spassed
      testIssueFlattenComposedSchemaInlineModel0.001spassed
      testIssueFlattenComposedSchemaInlineModelFlagFalse0.001spassed
      testIssueIntegerDefault0.005spassed
      testIssueResolveCallBacks0.001spassed
      testIssueSameRefsDifferentModel0.007spassed
      testIssueSameRefsDifferentModelValid0spassed
      testIssue_12920.002spassed
      testIssue_5050.003spassed
      testLinkIssue0spassed
      testLoadExternalNestedDefinitions0.001spassed
      testLoadExternalNestedDefinitionsWithReferenceOnDifferentFolderLevels0.001spassed
      testLoadExternalNestedDefinitionsWithReferenceWithinSameFolder0.002spassed
      testLoadExternalNestedDefinitionsWithReferenceWithinSubfolder0.002spassed
      testLoadNestedItemsReferences0.001spassed
      testLoadRecursiveExternalDef0.001spassed
      testLoadRelativeFileTree_Json0.003spassed
      testLoadRelativeFileTree_Yaml0.017spassed
      testModelParameters0.001spassed
      testNestedReferences0.002spassed
      testNotDefaultSchemaType0.001spassed
      testNotFlattenComposedSchema0.001spassed
      testNullExample0.003spassed
      testOneOfExternalRefConflictName0.002spassed
      testParameterRequired0.003spassed
      testParametersAndResponsesAsNumbers0.003spassed
      testParseOptionsSkipMatchesFalse0.001spassed
      testParseOptionsSkipMatchesTrue0.001spassed
      testParseRefPathParameters0spassed
      testParseSharedPathParameters0.001spassed
      testPattern0spassed
      testPetstore0.004spassed
      testRefAdditionalProperties0.001spassed
      testRefAndInlineAllOf[0](jdk.proxy3.$Proxy28@1eecbf8c)0.038spassed
      testRefParseProblem0.002spassed
      testRefPaths0spassed
      testRegressionIssue12360.001spassed
      testRelativePath0.001spassed
      testRelativePath20.007spassed
      testRelativePathIssue15430.004spassed
      testRemoteParameterIssue1094[0](jdk.proxy3.$Proxy28@67c83c82)0.038spassed
      testRemoteParameterIssue1103[0](jdk.proxy3.$Proxy28@21508878)0.043spassed
      testRemotePathItemIssue1103[0](jdk.proxy3.$Proxy28@21e25df0)0.041spassed
      testResolveEmpty[0](jdk.proxy3.$Proxy28@19ef6dc6)0.039spassed
      testResolveFully0.022spassed
      testResolveFullyExample0.019spassed
      testResolveFullyMap0.003spassed
      testSampleParser0.001spassed
      testShellMethod[0](jdk.proxy3.$Proxy28@5578cb71)0.205spassed
      testTroublesomeFile0.004spassed
      testUniqueParameters0spassed
      testValidateDefinition0.001spassed
      testValidateExternalRefsFalse0.004spassed
      testValidateExternalRefsTrue0.006spassed
      testValidationIssue0.001spassed
      +
      +
      +

      Standard output

      + +
      Combination:
      +  type: object
      +  properties:
      +    file:
      +      $ref: '#/components/schemas/Link'
      +    fileVersion:
      +      $ref: '#/components/schemas/Link'
      +    target:
      +      description: Blah blah blah
      +      oneOf:
      +      - $ref: '#/components/schemas/Raygun'
      +      - $ref: '#/components/schemas/Dingy'
      +      - $ref: '#/components/schemas/Headlight'
      +    createdBy:
      +      $ref: '#/components/schemas/Link'
      +  description: Blah blah blah
      +Combinations:
      +  $ref: ./models/combinations.json
      +Raygun:
      +  $ref: ./target/raygun.json
      +Dingy:
      +  $ref: ./models/target/dingy.json
      +Headlight:
      +  $ref: ./models/target/headlight.json
      +Stamp:
      +  $ref: ./models/target/stamp.json
      +Stripe:
      +  $ref: ./models/target/stripe.json
      +Link:
      +  type: object
      +  properties:
      +    type:
      +      type: string
      +      description: Blah blah blah
      +    id:
      +      type: string
      +      description: Blah blah blah
      +
      +messages: []
      +openAPI:
      +  openapi: 3.0.0
      +  info:
      +    title: issue
      +    version: 1.0.01
      +  servers:
      +  - url: /
      +  paths:
      +    /bar:
      +      delete:
      +        parameters:
      +        - name: X-requestid
      +          in: header
      +          required: false
      +          schema:
      +            type: string
      +            format: uuid
      +        responses:
      +          "204":
      +            description: Deleted
      +            headers:
      +              X-requestid:
      +                $ref: '#/components/headers/requestid'
      +  components:
      +    parameters:
      +      requestid:
      +        name: X-requestid
      +        in: header
      +        required: false
      +        schema:
      +          type: string
      +          format: uuid
      +openapi31: false
      +
      +Processing src/test/resources/relative-file-references/json/parent.json
      +Processing src/test/resources/relative-file-references/json/responses/errorResponses.json
      +Processing src/test/resources/relative-file-references/json/paths/healthPath.json
      +Processing src/test/resources/relative-file-references/json/models/error.json
      +Processing src/test/resources/relative-file-references/json/models/reflex.json
      +Processing src/test/resources/relative-file-references/json/models/health.json
      +Processing src/test/resources/relative-file-references/json/models/example.json
      +Processing src/test/resources/relative-file-references/json/models/foo.json
      +Processing src/test/resources/relative-file-references/json/models/conflict.json
      +Processing src/test/resources/relative-file-references/json/models/pet.json
      +Processing src/test/resources/relative-file-references/json/models/localreference.json
      +Processing src/test/resources/relative-file-references/json/parameters/params.json
      +[components.schemas.Pet. writeOnly and readOnly are both present]
      +
      +
      +
      +
      +

      Standard error

      + +
      [Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/address-model`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/phone-model`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/TypeProject/properties/id`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/TypeProject/properties/id`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/TypeProject/properties/id`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error snake-parsing yaml content
      +io.swagger.v3.parser.util.DeserializationUtils$SnakeException: Exception safe-checking yaml content  (maxDepth 2000, maxYamlAliasesForCollections 2147483647)
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:442)
      +	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:477)
      +	at org.yaml.snakeyaml.Yaml.load(Yaml.java:406)
      +	at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:213)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:145)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:168)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:107)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testCodegenIssue4555(OpenAPIV3ParserTest.java:2406)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: while scanning for the next token
      +found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
      + in 'string', line 26, column 14:
      +          title: 		test
      +                 ^
      +
      +	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:470)
      +	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:263)
      +	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:694)
      +	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:185)
      +	at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:57)
      +	at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:43)
      +	at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:136)
      +	at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:116)
      +	at org.yaml.snakeyaml.composer.Composer.composeScalarNode(Composer.java:239)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:208)
      +	at org.yaml.snakeyaml.composer.Composer.composeKeyNode(Composer.java:347)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:332)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:357)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:336)
      +	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:311)
      +	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:212)
      +	at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:134)
      +	at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:160)
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:419)
      +	... 45 more
      +[Test worker] ERROR io.swagger.v3.parser.util.DeserializationUtils - Error parsing content
      +com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException: while scanning for the next token
      +found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
      + in 'reader', line 26, column 14:
      +          title: 		test
      +                 ^
      +
      + at [Source: (StringReader); line: 26, column: 12]
      +	at com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException.from(MarkedYAMLException.java:28)
      +	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:423)
      +	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer._deserializeContainerNoRecursion(JsonNodeDeserializer.java:539)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:98)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:23)
      +	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
      +	at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4772)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3124)
      +	at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:234)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:145)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:168)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:107)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testCodegenIssue4555(OpenAPIV3ParserTest.java:2406)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: while scanning for the next token
      +found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
      + in 'reader', line 26, column 14:
      +          title: 		test
      +                 ^
      +
      +	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:470)
      +	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:263)
      +	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:694)
      +	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:185)
      +	at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:195)
      +	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:419)
      +	... 49 more
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while parsing:
      +com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException: while scanning for the next token
      +found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
      + in 'reader', line 26, column 14:
      +          title: 		test
      +                 ^
      +
      + at [Source: (StringReader); line: 26, column: 12]
      +	at com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException.from(MarkedYAMLException.java:28)
      +	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:423)
      +	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer._deserializeContainerNoRecursion(JsonNodeDeserializer.java:539)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:98)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:23)
      +	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
      +	at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4772)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3124)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:170)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:107)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testCodegenIssue4555(OpenAPIV3ParserTest.java:2406)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: while scanning for the next token
      +found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
      + in 'reader', line 26, column 14:
      +          title: 		test
      +                 ^
      +
      +	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:470)
      +	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:263)
      +	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:694)
      +	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:185)
      +	at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:195)
      +	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:419)
      +	... 47 more
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while parsing:
      +com.fasterxml.jackson.core.JsonParseException: Duplicate field '200'
      + at [Source: (String)"{
      +  "openapi": "3.0.1",
      +  "servers": [
      +    {
      +      "description": "An absolute path",
      +      "url": "https://api.absolute.org/v2"
      +    }
      +  ],
      +  "info": {
      +    "description": "This is a sample server",
      +    "version": "1.0.0",
      +    "title": "title",
      +    "license": {
      +      "name": "Apache-2.0",
      +      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
      +    }
      +  },
      +  "paths": {
      +    "/whatever": {
      +      "get": {
      +        "summary": "Some operation",
      +        "description": "Some operation",
      +        "ope"[truncated 228 chars]; line: 28, column: 16]
      +	at com.fasterxml.jackson.core.json.JsonReadContext._checkDup(JsonReadContext.java:225)
      +	at com.fasterxml.jackson.core.json.JsonReadContext.setCurrentName(JsonReadContext.java:219)
      +	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextFieldName(ReaderBasedJsonParser.java:966)
      +	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer._deserializeContainerNoRecursion(JsonNodeDeserializer.java:534)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:98)
      +	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:23)
      +	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
      +	at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4772)
      +	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3124)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:170)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testDuplicateHttpStatusCodesJson(OpenAPIV3ParserTest.java:3211)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +[Test worker] WARN io.swagger.v3.parser.util.DeserializationUtils - Error snake-parsing yaml content
      +io.swagger.v3.parser.util.DeserializationUtils$SnakeException: Duplicate field 200
      +	at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.getSingleData(DeserializationUtils.java:440)
      +	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:477)
      +	at org.yaml.snakeyaml.Yaml.load(Yaml.java:406)
      +	at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:213)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:145)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:168)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testDuplicateHttpStatusCodesYaml(OpenAPIV3ParserTest.java:3226)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@42a1fbbe: attribute paths.'/pets'(get).parameters.[limit].content is missing
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: Unable to load RELATIVE ref: models/target/raygun.json path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/build/resources/test/example0
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:220)
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:150)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:88)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:138)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefSchema(ExternalRefProcessor.java:981)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processSchema(ExternalRefProcessor.java:224)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processProperties(ExternalRefProcessor.java:247)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processSchema(ExternalRefProcessor.java:239)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processProperties(ExternalRefProcessor.java:247)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processProperties(ExternalRefProcessor.java:254)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:182)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processReferenceSchema(SchemaProcessor.java:249)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchema(SchemaProcessor.java:59)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processSchemas(ComponentsProcessor.java:231)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processComponents(ComponentsProcessor.java:145)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:73)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testIssue1518StackOverFlow(OpenAPIV3ParserTest.java:561)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: java.lang.RuntimeException: Could not find models/target/raygun.json on the classpath
      +	at io.swagger.v3.parser.util.ClasspathHelper.loadFileFromClasspath(ClasspathHelper.java:33)
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:214)
      +	... 58 more
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test'(put).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/business-exception'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/no-package'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/simple-get'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/simple-post'(post).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/system-exception'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/user-context'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/write-time-out'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/{id}'(delete).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute paths.'/test/{userId}/detail'(get).extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute tags.extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5ced1c1c: attribute extensions is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5f22e266: attribute paths.'/'(get).responses.200.description is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@3af4d49d: attribute components.links.userRepository.headers is unexpected
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/address-model`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/phone-model`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/address-model`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `#/components/schemas/phone-model`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: Unable to load RELATIVE ref:  path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-4
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:220)
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:150)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:88)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:141)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processReferenceSchemaForProperty(SchemaProcessor.java:260)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processPropertySchema(SchemaProcessor.java:147)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchemaType(SchemaProcessor.java:76)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchema(SchemaProcessor.java:61)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processSchemas(ComponentsProcessor.java:231)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processComponents(ComponentsProcessor.java:145)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:73)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:124)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:113)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testLoadExternalNestedDefinitionsWithReferenceOnDifferentFolderLevels(OpenAPIV3ParserTest.java:1969)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: java.io.FileNotFoundException: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-4 (Is a directory)
      +	at java.base/java.io.FileInputStream.open0(Native Method)
      +	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
      +	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
      +	at io.swagger.v3.parser.util.RefUtils.readAll(RefUtils.java:228)
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:191)
      +	... 55 more
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@67a0fa22: Unable to load RELATIVE ref:  path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-4
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: Unable to load RELATIVE ref:  path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-3
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:220)
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:150)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:88)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:141)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processReferenceSchemaForProperty(SchemaProcessor.java:260)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processPropertySchema(SchemaProcessor.java:147)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchemaType(SchemaProcessor.java:76)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchema(SchemaProcessor.java:61)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processSchemas(ComponentsProcessor.java:231)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processComponents(ComponentsProcessor.java:145)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:73)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:124)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:113)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testLoadExternalNestedDefinitionsWithReferenceWithinSameFolder(OpenAPIV3ParserTest.java:1948)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: java.io.FileNotFoundException: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-3 (Is a directory)
      +	at java.base/java.io.FileInputStream.open0(Native Method)
      +	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
      +	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
      +	at io.swagger.v3.parser.util.RefUtils.readAll(RefUtils.java:228)
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:191)
      +	... 55 more
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@65b634a4: Unable to load RELATIVE ref:  path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-3
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: Unable to load RELATIVE ref:  path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-2
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:220)
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:150)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:88)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:141)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processReferenceSchemaForProperty(SchemaProcessor.java:260)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processPropertySchema(SchemaProcessor.java:147)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchemaType(SchemaProcessor.java:76)
      +	at io.swagger.v3.parser.processors.SchemaProcessor.processSchema(SchemaProcessor.java:61)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processSchemas(ComponentsProcessor.java:231)
      +	at io.swagger.v3.parser.processors.ComponentsProcessor.processComponents(ComponentsProcessor.java:145)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:73)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:124)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:113)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testLoadExternalNestedDefinitionsWithReferenceWithinSubfolder(OpenAPIV3ParserTest.java:1927)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: java.io.FileNotFoundException: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-2 (Is a directory)
      +	at java.base/java.io.FileInputStream.open0(Native Method)
      +	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
      +	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
      +	at io.swagger.v3.parser.util.RefUtils.readAll(RefUtils.java:228)
      +	at io.swagger.v3.parser.util.RefUtils.readExternalRef(RefUtils.java:191)
      +	... 55 more
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@62286c7b: Unable to load RELATIVE ref:  path: /Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/src/test/resources/nested-references-2
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@50541877: attribute paths.'/pet/findByStatus'(get).parameters.[status].schemas.default is not of type `array`
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@50541877: attribute paths.'/pet/{petId}/uploadImage'(post).responses.200.content.'application/json'.schema.#/components/schemas/ApiResponse is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@5fea7c5c: attribute paths.'/my-app'(get).responses.200.schema is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@17586565: attribute paths.'/Translation/{lang}'(put).responses is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload2.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload3.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload4.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload5.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload6.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload7.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload8.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload9.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload10.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload11.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload12.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload13.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload14.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/3d_secure'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/account'(delete).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/account/login_links'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/login_links'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/reject'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/apple_pay/domains'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/application_fees/{fee}/refunds/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/application_fees/{id}/refund'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/application_fees/{id}/refunds'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/bitcoin/receivers'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/bitcoin/receivers/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/bitcoin/receivers/{id}/refund'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/charges'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/charges/{charge}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/charges/{charge}/capture'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/charges/{charge}/refunds'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/coupons'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/coupons/{coupon}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/subscriptions'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/invoiceitems'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/invoiceitems/{invoiceitem}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/invoices'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/invoices/{invoice}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders/{id}/pay'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders/{id}/returns'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/payouts'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/payouts/{payout}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/plans'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/plans/{plan}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/recipients'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/recipients/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/recipients/{id}/cards'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/recipients/{recipient}/cards/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/refunds'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/skus'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/skus/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/sources'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/sources/{source}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/sources/{source}/verify'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscription_items'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscription_items/{item}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscription_items/{item}'(delete).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscriptions'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/tokens'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/transfers'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/transfers/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/transfers/{id}/reversals'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/transfers/{transfer}/reversals/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.description is unexpected
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.account_verification.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.balance.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.balance.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.balance.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.card.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.country_spec.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.country_spec.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.product.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.product.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.schemas.product.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload12.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute components.requestBodies.payload14.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/subscriptions'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/events'(get).parameters.[types].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/invoices/upcoming'(get).parameters.[subscription_items].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/invoices/{invoice}/lines'(get).parameters.[subscription_items].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders'(get).parameters.[ids].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders'(get).parameters.[upstream_ids].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/orders/{id}/returns'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products'(get).parameters.[ids].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/products/{id}'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/skus'(get).parameters.[ids].schemas.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/sources/{source}/verify'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscriptions'(post).requestBody.content.'application/x-www-form-urlencoded'.schema.items is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/bank_accounts'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/bank_accounts/{id}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/bank_accounts/{id}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/bank_accounts/{id}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/external_accounts'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/external_accounts'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/external_accounts/{id}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/external_accounts/{id}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/accounts/{account}/external_accounts/{id}'. Declared path parameter account needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/application_fees/{fee}/refunds/{id}'. Declared path parameter fee needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/application_fees/{fee}/refunds/{id}'. Declared path parameter id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/charges/{charge}'. Declared path parameter charge needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/charges/{charge}/refunds/{refund}'. Declared path parameter refund needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/alipay_accounts'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/alipay_accounts/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/alipay_accounts/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/bank_accounts'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/bank_accounts/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/bank_accounts/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/cards'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/cards/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/cards/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/cards/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/discount'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/sources'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/sources/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/sources/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/sources/{id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount'. Declared path parameter customer needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/invoiceitems/{invoiceitem}'. Declared path parameter invoiceitem needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/invoices/{invoice}'. Declared path parameter invoice needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/products/{id}'. Declared path parameter id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/recipients/{id}/cards'. Declared path parameter id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/recipients/{recipient}/cards/{id}'. Declared path parameter recipient needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/recipients/{recipient}/cards/{id}'. Declared path parameter id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/refunds/{refund}'. Declared path parameter refund needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/skus/{id}'. Declared path parameter id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/sources/{source}'. Declared path parameter source needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/subscriptions/{subscription_exposed_id}'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/subscriptions/{subscription_exposed_id}'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/subscriptions/{subscription_exposed_id}'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: paths.'/v1/subscriptions/{subscription_exposed_id}/discount'. Declared path parameter subscription_exposed_id needs to be defined as a path parameter in path or operation level
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/account/external_accounts'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/account/external_accounts/{id}'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/account/external_accounts/{id}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/account/external_accounts/{id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/bank_accounts'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/bank_accounts/{id}'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/bank_accounts/{id}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/bank_accounts/{id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/external_accounts'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/external_accounts'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/external_accounts/{id}'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/external_accounts/{id}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/external_accounts/{id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/accounts/{account}/login_links'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/bitcoin/transactions'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/charges/{charge}/refund'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/bank_accounts'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/bank_accounts/{id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/cards'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/cards/{id}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/cards/{id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/sources'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/sources/{id}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/sources/{id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/sources/{id}/verify'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/payments'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/payments'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/payments/{payment}'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/refunds'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscriptions/{subscription_exposed_id}'(get).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscriptions/{subscription_exposed_id}'(post).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscriptions/{subscription_exposed_id}'(delete).operationId is repeated
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@73567615: attribute paths.'/v1/subscriptions/{subscription_exposed_id}/discount'(delete).operationId is repeated
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `./ref.yaml#/components/parameters/skipParam`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
      +java.lang.RuntimeException: An exception was thrown while trying to deserialize the contents of ./ref.yaml into type class io.swagger.v3.oas.models.callbacks.Callback
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserialize(DeserializationUtils.java:187)
      +	at io.swagger.v3.parser.ResolverCache.loadRef(ResolverCache.java:206)
      +	at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalCallback(ExternalRefProcessor.java:834)
      +	at io.swagger.v3.parser.processors.OperationProcessor.processOperation(OperationProcessor.java:100)
      +	at io.swagger.v3.parser.processors.PathsProcessor.processPaths(PathsProcessor.java:88)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:72)
      +	at io.swagger.v3.parser.OpenAPIResolver.resolve(OpenAPIResolver.java:59)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.resolve(OpenAPIV3Parser.java:238)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:181)
      +	at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:97)
      +	at io.swagger.v3.parser.test.OpenAPIV3ParserTest.testValidateExternalRefsFalse(OpenAPIV3ParserTest.java:3426)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      +	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      +	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      +	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      +	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      +	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      +	at org.testng.TestRunner.privateRun(TestRunner.java:782)
      +	at org.testng.TestRunner.run(TestRunner.java:632)
      +	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      +	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      +	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      +	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
      +	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      +	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      +	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      +	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      +	at org.testng.TestNG.run(TestNG.java:1064)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:145)
      +	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:92)
      +	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
      +	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      +	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      +	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      +	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      +	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      +	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      +	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      +	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      +	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      +	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      +Caused by: java.lang.IllegalArgumentException: Cannot construct instance of `io.swagger.v3.oas.models.PathItem` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('badCallback')
      + at [Source: UNKNOWN; byte offset: #UNKNOWN]
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4449)
      +	at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4380)
      +	at io.swagger.v3.core.util.CallbackDeserializer.deserialize(CallbackDeserializer.java:44)
      +	at io.swagger.v3.core.util.CallbackDeserializer.deserialize(CallbackDeserializer.java:17)
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4444)
      +	at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4380)
      +	at io.swagger.v3.parser.util.DeserializationUtils.deserialize(DeserializationUtils.java:184)
      +	... 48 more
      +Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `io.swagger.v3.oas.models.PathItem` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('badCallback')
      + at [Source: UNKNOWN; byte offset: #UNKNOWN]
      +	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63)
      +	at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1733)
      +	at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1358)
      +	at com.fasterxml.jackson.databind.deser.std.StdDeserializer._deserializeFromString(StdDeserializer.java:311)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1500)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:197)
      +	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)
      +	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4444)
      +	... 54 more
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `./ref.yaml#/components/parameters/skipParam`.  It may not be available or the reference isn't a valid model schema
      +[Test worker] WARN io.swagger.v3.parser.processors.ExternalRefProcessor - unable to load model reference from `./ref.yaml#/components/parameters/skipParam`.  It may not be available or the reference isn't a valid model schema
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.RelativeReferenceTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.RelativeReferenceTest.html new file mode 100644 index 0000000000..e4b3805198 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.RelativeReferenceTest.html @@ -0,0 +1,116 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.RelativeReferenceTest + + + + + +
      +

      Class io.swagger.v3.parser.test.RelativeReferenceTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      5
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.023s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testIssue2130.019spassed
      testIssue4090spassed
      testIssueServerUrlValidation0.001spassed
      testResolveRelativePaths0.002spassed
      testResolveRelativeSiblingPaths0.001spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.ResolverCacheTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.ResolverCacheTest.html new file mode 100644 index 0000000000..bbd4d42108 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.ResolverCacheTest.html @@ -0,0 +1,288 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.ResolverCacheTest + + + + + +
      +

      Class io.swagger.v3.parser.test.ResolverCacheTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      12
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.318s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testLoadExternalRefResponseWithNoContent0.078spassed
      testLoadExternalRefWithEscapedCharacters0.001spassed
      testLoadExternalRef_NoDefinitionPath0.120spassed
      testLoadInternalDefinitionRefWithEscapedCharacters[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.012spassed
      testLoadInternalDefinitionRefWithSpaces[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.011spassed
      testLoadInternalDefinitionRef[0](class Schema { + type: null + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null +})0.013spassed
      testLoadInternalParameterRefWithSpaces[0](class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null +})0.013spassed
      testLoadInternalParameterRef[0](class Parameter { + name: null + in: null + description: null + required: null + deprecated: null + allowEmptyValue: null + style: null + explode: null + allowReserved: null + schema: null + examples: null + example: null + content: null + $ref: null +})0.012spassed
      testLoadInternalResponseRefWithSpaces[0](class ApiResponse { + description: null + headers: null + content: null + links: null + extensions: null + $ref: null +})0.011spassed
      testLoadInternalResponseRef[0](class ApiResponse { + description: null + headers: null + content: null + links: null + extensions: null + $ref: null +})0.023spassed
      testMock0.024spassed
      testRenameCache0spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.ResponseResolverTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.ResponseResolverTest.html new file mode 100644 index 0000000000..71f366c818 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.test.ResponseResolverTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class io.swagger.v3.parser.test.ResponseResolverTest + + + + + +
      +

      Class io.swagger.v3.parser.test.ResponseResolverTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      1
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.055s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + +
      TestDurationResult
      testIssue2110.055spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.ClasspathHelperTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.ClasspathHelperTest.html new file mode 100644 index 0000000000..ccefb5d5d4 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.ClasspathHelperTest.html @@ -0,0 +1,106 @@ + + + + + +Test results - Class io.swagger.v3.parser.util.ClasspathHelperTest + + + + + +
      +

      Class io.swagger.v3.parser.util.ClasspathHelperTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      3
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.001s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testLoadFileFromClasspath0.001spassed
      testLoadFileFromClasspath_DoesntExist0spassed
      testLoadFileFromClasspath_HandlesWindowsPathsOk0spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.InlineModelResolverTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.InlineModelResolverTest.html new file mode 100644 index 0000000000..2e19aa3b04 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.InlineModelResolverTest.html @@ -0,0 +1,299 @@ + + + + + +Test results - Class io.swagger.v3.parser.util.InlineModelResolverTest + + + + + +
      +

      Class io.swagger.v3.parser.util.InlineModelResolverTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      39
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.038s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      notResolveNonModelRequestBody0.004spassed
      resolveInlineArrayModelWithTitle0.002spassed
      resolveInlineArrayModelWithoutTitle0spassed
      resolveInlineArrayRequestBody0.002spassed
      resolveInlineArrayResponse0spassed
      resolveInlineArrayResponseWithTitle0.001spassed
      resolveInlineModel2DifferentInnerModelsWIthSameTitle0spassed
      resolveInlineModel2EqualInnerModels0.001spassed
      resolveInlineModelTestWithTitle0spassed
      resolveInlineModelTestWithoutTitle0spassed
      resolveInlineParameter0spassed
      resolveInlineRequestBody0.002spassed
      resolveInlineRequestBodyWithTitle0spassed
      resolveInlineRequestBody_maxTwoPathParts0.001spassed
      resolveInlineRequestBody_stripsDotsFromPath0spassed
      testArbitraryObjectBodyParamArrayInline0spassed
      testArbitraryObjectBodyParamWithArray0spassed
      testArbitraryObjectModelInline0spassed
      testArbitraryObjectModelWithArrayInlineWithTitle0spassed
      testArbitraryObjectModelWithArrayInlineWithoutTitle0spassed
      testArbitraryObjectRequestBodyInline0.001spassed
      testArbitraryObjectResponse0spassed
      testArbitraryObjectResponseArray0spassed
      testArbitraryObjectResponseArrayInline0spassed
      testArbitraryObjectResponseMapInline0.001spassed
      testArbitraryRequestBody0spassed
      testArrayResponse0spassed
      testBasicInput0spassed
      testInlineItemsSchema0.008spassed
      testInlineMapResponse0spassed
      testInlineMapResponseWithObjectSchema0.001spassed
      testInlineResponseModel0spassed
      testInlineResponseModelWithTitle0spassed
      testIssue10180.002spassed
      testIssue7050.003spassed
      testIssueUnexpectedNullValues0.006spassed
      testSchemaPropertiesBeingPassedToFlattenedModel0.002spassed
      testSkipInlineMatchesFalse0spassed
      testSkipInlineMatchesTrue0.001spassed
      +
      +
      +

      Standard error

      + +
      [Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@111cba40: attribute components.schemas.User.default is not of type `object`
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@111cba40: attribute info is missing
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@58a3d521: attribute components.schemas.User.default is not of type `object`
      +[Test worker] INFO io.swagger.v3.parser.OpenAPIV3Parser - io.swagger.v3.parser.OpenAPIV3Parser@58a3d521: attribute info is missing
      +
      +
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.OpenAPIDeserializerTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.OpenAPIDeserializerTest.html new file mode 100644 index 0000000000..6b24128a8b --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.OpenAPIDeserializerTest.html @@ -0,0 +1,511 @@ + + + + + +Test results - Class io.swagger.v3.parser.util.OpenAPIDeserializerTest + + + + + +
      +

      Class io.swagger.v3.parser.util.OpenAPIDeserializerTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      84
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.546s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      propertyTest[0](jdk.proxy3.$Proxy28@2ca4b010)0.047spassed
      readComponentsObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.010spassed
      readContentObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.006spassed
      readEmptySecurityRequirement0.005spassed
      readEmptyServerObject0.003spassed
      readExamplesObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.006spassed
      readExtensions[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.006spassed
      readExternalDocsObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readInfoObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readMissingServerObject0.003spassed
      readOAS0.151spassed
      readPathsObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.007spassed
      readProducesTestEndpoint[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readRequestBodyObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readSchemaArray[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readSchemaObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readSecurityRequirementsObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.004spassed
      readSecuritySchemesObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readServerObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.005spassed
      readTagObject[0]({"openapi":"3.0.1","servers":[{"url":"http://petstore.swagger.io/v2"},{"url":"https://development.gigantic-server.com/v1","description":"Development server"},{"url":"https://{username}.gigantic-server.com:{port}/{basePath}","x-server":"server extension","description":"The production API server","variables":{"username":{"default":"demo","description":"this value is assigned by the service provider, in this example `gigantic-server.com`"},"port":{"enum":[8443,443],"default":8443},"basePath":{"default":"v2","description":"testing overwriting","enum":[2222,333]}}}],"x-origin":[{"url":"http://petstore.swagger.io/v2/swagger.json","format":"swagger","version":"2.0","converter":{"url":"https://github.com/mermade/swagger2openapi","version":"1.2.1"}}],"x-api-title":"pet store test api","security":[{"api_key":[]},{"tokenAuth":[]}],"info":{"description":"This is a sample server Petstore","title":"Sample Pet Store App","termsOfService":"http://swagger.io/terms/","x-info":"info extension","contact":{"name":"API Support","url":"http://www.example.com/support","email":"support@example.com","x-contact":"contact extension"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html","x-license":"license extension"},"version":"1.0.1"},"tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"paths":{"/pathItemRef2":{"$ref":"#/paths/~1pet"},"/mockResponses/objectMultipleExamples":{"get":{"responses":{"200":{"description":"A string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/yaml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}},"application/xml":{"schema":{"$ref":"#/components/schemas/User1"},"examples":{"ArthurDent":{"$ref":"#/components/examples/Arthur"},"Trillian":{"$ref":"#/components/examples/Trillian"}}}}}}}},"/pathItemRef":{"$ref":"http://localhost:${dynamicPort}/remote/path#/paths/~1pet"},"/pet":{"summary":"summary","description":"description","trace":{"description":"Dummy operation to test retrieval of trace operations","responses":{"200":{"description":"Dummy response"}}},"post":{"externalDocs":{"description":"Find out more","url":"http://swagger.io"},"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId":"addPet","parameters":[],"responses":{"405":{"description":"Invalid input","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"title":"header schema","type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}},"servers":[{"url":"http://petstore.swagger.io/v2"}],"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"schema":{"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}},{"$ref":"#/components/parameters/skipParam"}],"put":{"tags":["pet"],"summary":"Update an existing pet","description":"","operationId":"updatePet","parameters":[],"responses":{"400":{"description":"A complex object array response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeryComplexType"}}}}},"404":{"description":"Pet not found"},"405":{"description":"Validation exception"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"$ref":"#/components/requestBodies/requestBody1"}}},"/pet/findByStatus":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatus","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","schema":{"title":"title test","format":"int64","minimum":1,"maximum":10,"allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":"string","description":"The measured skill for hunting","enum":["clueless","lazy","adventurous","aggressive"]}}}],"xml":{"namespace":"http://example.com/schema/sample","prefix":"sample"},"enum":["available","pending","sold"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","xml":{"namespace":"http://inside/properties/schema","prefix":"inside properties schema"}}},"required":["name","pet"],"example":{"name":"Puma","id":1},"externalDocs":{"description":"External Docs Inside Schema","url":"http://swagger.io inside Schema"},"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByStatusContent":{"get":{"tags":["pet"],"summary":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings","operationId":"findPetsByStatusContent","parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":"example string","examples":{"list":{"summary":"List of Names","value":["Bob","Diane","Mary","Bill"]},"empty":{"summary":"Empty","value":{}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}}}}}}}},{"name":"statusXml","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"application/xml":{"examples":{"list":{"summary":"List of names","value":"<Users><User name='Bob'/><User name='Diane'/><User name='Mary'/><User name='Bill'/></Users>"},"empty":{"summary":"Empty list","value":"<Users/>"}}}}},{"name":"statusText","in":"query","description":"Status values that need to be considered for filter","required":true,"example":"example","content":{"text/plain":{"examples":{"list":{"summary":"List of names","value":"Bob,Diane,Mary,Bill"},"empty":{"summary":"Empty","value":""}}}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid status value"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"description":"pet store to add to the system","required":true,"content":{"multipart/mixed":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","$ref":"#/components/schemas/Pet"},"address":{"type":"object","properties":{}},"historyMetadata":{"description":"metadata in XML format","type":"object","properties":{}},"profileImage":{"type":"string","format":"binary"}}},"encoding":{"historyMetadata":{"contentType":"application/xml; charset=utf-8"},"profileImage":{"contentType":"image/png, image/jpeg","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}}}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"webhook successfully processed operation"}}}}}}}},"/pet/findByTags":{"get":{"tags":["pet"],"summary":"Finds Pets by tags","description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.","operationId":"findPetsByTags","parameters":[{"name":"tags","in":"query","description":"Tags to filter by","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}}}}},"400":{"description":"Invalid tag value"}},"callbacks":{"mainHook":{"$ref":"#/components/callbacks/failed"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"deprecated":true}},"/pet/{petId}":{"get":{"tags":["pet"],"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}},"application/json":{"schema":{"$ref":"#/components/schemas/Pet"}}}}},"callbacks":{"mainHook":{"$request.body#/url":{"post":{"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Pet"}}}}}}}}},"security":[{"api_key":[]}]},"post":{"tags":["pet"],"summary":"Updates a pet in the store with form data","description":"","operationId":"updatePetWithForm","parameters":[{"name":"petId","in":"path","description":"ID of pet that needs to be updated","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string","required":false},"status":{"description":"Updated status of the pet","type":"string","required":false}}}}}}},"delete":{"tags":["pet"],"summary":"Deletes a pet","description":"","operationId":"deletePet","parameters":[{"name":"api_key","in":"header","required":false,"schema":{"type":"string"}},{"name":"petId","in":"path","description":"Pet id to delete","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Pet not found"}},"security":[{"petstore_auth":["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{"post":{"tags":["pet"],"summary":"uploads an image","description":"","operationId":"uploadFile","parameters":[{"name":"petId","in":"path","description":"ID of pet to update","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/store/inventory":{"get":{"tags":["store"],"summary":"Returns pet inventories by status","description":"Returns a map of status codes to quantities","operationId":"getInventory","parameters":[{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}}}},"security":[{"api_key":[]}]}},"/store/order":{"post":{"tags":["store"],"summary":"Place an order for a pet","description":"","operationId":"placeOrder","parameters":[],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid Order"}},"requestBody":{"content":{"application/json":{"description":"order placed for purchasing the pet","schema":{"$ref":"#/components/schemas/Order"}}}}}},"/store/order/{orderId}":{"get":{"tags":["store"],"summary":"Find purchase order by ID","description":"For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions","operationId":"getOrderById","parameters":[{"name":"orderId","in":"path","description":"ID of pet that needs to be fetched","required":true,"schema":{"type":"integer","format":"int64","minimum":1,"maximum":10}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Order"}},"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}},"delete":{"tags":["store"],"summary":"Delete purchase order by ID","description":"For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors","operationId":"deleteOrder","parameters":[{"name":"orderId","in":"path","description":"ID of the order that needs to be deleted","required":true,"schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"400":{"description":"Invalid ID supplied"},"404":{"description":"Order not found"}}}},"/user":{"post":{"tags":["user"],"summary":"Create user","description":"This can only be done by the logged in user.","operationId":"createUser","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"content":{"application/json":{"description":"Created user object","schema":{"$ref":"#/components/schemas/User"}}}}}},"/user/createWithArray":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithArrayInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/createWithList":{"post":{"tags":["user"],"summary":"Creates list of users with given input array","description":"","operationId":"createUsersWithListInput","parameters":[],"responses":{"default":{"description":"successful operation"}},"requestBody":{"$ref":"#/components/requestBodies/requestBody2"}}},"/user/login":{"get":{"tags":["user"],"summary":"Logs user into the system","description":"","operationId":"loginUser","parameters":[{"name":"username","in":"query","description":"The user name for login","required":true,"schema":{"type":"string"}},{"name":"password","in":"query","description":"The password for login in clear text","required":true,"schema":{"type":"string","format":"password"}}],"responses":{"200":{"description":"successful operation","headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Invalid username/password supplied"}}}},"/user/logout":{"get":{"tags":["user"],"summary":"Logs out current logged in user session","description":"","operationId":"logoutUser","parameters":[],"responses":{"default":{"description":"successful operation"}}}},"/user/{username}":{"get":{"tags":["user"],"summary":"Get user by user name","description":"","operationId":"getUserByName","parameters":[{"name":"username","in":"path","description":"The name that needs to be fetched. Use user1 for testing. ","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}},"/producesTest":{"get":{"parameters":[],"responses":{"200":{"description":"it works","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}},"put":{"tags":["user"],"summary":"Updated user","description":"This can only be done by the logged in user.","operationId":"updateUser","parameters":[{"name":"username","in":"path","description":"name that need to be updated","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid user supplied"},"404":{"description":"User not found"}},"requestBody":{"content":{"application/json":{"description":"Updated user object","schema":{"$ref":"#/components/schemas/User"}}}}},"delete":{"tags":["user"],"summary":"Delete user","description":"This can only be done by the logged in user.","operationId":"deleteUser","parameters":[{"name":"username","in":"path","description":"The name that needs to be deleted","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid username supplied"},"404":{"description":"User not found"}}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"RemoteSchema":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/RemoteSchema"},"VeryComplexType":{"type":"integer","format":"int32"},"ExtendedErrorModel":{"allOf":[{"type":"object","required":["rootCause"],"properties":{"rootCause":{"type":"string","$ref":"#/components/schemas/Category"}}}]},"Order":{"type":"object","not":{"type":"integer","format":"int32"},"additionalProperties":{"type":"integer"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"OrderRef":{"type":"object","not":{"type":"integer","format":"int32","$ref":"#/components/schemas/Category"},"additionalProperties":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"User1":{"type":"object","xml":{"name":"USER"},"properties":{"id":{"type":"integer","format":"int32","example":4,"xml":{"attribute":true,"name":"ID"}},"name":{"type":"string","example":"Arthur Dent","xml":{"name":"NAME"}}}},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"$ref":"#/components/schemas/Category"},"user":{"type":"string","example":"doggie","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/ExampleSchema"}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"Pet"}},"ApiResponse":{"type":"object","required":["name","photoUrls"],"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Found":{"description":"Entity not found.","$ref":"http://localhost:${dynamicPort}/remote/response#/responses/RemoteResponse"},"NotFound":{"description":"Entity not found."},"IllegalInput":{"description":"Illegal input for operation.","headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}},"links":{"address":{"$ref":"#/components/links/unsubscribe"}}},"GeneralError":{"description":"General Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}}}},"parameters":{"contentParameter":{"in":"query","name":"coordinates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}}}},"refParam":{"$ref":"#/components/parameters/limitParam"},"remoteParameter":{"$ref":"http://localhost:${dynamicPort}/remote/parameter"},"newParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32","$ref":"#/components/schemas/Tag"}},"skipParam":{"name":"skip","in":"query","description":"number of items to skip","required":true,"schema":{"type":"integer","format":"int32"}},"limitParam":{"name":"limit","in":"query","description":"max records to return","required":true,"schema":{"type":"integer","format":"int32"}}},"examples":{"Trillian":{"value":{"id":3,"name":"Tricia McMillan"}},"Arthur":{"value":{"id":4,"name":"Arthur Dent"}},"referenceCat":{"$ref":"http://localhost:${dynamicPort}/remote/example"},"cat":{"summary":"An example of a cat","value":{"name":"Fluffy","petType":"Cat","color":"White","gender":"male","breed":"Persian"}},"dog":{"summary":"An example of a dog with a cat's name","value":{"name":"Puma","petType":"Dog","color":"Black","gender":"Female","breed":"Mixed"}},"frog":{"$ref":"#/components/examples/cat"}},"requestBodies":{"reference":{"$ref":"http://localhost:${dynamicPort}/remote/requestBody#/requestBodies/remote_requestBody"},"requestBody1":{"description":"request body in components","content":{"application/json":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}},"application/xml":{"description":"Pet object that needs to be added to the store","schema":{"$ref":"#/components/schemas/Pet"}}}},"requestBody2":{"content":{"application/json":{"description":"List of user object","schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"requestBody3":{"$ref":"#/components/requestBodies/requestBody2"}},"securitySchemes":{"reference":{"$ref":"#/components/securitySchemes/api_key"},"remote_reference":{"$ref":"http://localhost:${dynamicPort}/remote/security#/petstore_remote"},"petstore_auth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_password":{"type":"oauth2","flows":{"password":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_clientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"petstore_auth_authorizationCode":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"http://petstore.swagger.io/oauth/dialog","tokenUrl":"http://petstore.swagger.io/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"type":"apiKey","name":"api_key","in":"header"},"api_key_cookie":{"type":"apiKey","name":"api_key","in":"cookie"},"http":{"type":"http","scheme":"Basic"},"openID":{"type":"openIdConnect","openIdConnectUrl":"http://openIdConnect.example.com"}},"headers":{"X-Ref-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Reset"},"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"},"example":"This is a header example"},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer","$ref":"http://localhost:${dynamicPort}/remote/schema#/components/schemas/User"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedErrorModel"}}},"examples":{"headerExample":{"$ref":"#/components/examples/dog"}}}},"links":{"referenced":{"$ref":"#/components/links/unsubscribe"},"unsubscribe":{"operationId":"cancelHookCallback","parameters":{"id":"$response.body#/hookId"},"x-link":"link extension"},"subscribe":{"$ref":"http://localhost:${dynamicPort}/remote/link"}},"callbacks":{"remoteCallback":{"$ref":"http://localhost:${dynamicPort}/remote/callback"},"referenced":{"$ref":"#/components/callbacks/failed"},"heartbeat":{"$request.query.heartbeat-url":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}},"failed":{"$response.body#/failedUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody3"},"responses":{"200":{"description":"Consumer acknowledged the callback failed"}}}}},"success":{"$response.body#/successUrl":{"post":{"requestBody":{"$ref":"#/components/requestBodies/requestBody1"},"responses":{"200":{"description":"Consumer acknowledged the callback"}}}}}},"x-component":[{"url":"http://component.swagger.io/v2/swagger.json","format":"OAS","version":"3.0","converter":{"url":"https://github.com/mermade/oas3","version":"1.2.3"}}],"x-api-title":"pet store test api in components"}})0.004spassed
      testAdditionalPropertiesBoolean0.001spassed
      testAllOfSchema[0](jdk.proxy3.$Proxy28@63c07eaf)0.023spassed
      testAlmostEmpty[0](jdk.proxy3.$Proxy28@8829ecd)0.022spassed
      testAnyOfSchema[0](jdk.proxy3.$Proxy28@21a09c5a)0.025spassed
      testArrayItems0.001spassed
      testArrayModelDefinition0.001spassed
      testArrayQueryParam0spassed
      testArraySchema0.001spassed
      testBodyContent0spassed
      testContact0.001spassed
      testDefinitions0spassed
      testDeserializeBinaryString0spassed
      testDeserializeByteString0.001spassed
      testDeserializeDateString0spassed
      testDeserializeDateTimeString0.008spassed
      testDeserializeEnum0.005spassed
      testDeserializeWithBooleanEnumDiscriminator0spassed
      testDeserializeWithDiscriminator0spassed
      testDeserializeWithEnumDiscriminator0.001spassed
      testDeserializeWithMessages0spassed
      testDeserializeWithNumericEnumDiscriminator0spassed
      testDiscriminatorObject[0](jdk.proxy3.$Proxy28@7d569c10)0.023spassed
      testEmpty0.001spassed
      testEmptyDefinitions0.001spassed
      testEmpty[0](jdk.proxy3.$Proxy28@e1f88b6)0.022spassed
      testEncodingNotApplicable0.001spassed
      testEnumType0.002spassed
      testExampleVsExamples0.001spassed
      testExamples[0](jdk.proxy3.$Proxy28@2c3c05ff)0.022spassed
      testIdentifierAndUrlInvalid0.001spassed
      testIdentifierValid0spassed
      testIssue10720spassed
      testIssue1454AllOfDefaultValue0.001spassed
      testIssue1454AllOfEnumWithDefaultValue0.001spassed
      testIssue1454WithDefaultAllOfEnumWithDefaultValue0.001spassed
      testIssue1510spassed
      testIssue1610spassed
      testIssue17610.007spassed
      testIssue204_allOf0.001spassed
      testIssue2470.001spassed
      testIssue343Parameter0.001spassed
      testIssue3600.001spassed
      testIssue3860.001spassed
      testLicense0.001spassed
      testNestedDefinitions0spassed
      testOneOfSchema[0](jdk.proxy3.$Proxy28@38682845)0.022spassed
      testOptionalParameter[0](jdk.proxy3.$Proxy28@414b5798)0.021spassed
      testPR2460.001spassed
      testParamContent0.001spassed
      testParamData0.001spassed
      testPaths0spassed
      testPathsWithRefResponse0.001spassed
      testResponses0spassed
      testRootInfo0spassed
      testSchema0.001spassed
      testSchemaExample[0](jdk.proxy3.$Proxy28@6f0124b5)0.022spassed
      testSecurity0.001spassed
      testSecurityDefinition0spassed
      testSecurityDefinitionWithMissingAttribute0.001spassed
      testSecurityDeserialization0spassed
      testStyleInvalid0spassed
      testToplevelExtension0.001spassed
      testUrlValid0spassed
      testValidatorIssue500.001spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.PathUtilTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.PathUtilTest.html new file mode 100644 index 0000000000..7402ec0fa3 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.PathUtilTest.html @@ -0,0 +1,101 @@ + + + + + +Test results - Class io.swagger.v3.parser.util.PathUtilTest + + + + + +
      +

      Class io.swagger.v3.parser.util.PathUtilTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      2
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.039s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testGetParentDirectoryOfFile0.039spassed
      testGetParentDirectoryOfNonExistentFile0spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.RemoteUrlTest.html b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.RemoteUrlTest.html new file mode 100644 index 0000000000..2dc649de49 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/classes/io.swagger.v3.parser.util.RemoteUrlTest.html @@ -0,0 +1,116 @@ + + + + + +Test results - Class io.swagger.v3.parser.util.RemoteUrlTest + + + + + +
      +

      Class io.swagger.v3.parser.util.RemoteUrlTest

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      5
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.038s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Tests

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TestDurationResult
      testAuthorizationHeader0.017spassed
      testAuthorizationHeaderWithMatchingUrl0.005spassed
      testAuthorizationHeaderWithNonMatchingUrl0.010spassed
      testCleanUrl0spassed
      testReadARemoteUrl0.006spassed
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/css/base-style.css b/modules/swagger-parser-v3/build/reports/tests/test/css/base-style.css new file mode 100644 index 0000000000..4afa73e3dd --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/reports/tests/test/css/style.css b/modules/swagger-parser-v3/build/reports/tests/test/css/style.css new file mode 100644 index 0000000000..3dc4913e7a --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/modules/swagger-parser-v3/build/reports/tests/test/index.html b/modules/swagger-parser-v3/build/reports/tests/test/index.html new file mode 100644 index 0000000000..90b77985a8 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/index.html @@ -0,0 +1,473 @@ + + + + + +Test results - Test Summary + + + + + +
      +

      Test Summary

      +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      503
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      4.626s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Packages

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PackageTestsFailuresIgnoredDurationSuccess rate
      +io.swagger.v3.parser.processors +23000.827s100%
      +io.swagger.v3.parser.test +347003.137s100%
      +io.swagger.v3.parser.util +133000.662s100%
      +
      +
      +

      Classes

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      ClassTestsFailuresIgnoredDurationSuccess rate
      +io.swagger.v3.parser.processors.ComponentsProcessorTest +3000.210s100%
      +io.swagger.v3.parser.processors.ExternalRefProcessorTest +3000.121s100%
      +io.swagger.v3.parser.processors.ParameterProcessorTest +3000.285s100%
      +io.swagger.v3.parser.processors.PathsProcessorTest +4000.009s100%
      +io.swagger.v3.parser.processors.ResponseProcessorTest +1000.151s100%
      +io.swagger.v3.parser.processors.SchemaProcessorTest +9000.051s100%
      +io.swagger.v3.parser.test.AnchorTest +5000.525s100%
      +io.swagger.v3.parser.test.FileReferenceTest +15000.218s100%
      +io.swagger.v3.parser.test.LocalReferenceTest +1000.011s100%
      +io.swagger.v3.parser.test.NetworkReferenceTest +8000.052s100%
      +io.swagger.v3.parser.test.OAI31DeserializationTest +31000.071s100%
      +io.swagger.v3.parser.test.OAIDeserializationTest +2000.002s100%
      +io.swagger.v3.parser.test.OpenAPIResolverTest +45000.734s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserExampleTest +1000.012s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserFSFullTest +2000.013s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserFullFlattenTest +1000.005s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserFullResolveFullyTest +1000.010s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserFullTest +1000.024s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserParameterIndirectTest +1000.005s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserParameterTest +1000.004s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserPathItemResolveFullyTest +8000.019s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserPathItemTest +7000.025s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserSchemaIndirectTest +1000.003s100%
      +io.swagger.v3.parser.test.OpenAPIV31ParserSchemaTest +7000.016s100%
      +io.swagger.v3.parser.test.OpenAPIV3ParserTest +191000.992s100%
      +io.swagger.v3.parser.test.RelativeReferenceTest +5000.023s100%
      +io.swagger.v3.parser.test.ResolverCacheTest +12000.318s100%
      +io.swagger.v3.parser.test.ResponseResolverTest +1000.055s100%
      +io.swagger.v3.parser.util.ClasspathHelperTest +3000.001s100%
      +io.swagger.v3.parser.util.InlineModelResolverTest +39000.038s100%
      +io.swagger.v3.parser.util.OpenAPIDeserializerTest +84000.546s100%
      +io.swagger.v3.parser.util.PathUtilTest +2000.039s100%
      +io.swagger.v3.parser.util.RemoteUrlTest +5000.038s100%
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/js/report.js b/modules/swagger-parser-v3/build/reports/tests/test/js/report.js new file mode 100644 index 0000000000..83bab4a19f --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.processors.html b/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.processors.html new file mode 100644 index 0000000000..2a1fbd6189 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.processors.html @@ -0,0 +1,153 @@ + + + + + +Test results - Package io.swagger.v3.parser.processors + + + + + +
      +

      Package io.swagger.v3.parser.processors

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      23
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.827s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Classes

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      ClassTestsFailuresIgnoredDurationSuccess rate
      +ComponentsProcessorTest +3000.210s100%
      +ExternalRefProcessorTest +3000.121s100%
      +ParameterProcessorTest +3000.285s100%
      +PathsProcessorTest +4000.009s100%
      +ResponseProcessorTest +1000.151s100%
      +SchemaProcessorTest +9000.051s100%
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.test.html b/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.test.html new file mode 100644 index 0000000000..b12a5cdb65 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.test.html @@ -0,0 +1,313 @@ + + + + + +Test results - Package io.swagger.v3.parser.test + + + + + +
      +

      Package io.swagger.v3.parser.test

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      347
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      3.137s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Classes

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      ClassTestsFailuresIgnoredDurationSuccess rate
      +AnchorTest +5000.525s100%
      +FileReferenceTest +15000.218s100%
      +LocalReferenceTest +1000.011s100%
      +NetworkReferenceTest +8000.052s100%
      +OAI31DeserializationTest +31000.071s100%
      +OAIDeserializationTest +2000.002s100%
      +OpenAPIResolverTest +45000.734s100%
      +OpenAPIV31ParserExampleTest +1000.012s100%
      +OpenAPIV31ParserFSFullTest +2000.013s100%
      +OpenAPIV31ParserFullFlattenTest +1000.005s100%
      +OpenAPIV31ParserFullResolveFullyTest +1000.010s100%
      +OpenAPIV31ParserFullTest +1000.024s100%
      +OpenAPIV31ParserParameterIndirectTest +1000.005s100%
      +OpenAPIV31ParserParameterTest +1000.004s100%
      +OpenAPIV31ParserPathItemResolveFullyTest +8000.019s100%
      +OpenAPIV31ParserPathItemTest +7000.025s100%
      +OpenAPIV31ParserSchemaIndirectTest +1000.003s100%
      +OpenAPIV31ParserSchemaTest +7000.016s100%
      +OpenAPIV3ParserTest +191000.992s100%
      +RelativeReferenceTest +5000.023s100%
      +ResolverCacheTest +12000.318s100%
      +ResponseResolverTest +1000.055s100%
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.util.html b/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.util.html new file mode 100644 index 0000000000..64dc1f12a7 --- /dev/null +++ b/modules/swagger-parser-v3/build/reports/tests/test/packages/io.swagger.v3.parser.util.html @@ -0,0 +1,143 @@ + + + + + +Test results - Package io.swagger.v3.parser.util + + + + + +
      +

      Package io.swagger.v3.parser.util

      + +
      + + + + + +
      +
      + + + + + + + +
      +
      +
      133
      +

      tests

      +
      +
      +
      +
      0
      +

      failures

      +
      +
      +
      +
      0
      +

      ignored

      +
      +
      +
      +
      0.662s
      +

      duration

      +
      +
      +
      +
      +
      +
      100%
      +

      successful

      +
      +
      +
      +
      + +
      +

      Classes

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      ClassTestsFailuresIgnoredDurationSuccess rate
      +ClasspathHelperTest +3000.001s100%
      +InlineModelResolverTest +39000.038s100%
      +OpenAPIDeserializerTest +84000.546s100%
      +PathUtilTest +2000.039s100%
      +RemoteUrlTest +5000.038s100%
      +
      +
      + +
      + + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/basic.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/basic.yaml new file mode 100644 index 0000000000..f71493a2bc --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/basic.yaml @@ -0,0 +1,166 @@ +openapi: "3.1.0" +x-oas-internal: test reserved keyword +x-oai-extension: test reserved keyword +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT + identifier: test +servers: + - url: http://petstore.swagger.io/v1 +webhooks: + # Each webhook needs a name + newPet: + # This is a Path Item Object, the only difference is that the request is initiated by the API provider + post: + requestBody: + description: Information about a new pet in the system + content: + application/json: + schema: + $ref: "#/components/schemas/Pet" + description: pet + responses: + "200": + description: Return a 200 status to indicate that the data was received successfully +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + description: error + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + - $ref: "#/components/parameters/User" + description: user + summary: user + responses: + "200": + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + parameters: + User: + in: query + description: user + name: user + schema: + type: string + schemas: + Pet: + type: + - object + - string + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + testenum: + type: string + enum: + - available + - pending + - sold + default: available + testconst: + type: string + const: pending + tag: + type: string + arbitraryKeyword: test + Pets: + type: array + items: + $ref: "#/components/schemas/Pet" + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string + tag: + $ref: "#/components/schemas/Tag" + Tag: + type: + - object + - string + - string + - foo + properties: + id: + type: integer + format: int64 + name: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/custom/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/custom/dereferenced.yaml new file mode 100644 index 0000000000..aff2c3cfb4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/custom/dereferenced.yaml @@ -0,0 +1,11 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /externalref: + get: + description: ExternalRef domain + operationId: ExternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/custom/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/custom/root.json new file mode 100644 index 0000000000..a966dbaf57 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/custom/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/externalref": { + "$ref": "http://example.com/custom/nested/domain.yaml#/components/pathItems/ExternalRef" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/dereferenced.yaml new file mode 100644 index 0000000000..88b288220f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/dereferenced.yaml @@ -0,0 +1,84 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + parameters: + - in: query + required: false + style: form + explode: true + examples: + bar: + summary: overwritten summary + description: root item bar + $ref: '#/components/examples/userId' + foo: + summary: foo summary + description: root item foo + value: + test: aaa + ext: + summary: ext overwritten summary + description: root item ext + value: + foo: bar + - $ref: '#/components/parameters/externalRef' + - name: externalDirectParameter + in: query + description: this is externalDirectParameter stored in external file + required: true + style: form + explode: true +components: + parameters: + indirection1: + $ref: '#/components/parameters/indirection2' + indirection2: + description: indirect description 2 + $ref: '#/components/parameters/userIdRef' + userIdRef: + name: userId + in: query + description: ID of the user + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: pulled from external source + required: true + style: form + explode: true + externalRefIndirect3: + name: externalParameter3 + in: query + description: external ref 3 overwritten + required: true + style: form + explode: true + externalRefIndirect32: + name: externalParameter3 + in: query + description: external ref 32 overwritten + required: true + style: form + explode: true + externalRefIndirect33: + description: external ref 33 overwritten + $ref: '#/components/parameters/externalRefIndirect32' + examples: + userId: + summary: summary components userId + description: root userId + value: + test: aaa + indirect: + summary: summary components indirect + description: root indirect + value: + foo: bar diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex.json new file mode 100644 index 0000000000..c6eae7d16a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex.json @@ -0,0 +1,8 @@ +{ + "externalParameter": { + "name": "externalParameter", + "in": "query", + "description": "this is parameter stored in external file", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1a.json new file mode 100644 index 0000000000..7171176f3e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./nested/ex2a.json#/indirection3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1schema.json new file mode 100644 index 0000000000..445991a025 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex1schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex2schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex2schema.json#/$defs/IndirectionSiblings", + "description": "overwritten desc IndirectionSiblings ex1schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex2.json new file mode 100644 index 0000000000..e6d9558407 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex2schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex2schema.json new file mode 100644 index 0000000000..62648ce96c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex2schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "overwritten desc IndirectionSiblings ex2schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex3schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex3schema.json new file mode 100644 index 0000000000..f900e61dba --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/ex3schema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "description": "desc IndirectionSiblings ex3schema", + "properties": { + "prop1": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/example.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/example.json new file mode 100644 index 0000000000..16f6c43bcb --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/example.json @@ -0,0 +1,9 @@ +{ + "externalDirectExample": { + "summary": "externalDirectExample", + "description": "example.json", + "value": { + "foo": "bar" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/exampleindirect.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/exampleindirect.json new file mode 100644 index 0000000000..75511f2a2b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/exampleindirect.json @@ -0,0 +1,9 @@ +{ + "externalIndirectExample": { + "summary": "externalIndirectExample", + "description": "exampleindirect.json", + "value": { + "foo": "bar" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/domain.yaml new file mode 100644 index 0000000000..fbaddc35b3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef PathItem + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal PathItem + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/ex2a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/ex2a.json new file mode 100644 index 0000000000..fed0158003 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/ex2a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./ex3a.json#/externalParameter3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/ex3a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/ex3a.json new file mode 100644 index 0000000000..8b21c6c58f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/nested/ex3a.json @@ -0,0 +1,8 @@ +{ + "externalParameter3": { + "name": "externalParameter3", + "in": "query", + "description": "this is parameter stored in external file 3", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/param.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/param.json new file mode 100644 index 0000000000..30c8414c7e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/param.json @@ -0,0 +1,8 @@ +{ + "externalDirectParameter": { + "name": "externalDirectParameter", + "in": "query", + "description": "this is externalDirectParameter stored in external file", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/root.json new file mode 100644 index 0000000000..43dc0e99a1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/examples/root.json @@ -0,0 +1,97 @@ +{ + "openapi": "3.1.0", + "paths": { + "/internal": { + "get": { + "description": "Internal PathItem", + "operationId": "Internal PathItem", + "parameters" : [ + { + "in": "query", + "examples": { + "bar": { + "summary": "overwritten summary", + "description": "root item bar", + "$ref": "#/components/examples/userId" + }, + "foo": { + "summary": "foo summary", + "description": "root item foo", + "value": { + "test": "aaa" + } + }, + "ext": { + "summary": "ext overwritten summary", + "description": "root item ext", + "$ref": "./example.json#/externalDirectExample" + } + } + }, + { + "$ref": "#/components/parameters/externalRef" + }, + { + "$ref": "./param.json#/externalDirectParameter" + } + ] + } + } + }, + "components": { + "examples": { + "userId": { + "description": "root userId", + "summary": "summary components userId", + "value": { + "test": "aaa" + } + }, + "indirect": { + "description": "root indirect", + "summary": "summary components indirect", + "$ref": "./exampleindirect.json#/externalIndirectExample" + } + }, + "parameters": { + "indirection1": { + "$ref": "#/components/parameters/indirection2", + "summary": "indirect summary 1", + "prop1": "value1", + "prop2": "value2" + }, + "indirection2": { + "$ref": "#/components/parameters/userIdRef", + "description": "indirect description 2", + "summary": "indirect summary 2", + "prop1": "value1", + "prop2": "value2" + }, + "userIdRef": { + "name": "userId", + "in": "query", + "description": "ID of the user", + "required": true + }, + "externalRef": { + "$ref": "./ex.json#/externalParameter", + "description": "pulled from external source", + "prop1": "value1", + "prop2": "value2" + }, + "externalRefIndirect3": { + "$ref": "./ex1a.json#/indirection3", + "description": "external ref 3 overwritten" + }, + "externalRefIndirect32": { + "$ref": "./ex1a.json#/indirection3", + "description": "external ref 32 overwritten" + }, + "externalRefIndirect33": { + "$ref": "#/components/parameters/externalRefIndirect32", + "description": "external ref 33 overwritten" + + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferenced.yaml new file mode 100644 index 0000000000..dedd2ab76f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferenced.yaml @@ -0,0 +1,98 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /path1: + summary: path item summary + description: /path3 ex2 + get: {} + /externalref: + get: + description: ExternalRef domain + operationId: ExternalRef PathItem + responses: + "200": + description: OK + /relativeref: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + "200": + description: OK + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internalreftoexternal: + $ref: '#/components/pathItems/InternalRefToExternal' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + "200": + description: OK +components: + schemas: + Indirection: + type: object + description: VALUE ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: IndirectionSiblings root + properties: + prop1: + type: string + parameters: + userId: + description: userId root + $ref: '#/components/parameters/indirection1' + indirection1: + $ref: '#/components/parameters/userIdRef' + indirection2: + description: indirection2 root + $ref: '#/components/parameters/userIdRef' + userIdRef: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + description: externalRefIndirectPointer root + $ref: '#/components/parameters/externalRefIndirect3' + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true + links: + link1: + operationRef: ./ex.json#/operation + pathItems: + InternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + InternalRef: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferencedflatten.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferencedflatten.yaml new file mode 100644 index 0000000000..dedd2ab76f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferencedflatten.yaml @@ -0,0 +1,98 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /path1: + summary: path item summary + description: /path3 ex2 + get: {} + /externalref: + get: + description: ExternalRef domain + operationId: ExternalRef PathItem + responses: + "200": + description: OK + /relativeref: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + "200": + description: OK + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internalreftoexternal: + $ref: '#/components/pathItems/InternalRefToExternal' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + "200": + description: OK +components: + schemas: + Indirection: + type: object + description: VALUE ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: IndirectionSiblings root + properties: + prop1: + type: string + parameters: + userId: + description: userId root + $ref: '#/components/parameters/indirection1' + indirection1: + $ref: '#/components/parameters/userIdRef' + indirection2: + description: indirection2 root + $ref: '#/components/parameters/userIdRef' + userIdRef: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + description: externalRefIndirectPointer root + $ref: '#/components/parameters/externalRefIndirect3' + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true + links: + link1: + operationRef: ./ex.json#/operation + pathItems: + InternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + InternalRef: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferencedfully.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferencedfully.yaml new file mode 100644 index 0000000000..258e98f35d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/dereferencedfully.yaml @@ -0,0 +1,125 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /path1: + summary: path item summary + description: /path3 ex2 + get: {} + /externalref: + get: + description: ExternalRef domain + operationId: ExternalRef PathItem + responses: + "200": + description: OK + /relativeref: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + "200": + description: OK + /internalref: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK + /internalreftoexternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + "200": + description: OK +components: + schemas: + Indirection: + type: object + description: VALUE ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: IndirectionSiblings root + properties: + prop1: + type: string + parameters: + userId: + name: userId + in: query + description: userId root + required: true + style: form + explode: true + indirection1: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + indirection2: + name: userId + in: query + description: indirection2 root + required: true + style: form + explode: true + userIdRef: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + name: externalParameter3 + in: query + description: externalRefIndirectPointer root + required: true + style: form + explode: true + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true + links: + link1: + operationRef: ./ex.json#/operation + pathItems: + InternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + InternalRef: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex.json new file mode 100644 index 0000000000..337cb0e6f6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex.json @@ -0,0 +1,8 @@ +{ + "externalParameter": { + "name": "externalParameter", + "in": "query", + "description": "externalParameter ex", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1a.json new file mode 100644 index 0000000000..7171176f3e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./nested/ex2a.json#/indirection3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1schema.json new file mode 100644 index 0000000000..d1a2bd312c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex1schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex2schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex2schema.json#/$defs/IndirectionSiblings", + "description": "IndirectionSiblings ex1schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex2.json new file mode 100644 index 0000000000..9abe6c499d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "/path3 ex2", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex2schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex2schema.json new file mode 100644 index 0000000000..d2ff7ec086 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex2schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "IndirectionSiblings ex2schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex3schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex3schema.json new file mode 100644 index 0000000000..e9fc20581b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/ex3schema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "description": "VALUE ex3schema", + "properties": { + "prop1": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/domain.yaml new file mode 100644 index 0000000000..026c85be0a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef domain + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/ex2a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/ex2a.json new file mode 100644 index 0000000000..fed0158003 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/ex2a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./ex3a.json#/externalParameter3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/ex3a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/ex3a.json new file mode 100644 index 0000000000..74a90165ce --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/nested/ex3a.json @@ -0,0 +1,8 @@ +{ + "externalParameter3": { + "name": "externalParameter3", + "in": "query", + "description": "externalParameter3 nested/ex3a", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/root.json new file mode 100644 index 0000000000..38341daa32 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/full/root.json @@ -0,0 +1,106 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex1.json" + }, + "/externalref": { + "$ref": "http://localhost:${dynamicPort}/full/nested/domain.yaml#/components/pathItems/ExternalRef" + }, + "/relativeref": { + "$ref": "./nested/domain.yaml#/components/pathItems/RelativeRef" + }, + "/internalref": { + "$ref": "#/components/pathItems/InternalRef" + }, + "/internalreftoexternal": { + "$ref": "#/components/pathItems/InternalRefToExternal" + }, + "/internal": { + "get": { + "description": "Internal PathItem", + "operationId": "Internal PathItem", + "responses": { + "200": { + "description": "OK" + } + } + } + } + }, + "components": { + "parameters": { + "userId": { + "$ref": "#/components/parameters/indirection1", + "description": "userId root", + "prop1": "value1", + "prop2": "value2" + }, + "indirection1": { + "$ref": "#/components/parameters/userIdRef", + "summary": "indirect summary 1", + "prop1": "value1", + "prop2": "value2" + }, + "indirection2": { + "$ref": "#/components/parameters/userIdRef", + "description": "indirection2 root", + "summary": "indirect summary 2", + "prop1": "value1", + "prop2": "value2" + }, + "userIdRef": { + "name": "userId", + "in": "query", + "description": "userIdRef root", + "required": true + }, + "externalRef": { + "$ref": "./ex.json#/externalParameter", + "description": "externalRef root", + "prop1": "value1", + "prop2": "value2" + }, + "externalRefIndirectPointer": { + "$ref": "#/components/parameters/externalRefIndirect3", + "description": "externalRefIndirectPointer root", + "prop1": "value1", + "prop2": "value2" + }, + "externalRefIndirect3": { + "$ref": "./ex1a.json#/indirection3", + "description": "externalRefIndirect3 root" + } + }, + "pathItems": { + "InternalRefToExternal": { + "$ref": "./nested/domain.yaml#/components/pathItems/DomainInternalRefToExternal" + }, + "InternalRef": { + "get": { + "description": "InternalRef root", + "operationId": "InternalRef PathItem", + "responses": { + "200": { + "description": "OK" + } + } + } + } + }, + "links": { + "link1": { + "operationRef": "./ex.json#/operation" + } + }, + "schemas": { + "Indirection": { + "$ref": "./ex1schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex1schema.json#/$defs/IndirectionSiblings", + "description": "IndirectionSiblings root" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferenced.yaml new file mode 100644 index 0000000000..79788fe55f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferenced.yaml @@ -0,0 +1,91 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /path1: + summary: path item summary + description: /path3 ex2 + get: {} + /relativeref: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + "200": + description: OK + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internalreftoexternal: + $ref: '#/components/pathItems/InternalRefToExternal' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + "200": + description: OK +components: + schemas: + Indirection: + type: object + description: VALUE ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: IndirectionSiblings root + properties: + prop1: + type: string + parameters: + userId: + description: userId root + $ref: '#/components/parameters/indirection1' + indirection1: + $ref: '#/components/parameters/userIdRef' + indirection2: + description: indirection2 root + $ref: '#/components/parameters/userIdRef' + userIdRef: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + description: externalRefIndirectPointer root + $ref: '#/components/parameters/externalRefIndirect3' + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true + links: + link1: + operationRef: ./ex.json#/operation + pathItems: + InternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + InternalRef: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferencedflatten.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferencedflatten.yaml new file mode 100644 index 0000000000..79788fe55f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferencedflatten.yaml @@ -0,0 +1,91 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /path1: + summary: path item summary + description: /path3 ex2 + get: {} + /relativeref: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + "200": + description: OK + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internalreftoexternal: + $ref: '#/components/pathItems/InternalRefToExternal' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + "200": + description: OK +components: + schemas: + Indirection: + type: object + description: VALUE ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: IndirectionSiblings root + properties: + prop1: + type: string + parameters: + userId: + description: userId root + $ref: '#/components/parameters/indirection1' + indirection1: + $ref: '#/components/parameters/userIdRef' + indirection2: + description: indirection2 root + $ref: '#/components/parameters/userIdRef' + userIdRef: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + description: externalRefIndirectPointer root + $ref: '#/components/parameters/externalRefIndirect3' + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true + links: + link1: + operationRef: ./ex.json#/operation + pathItems: + InternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + InternalRef: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferencedfully.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferencedfully.yaml new file mode 100644 index 0000000000..27d378addf --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/dereferencedfully.yaml @@ -0,0 +1,118 @@ +openapi: 3.1.0 +servers: +- url: / +paths: + /path1: + summary: path item summary + description: /path3 ex2 + get: {} + /relativeref: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + "200": + description: OK + /internalref: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK + /internalreftoexternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + "200": + description: OK +components: + schemas: + Indirection: + type: object + description: VALUE ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: IndirectionSiblings root + properties: + prop1: + type: string + parameters: + userId: + name: userId + in: query + description: userId root + required: true + style: form + explode: true + indirection1: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + indirection2: + name: userId + in: query + description: indirection2 root + required: true + style: form + explode: true + userIdRef: + name: userId + in: query + description: userIdRef root + required: true + style: form + explode: true + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + name: externalParameter3 + in: query + description: externalRefIndirectPointer root + required: true + style: form + explode: true + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true + links: + link1: + operationRef: ./ex.json#/operation + pathItems: + InternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + "200": + description: OK + InternalRef: + get: + description: InternalRef root + operationId: InternalRef PathItem + responses: + "200": + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex.json new file mode 100644 index 0000000000..337cb0e6f6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex.json @@ -0,0 +1,8 @@ +{ + "externalParameter": { + "name": "externalParameter", + "in": "query", + "description": "externalParameter ex", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1a.json new file mode 100644 index 0000000000..7171176f3e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./nested/ex2a.json#/indirection3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1schema.json new file mode 100644 index 0000000000..d1a2bd312c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex1schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex2schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex2schema.json#/$defs/IndirectionSiblings", + "description": "IndirectionSiblings ex1schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex2.json new file mode 100644 index 0000000000..9abe6c499d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "/path3 ex2", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex2schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex2schema.json new file mode 100644 index 0000000000..d2ff7ec086 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex2schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "IndirectionSiblings ex2schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex3schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex3schema.json new file mode 100644 index 0000000000..e9fc20581b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/ex3schema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "description": "VALUE ex3schema", + "properties": { + "prop1": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/domain.yaml new file mode 100644 index 0000000000..026c85be0a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef domain + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef domain + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal domain + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/ex2a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/ex2a.json new file mode 100644 index 0000000000..fed0158003 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/ex2a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./ex3a.json#/externalParameter3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/ex3a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/ex3a.json new file mode 100644 index 0000000000..74a90165ce --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/nested/ex3a.json @@ -0,0 +1,8 @@ +{ + "externalParameter3": { + "name": "externalParameter3", + "in": "query", + "description": "externalParameter3 nested/ex3a", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/root.json new file mode 100644 index 0000000000..64a15002b8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/fullFS/root.json @@ -0,0 +1,103 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex1.json" + }, + "/relativeref": { + "$ref": "./nested/domain.yaml#/components/pathItems/RelativeRef" + }, + "/internalref": { + "$ref": "#/components/pathItems/InternalRef" + }, + "/internalreftoexternal": { + "$ref": "#/components/pathItems/InternalRefToExternal" + }, + "/internal": { + "get": { + "description": "Internal PathItem", + "operationId": "Internal PathItem", + "responses": { + "200": { + "description": "OK" + } + } + } + } + }, + "components": { + "parameters": { + "userId": { + "$ref": "#/components/parameters/indirection1", + "description": "userId root", + "prop1": "value1", + "prop2": "value2" + }, + "indirection1": { + "$ref": "#/components/parameters/userIdRef", + "summary": "indirect summary 1", + "prop1": "value1", + "prop2": "value2" + }, + "indirection2": { + "$ref": "#/components/parameters/userIdRef", + "description": "indirection2 root", + "summary": "indirect summary 2", + "prop1": "value1", + "prop2": "value2" + }, + "userIdRef": { + "name": "userId", + "in": "query", + "description": "userIdRef root", + "required": true + }, + "externalRef": { + "$ref": "./ex.json#/externalParameter", + "description": "externalRef root", + "prop1": "value1", + "prop2": "value2" + }, + "externalRefIndirectPointer": { + "$ref": "#/components/parameters/externalRefIndirect3", + "description": "externalRefIndirectPointer root", + "prop1": "value1", + "prop2": "value2" + }, + "externalRefIndirect3": { + "$ref": "./ex1a.json#/indirection3", + "description": "externalRefIndirect3 root" + } + }, + "pathItems": { + "InternalRefToExternal": { + "$ref": "./nested/domain.yaml#/components/pathItems/DomainInternalRefToExternal" + }, + "InternalRef": { + "get": { + "description": "InternalRef root", + "operationId": "InternalRef PathItem", + "responses": { + "200": { + "description": "OK" + } + } + } + } + }, + "links": { + "link1": { + "operationRef": "./ex.json#/operation" + } + }, + "schemas": { + "Indirection": { + "$ref": "./ex1schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex1schema.json#/$defs/IndirectionSiblings", + "description": "IndirectionSiblings root" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/dereferenced.yaml new file mode 100644 index 0000000000..8b4b69347b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/dereferenced.yaml @@ -0,0 +1,34 @@ +openapi: 3.1.0 +servers: +- url: / +components: + parameters: + userId: + description: userId description + $ref: '#/components/parameters/indirection1' + indirection1: + description: indirection1 description + $ref: '#/components/parameters/indirection2' + indirection2: + description: indirection2 description + $ref: '#/components/parameters/userIdRef' + userIdRef: + name: userId + in: query + description: ID of the user + required: true + style: form + explode: true + userIdExt: + description: userId description + $ref: '#/components/parameters/indirection1Ext' + indirection1Ext: + description: indirection1 description + $ref: '#/components/parameters/indirection2Ext' + indirection2Ext: + name: externalParameter + in: query + description: indirection2 description + required: true + style: form + explode: true diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex.json new file mode 100644 index 0000000000..c6eae7d16a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex.json @@ -0,0 +1,8 @@ +{ + "externalParameter": { + "name": "externalParameter", + "in": "query", + "description": "this is parameter stored in external file", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1a.json new file mode 100644 index 0000000000..7171176f3e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./nested/ex2a.json#/indirection3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1schema.json new file mode 100644 index 0000000000..445991a025 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex1schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex2schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex2schema.json#/$defs/IndirectionSiblings", + "description": "overwritten desc IndirectionSiblings ex1schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex2.json new file mode 100644 index 0000000000..e6d9558407 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex2schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex2schema.json new file mode 100644 index 0000000000..62648ce96c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex2schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "overwritten desc IndirectionSiblings ex2schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex3schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex3schema.json new file mode 100644 index 0000000000..f900e61dba --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/ex3schema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "description": "desc IndirectionSiblings ex3schema", + "properties": { + "prop1": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/domain.yaml new file mode 100644 index 0000000000..fbaddc35b3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef PathItem + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal PathItem + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/ex2a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/ex2a.json new file mode 100644 index 0000000000..fed0158003 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/ex2a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./ex3a.json#/externalParameter3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/ex3a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/ex3a.json new file mode 100644 index 0000000000..8b21c6c58f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/nested/ex3a.json @@ -0,0 +1,8 @@ +{ + "externalParameter3": { + "name": "externalParameter3", + "in": "query", + "description": "this is parameter stored in external file 3", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/root.json new file mode 100644 index 0000000000..7df89bad13 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameter/root.json @@ -0,0 +1,52 @@ +{ + "openapi": "3.1.0", + "components": { + "parameters": { + "userId": { + "$ref": "#/components/parameters/indirection1", + "description": "userId description", + "prop1": "value1", + "prop2": "value2" + }, + "indirection1": { + "$ref": "#/components/parameters/indirection2", + "summary": "indirection1 summary", + "description": "indirection1 description", + "prop1": "value1", + "prop2": "value2" + }, + "indirection2": { + "$ref": "#/components/parameters/userIdRef", + "description": "indirection2 description", + "summary": "indirection2 summary" + }, + "userIdRef": { + "name": "userId", + "in": "query", + "description": "ID of the user", + "required": true, + "value": { + "foo": "bar" + } + }, + "userIdExt": { + "$ref": "#/components/parameters/indirection1Ext", + "description": "userId description", + "prop1": "value1", + "prop2": "value2" + }, + "indirection1Ext": { + "$ref": "#/components/parameters/indirection2Ext", + "summary": "indirection1 summary", + "description": "indirection1 description", + "prop1": "value1", + "prop2": "value2" + }, + "indirection2Ext": { + "$ref": "./ex.json#/externalParameter", + "description": "indirection2 description", + "summary": "indirection2 summary" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/dereferenced.yaml new file mode 100644 index 0000000000..46f6b6198f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/dereferenced.yaml @@ -0,0 +1,22 @@ +openapi: 3.1.0 +servers: +- url: / +components: + parameters: + externalRef: + name: externalParameter + in: query + description: externalRef root + required: true + style: form + explode: true + externalRefIndirectPointer: + description: externalRefIndirectPointer root + $ref: '#/components/parameters/externalRefIndirect3' + externalRefIndirect3: + name: externalParameter3 + in: query + description: externalRefIndirect3 root + required: true + style: form + explode: true diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex.json new file mode 100644 index 0000000000..337cb0e6f6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex.json @@ -0,0 +1,8 @@ +{ + "externalParameter": { + "name": "externalParameter", + "in": "query", + "description": "externalParameter ex", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1a.json new file mode 100644 index 0000000000..7171176f3e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./nested/ex2a.json#/indirection3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1schema.json new file mode 100644 index 0000000000..d1a2bd312c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex1schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex2schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex2schema.json#/$defs/IndirectionSiblings", + "description": "IndirectionSiblings ex1schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex2.json new file mode 100644 index 0000000000..e6d9558407 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex2schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex2schema.json new file mode 100644 index 0000000000..d2ff7ec086 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex2schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "IndirectionSiblings ex2schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex3schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex3schema.json new file mode 100644 index 0000000000..7b1b9842a4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/ex3schema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "description": "VALUE ex3schema", + "properties": { + "prop1": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/domain.yaml new file mode 100644 index 0000000000..fbaddc35b3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef PathItem + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal PathItem + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/ex2a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/ex2a.json new file mode 100644 index 0000000000..fed0158003 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/ex2a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./ex3a.json#/externalParameter3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/ex3a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/ex3a.json new file mode 100644 index 0000000000..8b21c6c58f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/nested/ex3a.json @@ -0,0 +1,8 @@ +{ + "externalParameter3": { + "name": "externalParameter3", + "in": "query", + "description": "this is parameter stored in external file 3", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/root.json new file mode 100644 index 0000000000..32a6f9765f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/parameterindirect/root.json @@ -0,0 +1,19 @@ +{ + "openapi": "3.1.0", + "components": { + "parameters": { + "externalRef": { + "$ref": "./ex.json#/externalParameter", + "description": "externalRef root" + }, + "externalRefIndirectPointer": { + "$ref": "#/components/parameters/externalRefIndirect3", + "description": "externalRefIndirectPointer root" + }, + "externalRefIndirect3": { + "$ref": "./ex1a.json#/indirection3", + "description": "externalRefIndirect3 root" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/additional-fields/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/additional-fields/dereferenced.json new file mode 100644 index 0000000000..3d0e6b4ed1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/additional-fields/dereferenced.json @@ -0,0 +1,17 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "summary": "path1 item summary", + "description": "path item description", + "get": {} + }, + "/path2": { + "summary": "path2 item summary", + "description": "path item description", + "get": {} + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/additional-fields/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/additional-fields/root.json new file mode 100644 index 0000000000..a49cbf0e5f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/additional-fields/root.json @@ -0,0 +1,14 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "#/paths/~1path2", + "summary": "path1 item summary" + }, + "/path2": { + "summary": "path2 item summary", + "description": "path item description", + "get": {} + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/nested/domain.yaml new file mode 100644 index 0000000000..fbaddc35b3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef PathItem + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal PathItem + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/root.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/root.yaml new file mode 100644 index 0000000000..70779b1656 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/basic/root.yaml @@ -0,0 +1,32 @@ +openapi: 3.1.0 +info: + version: "1.0.0" + title: parse-api + description: Test swagger-parser +paths: + /externalref: + $ref: 'http://localhost:${dynamicPort}/basic/nested/domain.yaml#/components/pathItems/ExternalRef' + /relativeref: + $ref: './nested/domain.yaml#/components/pathItems/RelativeRef' + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internalreftoexternal: + $ref: '#/components/pathItems/InternalRefToExternal' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + '200': + description: OK +components: + pathItems: + InternalRefToExternal: + $ref: './nested/domain.yaml#/components/pathItems/DomainInternalRefToExternal' + InternalRef: + get: + description: InternalRef PathItem + operationId: InternalRef PathItem + responses: + '200': + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/callback-object/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/callback-object/dereferenced.json new file mode 100644 index 0000000000..4c753eb15c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/callback-object/dereferenced.json @@ -0,0 +1,19 @@ +[ + { + "openapi": "3.1.0", + "components": { + "callbacks": { + "callback1": { + "{$method}": { + "description": "description of callback2" + } + }, + "callback2": { + "{$method}": { + "description": "description of callback2" + } + } + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/callback-object/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/callback-object/root.json new file mode 100644 index 0000000000..20b09ffb6b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/callback-object/root.json @@ -0,0 +1,15 @@ +{ + "openapi": "3.1.0", + "components": { + "callbacks": { + "callback1": { + "$ref": "#/components/callbacks/callback2" + }, + "callback2": { + "{$method}": { + "description": "description of callback2" + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items-external/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items-external/nested/domain.yaml new file mode 100644 index 0000000000..db19696347 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items-external/nested/domain.yaml @@ -0,0 +1,33 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + parameters: + ExternalRef: + + ExternalOperationRef: + + pathItems: + ExternalRef: + get: + description: ExternalRef PathItem + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + ExternalComponentsRef: + get: + description: ExternalComponentsRef PathItem + operationId: ExternalComponentsRef PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items-external/root.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items-external/root.yaml new file mode 100644 index 0000000000..dd44e45496 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items-external/root.yaml @@ -0,0 +1,36 @@ +openapi: 3.1.0 +info: + version: "1.0.0" + title: parse-api + description: Test swagger-parser +paths: + /externalref: + $ref: 'http://localhost:${dynamicPort}/basic/nested/domain.yaml#/components/pathItems/ExternalRef' + /relativeref: + $ref: './nested/domain.yaml#/components/pathItems/RelativeRef' + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + '200': + description: OK +components: + pathItems: + InternalRef: + parameters: + ExternalRefParam: + $ref: './nested/domain.yaml#/components/parameters/ExternalRef' + get: + description: InternalRef PathItem + operationId: InternalRef PathItem + parameters: + ExternalRefParam: + $ref: './nested/domain.yaml#/components/parameters/ExternalOperationRef' + responses: + '200': + description: OK + ExternalComponentsRef: + $ref: './nested/domain.yaml#/components/pathItems/ExternalComponentsRef' diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items/dereferenced.json new file mode 100644 index 0000000000..b254953a38 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items/dereferenced.json @@ -0,0 +1,15 @@ +[ + { + "openapi": "3.1.0", + "components": { + "pathItems": { + "pathItem1": { + "description": "description of path item 1" + }, + "pathItem2": { + "description": "description of path item 1" + } + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items/root.json new file mode 100644 index 0000000000..6c51ddca2c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/components-path-items/root.json @@ -0,0 +1,13 @@ +{ + "openapi": "3.1.0", + "components": { + "pathItems": { + "pathItem1": { + "description": "description of path item 1" + }, + "pathItem2": { + "$ref": "#/components/pathItems/pathItem1" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/ex.json new file mode 100644 index 0000000000..4d55709987 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/ex.json @@ -0,0 +1,3 @@ +{ + "$ref": "./root.json#/paths/~1path1" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/root.json new file mode 100644 index 0000000000..7850ce66b6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-external-circular/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex.json" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-internal-circular/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-internal-circular/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-internal-circular/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-internal-circular/root.json new file mode 100644 index 0000000000..c727e272f0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/direct-internal-circular/root.json @@ -0,0 +1,11 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "#/paths/~1path2" + }, + "/path2": { + "$ref": "#/paths/~1path1" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/dereferenced.json new file mode 100644 index 0000000000..8f02538ef6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/dereferenced.json @@ -0,0 +1,12 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/ex2.json new file mode 100644 index 0000000000..e6d9558407 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/root.json new file mode 100644 index 0000000000..5557004334 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-indirections/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex1.json" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml new file mode 100644 index 0000000000..f017500926 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml @@ -0,0 +1,23 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + $ref: '#/components/pathItems/InternalDomainRef' + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + InternalDomainRef: + get: + description: InternalDomainRef PathItem + operationId: InternalDomainRef PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/root.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/root.yaml new file mode 100644 index 0000000000..cddc4141d3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-internal-nested/root.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + version: "1.0.0" + title: parse-api + description: Test swagger-parser +paths: + /externalref: + $ref: 'http://localhost:${dynamicPort}/external-internal-nested/nested/domain.yaml#/components/pathItems/ExternalRef' + /relativeref: + $ref: './nested/domain.yaml#/components/pathItems/RelativeRef' + /internalref: + $ref: '#/components/pathItems/InternalRef' + /internal: + get: + description: Internal PathItem + operationId: Internal PathItem + responses: + '200': + description: OK +components: + pathItems: + InternalRef: + get: + description: InternalRef PathItem + operationId: InternalRef PathItem + responses: + '200': + description: OK diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/dereferenced.json new file mode 100644 index 0000000000..8f02538ef6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/dereferenced.json @@ -0,0 +1,12 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/ex.json new file mode 100644 index 0000000000..da09224581 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/ex.json @@ -0,0 +1,7 @@ +{ + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/root.json new file mode 100644 index 0000000000..5843b01245 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/external-only/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex.json#/~1path2" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/dereferenced.json new file mode 100644 index 0000000000..dde8e5a6a8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/dereferenced.json @@ -0,0 +1,10 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex.json#/~1path2" + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/ex.json new file mode 100644 index 0000000000..da09224581 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/ex.json @@ -0,0 +1,7 @@ +{ + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/root.json new file mode 100644 index 0000000000..5843b01245 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/ignore-external/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex.json#/~1path2" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/ex1.json new file mode 100644 index 0000000000..8e49d4768f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/ex2.json new file mode 100644 index 0000000000..4d55709987 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/ex2.json @@ -0,0 +1,3 @@ +{ + "$ref": "./root.json#/paths/~1path1" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/root.json new file mode 100644 index 0000000000..5557004334 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-external-circular/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex1.json" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-internal-circular/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-internal-circular/root.json new file mode 100644 index 0000000000..16c0928aa1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/indirect-internal-circular/root.json @@ -0,0 +1,14 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "#/paths/~1path2" + }, + "/path2": { + "$ref": "#/paths/~1path3" + }, + "/path3": { + "$ref": "#/paths/~1path1" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/dereferenced.json new file mode 100644 index 0000000000..a84c3aa600 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/dereferenced.json @@ -0,0 +1,22 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "summary": "path item summary", + "description": "path item description", + "get": {} + }, + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + }, + "/path4": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/dereferenced.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/ex.json new file mode 100644 index 0000000000..da09224581 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/ex.json @@ -0,0 +1,7 @@ +{ + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/root.json new file mode 100644 index 0000000000..71d688c0be --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-external/root.json @@ -0,0 +1,16 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex.json#/~1path2" + }, + "/path3": { + "$ref": "#/paths/~1path4" + }, + "/path4": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-indirections/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-indirections/dereferenced.json new file mode 100644 index 0000000000..417a402ed3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-indirections/dereferenced.json @@ -0,0 +1,22 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "summary": "path item summary", + "description": "path item description", + "get": {} + }, + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + }, + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-indirections/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-indirections/root.json new file mode 100644 index 0000000000..bf154cb3e5 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-indirections/root.json @@ -0,0 +1,16 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "#/paths/~1path2" + }, + "/path2": { + "$ref": "#/paths/~1path3" + }, + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-only/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-only/dereferenced.json new file mode 100644 index 0000000000..f45de7e5c3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-only/dereferenced.json @@ -0,0 +1,17 @@ +[ + { + "openapi": "3.1.0", + "paths": { + "/path1": { + "summary": "path item summary", + "description": "path item description", + "get": {} + }, + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-only/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-only/root.json new file mode 100644 index 0000000000..12fe95541e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/internal-only/root.json @@ -0,0 +1,13 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "#/paths/~1path2" + }, + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/invalid-pointer/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/invalid-pointer/root.json new file mode 100644 index 0000000000..8d4df81c5d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/invalid-pointer/root.json @@ -0,0 +1,13 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "invalid-pointer" + }, + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/ex2.json new file mode 100644 index 0000000000..e6d9558407 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/root.json new file mode 100644 index 0000000000..5557004334 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/max-depth/root.json @@ -0,0 +1,8 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "./ex1.json" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/unresolvable-path-item/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/unresolvable-path-item/root.json new file mode 100644 index 0000000000..1f7c6dcf9b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/unresolvable-path-item/root.json @@ -0,0 +1,13 @@ +{ + "openapi": "3.1.0", + "paths": { + "/path1": { + "$ref": "#/paths/invalid-pointer" + }, + "/path2": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/webhooks/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/webhooks/dereferenced.json new file mode 100644 index 0000000000..bda44d5d11 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/webhooks/dereferenced.json @@ -0,0 +1,17 @@ +[ + { + "openapi": "3.1.0", + "webhooks": { + "hook": { + "description": "description of path item 1" + } + }, + "components": { + "pathItems": { + "pathItem1": { + "description": "description of path item 1" + } + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/webhooks/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/webhooks/root.json new file mode 100644 index 0000000000..569afa66cc --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/pathItem/webhooks/root.json @@ -0,0 +1,15 @@ +{ + "openapi": "3.1.0", + "webhooks": { + "hook": { + "$ref": "#/components/pathItems/pathItem1" + } + }, + "components": { + "pathItems": { + "pathItem1": { + "description": "description of path item 1" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/dereferenced.json new file mode 100644 index 0000000000..ba605fb310 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/dereferenced.json @@ -0,0 +1,31 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "properties" : { + "login" : { + "type" : "string" + }, + "password" : { + "type" : "string" + }, + "profile" : { + "properties" : { + "firstName" : { + "type" : "string" + }, + "lastName" : { + "type" : "string" + } + } + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/ex.json new file mode 100644 index 0000000000..b32830bdc4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/ex.json @@ -0,0 +1,15 @@ +{ + "$defs": { + "UserProfile": { + "$anchor": "user-profile", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/root.json new file mode 100644 index 0000000000..5f55276688 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-external/root.json @@ -0,0 +1,21 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + }, + "profile": { + "$ref": "./ex.json#user-profile" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal-simple/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal-simple/dereferenced.json new file mode 100644 index 0000000000..2b71d48688 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal-simple/dereferenced.json @@ -0,0 +1,21 @@ +[ + { + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "profile": { + "$ref": "#user-profile" + } + } + }, + "UserProfile": { + "$anchor": "user-profile", + "type": "string" + } + } + } + } +] diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal-simple/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal-simple/root.json new file mode 100644 index 0000000000..851ca2d334 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal-simple/root.json @@ -0,0 +1,19 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "profile": { + "$ref": "#user-profile" + } + } + }, + "UserProfile": { + "$anchor": "user-profile", + "type": "string" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal/dereferenced.json new file mode 100644 index 0000000000..74cf2d231a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal/dereferenced.json @@ -0,0 +1,35 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "properties" : { + "login" : { + "type" : "string" + }, + "password" : { + "type" : "string" + }, + "profile" : { + "$ref" : "#user-profile" + } + } + }, + "UserProfile" : { + "$anchor" : "user-profile", + "properties" : { + "firstName" : { + "type" : "string" + }, + "lastName" : { + "type" : "string" + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal/root.json new file mode 100644 index 0000000000..f9a30fb1ca --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-internal/root.json @@ -0,0 +1,32 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + }, + "profile": { + "$ref": "#user-profile" + } + } + }, + "UserProfile": { + "$anchor": "user-profile", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-not-found/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-not-found/dereferenced.json new file mode 100644 index 0000000000..02d717b160 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-not-found/dereferenced.json @@ -0,0 +1,24 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "properties" : { + "login" : { + "type" : "string" + }, + "password" : { + "type" : "string" + }, + "profile" : { + "$ref" : "#user-profile" + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-not-found/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-not-found/root.json new file mode 100644 index 0000000000..f0f2dce912 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$anchor-not-found/root.json @@ -0,0 +1,21 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + }, + "profile": { + "$ref": "#user-profile" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-unresolvable/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-unresolvable/dereferenced.json new file mode 100644 index 0000000000..9e8c041e9d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-unresolvable/dereferenced.json @@ -0,0 +1,26 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "$id" : "./schemas/", + "properties" : { + "login" : { + "type" : "string" + }, + "password" : { + "type" : "string" + }, + "profile" : { + "$id" : "./nested/", + "$ref" : "./ex.json" + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-unresolvable/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-unresolvable/root.json new file mode 100644 index 0000000000..a8a8381127 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-unresolvable/root.json @@ -0,0 +1,23 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "$id": "./schemas/", + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + }, + "profile": { + "$id": "./nested/", + "$ref": "./ex.json" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/dereferenced.json new file mode 100644 index 0000000000..4213567b13 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/dereferenced.json @@ -0,0 +1,30 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "properties" : { + "login" : { + "type" : "string" + }, + "password" : { + "type" : "string" + }, + "profile" : { + "type" : "object", + "$id" : "./nested/", + "properties" : { + "avatar" : { + "type" : "string" + } + } + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/nested/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/nested/ex.json new file mode 100644 index 0000000000..b7f7f6299c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/nested/ex.json @@ -0,0 +1,8 @@ +{ + "type": "object", + "properties": { + "avatar": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/root.json new file mode 100644 index 0000000000..2c9fd869f7 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-direct/root.json @@ -0,0 +1,22 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + }, + "profile": { + "$id": "./nested/", + "$ref": "./ex.json" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/dereferenced.json new file mode 100644 index 0000000000..d870b16746 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/dereferenced.json @@ -0,0 +1,30 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "$id" : "./nested/", + "properties" : { + "login" : { + "type" : "string" + }, + "password" : { + "type" : "string" + }, + "profile" : { + "type" : "object", + "properties" : { + "avatar" : { + "type" : "string" + } + } + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/nested/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/nested/ex.json new file mode 100644 index 0000000000..b7f7f6299c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/nested/ex.json @@ -0,0 +1,8 @@ +{ + "type": "object", + "properties": { + "avatar": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/root.json new file mode 100644 index 0000000000..4c3fa339ca --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-enclosing/root.json @@ -0,0 +1,22 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "$id": "./nested/", + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + }, + "profile": { + "$ref": "./ex.json" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/dereferenced.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/dereferenced.json new file mode 100644 index 0000000000..c79956580b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/dereferenced.json @@ -0,0 +1,24 @@ +{ + "components" : { + "schemas" : { + "User" : { + "type" : "object", + "properties" : { + "profile" : { + "type" : "object", + "$id" : "./nested/", + "properties" : { + "avatar" : { + "type" : "string" + } + } + } + } + } + } + }, + "openapi" : "3.1.0", + "servers" : [ { + "url" : "/" + } ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/nested/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/nested/ex.json new file mode 100644 index 0000000000..d5a6ae02c1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/nested/ex.json @@ -0,0 +1,8 @@ +{ + "$defs": { + "UserProfile": { + "$id": "./nested/", + "$ref": "./ex.json" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/nested/nested/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/nested/nested/ex.json new file mode 100644 index 0000000000..b7f7f6299c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/nested/nested/ex.json @@ -0,0 +1,8 @@ +{ + "type": "object", + "properties": { + "avatar": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/root.json new file mode 100644 index 0000000000..7125298e8c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schema/$id-uri-external/root.json @@ -0,0 +1,15 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "User": { + "type": "object", + "properties": { + "profile": { + "$ref": "./nested/ex.json#/$defs/UserProfile" + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/dereferenced.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/dereferenced.yaml new file mode 100644 index 0000000000..9d17400b89 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/dereferenced.yaml @@ -0,0 +1,17 @@ +openapi: 3.1.0 +servers: +- url: / +components: + schemas: + Indirection: + type: object + description: desc ex3schema + properties: + prop1: + type: string + IndirectionSiblings: + type: object + description: overwritten desc IndirectionSiblings root + properties: + prop1: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex.json new file mode 100644 index 0000000000..c6eae7d16a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex.json @@ -0,0 +1,8 @@ +{ + "externalParameter": { + "name": "externalParameter", + "in": "query", + "description": "this is parameter stored in external file", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1.json new file mode 100644 index 0000000000..d7b3e3be55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1.json @@ -0,0 +1,3 @@ +{ + "$ref": "./ex2.json#/~1path3" +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1a.json new file mode 100644 index 0000000000..7171176f3e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./nested/ex2a.json#/indirection3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1schema.json new file mode 100644 index 0000000000..445991a025 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex1schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex2schema.json#/$defs/Indirection" + }, + "IndirectionSiblings": { + "$ref": "./ex2schema.json#/$defs/IndirectionSiblings", + "description": "overwritten desc IndirectionSiblings ex1schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex2.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex2.json new file mode 100644 index 0000000000..e6d9558407 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex2.json @@ -0,0 +1,7 @@ +{ + "/path3": { + "summary": "path item summary", + "description": "path item description", + "get": {} + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex2schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex2schema.json new file mode 100644 index 0000000000..62648ce96c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex2schema.json @@ -0,0 +1,11 @@ +{ + "$defs": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "overwritten desc IndirectionSiblings ex2schema" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex3schema.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex3schema.json new file mode 100644 index 0000000000..fc7099320e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/ex3schema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "description": "desc ex3schema", + "properties": { + "prop1": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/domain.yaml new file mode 100644 index 0000000000..fbaddc35b3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/domain.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + title: Domain + version: '1.0' +components: + pathItems: + ExternalRef: + get: + description: ExternalRef PathItem + operationId: ExternalRef PathItem + responses: + '200': + description: OK + RelativeRef: + get: + description: RelativeRef PathItem + operationId: RelativeRef PathItem + responses: + '200': + description: OK + DomainInternalRefToExternal: + get: + description: DomainInternalRefToExternal PathItem + operationId: DomainInternalRefToExternal PathItem + responses: + '200': + description: OK + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/ex2a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/ex2a.json new file mode 100644 index 0000000000..fed0158003 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/ex2a.json @@ -0,0 +1,5 @@ +{ + "indirection3": { + "$ref": "./ex3a.json#/externalParameter3" + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/ex3a.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/ex3a.json new file mode 100644 index 0000000000..8b21c6c58f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/nested/ex3a.json @@ -0,0 +1,8 @@ +{ + "externalParameter3": { + "name": "externalParameter3", + "in": "query", + "description": "this is parameter stored in external file 3", + "required": true + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/root.json b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/root.json new file mode 100644 index 0000000000..6b4fc87afb --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/dereference/schemaindirect/root.json @@ -0,0 +1,14 @@ +{ + "openapi": "3.1.0", + "components": { + "schemas": { + "Indirection": { + "$ref": "./ex3schema.json" + }, + "IndirectionSiblings": { + "$ref": "./ex3schema.json", + "description": "overwritten desc IndirectionSiblings root" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/issue-1801.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/issue-1801.yaml new file mode 100644 index 0000000000..55e2287ded --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/issue-1801.yaml @@ -0,0 +1,17 @@ +openapi: 3.1.0 +servers: + - url: https://someserver.com/v1 +info: + title: openapi 3.1.0 sample spec + version: 0.0.1 + description: sample spec for testing openapi functionality, built from json schema + tests for draft2020-12 +tags: [] +paths: {} +components: + schemas: + AllofWithTheLastEmptySchema: + $schema: https://json-schema.org/draft/2020-12/schema + allOf: + - type: number + - {} diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/issue-1821.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/issue-1821.yaml new file mode 100644 index 0000000000..a098ac35af --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/issue-1821.yaml @@ -0,0 +1,22 @@ +openapi: 3.1.0 +paths: {} +components: + schemas: + Rule: + type: object + properties: + id: + type: string + format: uuid + name: + type: string + condition: + type: string + order: + type: integer + enabled: + type: boolean + version: + type: integer + description: Version counter + \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/oas3.1.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/oas3.1.yaml new file mode 100644 index 0000000000..6a5d705c55 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/oas3.1.yaml @@ -0,0 +1,168 @@ +openapi: "3.1.0" +x-oas-internal: test reserved keyword +x-oai-extension: test reserved keyword +jsonSchemaDialect: 'https://json-schema.org/draft/2020-12/schema' +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT + identifier: test +servers: + - url: http://petstore.swagger.io/v1 +webhooks: + # Each webhook needs a name + newPet: + # This is a Path Item Object, the only difference is that the request is initiated by the API provider + post: + requestBody: + description: Information about a new pet in the system + content: + application/json: + schema: + $ref: "#/components/schemas/Pet" + description: pet + responses: + "200": + description: Return a 200 status to indicate that the data was received successfully +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + description: error + security: + - mutualTLS: [ ] + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + - $ref: "#/components/parameters/User" + description: user + summary: user + responses: + "200": + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + parameters: + User: + in: query + description: user + name: user + schema: + type: string + schemas: + Pet: + type: + - object + - string + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + testenum: + type: string + enum: + - available + - pending + - sold + default: available + testconst: + type: string + const: pending + tag: + type: string + Pets: + type: array + items: + $ref: "#/components/schemas/Pet" + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string + tag: + $ref: "#/components/schemas/Tag" + Tag: + type: + - object + - string + - string + - foo + properties: + id: + type: integer + format: int64 + name: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/petstore-3.1.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/petstore-3.1.yaml new file mode 100644 index 0000000000..e09ccbf97a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/petstore-3.1.yaml @@ -0,0 +1,126 @@ +openapi: "3.1.0" +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT + identifier: test +servers: + - url: http://petstore.swagger.io/v1 +webhooks: + # Each webhook needs a name + newPet: + # This is a Path Item Object, the only difference is that the request is initiated by the API provider + post: + requestBody: + description: Information about a new pet in the system + content: + application/json: + schema: + $ref: "#/components/schemas/Pet" + responses: + "200": + description: Return a 200 status to indicate that the data was received successfully +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + responses: + "200": + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + schemas: + Pet: + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: + - string + - integer + tag: + type: string + Pets: + type: array + items: + $ref: "#/components/schemas/Pet" + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/petstore-3.1_more.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/petstore-3.1_more.yaml new file mode 100644 index 0000000000..ad1c467c06 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/petstore-3.1_more.yaml @@ -0,0 +1,225 @@ +openapi: "3.1.0" +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT + identifier: test +servers: + - url: http://petstore.swagger.io/v1 +webhooks: + # Each webhook needs a name + newPet: + # This is a Path Item Object, the only difference is that the request is initiated by the API provider + post: + requestBody: + description: Information about a new pet in the system + content: + application/json: + schema: + $ref: "#/components/schemas/Pet" + responses: + "200": + description: Return a 200 status to indicate that the data was received successfully +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + x-extension: test + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + responses: + "200": + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + schemas: + Pet: + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: + - string + - integer + tag: + type: string + Pets: + $id: test + $anchor: test + type: array + items: + $ref: "#/components/schemas/Pet" + description: desc + format: int32 + Schema2020_12: + type: object + title: schema 2020-12 + required: + - country + properties: + country: + enum: + - usa + - canada + - eu + default: eu + type: string + widget: Select + if: + properties: + country: + const: canada + type: string + then: + properties: + maple_trees: + type: number + else: + required: + - accept + properties: + accept: + const: "true" + type: boolean + const: const text + examples: + - sample1 + - sample2 + $id: schemaId + $comment: comment for testing + propertyNames: + pattern: "^[A-Za-z_][A-Za-z0-9_]*$" + unevaluatedProperties: + type: object + unevaluatedItems: + type: object + prefixItems: + - description: Name + type: string + - description: Age + type: integer + contains: + type: integer + maxContains: 4 + minContains: 2 + $anchor: anchor text + $schema: https://json-schema.org/draft/2020-12/schema + contentSchema: + type: string + dependentSchemas: + credit_card: + required: + - billing_address + properties: + billing_address: + type: string + dependentRequired: + credit_card: + - billing_address + patternProperties: + ^S_: + type: string + ^I_: + type: integer + contentEncoding: base64 + contentMediaType: text/html + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string + DiscriminatorExtension: + oneOf: + - $ref: '#/components/schemas/Cat' + - $ref: '#/components/schemas/Dog' + - $ref: '#/components/schemas/Lizard' + discriminator: + propertyName: petType + x-extension: test + pathItems: + pets: + get: + description: Returns all pets from the system that the user has access to + responses: + '200': + description: A list of pets. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/pet' + diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/basicref.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/basicref.yaml new file mode 100644 index 0000000000..ce517ab8fe --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/basicref.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + version: "1.0.0" + title: parse-api + description: Test swagger-parser +paths: + /parse: + get: + description: Parser test + operationId: getParse + parameters: + - in: query + name: parse + required: true + schema: + $ref: 'http://localhost:${dynamicPort}/domain#/components/schemas/Parse' + - in: query + name: relativeParse + required: true + schema: + $ref: './domain.yaml#/components/schemas/Parse' + responses: + '200': + description: OK + content: + "application/json": + schema: + $ref: './domain.yaml#/components/schemas/Parse' diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/domain.yaml new file mode 100644 index 0000000000..619290c904 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/domain.yaml @@ -0,0 +1,18 @@ +openapi: 3.1.0 +info: + title: Parser Test + version: '1.0' +components: + schemas: + Parse: + $ref: '#/components/schemas/ParseEnum' + description: Overwritten description + ParseEnum: + title: Parse It + description: Can it parse it? + type: + - string + - object + enum: + - Yes + - No diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nested/domain.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nested/domain.yaml new file mode 100644 index 0000000000..439792c9d4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nested/domain.yaml @@ -0,0 +1,20 @@ +openapi: 3.1.0 +info: + title: Parser Test + version: '1.0' +components: + schemas: + Parse: + $ref: '#/components/schemas/ParseEnum' + description: Overwritten description + ParseEnum: + title: Parse It + description: Can it parse it? + type: + - string + - object + enum: + - Yes + - No + NestedRef: + $ref: './domainref.yaml#/components/schemas/Parse' diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nested/domainref.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nested/domainref.yaml new file mode 100644 index 0000000000..7df4c9cdf1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nested/domainref.yaml @@ -0,0 +1,18 @@ +openapi: 3.1.0 +info: + title: Parser Test + version: '1.0' +components: + schemas: + NestedParse: + $ref: '#/components/schemas/NestedParseEnum' + description: Overwritten description + NestedParseEnum: + title: Parse It + description: Can it parse it? + type: + - string + - object + enum: + - Yes + - No diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nestedref.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nestedref.yaml new file mode 100644 index 0000000000..5cbe42600e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/resolve/nestedref.yaml @@ -0,0 +1,28 @@ +openapi: 3.1.0 +info: + version: "1.0.0" + title: parse-api + description: Test swagger-parser +paths: + /parse: + get: + description: Parser test + operationId: getParse + parameters: + - in: query + name: parse + required: true + schema: + $ref: 'http://localhost:${dynamicPort}/domain#/components/schemas/Parse' + - in: query + name: relativeParse + required: true + schema: + $ref: './domain.yaml#/components/schemas/Parse' + responses: + '200': + description: OK + content: + "application/json": + schema: + $ref: './nested/domain.yaml#/components/schemas/NestedRef' diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/schemaSiblings.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/schemaSiblings.yaml new file mode 100644 index 0000000000..35f4eef46e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/schemaSiblings.yaml @@ -0,0 +1,86 @@ +openapi: 3.1.0 +info: + title: siblings JSONSchema + version: 1.0.0 +servers: + - url: / +paths: { } +components: + schemas: + Payment: + type: object + properties: + name: + type: string + credit_card: + type: number + billing_address: + type: string + required: + - name + dependentRequired: + credit_card: + - billing_address + PaymentMethod: + type: object + properties: + name: + type: string + credit_card: + type: number + required: + - name + dependentSchemas: + credit_card: + properties: + billing_address: + type: string + required: + - billing_address + IfTest: + title: Person + type: object + properties: + country: + type: string + widget: Select + enum: + - usa + - canada + - eu + default: eu + required: + - country + if: + properties: + country: + type: string + const: canada + then: + properties: + maple_trees: + type: number + else: + properties: + accept: + type: boolean + const: true + required: + - accept + Fruit: + type: string + examples: + - apple + - orange + Error: + type: object + properties: + code: + type: integer + message: + type: string + examples: + - code: 123 + message: Oops... + - code: 456 + message: Feature is not available for your plan diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/securitySchemes31.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/securitySchemes31.yaml new file mode 100644 index 0000000000..49a5432b69 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/securitySchemes31.yaml @@ -0,0 +1,115 @@ +openapi: 3.1.0 +servers: + - url: /v2 +info: + version: 1.0.0 + title: Swagger Petstore +paths: + /pet: + post: + tags: + - pet + summary: Add a new pet to the store + description: '' + operationId: addPet + responses: + '405': + description: Invalid input + security: + - api_key: [] + requestBody: + $ref: '#/components/requestBodies/Pet' + put: + tags: + - pet + summary: Update an existing pet + description: '' + operationId: updatePet + responses: + '400': + description: Invalid ID supplied + '404': + description: Pet not found + '405': + description: Validation exception + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + $ref: '#/components/requestBodies/Pet' + /petType: + post: + tags: + - petType + summary: Add a new pet to the store + description: '' + operationId: addPet + responses: + '405': + description: Invalid input + security: + - mutual_TLS: [ ] + requestBody: + $ref: '#/components/requestBodies/Pet' +components: + requestBodies: + Pet: + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' + application/xml: + schema: + $ref: '#/components/schemas/Pet' + description: Pet object that needs to be added to the store + required: true + securitySchemes: + petstore_auth: + type: oauth2 + description: This is a description + flows: + implicit: + authorizationUrl: 'http://petstore.swagger.io/oauth/dialog' + scopes: + 'write:pets': modify pets in your account + 'read:pets': read your pets + api_key: + type: apiKey + name: api_key + description: This is another description + in: header + mutual_TLS: + type: mutualTLS + name: name mutualTLS + description: This is another description + in: header + schemas: + Pet: + type: object + required: + - name + - photoUrls + properties: + id: + type: integer + format: int64 + name: + type: string + example: doggie + photoUrls: + type: array + xml: + name: photoUrl + wrapped: true + items: + type: string + status: + type: string + description: pet status in the store + enum: + - available + - pending + - sold + xml: + name: Pet \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/siblings31.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/siblings31.yaml new file mode 100644 index 0000000000..be867e2b10 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/siblings31.yaml @@ -0,0 +1,46 @@ +openapi: "3.1.0" +info: + version: 1.0.0 + title: Swagger Petstore +paths: + /pets: + $ref: "#/components/pathItems/Pets" + summary: List all pets + description: description + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + security: + - apiKey: [ ] + tags: + - pets + parameters: + - $ref: "#/components/parameters/Pets" + description: The id of the pet to retrieve + responses: + "200": + $ref: "#/components/responses/Pets" + description: Expected response to a valid request + /pets/requestBody: + post: + description: It gets pets + responses: + '200': + description: successful operation + headers: + X-Rate-Limit: + $ref: "#/components/headers/Pets" + description: header sibling description + links: + userRepository: + $ref: '#/components/links/userRepository' + description: link sibling description + requestBody: + $ref: "#/components/requestBodies/Pets" + description: request body description +components: + securitySchemes: + api_key: + $ref: "#/components/securitySchemes/security" + description: This is another description diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/test/basicOAS30.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/test/basicOAS30.yaml new file mode 100644 index 0000000000..cabb9c72f5 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/test/basicOAS30.yaml @@ -0,0 +1,206 @@ +openapi: "3.0.0" +jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema +info: + version: 1.0.0 + summary: test summary in info object + description: description in info object + title: Swagger Petstore + license: + name: MIT + identifier: test identifier +servers: + - url: http://petstore.swagger.io/v1 + - url: http://{host}.swagger.io/v1 + variables: + host: + default: demo + description: this value is assigned by the service provider + enum: [] +webhooks: + # Each webhook needs a name + newPet: + # This is a Path Item Object, the only difference is that the request is initiated by the API provider + post: + requestBody: + description: Information about a new pet in the system + content: + application/json: + schema: + $ref: "#/components/schemas/Pet" + description: pet + responses: + "200": + description: Return a 200 status to indicate that the data was received successfully +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + description: error + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + - $ref: "#/components/parameters/User" + description: user + summary: user + responses: + "200": + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + pathItems: + pets: + get: + description: Returns all pets from the system that the user has access to + responses: + '200': + description: A list of pets. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/pet' + parameters: + User: + in: query + description: user + name: user + schema: + type: string + schemas: + Pet: + type: + - object + - string + - array + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + writeOnly: true + readOnly: true + testenum: + type: string + enum: + - available + - pending + - sold + default: available + testconst: + type: string + const: pending + tag: + type: string + arbitraryKeyword: test + Pets: + type: 'null' + default: "I'm a string" + exclusiveMaximum: 12 + exclusiveMinimum: 1 + items: + $ref: "#/components/schemas/Pet" + ArrayWithoutItems: + type: array + ItemsWithoutArrayType: + type: object + items: + item1: + type: object + item2: + type: string + item3: what + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string + tag: + $ref: "#/components/schemas/Tag" + Tag: + type: + - object + - string + - string + - foo + properties: + id: + type: integer + format: int64 + name: + type: string + patternProperties: + '[a-b].*': 1 + MapAnyValue: + additionalProperties: { } diff --git a/modules/swagger-parser-v3/build/resources/test/3.1.0/test/basicOAS31.yaml b/modules/swagger-parser-v3/build/resources/test/3.1.0/test/basicOAS31.yaml new file mode 100644 index 0000000000..389f796e38 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/3.1.0/test/basicOAS31.yaml @@ -0,0 +1,207 @@ +openapi: "3.1.0" +jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema +info: + version: 1.0.0 + summary: test summary in info object + description: description in info object + title: Swagger Petstore + license: + name: MIT + identifier: test identifier +servers: + - url: http://petstore.swagger.io/v1 + - url: http://{host}.swagger.io/v1 + variables: + host: + default: demo + description: this value is assigned by the service provider + enum: [] +webhooks: + # Each webhook needs a name + newPet: + # This is a Path Item Object, the only difference is that the request is initiated by the API provider + post: + requestBody: + description: Information about a new pet in the system + content: + application/json: + schema: + $ref: "#/components/schemas/Pet" + description: pet + responses: + "200": + description: Return a 200 status to indicate that the data was received successfully +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + description: error + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + - $ref: "#/components/parameters/User" + description: user + summary: user + responses: + "200": + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + pathItems: + pets: + get: + description: Returns all pets from the system that the user has access to + responses: + '200': + description: A list of pets. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/pet' + parameters: + User: + in: query + description: user + name: user + schema: + type: string + schemas: + Pet: + type: + - object + - string + - array + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + writeOnly: true + readOnly: true + testenum: + type: string + enum: + - available + - pending + - sold + default: available + testconst: + type: string + const: pending + tag: + type: string + arbitraryKeyword: test + $ref: ./ex.json#user-profile + Pets: + type: 'null' + default: "I'm a string" + exclusiveMaximum: 12 + exclusiveMinimum: 1 + items: + $ref: "#/components/schemas/Pet" + ArrayWithoutItems: + type: array + ItemsWithoutArrayType: + type: object + items: + item1: + type: object + item2: + type: string + item3: what + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string + tag: + $ref: "#/components/schemas/Tag" + Tag: + type: + - object + - string + - string + - foo + properties: + id: + type: integer + format: int64 + name: + type: string + patternProperties: + '[a-b].*': 1 + MapAnyValue: + additionalProperties: { } diff --git a/modules/swagger-parser-v3/build/resources/test/FlattenComposedSchemasAtComponents.yaml b/modules/swagger-parser-v3/build/resources/test/FlattenComposedSchemasAtComponents.yaml new file mode 100644 index 0000000000..a2e87330e7 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/FlattenComposedSchemasAtComponents.yaml @@ -0,0 +1,73 @@ +openapi: 3.0.2 +info: + title: CC-20272 test - OAS3 + version: 1.0.0 +paths: + /something: + get: + responses: + 200: + description: ok + content: + application/json: + schema: + $ref: '#/components/schemas/Bar' +components: + schemas: + Foo: + type: object + properties: + foo: + type: string + Bar: + type: object + properties: + foo1: + description: An instance of Foo + allOf: + - $ref: '#/components/schemas/Foo' + foo2: + $ref: '#/components/schemas/Foo' + Test: + oneOf: + - $ref: "#/components/schemas/Foo" + - type: object + properties: + foo: + type: string + contact-base-model: + allOf: + - type: object + required: + - lastName + - email + properties: + contactId: + type: string + readOnly: true + fullName: + type: string + readOnly: true + firstName: + type: string + lastName: + type: string + title: + type: string + email: + type: string + format: email + passCode: + type: string + format: password + indivId: + type: string + addresses: + type: array + items: + $ref: '#/components/schemas/address-model' + phones: + type: array + items: + $ref: '#/components/schemas/phone-model' + - $ref: '#/components/schemas/audit-model' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/Issue1316.yaml b/modules/swagger-parser-v3/build/resources/test/Issue1316.yaml new file mode 100644 index 0000000000..845e22a349 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/Issue1316.yaml @@ -0,0 +1,25 @@ +--- +openapi: 3.0.1 +info: + title: Encoding Issue + version: 0.0.2 +paths: + "/uploads": + post: + tags: + - Uploads + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + file: + type: string + format: binary + encoding: + file: + style: form + responses: + '200': + description: Success diff --git a/modules/swagger-parser-v3/build/resources/test/Issue_931.json b/modules/swagger-parser-v3/build/resources/test/Issue_931.json new file mode 100644 index 0000000000..7d32e800d1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/Issue_931.json @@ -0,0 +1,176 @@ +{ + "openapi": "3.0.0", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore", + "license": { + "name": "MIT" + } + }, + "servers": [ + { + "url": "http://petstore.swagger.io/v1" + } + ], + "paths": { + "/pets": { + "get": { + "summary": "List all pets", + "operationId": "listPets", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "A paged array of pets", + "headers": { + "x-next": { + "description": "A link to the next page of responses", + "schema": { + "$ref":"#/components/schemas/Pets" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a pet", + "operationId": "createPets", + "tags": [ + "pets" + ], + "requestBody":{ + "content":{ + "application/json": { + "schema":{ + "type":"string", + "default":1 + } + } + } + + }, + "responses": { + "201": { + "description": "Null response" + } + } + } + }, + "/pets/{petId}": { + "get": { + "summary": "Info for a specific pet", + "operationId": "showPetById", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "required": true, + "description": "The id of the pet to retrieve", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Expected response to a valid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "!m": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "Pets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pet" + } + }, + "Error": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/Issue_948.json b/modules/swagger-parser-v3/build/resources/test/Issue_948.json new file mode 100644 index 0000000000..983c439430 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/Issue_948.json @@ -0,0 +1,109 @@ +{ + "openapi":"3.0.0", + "info":{ + "title":"Test", + "description":"Test API", + "version":"1.0" + }, + "servers":[ + { + "url":"http://localhost:8888/api" + } + ], + "paths":{ + "/devices":{ + "get":{ + "tags":[ + "devices" + ], + "summary":"List all Devices", + "operationId":"getDevices", + "parameters":[ + { + "$ref":"#/components/headers/Content-Type" + }, + { + "$ref":"#/components/parameters/idFrom" + }, + { + "name":"category", + "in":"query", + "description":"A request parameter that matches against the device category.", + "schema":{ + "$ref":"#/components/schemas/deviceCategory" + } + }, + { + "name":"manufacturer", + "in":"query", + "description":"A request parameter that performs LIKE matching against the device manufacturer.", + "schema":{ + "maxLength":200, + "minLength":1, + "type":"string", + "example":"Sony" + } + } + ], + "responses":{ + "200":{ + "description":"An array of devices that match the request parameters requested.", + "content":{ + "application/json":{ + "schema":{ + "type":"object", + "properties":{ + "device":{ + "$ref":"#/components/schemas/device" + } + } + } + } + } + } + } + } + } + }, + "components":{ + "schemas":{ + "deviceCategory":{ + "type":"string", + "description":"The list of avialable viewer device categories.", + "example":"TV", + "enum":[ + "TV", + "Phone", + "Tablet", + "Laptop", + "Monitor", + "Other" + ] + }, + "device":{ + "type":"string", + "description":"Captures the possible states for an analysis." + } + }, + "parameters":{ + "idFrom":{ + "name":"idFrom", + "in":"query", + "description":"The lower-bound of a request parameter filtering based on unique object identifier.", + "schema":{ + "type":"integer" + } + } + }, + "headers":{ + "Content-Type":{ + "required":true, + "schema":{ + "type":"string", + "example":"application/json;charset=UTF-8", + "default":"application/json;charset=UTF-8" + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/META-INF/services/io.swagger.v3.parser.reference.OpenAPIDereferencer b/modules/swagger-parser-v3/build/resources/test/META-INF/services/io.swagger.v3.parser.reference.OpenAPIDereferencer new file mode 100644 index 0000000000..8a5323b9e0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/META-INF/services/io.swagger.v3.parser.reference.OpenAPIDereferencer @@ -0,0 +1 @@ +io.swagger.v3.parser.test.CustomOpenAPIDereferencer diff --git a/modules/swagger-parser-v3/build/resources/test/Pet.yaml b/modules/swagger-parser-v3/build/resources/test/Pet.yaml new file mode 100644 index 0000000000..af1fdd31f6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/Pet.yaml @@ -0,0 +1,8 @@ +Pet: + type: object + properties: + name: + type: string + id: + type: integer + format: int64 \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/additionalPropertiesFlatten.yaml b/modules/swagger-parser-v3/build/resources/test/additionalPropertiesFlatten.yaml new file mode 100644 index 0000000000..c1157656e0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/additionalPropertiesFlatten.yaml @@ -0,0 +1,29 @@ +openapi: 3.0.2 +info: + title: test - OAS3 + version: 1.0.0 +paths: + /responses: + get: + responses: + '200': + description: it works! + content: + application/json: + schema: + additionalProperties: + oneOf: + - "$ref": "#/components/schemas/Macaw1" + - "$ref": "#/components/schemas/Parakeet1" + '404': + description: it works! + content: + application/json: + schema: + additionalProperties: + type: array + items: + anyOf: + - "$ref": "#/components/schemas/Macaw2" + - "$ref": "#/components/schemas/Parakeet2" + diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-example/allOf.yaml b/modules/swagger-parser-v3/build/resources/test/allOf-example/allOf.yaml new file mode 100644 index 0000000000..bc7c0fc022 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-example/allOf.yaml @@ -0,0 +1,56 @@ +openapi: 3.0.0 +servers: + - url: /subscribed_products/v1.0.1 +info: + description: >- + API to get information on services currently subscribed by a specific user + or phone number. + version: 1.0.1 + title: Products API definition for the 4th Platform + termsOfService: 'https://www.telefonica.es/es/' + contact: + name: 4th Platform Team + email: 4pf@tid.es +x-fp-apiPrefix: /subscribed_products +tags: + - name: subscribed_products + description: Operations available with products subscribed by a user +paths: + '/users/{user_id}/description': + get: + operationId: description + parameters: + - $ref: '#/components/parameters/UserId' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/DescriptionUrl' +components: + parameters: + UserId: + name: user_id + description: Unique identifier of a user + in: path + required: true + schema: + type: string + schemas: + Description: + type: object + description: Information about de product + properties: + text: + type: string + DescriptionUrl: + allOf: + - type: object + required: + - url + properties: + url: + type: string + description: Url with information or picture of the product + - $ref: '#/components/schemas/Description' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/pet.json b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/pet.json new file mode 100644 index 0000000000..c6a4eae7f1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/pet.json @@ -0,0 +1,8 @@ +{ + "type": "object", + "properties": { + "color": { + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/purebred_pet.json b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/purebred_pet.json new file mode 100644 index 0000000000..d85c4e569e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/purebred_pet.json @@ -0,0 +1,25 @@ +{ + "allOf": [ + { + "$ref": "pet.json" + }, + { + "type": "object", + "properties": { + "breed": { + "type": "string", + "sample": "Labrador" + }, + "mother": { + "$ref": "pet.json" + }, + "siblings": { + "type": "array", + "items": { + "$ref": "pet.json" + } + } + } + } + ] +} diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/swagger.json b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/swagger.json new file mode 100644 index 0000000000..dfbbdc6169 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/models/swagger.json @@ -0,0 +1,14 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "flat", + "version": "1.0.0" + }, + "components": { + "schemas": { + "record": { + "$ref": "purebred_pet.json" + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/swagger.json b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/swagger.json new file mode 100644 index 0000000000..295e41d30f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-properties-ext-ref/swagger.json @@ -0,0 +1,14 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "flat", + "version": "1.0.0" + }, + "components": { + "schemas": { + "record": { + "$ref": "models/purebred_pet.json" + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/definitions.yaml b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/definitions.yaml new file mode 100644 index 0000000000..2c71dfc642 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/definitions.yaml @@ -0,0 +1,22 @@ +components: + schemas: + PrintInfo: + type: object + description: "Print info of the shipping info" + required: + - B + properties: + B: + type: boolean + ShippingInfo: + type: object + description: "Information about the shipping for a device" + allOf: + - $ref: "#/components/schemas/PrintInfo" + - type: object + required: + - A + properties: + A: + type: integer + format: int64 \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/models/fancy_pet.json b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/models/fancy_pet.json new file mode 100644 index 0000000000..d544a24f7c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/models/fancy_pet.json @@ -0,0 +1,15 @@ +{ + "allOf": [ + { + "$ref": "./pet.json" + }, + { + "properties": { + "breed": { + "type": "string", + "example": "Labrador" + } + } + } + ] +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/models/pet.json b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/models/pet.json new file mode 100644 index 0000000000..2749445a85 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/models/pet.json @@ -0,0 +1,13 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "example": "Cooper" + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/parent.yaml b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/parent.yaml new file mode 100644 index 0000000000..5b312915bd --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/parent.yaml @@ -0,0 +1,60 @@ +openapi: 3.0.0 +servers: + - url: /v3 +info: + description: >- + Issue #616. This is a modified Petstore server where we have two pet + definitions 1. pet and 2. fancy_pet which inherits pet using allOf. + title: '' + version: '' +paths: + /pet: + get: + operationId: getPetById + parameters: + - name: petId + in: path + required: true + schema: + type: integer + format: int64 + responses: + '200': + description: OK + content: + '*/*': + schema: + $ref: "./models/pet.json" + /fancy-pet: + get: + operationId: getFancyPetById + parameters: + - name: fancyPetId + in: path + required: true + schema: + type: integer + format: int64 + responses: + '200': + description: OK + content: + '*/*': + schema: + $ref: "./models/fancy_pet.json" +components: + schemas: + DomesticPet: + allOf: + - $ref: "./models/pet.json" + - properties: + description: + type: string + example: friendly + DancingPet: + allOf: + - $ref: "./models/fancy_pet.json" + - properties: + style: + type: string + example: salsa \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/swagger.yaml new file mode 100644 index 0000000000..aeb261da2a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOf-relative-file-references/swagger.yaml @@ -0,0 +1,63 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/api' +info: + version: 1.0.0 + title: Swagger Petstore (Simple) + description: >- + A sample API that uses a petstore as an example to demonstrate features in + the swagger-2.0 specification + termsOfService: 'http://helloreverb.com/terms/' + contact: + name: Swagger API team + email: foo@example.com + url: 'http://swagger.io' + license: + name: MIT + url: 'http://opensource.org/licenses/MIT' +paths: + /pets: + get: + description: Returns all pets from the system that the user has access to + operationId: findPets + parameters: + - name: tags + in: query + description: tags to filter by + required: false + style: form + schema: + type: array + items: + type: string + - name: limit + in: query + description: maximum number of results to return + required: false + schema: + type: integer + format: int32 + responses: + '200': + description: pet response + content: + application/json: + schema: + type: array + items: + $ref: './definitions.yaml#/components/schemas/ShippingInfo' + application/xml: + schema: + type: array + items: + $ref: './definitions.yaml#/components/schemas/ShippingInfo' + text/xml: + schema: + type: array + items: + $ref: './definitions.yaml#/components/schemas/ShippingInfo' + text/html: + schema: + type: array + items: + $ref: './definitions.yaml#/components/schemas/ShippingInfo' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/allOfAndRef.yaml b/modules/swagger-parser-v3/build/resources/test/allOfAndRef.yaml new file mode 100644 index 0000000000..9e7540ab97 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/allOfAndRef.yaml @@ -0,0 +1,35 @@ +openapi: 3.0.0 +servers: [] +info: + version: 0.1.1 + title: 'VirtServer, allOf and $ref' +paths: + /refToAllOf: + get: + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/UserEx' +components: + schemas: + User: + type: object + properties: + username: + type: string + example: trillian + required: + - username + UserEx: + allOf: + - $ref: '#/components/schemas/User' + - type: object + properties: + id: + type: integer + example: 4 + required: + - id \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/anyOf_OneOf.yaml b/modules/swagger-parser-v3/build/resources/test/anyOf_OneOf.yaml new file mode 100644 index 0000000000..ac0222bcff --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/anyOf_OneOf.yaml @@ -0,0 +1,73 @@ +openapi: 3.0.0 +info: + version: 0.0.0 + title: test + +paths: + /path: + get: + responses: + '200': + description: A book or movie object + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/Book' + - $ref: '#/components/schemas/Movie' + anyOf: + - $ref: '#/components/schemas/Movie' + - $ref: '#/components/schemas/Book' + + /mixed-array: + get: + responses: + '200': + description: An array containing strings and/or integers + content: + application/json: + schema: + type: array + items: + oneOf: + - type: string + - type: integer + +components: + schemas: + Book: + type: object + properties: + title: + type: string + authors: + type: array + items: + type: string + isbn: + type: string + required: + - title + example: + title: The Hitchhiker's Guide to the Galaxy + authors: + - Douglas Adams + isbn: 0-330-25864-8 + Movie: + type: object + properties: + title: + type: string + directors: + type: array + items: + type: string + year: + type: integer + required: + - year + example: + title: Blade Runner + directors: + - Ridley Scott + year: 1982 \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/bad_format.yaml b/modules/swagger-parser-v3/build/resources/test/bad_format.yaml new file mode 100644 index 0000000000..b5c09967ce --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/bad_format.yaml @@ -0,0 +1,39 @@ +openapi: 3.0.0 +servers: [] +info: + version: 1.0.0 + title: Pets Store +paths: + /pets: + parameters: + - name: query-param-int32 + in: query + schema: + type: integer + format: int32 + uniqueItems: true + enum: + - 1 + - 2 + - 7 + - name: query-param-invalid-format + in: query + schema: + type: integer + format: invalid + enum: + - 1 + - 2 + - 7 + - name: query-param-collection-format-and-uniqueItems + in: query + explode: true + schema: + type: array + items: + type: string + uniqueItems: true + get: + responses: + '200': + description: Returns all the pets diff --git a/modules/swagger-parser-v3/build/resources/test/billion_laughs_snake_yaml.yaml b/modules/swagger-parser-v3/build/resources/test/billion_laughs_snake_yaml.yaml new file mode 100644 index 0000000000..274b14718d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/billion_laughs_snake_yaml.yaml @@ -0,0 +1,2906 @@ +openapi: "3.0.0" +info: + title: test BLA + version: 1.0.0 +components: + schemas: + a1: + type: string + enum: &A1 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a2: + type: string + enum: &A2 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a3: + type: string + enum: &A3 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a4: + type: string + enum: &A4 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a5: + type: string + enum: &A5 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a6: + type: string + enum: &A6 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a7: + type: string + enum: &A7 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a8: + type: string + enum: &A8 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a9: + type: string + enum: &A9 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a10: + type: string + enum: &A10 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a11: + type: string + enum: &A11 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a12: + type: string + enum: &A12 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a13: + type: string + enum: &A13 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a14: + type: string + enum: &A14 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a15: + type: string + enum: &A15 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a16: + type: string + enum: &A16 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a17: + type: string + enum: &A17 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a18: + type: string + enum: &A18 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a19: + type: string + enum: &A19 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a20: + type: string + enum: &A20 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a21: + type: string + enum: &A21 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a22: + type: string + enum: &A22 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a23: + type: string + enum: &A23 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a24: + type: string + enum: &A24 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a25: + type: string + enum: &A25 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a26: + type: string + enum: &A26 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a27: + type: string + enum: &A27 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a28: + type: string + enum: &A28 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a29: + type: string + enum: &A29 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a30: + type: string + enum: &A30 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a31: + type: string + enum: &A31 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a32: + type: string + enum: &A32 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a33: + type: string + enum: &A33 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a34: + type: string + enum: &A34 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a35: + type: string + enum: &A35 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a36: + type: string + enum: &A36 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a37: + type: string + enum: &A37 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a38: + type: string + enum: &A38 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a39: + type: string + enum: &A39 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a40: + type: string + enum: &A40 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a41: + type: string + enum: &A41 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a42: + type: string + enum: &A42 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a43: + type: string + enum: &A43 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a44: + type: string + enum: &A44 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a45: + type: string + enum: &A45 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a46: + type: string + enum: &A46 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a47: + type: string + enum: &A47 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a48: + type: string + enum: &A48 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a49: + type: string + enum: &A49 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a50: + type: string + enum: &A50 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a51: + type: string + enum: &A51 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a52: + type: string + enum: &A52 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a53: + type: string + enum: &A53 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a54: + type: string + enum: &A54 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a55: + type: string + enum: &A55 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a56: + type: string + enum: &A56 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a57: + type: string + enum: &A57 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a58: + type: string + enum: &A58 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a59: + type: string + enum: &A59 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a60: + type: string + enum: &A60 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a61: + type: string + enum: &A61 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a62: + type: string + enum: &A62 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a63: + type: string + enum: &A63 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a64: + type: string + enum: &A64 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a65: + type: string + enum: &A65 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a66: + type: string + enum: &A66 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a67: + type: string + enum: &A67 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a68: + type: string + enum: &A68 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a69: + type: string + enum: &A69 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a70: + type: string + enum: &A70 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a71: + type: string + enum: &A71 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a72: + type: string + enum: &A72 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a73: + type: string + enum: &A73 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a74: + type: string + enum: &A74 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a75: + type: string + enum: &A75 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a76: + type: string + enum: &A76 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a77: + type: string + enum: &A77 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a78: + type: string + enum: &A78 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a79: + type: string + enum: &A79 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a80: + type: string + enum: &A80 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a81: + type: string + enum: &A81 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a82: + type: string + enum: &A82 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a83: + type: string + enum: &A83 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a84: + type: string + enum: &A84 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a85: + type: string + enum: &A85 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a86: + type: string + enum: &A86 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a87: + type: string + enum: &A87 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a88: + type: string + enum: &A88 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a89: + type: string + enum: &A89 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a90: + type: string + enum: &A90 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a91: + type: string + enum: &A91 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a92: + type: string + enum: &A92 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a93: + type: string + enum: &A93 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a94: + type: string + enum: &A94 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a95: + type: string + enum: &A95 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a96: + type: string + enum: &A96 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a97: + type: string + enum: &A97 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a98: + type: string + enum: &A98 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a99: + type: string + enum: &A99 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + a100: + type: string + enum: &A100 + - AA1 + - AA2 + - AA3 + - AA4 + - AA5 + - AA6 + - AA7 + - AA8 + - AA9 + - AA10 + - AA11 + - AA12 + - AA13 + - AA14 + - AA15 + - AA16 + - AA17 + - AA18 + - AA19 + - AA20 + c1: + type: object + properties: + a: + type: string + enum: *A1 + c2: + type: object + properties: + a: + type: string + enum: *A2 + c3: + type: object + properties: + a: + type: string + enum: *A3 + c4: + type: object + properties: + a: + type: string + enum: *A4 + c5: + type: object + properties: + a: + type: string + enum: *A5 + c6: + type: object + properties: + a: + type: string + enum: *A6 + c7: + type: object + properties: + a: + type: string + enum: *A7 + c8: + type: object + properties: + a: + type: string + enum: *A8 + c9: + type: object + properties: + a: + type: string + enum: *A9 + c10: + type: object + properties: + a: + type: string + enum: *A10 + c11: + type: object + properties: + a: + type: string + enum: *A11 + c12: + type: object + properties: + a: + type: string + enum: *A12 + c13: + type: object + properties: + a: + type: string + enum: *A13 + c14: + type: object + properties: + a: + type: string + enum: *A14 + c15: + type: object + properties: + a: + type: string + enum: *A15 + c16: + type: object + properties: + a: + type: string + enum: *A16 + c17: + type: object + properties: + a: + type: string + enum: *A17 + c18: + type: object + properties: + a: + type: string + enum: *A18 + c19: + type: object + properties: + a: + type: string + enum: *A19 + c20: + type: object + properties: + a: + type: string + enum: *A20 + c21: + type: object + properties: + a: + type: string + enum: *A21 + c22: + type: object + properties: + a: + type: string + enum: *A22 + c23: + type: object + properties: + a: + type: string + enum: *A23 + c24: + type: object + properties: + a: + type: string + enum: *A24 + c25: + type: object + properties: + a: + type: string + enum: *A25 + c26: + type: object + properties: + a: + type: string + enum: *A26 + c27: + type: object + properties: + a: + type: string + enum: *A27 + c28: + type: object + properties: + a: + type: string + enum: *A28 + c29: + type: object + properties: + a: + type: string + enum: *A29 + c30: + type: object + properties: + a: + type: string + enum: *A30 + c31: + type: object + properties: + a: + type: string + enum: *A31 + c32: + type: object + properties: + a: + type: string + enum: *A32 + c33: + type: object + properties: + a: + type: string + enum: *A33 + c34: + type: object + properties: + a: + type: string + enum: *A34 + c35: + type: object + properties: + a: + type: string + enum: *A35 + c36: + type: object + properties: + a: + type: string + enum: *A36 + c37: + type: object + properties: + a: + type: string + enum: *A37 + c38: + type: object + properties: + a: + type: string + enum: *A38 + c39: + type: object + properties: + a: + type: string + enum: *A39 + c40: + type: object + properties: + a: + type: string + enum: *A40 + c41: + type: object + properties: + a: + type: string + enum: *A41 + c42: + type: object + properties: + a: + type: string + enum: *A42 + c43: + type: object + properties: + a: + type: string + enum: *A43 + c44: + type: object + properties: + a: + type: string + enum: *A44 + c45: + type: object + properties: + a: + type: string + enum: *A45 + c46: + type: object + properties: + a: + type: string + enum: *A46 + c47: + type: object + properties: + a: + type: string + enum: *A47 + c48: + type: object + properties: + a: + type: string + enum: *A48 + c49: + type: object + properties: + a: + type: string + enum: *A49 + c50: + type: object + properties: + a: + type: string + enum: *A50 + c51: + type: object + properties: + a: + type: string + enum: *A51 + c52: + type: object + properties: + a: + type: string + enum: *A52 + c53: + type: object + properties: + a: + type: string + enum: *A53 + c54: + type: object + properties: + a: + type: string + enum: *A54 + c55: + type: object + properties: + a: + type: string + enum: *A55 + c56: + type: object + properties: + a: + type: string + enum: *A56 + c57: + type: object + properties: + a: + type: string + enum: *A57 + c58: + type: object + properties: + a: + type: string + enum: *A58 + c59: + type: object + properties: + a: + type: string + enum: *A59 + c60: + type: object + properties: + a: + type: string + enum: *A60 + c61: + type: object + properties: + a: + type: string + enum: *A61 + c62: + type: object + properties: + a: + type: string + enum: *A62 + c63: + type: object + properties: + a: + type: string + enum: *A63 + c64: + type: object + properties: + a: + type: string + enum: *A64 + c65: + type: object + properties: + a: + type: string + enum: *A65 + c66: + type: object + properties: + a: + type: string + enum: *A66 + c67: + type: object + properties: + a: + type: string + enum: *A67 + c68: + type: object + properties: + a: + type: string + enum: *A68 + c69: + type: object + properties: + a: + type: string + enum: *A69 + c70: + type: object + properties: + a: + type: string + enum: *A70 + c71: + type: object + properties: + a: + type: string + enum: *A71 + c72: + type: object + properties: + a: + type: string + enum: *A72 + c73: + type: object + properties: + a: + type: string + enum: *A73 + c74: + type: object + properties: + a: + type: string + enum: *A74 + c75: + type: object + properties: + a: + type: string + enum: *A75 + c76: + type: object + properties: + a: + type: string + enum: *A76 + c77: + type: object + properties: + a: + type: string + enum: *A77 + c78: + type: object + properties: + a: + type: string + enum: *A78 + c79: + type: object + properties: + a: + type: string + enum: *A79 + c80: + type: object + properties: + a: + type: string + enum: *A80 + c81: + type: object + properties: + a: + type: string + enum: *A81 + c82: + type: object + properties: + a: + type: string + enum: *A82 + c83: + type: object + properties: + a: + type: string + enum: *A83 + c84: + type: object + properties: + a: + type: string + enum: *A84 + c85: + type: object + properties: + a: + type: string + enum: *A85 + c86: + type: object + properties: + a: + type: string + enum: *A86 + c87: + type: object + properties: + a: + type: string + enum: *A87 + c88: + type: object + properties: + a: + type: string + enum: *A88 + c89: + type: object + properties: + a: + type: string + enum: *A89 + c90: + type: object + properties: + a: + type: string + enum: *A90 + c91: + type: object + properties: + a: + type: string + enum: *A91 + c92: + type: object + properties: + a: + type: string + enum: *A92 + c93: + type: object + properties: + a: + type: string + enum: *A93 + c94: + type: object + properties: + a: + type: string + enum: *A94 + c95: + type: object + properties: + a: + type: string + enum: *A95 + c96: + type: object + properties: + a: + type: string + enum: *A96 + c97: + type: object + properties: + a: + type: string + enum: *A97 + c98: + type: object + properties: + a: + type: string + enum: *A98 + c99: + type: object + properties: + a: + type: string + enum: *A99 + c100: + type: object + properties: + a: + type: string + enum: *A100 diff --git a/modules/swagger-parser-v3/build/resources/test/blankQueryParameter.yaml b/modules/swagger-parser-v3/build/resources/test/blankQueryParameter.yaml new file mode 100644 index 0000000000..b0b5cfb2cc --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/blankQueryParameter.yaml @@ -0,0 +1,14 @@ +openapi: 3.0.2 +info: + title: Example references + version: 1.0.0 +paths: + /foo: + get: + parameters: + - name: paramName + in: query + example: " " + responses: + '200': + description: success diff --git a/modules/swagger-parser-v3/build/resources/test/booleanAdditionalProperties.json b/modules/swagger-parser-v3/build/resources/test/booleanAdditionalProperties.json new file mode 100644 index 0000000000..76ff9e9048 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/booleanAdditionalProperties.json @@ -0,0 +1,71 @@ +{"openapi": "3.0.0", + "info": { + "version": "1.0.0", + "title": "Boolean `additionProperties` example" + }, + "paths": { + "/someResource": { + "get": { + "responses": { + "200": { + "description": "Fetching of some resource successful", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/someObject" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "someObject": { + "type": "object", + "required": [ + "innerObject" + ], + "additionalProperties": { + "type": "string" + }, + "properties": { + "innerObject": { + "type": "object", + "additionalProperties": false, + "properties": { + "stringProperty": { + "type": "string" + }, + "objectProperty": { + "type": "object", + "additionalProperties": false, + "properties": { + "firstPossibleProperty": { + "type": "integer" + }, + "secondPossibleProperty": { + "type": "string" + } + } + }, + "objectAdditionalProperties": { + "type": "object", + "properties": { + "integerProperty": { + "type": "integer" + } + }, + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/callbacks-issue/domain.yaml b/modules/swagger-parser-v3/build/resources/test/callbacks-issue/domain.yaml new file mode 100644 index 0000000000..4d6c85518c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/callbacks-issue/domain.yaml @@ -0,0 +1,34 @@ +# OpenAPI version identifier - required for OpenAPI 3.0 domains +openapi: 3.0.0 + +####################### +# Optional info section +####################### +info: + title: Common + description: Common Components for REST API's + version: '1.0.1' + +components: + + ######################### + # Common callback definitions + # See: https://swagger.io/docs/specification/callbacks/ + ######################### + callbacks: + #### Webhooks #### + WebhookVerificationEvent: + 'https://yourdomain.com/css/yourCallbackEndpoint': + post: + parameters: + - $ref: '#/components/parameters/x-api-key' + requestBody: + required: true + description: description + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookVerification' + responses: + '202': + description: Your server returns this code if it accepts the message it was sent \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/callbacks-issue/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/callbacks-issue/swagger.yaml new file mode 100644 index 0000000000..152fef4e8c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/callbacks-issue/swagger.yaml @@ -0,0 +1,22 @@ +openapi: 3.0.2 +servers: + - description: Dev server + url: 'https://api.net' +info: + title: API + version: 1.0.0 + description: +tags: + - name: Webhook API + description: Endpoints related to the subscription and management of Webhooks +paths: + '/webhook': + post: + tags: + - Webhook API + summary: Subscribe to events for a Market Participant + description: description + operationId: subscribe-webhook + callbacks: + WebhookVerificationEvent: + $ref: 'domain.yaml#/components/callbacks/WebhookVerificationEvent' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/cant-read-deep-properties.yaml b/modules/swagger-parser-v3/build/resources/test/cant-read-deep-properties.yaml new file mode 100644 index 0000000000..9221a92a8f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/cant-read-deep-properties.yaml @@ -0,0 +1,78 @@ +openapi: 3.0.0 +servers: + # Added by API Auto Mocking Plugin + - description: SwaggerHub API Auto Mocking + url: http://host.docker.internal:8081/p.siudy2/awfsdgrfhtgh/1.0 + +info: + version: '1.0' + title: issue + description: TypeProject/properties/id is not resolved + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +tags: + - name: issue + description: issue +paths: + /projects: + get: + tags: + - project + description: list projects + responses: + '200': + description: results + content: + application/json: + schema: + type: object + properties: + projects: + type: array + items: + $ref: '#/components/schemas/Project' + '400': + description: Invalid + '401': + description: You are not authorized + '500': + description: Internal Server Error +components: + schemas: + ProjectId: + type: integer + enum: [1, 2] + description: one of project type ids + Project: + type: object + required: + - user + - project_type + properties: + user: + $ref: '#/components/schemas/User' + project_type: + $ref: '#/components/schemas/TypeProject/properties/id' + User: + type: object + required: + - full_name + - id + properties: + full_name: + type: string + example: ful lname + id: + type: string + format: uuid + TypeProject: + type: object + properties: + id: + type: integer + enum: [1, 2] + description: one of project type ids + name: + type: string + enum: ['project1', 'project2'] \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/classpathTest.txt b/modules/swagger-parser-v3/build/resources/test/classpathTest.txt new file mode 100644 index 0000000000..f8fcf7e972 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/classpathTest.txt @@ -0,0 +1 @@ +How now brown cow? \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/codegen-issue-8601.yaml b/modules/swagger-parser-v3/build/resources/test/codegen-issue-8601.yaml new file mode 100644 index 0000000000..0627373a34 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/codegen-issue-8601.yaml @@ -0,0 +1,85 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Test +paths: + /test: + post: + operationId: test + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: false + style: pipeDelimited + schema: + anyOf: + - type: string + - type: integer + requestBody: + required: true + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/Test1' + - type: object + responses: + default: + description: response... + get: + requestBody: + required: true + content: + application/json: + schema: + oneOf: + - type: object + properties: + title: + type: string + authors: + type: array + items: + type: string + isbn: + type: string + required: + - title + example: + title: The Hitchhiker's Guide to the Galaxy + authors: + - Douglas Adams + isbn: 0-330-25864-8 + - type: object + properties: + title: + type: string + directors: + type: array + items: + type: string + year: + type: integer + required: + - year + example: + title: Blade Runner + directors: + - Ridley Scott + year: 1982 + responses: + '200': + description: An array containing strings and/or integers + content: + application/json: + schema: + anyOf: + - type: string + - type: integer +components: + schemas: + Test1: + type: object + Test2: + type: object \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/codegen-issue-9773/domain.yaml b/modules/swagger-parser-v3/build/resources/test/codegen-issue-9773/domain.yaml new file mode 100644 index 0000000000..dc38cf0800 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/codegen-issue-9773/domain.yaml @@ -0,0 +1,16 @@ +components: + requestBodies: + RequestBody1: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Foo' + + schemas: + Foo: + type: object + properties: + foo: + type: string + example: bar \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/codegen-issue-9773/openapi.yaml b/modules/swagger-parser-v3/build/resources/test/codegen-issue-9773/openapi.yaml new file mode 100644 index 0000000000..905e9c1e98 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/codegen-issue-9773/openapi.yaml @@ -0,0 +1,12 @@ +openapi: 3.0.2 +info: + title: 'Codegen test: requestBody with an external $ref' + version: 0.0.0 +paths: + /foo: + post: + requestBody: + $ref: './domain.yaml#/components/requestBodies/RequestBody1' + responses: + '200': + description: OK \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/codegen-remote-responses/Responses/1.0.0/domain.yaml b/modules/swagger-parser-v3/build/resources/test/codegen-remote-responses/Responses/1.0.0/domain.yaml new file mode 100644 index 0000000000..82c6f690a0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/codegen-remote-responses/Responses/1.0.0/domain.yaml @@ -0,0 +1,143 @@ +# OpenAPI version identifier - required for OpenAPI 3.0 domains +openapi: 3.0.0 + +####################### +# Optional info section +####################### +info: + title: Acme Components + description: Common components for Acme REST APIs + version: '1.0.0' + +components: + + #################### + # Common data models + #################### + schemas: + ErrorModel: + type: object + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string + + #################### + # Common parameters + #################### + parameters: + offsetParam: + name: offset + in: query + schema: + type: integer + minimum: 0 + description: The number of items to skip before returning the results + limitParam: + in: query + name: limit + schema: + type: integer + format: int32 + minimum: 1 + maximum: 100 + default: 20 + description: The number of items to return + + ####################### + # Common request bodies + ####################### + requestBodies: + NewItem: + description: A JSON object containing item data + required: true + content: + application/json: + schema: + type: object + + #################### + # Common responses + #################### + responses: + GeneralError: + description: An error occurred + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorModel' + headers: + X-RateLimit-Limit: + $ref: '#/components/headers/X-RateLimit-Limit' + X-RateLimit-Remaining: + $ref: '#/components/headers/X-RateLimit-Remaining' + + ######################### + # Common headers + # (except request headers - they are defined as parameters) + ######################### + headers: + X-RateLimit-Limit: + description: Request limit per hour + schema: + type: integer + example: 100 + X-RateLimit-Remaining: + description: Remaining requests for the hour + schema: + type: integer + example: 94 + + ####################### + # Common path items + ####################### + pathitems: + EntityOperations: + get: + summary: Get all items + description: This operation supports pagination + parameters: + - $ref: '#/components/parameters/offsetParam' + - $ref: '#/components/parameters/limitParam' + responses: + '200': + description: A list of items + default: + $ref: '#/components/responses/GeneralError' + post: + summary: Add a new item + requestBody: + $ref: '#/components/requestBodies/NewItem' + responses: + '201': + description: Created + + ###################################### + # Common examples of input/output data + ###################################### + examples: + tshirt: + summary: Sample T-shirt data + value: + # Example value starts here + id: 17 + name: T-shirt + description: 100% cotton shirt + categories: [clothes] + + ######################### + # Common link definitions + # See: https://swagger.io/docs/specification/links/ + ######################### + links: {} + + ######################### + # Common callback definitions + # See: https://swagger.io/docs/specification/callbacks/ + ######################### + callbacks: {} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/codegen-remote-responses/openapi.yaml b/modules/swagger-parser-v3/build/resources/test/codegen-remote-responses/openapi.yaml new file mode 100644 index 0000000000..7c82eb0ac7 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/codegen-remote-responses/openapi.yaml @@ -0,0 +1,687 @@ +openapi: 3.0.0 +info: + description: | + This is a sample Petstore server. You can find + out more about Swagger at + [http://swagger.io](http://swagger.io) or on + [irc.freenode.net, #swagger](http://swagger.io/irc/). + version: "1.0.0" + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +servers: + # Added by API Auto Mocking Plugin + - description: SwaggerHub API Auto Mocking + url: https://virtserver.swaggerhub.com/Aldennek/petstorelk/1.0.0 + - url: 'https://petstore.swagger.io/v2' +tags: + - name: pet + description: Everything about your Pets + externalDocs: + description: Find out more + url: 'http://swagger.io' + - name: store + description: Access to Petstore orders + - name: user + description: Operations about user + externalDocs: + description: Find out more about our store + url: 'http://swagger.io' +paths: + /pet: + post: + tags: + - pet + summary: Add a new pet to the store + operationId: addPet + responses: + '405': + description: Invalid input + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + $ref: '#/components/requestBodies/Pet' + put: + tags: + - pet + summary: Update an existing pet + operationId: updatePet + responses: + '400': + description: Invalid ID supplied + '404': + description: Pet not found + '405': + description: Validation exception + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + $ref: '#/components/requestBodies/Pet' + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + application/xml: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid status value + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + /pet/findByTags: + get: + tags: + - pet + summary: Finds Pets by tags + description: >- + Muliple tags can be provided with comma separated strings. Use\ \ tag1, + tag2, tag3 for testing. + operationId: findPetsByTags + parameters: + - name: tags + in: query + description: Tags to filter by + required: true + explode: true + schema: + type: array + items: + type: string + responses: + default: + $ref: './Responses/1.0.0/domain.yaml#/components/responses/GeneralError' + '200': + description: successful operation + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + application/xml: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid tag value + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + deprecated: false + '/pet/{petId}': + get: + tags: + - pet + summary: Find pet by ID + description: Returns a single pet + operationId: getPetById + parameters: + - name: petId + in: path + description: ID of pet to return + required: true + schema: + type: integer + format: int64 + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' + application/xml: + schema: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid ID supplied + '404': + description: Pet not found + security: + - api_key: [] + post: + tags: + - pet + summary: Updates a pet in the store with form data + operationId: updatePetWithForm + parameters: + - name: petId + in: path + description: ID of pet that needs to be updated + required: true + schema: + type: integer + format: int64 + responses: + '405': + description: Invalid input + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + description: Updated name of the pet + type: string + status: + description: Updated status of the pet + type: string + delete: + tags: + - pet + summary: Deletes a pet + operationId: deletePet + parameters: + - name: api_key + in: header + required: false + schema: + type: string + - name: petId + in: path + description: Pet id to delete + required: true + schema: + type: integer + format: int64 + responses: + '400': + description: Invalid ID supplied + '404': + description: Pet not found + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + '/pet/{petId}/uploadImage': + post: + tags: + - pet + summary: uploads an image + operationId: uploadFile + parameters: + - name: petId + in: path + description: ID of pet to update + required: true + schema: + type: integer + format: int64 + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/ApiResponse' + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + content: + application/octet-stream: + schema: + type: string + format: binary + /store/inventory: + get: + tags: + - store + summary: Returns pet inventories by status + description: Returns a map of status codes to quantities + operationId: getInventory + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + additionalProperties: + type: integer + format: int32 + security: + - api_key: [] + /store/order: + post: + tags: + - store + summary: Place an order for a pet + operationId: placeOrder + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/Order' + application/xml: + schema: + $ref: '#/components/schemas/Order' + '400': + description: Invalid Order + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Order' + description: order placed for purchasing the pet + required: true + '/store/order/{orderId}': + get: + tags: + - store + summary: Find purchase order by ID + description: >- + For valid response try integer IDs with value >= 1 and <= 10.\ \ Other + values will generated exceptions + operationId: getOrderById + parameters: + - name: orderId + in: path + description: ID of pet that needs to be fetched + required: true + schema: + type: integer + format: int64 + minimum: 1 + maximum: 10 + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/Order' + application/xml: + schema: + $ref: '#/components/schemas/Order' + '400': + description: Invalid ID supplied + '404': + description: Order not found + delete: + tags: + - store + summary: Delete purchase order by ID + description: >- + For valid response try integer IDs with positive integer value.\ \ + Negative or non-integer values will generate API errors + operationId: deleteOrder + parameters: + - name: orderId + in: path + description: ID of the order that needs to be deleted + required: true + schema: + type: integer + format: int64 + minimum: 1 + responses: + '400': + description: Invalid ID supplied + '404': + description: Order not found + /user: + post: + tags: + - user + summary: Create user + description: This can only be done by the logged in user. + operationId: createUser + responses: + default: + description: successful operation + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/User' + description: Created user object + required: true + /user/createWithArray: + post: + tags: + - user + summary: Creates list of users with given input array + operationId: createUsersWithArrayInput + responses: + default: + description: successful operation + requestBody: + $ref: '#/components/requestBodies/UserArray' + /user/createWithList: + post: + tags: + - user + summary: Creates list of users with given input array + operationId: createUsersWithListInput + responses: + default: + description: successful operation + requestBody: + $ref: '#/components/requestBodies/UserArray' + /user/login: + get: + tags: + - user + summary: Logs user into the system + operationId: loginUser + parameters: + - name: username + in: query + description: The user name for login + required: true + schema: + type: string + - name: password + in: query + description: The password for login in clear text + required: true + schema: + type: string + responses: + '200': + description: successful operation + headers: + X-Rate-Limit: + description: calls per hour allowed by the user + schema: + type: integer + format: int32 + X-Expires-After: + description: date in UTC when token expires + schema: + type: string + format: date-time + content: + application/json: + schema: + type: string + application/xml: + schema: + type: string + '400': + description: Invalid username/password supplied + /user/logout: + get: + tags: + - user + summary: Logs out current logged in user session + operationId: logoutUser + responses: + default: + description: successful operation + '/user/{username}': + get: + tags: + - user + summary: Get user by user name + operationId: getUserByName + parameters: + - name: username + in: path + description: The name that needs to be fetched. Use user1 for testing. + required: true + schema: + type: string + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/User' + application/xml: + schema: + $ref: '#/components/schemas/User' + '400': + description: Invalid username supplied + '404': + description: User not found + put: + tags: + - user + summary: Updated user + description: This can only be done by the logged in user. + operationId: updateUser + parameters: + - name: username + in: path + description: name that need to be updated + required: true + schema: + type: string + responses: + '400': + description: Invalid user supplied + '404': + description: User not found + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/User' + description: Updated user object + required: true + delete: + tags: + - user + summary: Delete user + description: This can only be done by the logged in user. + operationId: deleteUser + parameters: + - name: username + in: path + description: The name that needs to be deleted + required: true + schema: + type: string + responses: + '400': + description: Invalid username supplied + '404': + description: User not found +externalDocs: + description: Find out more about Swagger + url: 'http://swagger.io' +components: + schemas: + Order: + type: object + properties: + id: + type: integer + format: int64 + petId: + type: integer + format: int64 + quantity: + type: integer + format: int32 + shipDate: + type: string + format: date-time + status: + type: string + description: Order Status + enum: + - placed + - approved + - delivered + complete: + type: boolean + default: false + xml: + name: Order + Category: + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + xml: + name: Category + User: + type: object + properties: + id: + type: integer + format: int64 + username: + type: string + firstName: + type: string + lastName: + type: string + email: + type: string + password: + type: string + phone: + type: string + userStatus: + type: integer + format: int32 + description: User Status + xml: + name: User + Tag: + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + xml: + name: Tag + Pet: + type: object + required: + - name + - photoUrls + properties: + id: + type: integer + format: int64 + category: + $ref: '#/components/schemas/Category' + name: + type: string + example: doggie + photoUrls: + type: array + xml: + name: photoUrl + wrapped: true + items: + type: string + tags: + type: array + xml: + name: tag + wrapped: true + items: + $ref: '#/components/schemas/Tag' + status: + type: string + description: pet status in the store + enum: + - available + - pending + - sold + xml: + name: Pet + ApiResponse: + type: object + properties: + code: + type: integer + format: int32 + type: + type: string + message: + type: string + requestBodies: + Pet: + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' + application/xml: + schema: + $ref: '#/components/schemas/Pet' + description: Pet object that needs to be added to the store + required: true + UserArray: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/User' + description: List of user object + required: true + securitySchemes: + petstore_auth: + type: oauth2 + flows: + implicit: + authorizationUrl: 'http://petstore.swagger.io/oauth/dialog' + scopes: + 'write:pets': modify pets in your account + 'read:pets': read your pets + api_key: + type: apiKey + name: api_key + in: header \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/composed.yaml b/modules/swagger-parser-v3/build/resources/test/composed.yaml new file mode 100644 index 0000000000..64dabb2f0b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/composed.yaml @@ -0,0 +1,70 @@ +openapi: 3.0.1 +servers: +- url: http://petstore.swagger.io/api + +info: + description: 'This is a sample server Petstore' + version: 1.0.0 + title: testing source file + termsOfService: http://swagger.io/terms/ + +paths: + "/withInvalidComposedModel": + post: + operationId: withInvalidComposedModel + x-swagger-router-controller: TestController + requestBody: + content: + "application/json": + schema: + "$ref": "#/components/schemas/ExtendedAddress" + required: false + responses: + '200': + description: success! + "/withInvalidComposedModelArray": + post: + operationId: withInvalidComposedModelArray + x-swagger-router-controller: TestController + requestBody: + content: + "application/json": + schema: + type: array + items: + $ref: '#/components/schemas/ExtendedAddress' + required: false + responses: + '200': + description: success! +components: + schemas: + ExtendedAddress: + type: object + x-swagger-router-model: io.swagger.oas.test.models.ExtendedAddress + allOf: + - $ref: '#/components/schemas/Address' + - type: object + required: + - gps + properties: + gps: + type: string + Address: + required: + - street + type: object + x-swagger-router-model: io.swagger.oas.test.models.Address + properties: + street: + type: string + example: 12345 El Monte Road + city: + type: string + example: Los Altos Hills + state: + type: string + example: CA + zip: + type: string + example: '94022' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/composedSchemaRef.yaml b/modules/swagger-parser-v3/build/resources/test/composedSchemaRef.yaml new file mode 100644 index 0000000000..1184b5b56b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/composedSchemaRef.yaml @@ -0,0 +1,43 @@ +openapi: 3.0.0 +info: + version: 0.0.0 + title: oneOf and anyOf + +paths: + /oneOf: + get: + responses: + '200': + description: One of Cat or Dog + content: + application/json: + schema: + oneOf: + - $ref: './refComponents.yaml#/components/schemas/Cat' + - $ref: './refComponents.yaml#/components/schemas/Dog' + - $ref: './refComponents.yaml#/components/schemas/Lion' + /anyOf: + get: + responses: + '200': + description: Any of Cat or Dog + content: + application/json: + schema: + anyOf: + - $ref: './refComponents.yaml#/components/schemas/Cat' + - $ref: './refComponents.yaml#/components/schemas/Dog' + - $ref: './refComponents.yaml#/components/schemas/Bear' + /path: + get: + responses: + '200': + description: Any of Cat or Dog + content: + application/json: + schema: + oneOf: + - $ref: './refComponents.yaml#/components/schemas/Cat' + - $ref: './refComponents.yaml#/components/schemas/Dog' + allOf: + - $ref: './refComponents.yaml#/components/schemas/Lion' diff --git a/modules/swagger-parser-v3/build/resources/test/definitions.yaml b/modules/swagger-parser-v3/build/resources/test/definitions.yaml new file mode 100644 index 0000000000..17085e1584 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/definitions.yaml @@ -0,0 +1,48 @@ + components: + schemas: + PrintInfo: + type: object + description: "Print info of the shipping info" + required: + - B + properties: + B: + type: boolean + AnotherObject: + type: object + description: "Some description" + required: + - C + properties: + C: + type: boolean + MoreInfo: + type: object + description: "Information about the shipping for a device" + allOf: + - $ref: "#/components/schemas/PrintInfo" + - type: object + required: + - A + properties: + A: + type: array + items: + $ref: "#/components/schemas/AnotherObject" + SomeEnum: + type: string + enum: + - lol1 + - lol2 + - lol3 + ShippingInfo: + type: object + description: "Information about the shipping for a device" + allOf: + - $ref: "#/components/schemas/PrintInfo" + - type: object + required: + - A + properties: + A: + $ref: "#/components/schemas/SomeEnum" \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/Cat.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/Cat.yaml new file mode 100644 index 0000000000..dba16a6399 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/Cat.yaml @@ -0,0 +1,8 @@ + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/Dog.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/Dog.yaml new file mode 100644 index 0000000000..32dd08179f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/Dog.yaml @@ -0,0 +1,8 @@ + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-external-mapping-3files.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-external-mapping-3files.yaml new file mode 100644 index 0000000000..1cf1003de0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-external-mapping-3files.yaml @@ -0,0 +1,54 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: 'parent-external-mapping.yaml#/components/schemas/Pet' + '400': + description: Invalid status value diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-external-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-external-mapping.yaml new file mode 100644 index 0000000000..701a3fca31 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-external-mapping.yaml @@ -0,0 +1,68 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid status value +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + mapping: + Cat: 'Cat.yaml' + Dog: 'Dog.yaml' diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-internal-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-internal-mapping.yaml new file mode 100644 index 0000000000..abdfa75254 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-internal-mapping.yaml @@ -0,0 +1,54 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: 'pet-internal-mapping.yaml#/components/schemas/Pet' + '400': + description: Invalid status value diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-no-mapping-oneof.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-no-mapping-oneof.yaml new file mode 100644 index 0000000000..a227f32240 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-no-mapping-oneof.yaml @@ -0,0 +1,54 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: 'pet-no-mapping-oneof.yaml#/components/schemas/Pet' + '400': + description: Invalid status value diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-no-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-no-mapping.yaml new file mode 100644 index 0000000000..17e11ef6ad --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-no-mapping.yaml @@ -0,0 +1,54 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: 'pet-no-mapping.yaml#/components/schemas/Pet' + '400': + description: Invalid status value diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-plain-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-plain-mapping.yaml new file mode 100644 index 0000000000..2ef24df9b0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/main-plain-mapping.yaml @@ -0,0 +1,54 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: 'pet-plain-mapping.yaml#/components/schemas/Pet' + '400': + description: Invalid status value diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/parent-external-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/parent-external-mapping.yaml new file mode 100644 index 0000000000..572289e028 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/parent-external-mapping.yaml @@ -0,0 +1,14 @@ +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + mapping: + Cat: 'Cat.yaml' + Dog: 'Dog.yaml' diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-internal-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-internal-mapping.yaml new file mode 100644 index 0000000000..ccd9f0e0bb --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-internal-mapping.yaml @@ -0,0 +1,30 @@ +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + mapping: + Cat: '#/components/schemas/Cat' + Dog: '#/components/schemas/Dog' + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml new file mode 100644 index 0000000000..098bf9af13 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml @@ -0,0 +1,30 @@ +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + oneOf: + - $ref: '#/components/schemas/Cat' + - $ref: '#/components/schemas/Dog' + discriminator: + propertyName: pet_type + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-no-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-no-mapping.yaml new file mode 100644 index 0000000000..9190e539ea --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-no-mapping.yaml @@ -0,0 +1,27 @@ +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-plain-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-plain-mapping.yaml new file mode 100644 index 0000000000..d20c66a4ea --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/pet-plain-mapping.yaml @@ -0,0 +1,30 @@ +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + mapping: + Cat: Cat + Dog: Dog + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-internal-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-internal-mapping.yaml new file mode 100644 index 0000000000..ea9097ddb6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-internal-mapping.yaml @@ -0,0 +1,84 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid status value +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + mapping: + Cat: '#/components/schemas/Cat' + Dog: '#/components/schemas/Dog' + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-no-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-no-mapping.yaml new file mode 100644 index 0000000000..014d7e9855 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-no-mapping.yaml @@ -0,0 +1,81 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid status value +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-plain-mapping.yaml b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-plain-mapping.yaml new file mode 100644 index 0000000000..d1a484c136 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/discriminator-mapping-resolution/single-file-plain-mapping.yaml @@ -0,0 +1,84 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This is a sample server Petstore server. You can find out more about + Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, + #swagger](http://swagger.io/irc/). For this sample, you can use the api key + `special-key` to test the authorization filters. + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +paths: + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + explode: true + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + properties: + pets: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid status value +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + discriminator: + propertyName: pet_type + mapping: + Cat: Cat + Dog: Dog + Cat: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Cat` + type: object + properties: + name: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Pet' + # all other properties specific to a `Dog` + type: object + properties: + bark: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/domain-issue-1335.yaml b/modules/swagger-parser-v3/build/resources/test/domain-issue-1335.yaml new file mode 100644 index 0000000000..fcb128e5fd --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/domain-issue-1335.yaml @@ -0,0 +1,15 @@ +components: + responses: + 200ok: + description: ok + content: + application/json: + schema: + type: string + examples: + ex1: + $ref: '#/components/examples/ex1' + + examples: + ex1: + value: hello \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/domain.yaml b/modules/swagger-parser-v3/build/resources/test/domain.yaml new file mode 100644 index 0000000000..1f45202d42 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/domain.yaml @@ -0,0 +1,15 @@ +openapi: 3.0.0 +info: + title: Parser Test + version: '1.0' +components: + schemas: + Parse: + $ref: '#/components/schemas/ParseEnum' + ParseEnum: + title: Parse It + description: Can it parse it? + type: string + enum: + - Yes + - No \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/duplicateHttpStatusCodes.json b/modules/swagger-parser-v3/build/resources/test/duplicateHttpStatusCodes.json new file mode 100644 index 0000000000..9da5d4b089 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/duplicateHttpStatusCodes.json @@ -0,0 +1,35 @@ +{ + "openapi": "3.0.1", + "servers": [ + { + "description": "An absolute path", + "url": "https://api.absolute.org/v2" + } + ], + "info": { + "description": "This is a sample server", + "version": "1.0.0", + "title": "title", + "license": { + "name": "Apache-2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + } + }, + "paths": { + "/whatever": { + "get": { + "summary": "Some operation", + "description": "Some operation", + "operationId": "doWhatever", + "responses": { + "200": { + "description": "OK" + }, + "200": { + "description": "duplicate HTTP status code" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/duplicateHttpStatusCodes.yaml b/modules/swagger-parser-v3/build/resources/test/duplicateHttpStatusCodes.yaml new file mode 100644 index 0000000000..d4d001f760 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/duplicateHttpStatusCodes.yaml @@ -0,0 +1,22 @@ +openapi: 3.0.1 +info: + title: title + description: This is a sample server + license: + name: Apache-2.0 + url: http://www.apache.org/licenses/LICENSE-2.0.html + version: 1.0.0 +servers: +- url: https://api.absolute.org/v2 + description: An absolute path +paths: + /whatever: + get: + summary: Some operation + description: Some operation + operationId: doWhatever + responses: + "200": + description: OK + "200": + description: duplicate HTTP status code \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/empty-oas.yaml b/modules/swagger-parser-v3/build/resources/test/empty-oas.yaml new file mode 100644 index 0000000000..5f7b01d203 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/empty-oas.yaml @@ -0,0 +1,6 @@ +openapi: 3.0.1 +info: + version: '1.0.0' + title: 'Empty spec' + description: 'A spec without any content' +paths: {} diff --git a/modules/swagger-parser-v3/build/resources/test/empty-strings.yaml b/modules/swagger-parser-v3/build/resources/test/empty-strings.yaml new file mode 100644 index 0000000000..015e88ea4e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/empty-strings.yaml @@ -0,0 +1,55 @@ +openapi: 3.0.0 +info: + title: '' + description: '' + version: 1.0.0 + license: + name: '' + contact: + name: '' + +externalDocs: + url: https://example.com + description: '' + +servers: + - url: https://example.com + description: '' + +tags: + - name: tag1 + description: '' + +paths: + /something: + summary: '' + description: '' + get: + summary: '' + description: '' + parameters: + - name: role + in: query + schema: + type: string + example: '' + description: '' + example: '' + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/Foo' + +components: + schemas: + Foo: + type: object + description: '' + properties: + foo: + type: string + description: '' + example: '' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/emptyQueryParameter.yaml b/modules/swagger-parser-v3/build/resources/test/emptyQueryParameter.yaml new file mode 100644 index 0000000000..4d9b06c86f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/emptyQueryParameter.yaml @@ -0,0 +1,14 @@ +openapi: 3.0.2 +info: + title: Example references + version: 1.0.0 +paths: + /foo: + get: + parameters: + - name: paramName + in: query + example: "" + responses: + '200': + description: success diff --git a/modules/swagger-parser-v3/build/resources/test/example0/api.json b/modules/swagger-parser-v3/build/resources/test/example0/api.json new file mode 100644 index 0000000000..64f6828297 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/example0/api.json @@ -0,0 +1,87 @@ +{ + "openapi": "3.0.0", + "info": { + "version": "v3.1.1", + "title": "Foo API", + "x-serviceName": "foo", + "description": "Blah blah blah", + "contact": { + "name": "Foo Team", + "email": "bar@foo.com" + } + }, + "servers": [ + { + "url": "http://localhost:8080" + } + ], + "paths": { + "/v4/foo": { + "get": { + "description": "Blah blah blah", + "operationId": "getFoos", + "tags": [ + "Foo" + ], + "parameters": [ + { + "name": "my_id", + "description": "Blah blah blah", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Combination" + } + } + } + }, + "default": { + "description": "Blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Combination": { + "$ref": "./models/combination.json" + }, + "Combinations": { + "$ref": "./models/combinations.json" + }, + "Raygun": { + "$ref": "./models/target/raygun.json" + }, + "Dingy": { + "$ref": "./models/target/dingy.json" + }, + "Headlight": { + "$ref": "./models/target/headlight.json" + }, + "Stamp": { + "$ref": "./models/target/stamp.json" + }, + "Stripe": { + "$ref": "./models/target/stripe.json" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/example0/config.json b/modules/swagger-parser-v3/build/resources/test/example0/config.json new file mode 100644 index 0000000000..6cc8d39a15 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/example0/config.json @@ -0,0 +1,3 @@ +{ + "artifactVersion": "1.1.1" +} diff --git a/modules/swagger-parser-v3/build/resources/test/example0/models/combination.json b/modules/swagger-parser-v3/build/resources/test/example0/models/combination.json new file mode 100644 index 0000000000..e151688eb4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/example0/models/combination.json @@ -0,0 +1,50 @@ +{ + "type": "object", + "description": "Blah blah blah", + "properties": { + "file": { + "$ref": "#/components/schemas/Link", + "description": "Blah blah blah", + "readOnly": true + }, + "fileVersion": { + "$ref": "#/components/schemas/Link", + "description": "Blah blah blah" + }, + "target": { + "oneOf": [ + { + "$ref": "#/components/schemas/Raygun" + }, + { + "$ref": "#/components/schemas/Dingy" + }, + { + "$ref": "#/components/schemas/Headlight" + } + ], + "description": "Blah blah blah" + }, + "createdBy": { + "$ref": "#/components/schemas/Link", + "description": "Blah blah blah", + "readOnly": true + } + }, + "components": { + "schemas": { + "Link": { + "$ref": "./common/link.json" + }, + "Raygun": { + "$ref": "./target/raygun.json" + }, + "Dingy": { + "$ref": "./target/dingy.json" + }, + "Headlight": { + "$ref": "./target/headlight.json" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/example0/models/combinations.json b/modules/swagger-parser-v3/build/resources/test/example0/models/combinations.json new file mode 100644 index 0000000000..923119cab2 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/example0/models/combinations.json @@ -0,0 +1,14 @@ +{ + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "./combination.json" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/example0/models/common/error.json b/modules/swagger-parser-v3/build/resources/test/example0/models/common/error.json new file mode 100644 index 0000000000..094a8dd3b0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/example0/models/common/error.json @@ -0,0 +1,4 @@ +{ + "type": "object", + "description": "Blah blah blah" +} diff --git a/modules/swagger-parser-v3/build/resources/test/example0/models/common/link.json b/modules/swagger-parser-v3/build/resources/test/example0/models/common/link.json new file mode 100644 index 0000000000..03daf80387 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/example0/models/common/link.json @@ -0,0 +1,12 @@ +{ + "properties": { + "type": { + "description": "Blah blah blah", + "type": "string" + }, + "id": { + "description": "Blah blah blah", + "type": "string" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/exampleFlag.yaml b/modules/swagger-parser-v3/build/resources/test/exampleFlag.yaml new file mode 100644 index 0000000000..f4eb4670fb --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/exampleFlag.yaml @@ -0,0 +1,25 @@ +openapi: 3.0.0 +info: + version: 1.0.1 + title: Products API definition for the 4th Platform +paths: + '/TestDTO': + get: + operationId: description +components: + schemas: + TestDTO: + type: object + example: null + TestString: + type: string + example: null + TestNumber: + type: integer + example: null + TestDTOMissing: + type: object + TestStringMissing: + type: string + TestNumberMissing: + type: integer diff --git a/modules/swagger-parser-v3/build/resources/test/extensions-responses.yaml b/modules/swagger-parser-v3/build/resources/test/extensions-responses.yaml new file mode 100644 index 0000000000..ee8cb5c219 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/extensions-responses.yaml @@ -0,0 +1,155 @@ +openapi: 3.0.0 +servers: [] +info: + version: '1.0' + title: Extensions everywhere! + x-apis-json: + image: >- + https://s3.amazonaws.com/kinlane-productions/api-evangelist/t-shirts/KL_InApiWeTrust-1000.png + humanURL: 'http://developer.apievangelist.com' + baseURL: 'http://api.apievangelist.com/definitions/Analysis' + tags: + - blog + - industry + - analysis + - new + - API + - Application Programming Interface + properties: + - type: X-signup + url: 'https://apievangelist.3scale.net/' + - type: X-blog + url: 'http://developer.apievangelist.com/blog/' + - type: X-apicommonsmanifest + url: >- + https://raw.githubusercontent.com/kinlane/analysis-api/master/api-commons-manifest.json + contact: + name: Developer + x-contact-extension: Support not available on weekends + license: + name: Apache 2.0 + x-notes: hello +externalDocs: + description: Learn more about this API + url: 'http://example.com/api-docs' + x-docs-extension: something something +tags: + - name: pets + x-tag-extension: fooooo + externalDocs: + description: Learn more about pet operations + url: 'http://example.com/api-docs' + x-tag-docs-extension: Yeah +x-definitions: + DayOfWeek: + type: integer + format: int32 + minimum: 0 + maximum: 6 +paths: + /post: + post: + responses: + '200': + description: OK + requestBody: + content: + application/json: + schema: + type: object + properties: + status: + type: string + required: + - status + application/xml: + schema: + type: object + properties: + status: + type: string + required: + - status + required: true + x-paths-extension: value + /something: + x-path-item-extension: true + get: + x-version: 1.1 + parameters: + - in: query + name: ids + schema: + type: array + items: + type: integer + x-example: 2 + externalDocs: + description: Learn more about this operation + url: 'http://example.com/api-docs' + x-operation-docs-extension: foo bar + responses: + '200': + description: OK + x-response-extension: OK?! + headers: + X-Rate-Limit: + x-example: 200 + schema: + type: integer + x-responses-extension: hello +security: + - BasicAuth: [] + - APIKeyHeader: [] + APIKeyQueryParam: [] + - OAuth2Implicit: + - 'read:pets' + - 'write:pets' +components: + securitySchemes: + BasicAuth: + type: http + description: Basic authentication using login and password + scheme: basic + APIKeyHeader: + type: apiKey + in: header + name: X-API-Key + APIKeyQueryParam: + type: apiKey + in: query + name: api_key + OAuth2Implicit: + type: oauth2 + x-auth-extension: hello + flows: + implicit: + authorizationUrl: 'http://swagger.io/api/oauth/dialog' + scopes: + 'write:pets': modify pets in your account + 'read:pets': read your pets + x-scope-extension: hello + schemas: + String: + type: string + nullable: true + ArrayOfInt: + type: array + items: + type: integer + nullable: true + nullable: true + User: + type: object + xml: + name: USER + x-xml-extension: something + Dictionary: + type: object + additionalProperties: + type: integer + x-extension: Foo bar + externalDocs: + description: Learn more about dictionaries + url: 'http://api.example.com/docs' + x-extension: Yeah \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/file-reference-to-recursive-defs/a.yaml b/modules/swagger-parser-v3/build/resources/test/file-reference-to-recursive-defs/a.yaml new file mode 100644 index 0000000000..c62898ac26 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/file-reference-to-recursive-defs/a.yaml @@ -0,0 +1,17 @@ +--- +openapi: "3.0.0" +info: + title: test + version: '0.0.0' +paths: {} +components: + schemas: + y: + type: object + properties: + name: + type: string + children: + type: array + items: + $ref: "#/components/schemas/y" diff --git a/modules/swagger-parser-v3/build/resources/test/file-reference-to-recursive-defs/b.yaml b/modules/swagger-parser-v3/build/resources/test/file-reference-to-recursive-defs/b.yaml new file mode 100644 index 0000000000..b74d30e927 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/file-reference-to-recursive-defs/b.yaml @@ -0,0 +1,19 @@ +--- +openapi: "3.0.0" +info: + title: test + version: '0.0.0' +paths: {} +components: + schemas: + x: + $ref: "./a.yaml#/components/schemas/y" + v: + type: object + properties: + name: + type: string + children: + type: array + items: + $ref: "#/components/schemas/v" diff --git a/modules/swagger-parser-v3/build/resources/test/file-reference-with-vendor-ext/a.yaml b/modules/swagger-parser-v3/build/resources/test/file-reference-with-vendor-ext/a.yaml new file mode 100644 index 0000000000..5897d2ee83 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/file-reference-with-vendor-ext/a.yaml @@ -0,0 +1,13 @@ +--- +openapi: "3.0.0" +info: + title: test + version: '0.0.0' +paths: {} +components: + schemas: + y: + type: object + x-foo: + bar: + baz diff --git a/modules/swagger-parser-v3/build/resources/test/file-reference-with-vendor-ext/b.yaml b/modules/swagger-parser-v3/build/resources/test/file-reference-with-vendor-ext/b.yaml new file mode 100644 index 0000000000..c2fbffd8eb --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/file-reference-with-vendor-ext/b.yaml @@ -0,0 +1,15 @@ +--- +openapi: "3.0.0" +info: + title: test + version: '0.0.0' +paths: {} +components: + schemas: + x: + $ref: "./a.yaml#/components/schemas/y" + z: + type: object + x-foo: + bar: + baz diff --git a/modules/swagger-parser-v3/build/resources/test/flatten.json b/modules/swagger-parser-v3/build/resources/test/flatten.json new file mode 100644 index 0000000000..94c4bb195d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/flatten.json @@ -0,0 +1,104 @@ +{ + "openapi" : "3.0.1", + "paths" : { + "/employees" : { + "get" : { + "description" : "Obtain information about employees from HR database", + "parameters" : [ { + "name" : "bodylimit", + "in" : "query", + "schema" : { + "type" : "integer", + "minimum" : 10, + "maximum" : 20, + "example" : 8 + } + }, { + "name" : "pagelimit", + "in" : "query", + "schema" : { + "type" : "integer", + "minimum" : 1, + "maximum" : 5, + "example" : 2 + } + } ], + "responses" : { + "200" : { + "description" : "successully returned number of employees", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "properties" : { + "id" : { + "type" : "integer", + "example" : 4 + }, + "employee name" : { + "type" : "string", + "example" : "vijay" + }, + "employee title" : { + "type" : "string", + "example" : "QA" + } + } + } + } + } + } + } + } + } + } + }, + "components" : { + "schemas" : { + "ReturnInformation": { + "type": "object", + "properties": { + "manufacturer_signin_credentials": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "required": [ + "login", + "password" + ] + } + } + }, + "User" : { + "required" : [ "address" ], + "properties" : { + "name" : { + "type" : "string" + }, + "address" : { + "type" : "object", + "properties" : { + "street" : { + "type" : "string" + }, + "city" : { + "type" : "string" + } + }, + "description" : "description", + "readOnly" : false, + "default" : "default" + } + }, + "description" : "a common user" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/flatten31.json b/modules/swagger-parser-v3/build/resources/test/flatten31.json new file mode 100644 index 0000000000..f5699d0c71 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/flatten31.json @@ -0,0 +1,104 @@ +{ + "openapi" : "3.1.0", + "paths" : { + "/employees" : { + "get" : { + "description" : "Obtain information about employees from HR database", + "parameters" : [ { + "name" : "bodylimit", + "in" : "query", + "schema" : { + "type" : "integer", + "minimum" : 10, + "maximum" : 20, + "example" : 8 + } + }, { + "name" : "pagelimit", + "in" : "query", + "schema" : { + "type" : "integer", + "minimum" : 1, + "maximum" : 5, + "example" : 2 + } + } ], + "responses" : { + "200" : { + "description" : "successully returned number of employees", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "properties" : { + "id" : { + "type" : "integer", + "example" : 4 + }, + "employee name" : { + "type" : "string", + "example" : "vijay" + }, + "employee title" : { + "type" : "string", + "example" : "QA" + } + } + } + } + } + } + } + } + } + } + }, + "components" : { + "schemas" : { + "ReturnInformation": { + "type": "object", + "properties": { + "manufacturer_signin_credentials": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "required": [ + "login", + "password" + ] + } + } + }, + "User" : { + "required" : [ "address" ], + "properties" : { + "name" : { + "type" : "string" + }, + "address" : { + "type" : "object", + "properties" : { + "street" : { + "type" : "string" + }, + "city" : { + "type" : "string" + } + }, + "description" : "description", + "readOnly" : false, + "default" : "default" + } + }, + "description" : "a common user" + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/flattenArrayItems.yaml b/modules/swagger-parser-v3/build/resources/test/flattenArrayItems.yaml new file mode 100644 index 0000000000..5063fa5bdf --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/flattenArrayItems.yaml @@ -0,0 +1,103 @@ +openapi: 3.0.2 +info: + title: test - OAS3 + version: 1.0.0 +paths: + "/parameters": + get: + description: ... + parameters: + - name: bodylimit + in: query + schema: + type: array + items: + anyOf: + - "$ref": "#/components/schemas/Macaw1" + - "$ref": "#/components/schemas/Parakeet1" + - name: pagelimit + in: query + schema: + oneOf: + - "$ref": "#/components/schemas/Macaw2" + - "$ref": "#/components/schemas/Parakeet2" + /responses: + get: + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: array + items: + anyOf: + - "$ref": "#/components/schemas/Macaw" + - "$ref": "#/components/schemas/Parakeet" + '400': + description: successful operation + content: + application/json: + schema: + anyOf: + - "$ref": "#/components/schemas/Macaw3" + - "$ref": "#/components/schemas/Parakeet3" + '404': + description: it works! + content: + application/json: + schema: + additionalProperties: + oneOf: + - "$ref": "#/components/schemas/Macaw4" + - "$ref": "#/components/schemas/Parakeet4" + '500': + description: it works! + content: + application/json: + schema: + additionalProperties: + type: array + items: + anyOf: + - "$ref": "#/components/schemas/Macaw5" + - "$ref": "#/components/schemas/Parakeet5" + /requestBodies: + post: + requestBody: + content: + "application/json": + schema: + type: object + allOf: + - $ref: '#/components/schemas/Address' + - type: object + required: + - gps + properties: + gps: + type: string + "application/xml": + schema: + type: array + items: + allOf: + - $ref: '#/components/schemas/Address2' + - type: object + required: + - gps2 + properties: + gps2: + type: string +components: + schemas: + ArrayTest: + type: array + items: + oneOf: + - $ref: "#/components/schemas/Foo" + - type: object + properties: + foo: + type: string + diff --git a/modules/swagger-parser-v3/build/resources/test/flattenComposedSchemaComplete.json b/modules/swagger-parser-v3/build/resources/test/flattenComposedSchemaComplete.json new file mode 100644 index 0000000000..deddab71a3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/flattenComposedSchemaComplete.json @@ -0,0 +1,115 @@ +{ + "openapi": "3.0.2", + "info": { + "title": "test", + "version": "1.0.0" + }, + "paths": { + "/validation": { + "post": { + "tags": [ + "mytag" + ], + "summary": "summary", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/mtg_Message" + } + } + } + }, + "responses": { + "200": { + "description": "desc", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/mtg_Message" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "mtg_Message": { + "type": "object" + }, + "val_MemberProducts": { + "additionalProperties": false, + "description": "val_MemberProducts desc", + "properties": { + "val_product": { + "items": { + "type": "object", + "properties": { + "val_unique_reference1": { + "type": "string" + } + } + }, + "maxItems": 4, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "val_product" + ], + "type": "object" + }, + "val_Members": { + "additionalProperties": false, + "description": "valmembers desc", + "properties": { + "val_member": { + "description": "valmember desc", + "items": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/val_MemberChoice1" + }, + { + "$ref": "#/components/schemas/val_MemberChoice2" + } + ] + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "val_member" + ], + "type": "object" + }, + "val_MemberChoice1": { + "additionalProperties": false, + "description": "val_MemberChoice1 desc", + "properties": { + "val_unique_reference1": { + "type": "string" + } + }, + "type": "object" + }, + "val_MemberChoice2": { + "additionalProperties": false, + "description": "val_MemberChoice2 desc", + "properties": { + "val_unique_reference2": { + "type": "string" + } + }, + "type": "object" + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/int64example.yaml b/modules/swagger-parser-v3/build/resources/test/int64example.yaml new file mode 100644 index 0000000000..783e140251 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/int64example.yaml @@ -0,0 +1,21 @@ +openapi: 3.0.0 +info: + version: 0.0.0 + title: int64 mocking test +paths: + /foo: + get: + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + properties: + date: + type: integer + format: int64 + example: 1516042231144 + required: + - date diff --git a/modules/swagger-parser-v3/build/resources/test/integerDefault.yaml b/modules/swagger-parser-v3/build/resources/test/integerDefault.yaml new file mode 100644 index 0000000000..584cb511b9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/integerDefault.yaml @@ -0,0 +1,771 @@ +--- +openapi: 3.0 +info: + title: Test Service + description: description + termsOfService: terms + contact: + name: API Team + url: http://swagger.io + email: apiteam@swagger.io + license: + name: MIT + url: http://opensource.org/licenses/MIT + version: 0.0.0 +basePath: /api +paths: + "/producesTest": + get: + parameters: [] + responses: + '200': + description: it works + content: + application/json: + schema: + type: object + properties: + name: + type: string + "/fileUpload": + post: + x-swagger-router-controller: TestController + operationId: uploadFile + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + theFile: + type: string + format: binary + stringMetadata: + type: string + intMetadata: + type: integer + responses: + '200': + description: the stringMetadata passed in + content: + "*/*": + schema: + type: string + "/primitiveBody/inline": + post: + operationId: inlineRequiredBody + requestBody: + content: + "*/*": + schema: + type: object + properties: + name: + type: string + required: true + responses: + '200': + description: ok! + "/primitiveBody/string": + post: + operationId: stringBody + requestBody: + content: + "*/*": + schema: + type: string + required: false + responses: + '200': + description: ok! + "/primitiveBody/integer": + post: + operationId: integerBody + requestBody: + content: + "*/*": + schema: + type: integer + format: int32 + required: false + responses: + '200': + description: ok! + "/primitiveBody/binary": + post: + operationId: binaryBody + requestBody: + content: + application/octet-stream: + schema: + type: string + + required: false + responses: + '200': + description: ok! + content: + application/octet-stream: + schema: + type: string + + "/hidden": + get: + responses: + default: + description: ok + "/arrayInputTest": + get: + operationId: arrayInputTest + parameters: + - name: users + in: query + required: true + schema: + type: array + items: + type: string + responses: + '200': + description: success! + "/formTest": + post: + operationId: formTest + requestBody: + content: + x-www-form-urlencoded: + schema: + properties: + user: + type: string + responses: + '200': + description: success! + "/mockResponses": + get: + parameters: + - name: user + in: query + required: true + schema: + type: string + responses: + '200': + description: success! + "/mockResponses/primitiveFloatResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: number + + "/mockResponses/primitiveDoubleResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: number + + "/mockResponses/primitiveStringResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: string + "/mockResponses/primitiveStringResponseWithExample": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: string + "/mockResponses/responseWithExamples": + get: + responses: + '200': + description: success! + "/mockResponses/primitiveDateResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: string + format: date + "/mockResponses/primitiveDateTimeResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: string + format: date-time + "/mockResponses/primitiveBigDecimalResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: number + "/mockResponses/primitiveEmailResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: string + format: email + "/mockResponses/primitiveUUIDResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: string + format: uuid + "/mockResponses/primitiveMapResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: object + additionalProperties: + type: string + "/mockResponses/complexResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + "$ref": "#/components/schemas/Address" + "/mockResponses/complexResponseWithExample": + get: + responses: + '200': + description: success! + content: + application/json: + schema: + "$ref": "#/components/schemas/User" + "/mockResponses/complexArrayResponse": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: array + "/mockResponses/complexArrayResponseWithExample": + get: + parameters: + - name: user + in: query + schema: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + type: array + "/issue-125": + get: + responses: + '200': + description: int16 + content: + "*/*": + schema: + type: integer + + "/issue-128": + get: + responses: + '303': + description: issue 128 + content: + "*/*": + schema: + type: string + format: url + "/issue-130": + get: + responses: + '200': + description: issue 130 + content: + "*/*": + schema: + type: object + properties: + aStringArray: + type: array + anIntegerArray: + type: array + description: an object with array properties + "/issue-132": + get: + responses: + '303': + description: issue 132 + "/issue-132.2": + get: + responses: + '303': + description: issue 133, alternate example + "/form": + post: + operationId: postFormData + requestBody: + content: {} + responses: + '200': + description: ok + "/goodbye": + get: + operationId: goodbye + parameters: + - name: happy + in: query + required: true + schema: + type: array + items: + type: string + responses: + '200': + description: success! + content: + application/json: + schema: + "$ref": "#/components/schemas/User" + "/hello": + get: + operationId: testMe + parameters: + - name: limit + in: query + required: true + schema: + minimum: 0 + type: integer + format: int32 + - name: min + in: query + required: true + schema: + minimum: 10 + type: integer + format: int32 + responses: + '200': + description: fun! + content: + application/json: + schema: + type: string + "/withModelArray/{id}": + post: + operationId: withModelArray + parameters: + - name: id + in: path + required: true + schema: + type: string + requestBody: + content: + "*/*": + schema: + type: array + required: true + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/Animal" + "/withModel/{id}": + get: + operationId: withModel + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/Animal" + post: + operationId: withModel + parameters: + - name: id + in: path + required: true + schema: + type: string + requestBody: + content: + "*/*": + schema: + "$ref": "#/components/schemas/Address" + required: false + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/Address" + "/withInvalidComposedModel": + post: + operationId: withInvalidComposedModel + requestBody: + content: + "*/*": + schema: + "$ref": "#/components/schemas/ExtendedAddress" + required: false + responses: + '200': + description: success! + "/withValidComposedModel": + post: + operationId: withValidComposedModel + requestBody: + content: + "*/*": + schema: + "$ref": "#/components/schemas/ExtendedAddress" + required: false + responses: + '200': + description: success! + "/withInvalidComposedModelArray": + post: + operationId: withInvalidComposedModelArray + requestBody: + content: + "*/*": + schema: + type: array + required: false + responses: + '200': + description: success! + "/unmappedWithModel/{id}": + post: + operationId: unmappedWithModelInput + parameters: + - name: id + in: path + required: true + schema: + type: string + requestBody: + content: + "*/*": + schema: + "$ref": "#/components/schemas/Address" + required: false + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/Address" + "/mappedWithDefinedModel/{id}": + post: + operationId: mappedWithDefinedModel + parameters: + - name: id + in: path + required: true + schema: + type: string + requestBody: + content: + "*/*": + schema: + "$ref": "#/components/schemas/Dog" + required: false + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/Dog" + "/unmappedWithUndefinedModel/{id}": + post: + operationId: unmappedWithUndefinedModel + parameters: + - name: id + in: path + required: true + schema: + type: string + requestBody: + content: + "*/*": + schema: + "$ref": "#/components/schemas/UnmappedModel" + required: false + responses: + '200': + description: success! + "/withPath/{id}": + get: + operationId: withPath + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/User" + "/withDate/{date}": + get: + operationId: withDateTime + parameters: + - name: date + in: path + required: true + schema: + type: string + format: date-time + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/User" + "/withIntegerEnum/{stage}": + get: + operationId: withDateTime + parameters: + - name: stage + in: path + required: true + schema: + type: integer + format: int32 + enum: + - 1 + - 2 + - 3 + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/User" + "/overloaded": + get: + operationId: overloadedResponse + parameters: + - name: arg1 + in: query + schema: + type: string + responses: + '200': + description: success! + content: + "*/*": + schema: + "$ref": "#/components/schemas/User" + "/throwApiException": + get: + operationId: throwApiException + responses: + '200': + description: success! + "/throwApiExceptionAsCause": + get: + operationId: throwApiExceptionAsCause + responses: + '200': + description: success! + "/throwNonApiException": + get: + operationId: throwNonApiException + responses: + '200': + description: success! + "/returnNonRfc2616Status": + get: + operationId: returnNonRfc2616Status + responses: + '200': + description: success! + "/responseHeaders": + get: + operationId: returnWithResponseHeaders + responses: + '200': + description: success +components: + schemas: + Water: + properties: + clear: + type: boolean + name: + type: string + prices: + type: array + id: + type: string + format: uuid + ExtendedAddress: {} + User: + properties: + id: + type: integer + format: int64 + name: + type: string + description: the name! + Address: + required: + - street + type: object + properties: + street: + type: string + city: + type: string + state: + type: string + zip: + type: string + UnmappedModel: + properties: + id: + type: integer + format: int64 + name: + type: string + Animal: + properties: + id: + type: integer + format: int64 + name: + type: string + address: + "$ref": "#/components/schemas/Address" + description: the name! + Dog: + properties: + id: + type: integer + format: int64 + name: + type: string + dogType: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/internal-references-in-external-files/external.yaml b/modules/swagger-parser-v3/build/resources/test/internal-references-in-external-files/external.yaml new file mode 100644 index 0000000000..361c56fffd --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/internal-references-in-external-files/external.yaml @@ -0,0 +1,27 @@ +common: + allOf: + - $ref: "#/core" + - type: object + properties: + attribute: + type: string + direct: + $ref: "#/core" + referenced: + type: array + items: + $ref: "#/core" + +core: + type: object + properties: + coreAttribute: + type: string + inner: + $ref: "#/innerCore" + +innerCore: + type: object + properties: + innerCoreAttribute: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/internal-references-in-external-files/main.yaml b/modules/swagger-parser-v3/build/resources/test/internal-references-in-external-files/main.yaml new file mode 100644 index 0000000000..95e501c614 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/internal-references-in-external-files/main.yaml @@ -0,0 +1,29 @@ +openapi: 3.0.0 +info: + version: 0.0.1 + title: API +paths: + /: + post: + summary: Create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/create' + responses: + '200': + description: Successful response +components: + schemas: + create: + type: object + properties: + attribute: + type: string + direct: + $ref: "./external.yaml#/common" + referenced: + type: array + items: + $ref: "./external.yaml#/common" diff --git a/modules/swagger-parser-v3/build/resources/test/internal-refs.yaml b/modules/swagger-parser-v3/build/resources/test/internal-refs.yaml new file mode 100644 index 0000000000..9b97b5f773 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/internal-refs.yaml @@ -0,0 +1,76 @@ +openapi: 3.0.0 +info: + version: 1.0.0 + title: test +paths: {} +components: + schemas: + MemberRef: + description: Provides basic ID info about a member with an href to the full object + type: object + properties: + uuid: + description: "Uniquely identifies a member across the entire platform" + type: string + format: uuid + minLength: 36 + maxLength: 36 + example: "26a0bac8-5c37-4c54-b3b1-1ad4551db061" + alt_id: + description: "An ID defined for a member, typically provided by a customer during integration, which will be unique within a given group." + type: string + minLength: 1 + maxLength: 36 + example: "ABC-123" + group: + $ref: "#/components/schemas/MemberGroup" + href: + type: string + format: uri + readOnly: true + anyOf: + - required: ["uuid"] + properties: + uuid: + $ref: "#/components/schemas/MemberRef/properties/uuid" + alt_id: + $ref: "#/components/schemas/MemberRef/properties/alt_id" + group: + $ref: "#/components/schemas/MemberRef/properties/group" + href: + $ref: "#/components/schemas/MemberRef/properties/href" + - required: ["alt_id", "group"] + properties: + uuid: + $ref: "#/components/schemas/MemberRef/properties/uuid" + alt_id: + $ref: "#/components/schemas/MemberRef/properties/alt_id" + group: + $ref: "#/components/schemas/MemberRef/properties/group" + href: + $ref: "#/components/schemas/MemberRef/properties/href" + MemberSmall: + description: >- + Provides abbreviated information about a member and is used when returning an array of members + readOnly: true + properties: + uuid: + $ref: "#/components/schemas/MemberRef/properties/uuid" + alt_id: + $ref: "#/components/schemas/MemberRef/properties/alt_id" + group: + $ref: "#/components/schemas/MemberRef/properties/group" + href: + $ref: "#/components/schemas/MemberRef/properties/href" + activated: + description: >- + Indicates that the member has logged into their account + type: boolean + example: true + disabled: + description: >- + Indicates that the member's account is disabled and they will no longer be able to login + type: boolean + example: false + + \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1015.json b/modules/swagger-parser-v3/build/resources/test/issue-1015.json new file mode 100644 index 0000000000..66fc809131 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1015.json @@ -0,0 +1,69 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Testcase", + "version": "1.0", + "description": "This is a testcase to demonstrate the problem with supplying a list as the default value for an array schema." + }, + "paths": { + "/v1/doc/{document_id}/filter": { + "post": { + "operationId": "filterDocument", + "summary": "Filter a document by including only the requested headings and subheadings", + "description": "This operation processes the specified stored document by returning a filtered view of the document according to the section heading tags specified in the filter_settings parameter.", + "parameters": [ + { + "name": "document_id", + "in": "path", + "description": "The id of the stored document to be filtered.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DocFilterSettings" + } + } + }, + "description": "An object that defines the filter settings.", + "required": true + }, + "x-codegen-request-body-name": "filterSettings", + "responses": { + "200": { + "description": "It worked." + }, + "default": { + "description": "Rut Roh" + } + } + } + } + }, + "components": { + "schemas": { + "DocFilterSettings": { + "type": "object", + "description": "This model describes the attributes used to filter a document.", + "properties": { + "tag_list": { + "description": "This is the set of tags to include in the output.", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "h1", + "h2" + ] + } + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1040/api.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1040/api.yaml new file mode 100644 index 0000000000..e01b1143d1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1040/api.yaml @@ -0,0 +1,16 @@ +openapi: 3.0.0 +info: + title: Test + version: 1.0.0 + +paths: + /value: + get: + operationId: getValues + responses: + 200: + description: Successful response + content: + application/json: + schema: + $ref: 'lib/lib.yaml#/components/schemas/Value' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1040/lib/lib.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1040/lib/lib.yaml new file mode 100644 index 0000000000..1818166376 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1040/lib/lib.yaml @@ -0,0 +1,13 @@ +components: + schemas: + ValueId: + type: object + properties: + id: + type: integer + format: int64 + Value: + type: object + properties: + id: + $ref: '#/components/schemas/ValueId' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1063/api.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1063/api.yaml new file mode 100644 index 0000000000..5595caf9e1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1063/api.yaml @@ -0,0 +1,36 @@ +openapi: 3.0.0 +info: + title: Test + version: 1.0.0 + +paths: + /value: + get: + operationId: getValues + parameters: + - $ref: '#/components/parameters/IdParam' + - $ref: '#/components/parameters/NameParam' + responses: + 200: + description: Successful response + content: + application/json: + schema: + type: + string + +components: + parameters: + IdParam: + required: true + name: id + in: query + schema: + type: integer + format: int64 + NameParam: + required: false + name: name + in: query + schema: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1063/openapi.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1063/openapi.yaml new file mode 100644 index 0000000000..306409ae6f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1063/openapi.yaml @@ -0,0 +1,21 @@ +openapi: 3.0.0 +info: + version: 1.0.0 + title: an API + description: An API for reproduce a *There are duplicate parameter values*. + +paths: + /anPath: + get: + parameters: + - $ref: './references.oas3.yaml#/components/parameters/ParamQ_One' + - $ref: './references.oas3.yaml#/components/parameters/ParamQ_Two' + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1063/references.oas3.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1063/references.oas3.yaml new file mode 100644 index 0000000000..98fbdc94ea --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1063/references.oas3.yaml @@ -0,0 +1,15 @@ +components: + parameters: + ParamQ_One: + in: query + name: customer-id + required: true + schema: + format: int32 + type: integer + ParamQ_Two: + in: query + name: unit-id + schema: + format: int32 + type: integer \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1071-false.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1071-false.yaml new file mode 100644 index 0000000000..61234fcca1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1071-false.yaml @@ -0,0 +1,28 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore + description: A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification + termsOfService: http://swagger.io/terms/ + contact: + name: Swagger API Team + email: apiteam@swagger.io + url: http://swagger.io + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html +servers: + - url: http://petstore.swagger.io/api +paths: + '/mapschema': + get: + description: MapSchema + operationId: MapSchema + responses: + '200': + description: Successful response. + content: + application/json: + schema: + type: object + additionalProperties: false \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1071-true.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1071-true.yaml new file mode 100644 index 0000000000..37b330a74e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1071-true.yaml @@ -0,0 +1,28 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore + description: A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification + termsOfService: http://swagger.io/terms/ + contact: + name: Swagger API Team + email: apiteam@swagger.io + url: http://swagger.io + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html +servers: + - url: http://petstore.swagger.io/api +paths: + '/mapschema': + get: + description: MapSchema + operationId: MapSchema + responses: + '200': + description: Successful response. + content: + application/json: + schema: + type: object + additionalProperties: true \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1071.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1071.yaml new file mode 100644 index 0000000000..697aeaf651 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1071.yaml @@ -0,0 +1,29 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore + description: A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification + termsOfService: http://swagger.io/terms/ + contact: + name: Swagger API Team + email: apiteam@swagger.io + url: http://swagger.io + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html +servers: + - url: http://petstore.swagger.io/api +paths: + '/mapschema': + get: + description: MapSchema + operationId: MapSchema + responses: + '200': + description: Successful response. + content: + application/json: + schema: + type: object + additionalProperties: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1078/api.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1078/api.yaml new file mode 100644 index 0000000000..d6aceaebd0 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1078/api.yaml @@ -0,0 +1,33 @@ +openapi: 3.0.0 +info: + version: '1.0.0' + title: 'Simple Test' + description: 'Test of schema vs content for Query Parameters' + +paths: + /api-endpoint-1: + get: + summary: Test Service API Endpoint 1 + operationId: SimpleTestEndpoint1 + tags: + - SimpleTestEndpoint(1) + parameters: + - name: target-locations-list + in: query + description: list of locations to search near + content: + application/json: + schema: + type: array + items: + $ref: './common.yaml#/components/schemas/LocationType' + minItems: 1 + responses: + '200': + description: Expected response to a valid request + content: + application/json: + schema: + $ref: './common.yaml#/components/schemas/SearchResult' + '404': + $ref: './common.yaml#/components/responses/404' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1078/common.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1078/common.yaml new file mode 100644 index 0000000000..7c5d3b629d --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1078/common.yaml @@ -0,0 +1,43 @@ +openapi: 3.0.0 +info: + version: '1.0.0' + title: 'Common Data Types' + description: 'Common Data Types for Test' + +paths: {} +components: + schemas: + + LocationType: + type: object + properties: + lat: + $ref: '#/components/schemas/Lat' + long: + $ref: '#/components/schemas/Long' + required: + - lat + - long + + Lat: + type: integer + Long: + type: integer + + SearchResult: + type: object + required: + - simpleTestResults + properties: + resultId: + type: integer + simpleTestResults: + type: array + items: + type: string + + + responses: + '404': + description: Not Found + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1081/spec2.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1081/spec2.yaml new file mode 100644 index 0000000000..1183743852 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1081/spec2.yaml @@ -0,0 +1,15 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: spec2 +components: + schemas: + FlowDescription: + type: string + EthFlowDescription: + type: object + properties: + fDesc: + $ref: '#/components/schemas/FlowDescription' + fDir: + $ref: 'spec1.yaml#/components/schemas/FlowDirection' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1090.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1090.yaml new file mode 100644 index 0000000000..e02834e9b8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1090.yaml @@ -0,0 +1,37 @@ +openapi: 3.0.1 +info: + title: Object with enum test + description: Issue 1090 + version: '1.0' +servers: + - url: 'http://localhost:9999/' +paths: + /ping: + get: + operationId: pingGet + responses: + '201': + description: OK +components: + schemas: + SomeObj: + type: object + properties: + iprop: + type: integer + format: int32 + enum: + - 1 + - 2 + lprop: + type: integer + format: int64 + enum: + - 1 + - 2 + nprop: + type: number + format: double + enum: + - 1.1 + - 1.2 \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1094/common.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1094/common.yaml new file mode 100644 index 0000000000..f5f0cf0e2f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1094/common.yaml @@ -0,0 +1,14 @@ +openapi: "3.0.0" +info: + version: 15.3.0 + title: "Common Data Types" +paths: {} +components: + schemas: + PlmnId: + type: object + properties: + mcc: + type: string + mnc: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1094/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1094/swagger.yaml new file mode 100644 index 0000000000..1ca2e0e51c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1094/swagger.yaml @@ -0,0 +1,22 @@ +openapi: "3.0.0" +info: + version: 15.3.0 + title: test +paths: + /my-app: + get: + parameters: + - name: target-plmn-list + in: query + content: + application/json: + schema: + type: array + items: + $ref: 'common.yaml#/components/schemas/PlmnId' + minItems: 1 + responses: + '200': + description: Expected response to a valid request + schema: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1103/domain.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1103/domain.yaml new file mode 100644 index 0000000000..92650a14d6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1103/domain.yaml @@ -0,0 +1,33 @@ +openapi: 3.0.0 +info: + version: 1.0.0 + title: API Reuse Common Components + description: Definitions of API components to be referred across different API files +components: + pathitems: + Translation: + put: + tags: + - Translation + summary: Set value of this parameter + description: Provide the lookup table for localized strings + parameters: + - $ref: '#/components/parameters/param_lang' + parameters: + param_lang: + name: lang + in: path + description: language - 2-letter abbreviation + required: true + schema: + type: string + enum: + - en + - se + - dk + - fi + - false + - de + - es + - et + - fr \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1103/remote-parameter-swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1103/remote-parameter-swagger.yaml new file mode 100644 index 0000000000..1a62d818ae --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1103/remote-parameter-swagger.yaml @@ -0,0 +1,14 @@ +openapi: 3.0.0 +info: + version: "1" + title: Admin Web App Services + description: 'Services' +paths: + '/Translation/{lang}': + put: + tags: + - Translation_Settings + summary: Set value of this parameter + description: Provide the lookup table for localized strings + parameters: + - $ref: 'domain.yaml#/components/parameters/param_lang' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1103/remote-pathItem-swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1103/remote-pathItem-swagger.yaml new file mode 100644 index 0000000000..0b39267135 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1103/remote-pathItem-swagger.yaml @@ -0,0 +1,8 @@ +openapi: 3.0.0 +info: + version: 2.0.0 + title: Admin Web App Services + description: 'Services API' +paths: + '/Translation/{lang}': + $ref: './domain.yaml#/components/pathitems/Translation' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1105/domain.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1105/domain.yaml new file mode 100644 index 0000000000..67d37f94a3 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1105/domain.yaml @@ -0,0 +1,30 @@ +openapi: 3.0.2 +info: + title: API Components + description: Common components + version: '1.0' +components: + schemas: + ErrorCodeDescription: + type: object + properties: + code: + format: int32 + type: integer + description: HTTP error code. + description: + type: string + description: Brief description of the error. + details: + type: string + description: Details about the error. + responses: + 401: + description: User is not authorized for this action + content: + application/json: + schema: + uniqueItems: false + type: array + items: + $ref: "#/components/schemas/ErrorCodeDescription" \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1105/swagger-api.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1105/swagger-api.yaml new file mode 100644 index 0000000000..58d806e24e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1105/swagger-api.yaml @@ -0,0 +1,14 @@ +openapi: "3.0.2" +info: + title: User and Session + description: Admin API endpoints. + version: "0.1" +paths: + /users: + get: + responses: + "401": + $ref: "./domain.yaml#/components/responses/401" +components: { + schemas: {} +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1108.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1108.yaml new file mode 100644 index 0000000000..03a13f8c2b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1108.yaml @@ -0,0 +1,22 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger petstore + license: + name: MIT +servers: + - url: http://petstore.swagger.io/v1 +paths: + /pets: + get: + summary: List all pets + operationId: listpets + tags: + - pets + parameters: + - name: limit + in: query + allowReserved: false + responses: + '200': + description: A paged array of pets \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1119.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1119.yaml new file mode 100755 index 0000000000..25e14e77ca --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1119.yaml @@ -0,0 +1,109 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT +servers: + - url: http://petstore.swagger.io/v1 +paths: + /pets: + get: + summary: Listado de todas las + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: Cuntos artculos devolver al mismo tiempo (mximo 100) + required: false + schema: + type: integer + format: int32 + responses: + '200': + description: Una coleccin paginada de mascotas + headers: + x-next: + description: Un enlace a la siguiente pgina de respuestas. + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: Error inesperado + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + '201': + description: respuesta Null + default: + description: Error inesperado + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /pets/{petId}: + get: + summary: Informacin para una mascota especfica + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: El id de la mascota a recuperar. + schema: + type: string + responses: + '200': + description: Respuesta esperada a una solicitud vlida + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: error inesperado + content: + application/json: + schema: + $ref: "#/components/schemas/Error" +components: + schemas: + Pet: + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + Pets: + type: array + items: + $ref: "#/components/schemas/Pet" + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1147/common.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1147/common.yaml new file mode 100644 index 0000000000..6a7ddc9d27 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1147/common.yaml @@ -0,0 +1,14 @@ +openapi: 3.0.0 +info: + version: "1.0" + title: Swagger Parser Issue +paths: {} +components: + schemas: + String: + type: string + StringObject: + type: object + properties: + val: + $ref: '#/components/schemas/String' diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1147/issue1147.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1147/issue1147.yaml new file mode 100644 index 0000000000..e52b484b17 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1147/issue1147.yaml @@ -0,0 +1,19 @@ +openapi: 3.0.0 +info: + version: "1.0" + title: Swagger Parser Issue +paths: + /: + post: + requestBody: + $ref: '#/components/requestBodies/RefRequestBody' + responses: + default: + description: "Error" +components: + requestBodies: + RefRequestBody: + content: + 'application/json': + schema: + $ref: 'common.yaml#/components/schemas/StringObject' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1157/allOf-example.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1157/allOf-example.yaml new file mode 100644 index 0000000000..b3b2eb76bd --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1157/allOf-example.yaml @@ -0,0 +1,35 @@ +openapi: 3.0.0 +info: + version: 15.3.0 + title: test +paths: + /pets: + get: + description: "Test" + responses: + 200: + description: Parameters missing or invalid + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' +components: + schemas: + Dog: + type: object + properties: + bark: + type: boolean + breed: + type: string + Cat: + type: object + properties: + hunts: + type: boolean + age: + type: integer + Pet: + allOf: + - $ref: '#/components/schemas/Cat' + - $ref: '#/components/schemas/Dog' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1157/anyOf-example.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1157/anyOf-example.yaml new file mode 100644 index 0000000000..084f63a889 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1157/anyOf-example.yaml @@ -0,0 +1,35 @@ +openapi: 3.0.0 +info: + version: 15.3.0 + title: test +paths: + /pets: + get: + description: "Test" + responses: + 200: + description: Parameters missing or invalid + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' +components: + schemas: + Dog: + type: object + properties: + bark: + type: boolean + breed: + type: string + Cat: + type: object + properties: + hunts: + type: boolean + age: + type: integer + Pet: + anyOf: + - $ref: '#/components/schemas/Cat' + - $ref: '#/components/schemas/Dog' diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1157/oneOf-example.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1157/oneOf-example.yaml new file mode 100644 index 0000000000..b098ffad15 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1157/oneOf-example.yaml @@ -0,0 +1,35 @@ +openapi: 3.0.0 +info: + version: 15.3.0 + title: test +paths: + /pets: + get: + description: "Test" + responses: + 200: + description: Parameters missing or invalid + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' +components: + schemas: + Dog: + type: object + properties: + bark: + type: boolean + breed: + type: string + Cat: + type: object + properties: + hunts: + type: boolean + age: + type: integer + Pet: + oneOf: + - $ref: '#/components/schemas/Cat' + - $ref: '#/components/schemas/Dog' diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1161/common.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1161/common.yaml new file mode 100644 index 0000000000..b87cb59703 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1161/common.yaml @@ -0,0 +1,24 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: "Common Data Types" +paths: {} +components: + schemas: + Breed: + type: object + properties: + name: + type: string + family: + type: string + Colouring: + type: object + properties: + primary: + $ref: '#/components/schemas/Colour' + secondary: + $ref: '#/components/schemas/Colour' + Colour: + type: string + enum: ['black', 'white', 'tan', 'red', 'blue'] \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1161/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1161/swagger.yaml new file mode 100644 index 0000000000..aa4c5afd66 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1161/swagger.yaml @@ -0,0 +1,34 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: test +paths: + /add-pets: + put: + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Pets' + responses: + '200': + description: Expected response to a valid request + content: + text/plain: + schema: + type: string +components: + schemas: + Pets: + type: object + oneOf: + - required: [petType, colouring] + - required: [breed, colouring] + properties: + petType: + type: string + breed: + $ref: 'common.yaml#/components/schemas/Breed' + colouring: + $ref: 'common.yaml#/components/schemas/Colouring' + diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1170/common.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1170/common.yaml new file mode 100644 index 0000000000..8877d30e15 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1170/common.yaml @@ -0,0 +1,47 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: "Common Data Types" +paths: {} +components: + schemas: + BreedsList: + type: array + items: + $ref: '#/components/schemas/BreedsListItems' + + BreedsListItems: + type: object + properties: + breed: + $ref: '#/components/schemas/Breed' + + Breed: + type: object + properties: + name: + type: string + family: + type: string + + PetsList: + type: array + items: + type: object + properties: + petType: + type: string + colouring: + $ref: '#/components/schemas/Colouring' + + Colouring: + type: object + properties: + primary: + $ref: '#/components/schemas/Colour' + secondary: + $ref: '#/components/schemas/Colour' + + Colour: + type: string + enum: ['black', 'white', 'tan', 'red', 'blue'] \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1170/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1170/swagger.yaml new file mode 100644 index 0000000000..56be34cdb9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1170/swagger.yaml @@ -0,0 +1,35 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: test +paths: + /add-breeds: + put: + requestBody: + content: + application/json: + schema: + $ref: 'common.yaml#/components/schemas/BreedsList' + responses: + '200': + description: Expected response to a valid request + content: + text/plain: + schema: + type: string + + /add-pets: + put: + requestBody: + content: + application/json: + schema: + $ref: 'common.yaml#/components/schemas/PetsList' + responses: + '200': + description: Expected response to a valid request + content: + text/plain: + schema: + type: string + diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1177/common/common-types.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1177/common/common-types.yaml new file mode 100644 index 0000000000..b434ca06b9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1177/common/common-types.yaml @@ -0,0 +1,27 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: "Common Data Types" +paths: {} +components: + schemas: + PetsList: + type: array + items: + $ref: '#/components/schemas/Pet' + + Pet: + type: object + properties: + petType: + type: string + breed: + $ref: '#/components/schemas/Breed' + + Breed: + type: object + properties: + name: + type: string + family: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1177/common/responses/common-responses.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1177/common/responses/common-responses.yaml new file mode 100644 index 0000000000..6eefbb68df --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1177/common/responses/common-responses.yaml @@ -0,0 +1,17 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: "Common Responses" +paths: {} +components: + responses: + PetsListResponse: + description: returns a list of pets + headers: + x-session-id: + $ref: '../../headers/common-headers.yaml#/components/headers/x-session-id' + content: + application/json: + schema: + $ref: '../common-types.yaml#/components/schemas/PetsList' + diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1177/headers/common-headers.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1177/headers/common-headers.yaml new file mode 100644 index 0000000000..bd38895f58 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1177/headers/common-headers.yaml @@ -0,0 +1,10 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: "Common Headers" +paths: {} +components: + headers: + x-session-id: + schema: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1177/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1177/swagger.yaml new file mode 100644 index 0000000000..e346fe6495 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1177/swagger.yaml @@ -0,0 +1,16 @@ +openapi: "3.0.2" +info: + version: 15.3.0 + title: test +paths: + /update-pets: + post: + requestBody: + content: + application/json: + schema: + $ref: 'common/common-types.yaml#/components/schemas/PetsList' + responses: + '200': + $ref: 'common/responses/common-responses.yaml#/components/responses/PetsListResponse' + diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1211.json b/modules/swagger-parser-v3/build/resources/test/issue-1211.json new file mode 100644 index 0000000000..4b254b6161 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1211.json @@ -0,0 +1,178 @@ +{ + "openapi": "3.0.0", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore", + "license": { + "name": "MIT" + } + }, + "servers": [ + { + "url": "http://petstore.swagger.io/v1" + } + ], + "paths": { + "/pets": { + "get": { + "summary": "List all pets", + "operationId": "listPets", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "A paged array of pets", + "headers": { + "x-next": { + "description": "A link to the next page of responses", + "schema": { + "$ref":"#/components/schemas/Pets" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a pet", + "operationId": "createPets", + "tags": [ + "pets" + ], + "requestBody":{ + "content":{ + "application/json": { + "schema":{ + "type":"string", + "default":1 + } + } + } + + }, + "responses": { + "201": { + "description": "Null response" + } + } + } + }, + "/pets/{petId}": { + "get": { + "summary": "Info for a specific pet", + "operationId": "showPetById", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "required": true, + "description": "The id of the pet to retrieve", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Expected response to a valid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Pet": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "writeOnly":"true", + "readOnly":"true", + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "Pets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pet" + } + }, + "Error": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + } + } + } \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1228.json b/modules/swagger-parser-v3/build/resources/test/issue-1228.json new file mode 100644 index 0000000000..72820cf78c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1228.json @@ -0,0 +1,66 @@ +{ + "openapi":"3.0.0", + "info":{ + "title":"data", + "version":"1" + }, + + "tags":[ + { + "name":"foo-controller", + "description":"Foo Controller" + } + ], + + + "paths":{ + "/foobar":{ + "get":{ + "tags":[ + "foo-controller" + ], + "summary":"foo", + "operationId":"fooUsingGET", + + "parameters":[ + { + "name":"bars", + "in":"path", + "required":true, + "schema": { + "type": "string", + "format": "byte" + } + } + ], + "responses":{ + "200":{ + "description":"OK" + } + }, + "deprecated":false + } + } + }, + "components": { + "securitySchemes": { + "sample":{ + "type": "oauth2", + "flows": { + "implicit": { + "authorizationUrl": "https://example.com/api/oauth/dialog", + "scopes": { + "write:pets": "modify pets in your account", + "read:pets": "read your pets" + } + }, + "authorizationCode": { + "authorizationUrl": "https://example.com/api/oauth/dialog", + "tokenUrl": "https://example.com/api/oauth/token" + + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1261.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1261.yaml new file mode 100644 index 0000000000..545a52283e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1261.yaml @@ -0,0 +1,27 @@ +openapi: 3.0.0 +servers: [] +info: + version: '1' + title: Inline schema example +paths: + /user: + get: + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + properties: + id: + type: integer + format: int32 + name: + type: string + required: + - id + - name + example: + id: 42 + name: Arthur Dent diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1266/issue-1266-resolved.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1266/issue-1266-resolved.yaml new file mode 100644 index 0000000000..b434030cc4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1266/issue-1266-resolved.yaml @@ -0,0 +1,82 @@ +openapi: 3.0.2 +info: + title: Extension not inherited + version: "1" +servers: +- url: / +paths: + /test/extensions/not/inherited: + get: + responses: + "200": + description: A test failing on the merge of extensions in a allOf + content: + application/json: + schema: + required: + - data + type: object + properties: + data: + type: string + data2: + type: string + x-extension-ref: 1 + /test/extensions/not/inherited/bothinline: + get: + responses: + "200": + description: "A test failing on the merge of extensions in a allOf, with\ + \ same extension defined in referencing and referenced" + content: + application/json: + schema: + required: + - data + type: object + properties: + data: + type: string + data2: + type: string + x-extension-ref: 3 + /test/extensions/not/inherited/both: + get: + responses: + "200": + description: "A test failing on the merge of extensions in a allOf, with\ + \ same extension defined in referencing and referenced" + content: + application/json: + schema: + required: + - data + - gps + type: object + properties: + data: + type: string + gps: + type: string + x-extension-ref: 2 +components: + schemas: + ResponseModel: + required: + - data + type: object + properties: + data: + type: string + x-extension-ref: 1 + ExtendedResponseModel: + required: + - data + - gps + type: object + properties: + data: + type: string + gps: + type: string + x-extension-ref: 2 diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1266/issue-1266.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1266/issue-1266.yaml new file mode 100644 index 0000000000..6b493414c5 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1266/issue-1266.yaml @@ -0,0 +1,66 @@ +openapi: "3.0.2" +info: + version: "1" + title: "Extension not inherited" + +components: + schemas: + ResponseModel: + x-extension-ref: 1 + type: object + required: + - data + properties: + data: + type: "string" + ExtendedResponseModel: + type: object + x-extension-ref: 2 + allOf: + - $ref: '#/components/schemas/ResponseModel' + - type: object + required: + - gps + properties: + gps: + type: string + +paths: + /test/extensions/not/inherited: + get: + responses: + 200: + description: "A test failing on the merge of extensions in a allOf" + content: + application/json: + schema: + allOf: + - $ref: "#/components/schemas/ResponseModel" + - type: "object" + properties: + data2: + type: "string" + /test/extensions/not/inherited/bothinline: + get: + responses: + 200: + description: "A test failing on the merge of extensions in a allOf, with same extension defined in referencing and referenced" + content: + application/json: + schema: + allOf: + - $ref: "#/components/schemas/ResponseModel" + - type: "object" + x-extension-ref: 3 + properties: + data2: + type: "string" + /test/extensions/not/inherited/both: + get: + responses: + 200: + description: "A test failing on the merge of extensions in a allOf, with same extension defined in referencing and referenced" + content: + application/json: + schema: + $ref: "#/components/schemas/ExtendedResponseModel" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1292/pets/def.yml b/modules/swagger-parser-v3/build/resources/test/issue-1292/pets/def.yml new file mode 100644 index 0000000000..e04b2e74f8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1292/pets/def.yml @@ -0,0 +1,30 @@ +components: + schemas: + Pet: + type: object + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + Pets: + type: array + items: + $ref: "#/components/schemas/Pet" + Error: + type: object + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1292/pets/pets.yml b/modules/swagger-parser-v3/build/resources/test/issue-1292/pets/pets.yml new file mode 100644 index 0000000000..b7c1e6008f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1292/pets/pets.yml @@ -0,0 +1,45 @@ +get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + "200": + description: A paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "./def.yml#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "./def.yml#/components/schemas/Error" +post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + "201": + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "./def.yml#/components/schemas/Error" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1292/petstore.yml b/modules/swagger-parser-v3/build/resources/test/issue-1292/petstore.yml new file mode 100644 index 0000000000..873f4b9bf1 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1292/petstore.yml @@ -0,0 +1,11 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT +servers: + - url: http://petstore.swagger.io/v1 +paths: + /pets: + $ref: "./pets/pets.yml" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1309.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1309.yaml new file mode 100644 index 0000000000..02686560b9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1309.yaml @@ -0,0 +1,27 @@ +--- +openapi: 3.0.1 +info: + title: Regular Expression Issue + version: 0.0.2 +paths: + "/test": + get: + responses: + '200': + description: It works + '400': + description: Bad Request + content: + application/json: + schema: + type: object + examples: + Entity not found: + summary: Item not existing +components: + schemas: + customer-not-found: + type: object + examples: + Customer not found: + summary: Customer not existing \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1319.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1319.yaml new file mode 100644 index 0000000000..fa95995aec --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1319.yaml @@ -0,0 +1,61 @@ +openapi: 3.0.0 +info: + description: issue2137 + version: 1.0.1 + title: issue2137 +paths: + '/users/{user_id}/description': + get: + operationId: description + parameters: + - $ref: '#/components/parameters/UserId' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/goraUrl' + '/gora/{gora_id}/test': + get: + operationId: test + parameters: + - name: gora_id + description: issue-2137 + in: path + required: false + schema: + type: string + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/goraUrl' +components: + parameters: + UserId: + name: user_id + description: Unique identifier of a user + in: path + required: false + schema: + type: string + schemas: + gora: + type: object + description: Information about de product + properties: + text: + type: string + goraUrl: + allOf: + - type: object + required: + - url + properties: + url: + type: string + description: Url with information or picture of the product + - $ref: '#/components/schemas/gora' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1352.json b/modules/swagger-parser-v3/build/resources/test/issue-1352.json new file mode 100644 index 0000000000..e19db4d9e6 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1352.json @@ -0,0 +1,82 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Responses", + "version": "0.0.0" + }, + "paths": { + "/responses": { + "patch": { + "responses": { + "200": { + "description": "It's a secret", + "headers": { + "x-my-secret-header": { + "required": true, + "schema": { + "$ref": "#/components/schemas/secrets" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "maxProperties": 1, + "additionalProperties": { + "type": "number" + } + } + }, + "text/javascript": { + "schema": { + "type": "object", + "minProperties": 1, + "additionalProperties": { + "type": "boolean" + } + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/failure" + } + } + } + } + }, + "components": { + "responses": { + "success": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/successContent" + } + } + } + }, + "failure": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "schemas": { + "secrets": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1367.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1367.yaml new file mode 100644 index 0000000000..4194f063e9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1367.yaml @@ -0,0 +1,45 @@ +openapi: 3.0.0 +servers: + - url: /subscribed_products/v1.0.1 +info: + description: >- + API to get information on services currently subscribed by a specific user + or phone number. + version: 1.0.1 + title: Products API definition for the 4th Platform + termsOfService: 'https://www.telefonica.es/es/' + contact: + name: 4th Platform Team + email: 4pf@tid.es +x-fp-apiPrefix: /subscribed_products +tags: + - name: subscribed_products + description: Operations available with products subscribed by a user +paths: + '/TestDTO': + get: + operationId: description + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/TestDTO' +components: + schemas: + TestDTO: + required: + - choice + type: object + properties: + choice: + description: Choice description + allOf: + - $ref: '#/components/schemas/TestEnum' + TestEnum: + type: string + enum: + - One + - Two + - Three diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1518/api.json b/modules/swagger-parser-v3/build/resources/test/issue-1518/api.json new file mode 100644 index 0000000000..3d68d7e16f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1518/api.json @@ -0,0 +1,373 @@ +{ + "openapi": "3.0.0", + "info": { + "version": "v3.1.1", + "title": "Foo/Foo1 API", + "x-serviceName": "duplicates", + "description": "blah blah blah", + "contact": { + "name": "Foo/Foo1 Team", + "email": "foo@foo1.com" + } + }, + "servers": [ + { + "url": "http://localhost:8080" + } + ], + "paths": { + "/v7/duplicates": { + "get": { + "description": "blah blah blah", + "operationId": "getAnalemmatas", + "tags": [ + "Analemmatas" + ], + "parameters": [ + { + "name": "dup_id", + "description": "blah blah blah", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AnacreonticPacedCoalheaver" + } + } + } + }, + "400": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "401": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "404": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "default": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + } + } + }, + "post": { + "description": "blah blah blah", + "operationId": "createAnalemmata", + "tags": [ + "Analemmata" + ], + "requestBody": { + "description": "blah blah blah", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Analemmata" + } + } + } + }, + "responses": { + "201": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Analemmata" + } + } + } + }, + "400": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "401": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "404": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "default": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + } + } + } + }, + "/v7/duplicates/{id}": { + "get": { + "description": "blah blah blah", + "operationId": "getAnalemmataById", + "tags": [ + "Analemmata" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "blah blah blah", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Analemmata" + } + } + } + }, + "401": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "404": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "default": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + } + } + }, + "patch": { + "description": "blah blah blah", + "operationId": "packsAnalemmataById", + "tags": [ + "Analemmata" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "blah blah blah", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PacksOpiniateds" + } + } + } + }, + "responses": { + "200": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Analemmata" + } + } + } + }, + "401": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "404": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "default": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + } + } + }, + "delete": { + "description": "blah blah blah", + "operationId": "deleteAnalemmataById", + "tags": [ + "Analemmata" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "blah blah blah", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "blah blah blah" + }, + "400": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "401": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "404": { + "description": "blah blah blah", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + }, + "default": { + "description": "blah blah blah", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Essot" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Analemmata": { + "$ref": "./models/analemmata.json" + }, + "TashotSipe": { + "$ref": "./models/common/tashotSipe.json" + }, + "Stunts": { + "$ref": "./models/common/stunts.json" + }, + "Essot": { + "$ref": "./models/common/essot.json" + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1518/models/analemmata.json b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/analemmata.json new file mode 100644 index 0000000000..4fd349f367 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/analemmata.json @@ -0,0 +1,12 @@ +{ + "type": "object", + "description": "blah blah blah", + "properties": { + "tashotSipe": { + "$ref": "../api.json#/components/schemas/TashotSipe" + }, + "stunts": { + "$ref": "../api.json#/components/schemas/Stunts" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/essot.json b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/essot.json new file mode 100644 index 0000000000..32ac3f34bd --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/essot.json @@ -0,0 +1,11 @@ +{ + "type": "object", + "description": "blah blah blah", + "properties": { + "statue": { + "type": "integer", + "format": "int32", + "description": "blah blah blah" + } + } +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/stunts.json b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/stunts.json new file mode 100644 index 0000000000..aa8c457707 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/stunts.json @@ -0,0 +1,7 @@ +{ + "type": "string", + "enum": [ + "XORK" + ], + "description": "blah blah blah" +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/tashotSipe.json b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/tashotSipe.json new file mode 100644 index 0000000000..6964363b4a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1518/models/common/tashotSipe.json @@ -0,0 +1,7 @@ +{ + "type": "string", + "enum": [ + "RAFTER" + ], + "description": "blah blah blah" +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1540/a.json b/modules/swagger-parser-v3/build/resources/test/issue-1540/a.json new file mode 100644 index 0000000000..e0eee20f8c --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1540/a.json @@ -0,0 +1,658 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "com.jusdaglobal.registerService", + "version": "1.0" + }, + "servers": [ + { + "url": "http://localhost:8086", + "description": "Inferred Url" + } + ], + "tags": [ + { + "name": "test-controller", + "extensions": { + "x-order": "2147483647" + } + } + ], + "paths": { + "/test": { + "put": { + "tags": [ + "test-controller" + ], + "summary": "simplePut", + "operationId": "simplePutUsingPUT_1", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PersonInputDTO" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "201": { + "description": "Created" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/business-exception": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "businessException", + "operationId": "businessExceptionUsingGET_1", + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/no-package": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "noPackage", + "operationId": "noPackageUsingGET_1", + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/simple-get": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "get", + "operationId": "getUsingGET_1", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "name", + "required": true, + "style": "form", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/simple-post": { + "post": { + "tags": [ + "test-controller" + ], + "summary": "simplePost", + "operationId": "simplePostUsingPOST_1", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PersonInputDTO" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "201": { + "description": "Created" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/system-exception": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "systemException", + "operationId": "systemExceptionUsingGET_1", + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/user-context": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "getUserContext", + "operationId": "getUserContextUsingGET_1", + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/UserContext" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/write-time-out": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "responseTimeOut", + "operationId": "responseTimeOutUsingGET_1", + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/{id}": { + "delete": { + "tags": [ + "test-controller" + ], + "summary": "delete", + "operationId": "deleteUsingDELETE_1", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "id", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "204": { + "description": "No Content" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + }, + "/test/{userId}/detail": { + "get": { + "tags": [ + "test-controller" + ], + "summary": "detail", + "operationId": "detailUsingGET_1", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "userId", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Not Found" + } + }, + "extensions": { + "x-order": "2147483647" + } + } + } + }, + "components": { + "schemas": { + "CompanyDto": { + "title": "CompanyDto", + "type": "object", + "properties": { + "companyCode": { + "type": "string" + }, + "companyId": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "crmCode": { + "type": "string" + }, + "srmCode": { + "type": "string" + } + } + }, + "OrganizationDto": { + "title": "OrganizationDto", + "type": "object", + "properties": { + "company": { + "$ref": "#/components/schemas/CompanyDto" + }, + "orgType": { + "type": "string", + "enum": [ + "CHILD_COMPANY", + "DEPARTMENT", + "EXTERNAL_COMPANY", + "MASTER_COMPANY" + ] + }, + "organizationId": { + "type": "string" + }, + "organizationName": { + "type": "string" + } + } + }, + "PersonInputDTO": { + "title": "PersonInputDTO", + "type": "object", + "properties": { + "age": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + } + } + }, + "RoleDto": { + "title": "RoleDto", + "type": "object", + "properties": { + "isSuperAdmin": { + "type": "boolean" + }, + "roleCode": { + "type": "string" + }, + "roleId": { + "type": "string" + }, + "roleName": { + "type": "string" + }, + "roleType": { + "type": "string", + "enum": [ + "CUSTOM", + "PLATFORM", + "SYSTEM" + ] + } + } + }, + "TenantDto": { + "title": "TenantDto", + "type": "object", + "properties": { + "proxyUserId": { + "type": "string" + }, + "tenantCode": { + "type": "string" + }, + "tenantId": { + "type": "string" + }, + "tenantName": { + "type": "string" + }, + "tenantType": { + "type": "string", + "enum": [ + "nonPlatformTenant", + "platformTenant" + ] + } + } + }, + "TerminalInfo": { + "title": "TerminalInfo", + "type": "object", + "properties": { + "acceptLanguage": { + "type": "string" + }, + "clientIp": { + "type": "string" + }, + "referer": { + "type": "string" + }, + "userAgent": { + "type": "string" + } + } + }, + "UserContext": { + "title": "UserContext", + "type": "object", + "properties": { + "proxyUser": { + "$ref": "#/components/schemas/UserDto" + }, + "terminalInfo": { + "$ref": "#/components/schemas/TerminalInfo" + }, + "user": { + "$ref": "#/components/schemas/UserDto" + }, + "userIdentity": { + "$ref": "#/components/schemas/UserIdentityDto" + } + } + }, + "UserDto": { + "title": "UserDto", + "type": "object", + "properties": { + "company": { + "$ref": "#/components/schemas/CompanyDto" + }, + "email": { + "type": "string" + }, + "nickName": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "realName": { + "type": "string" + }, + "token": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "UserIdentityDto": { + "title": "UserIdentityDto", + "type": "object", + "properties": { + "companyCode": { + "type": "string" + }, + "companyId": { + "type": "string" + }, + "crmCode": { + "type": "string" + }, + "dacCode": { + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/OrganizationDto" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleDto" + } + }, + "srmCode": { + "type": "string" + }, + "tenant": { + "$ref": "#/components/schemas/TenantDto" + }, + "user": { + "$ref": "#/components/schemas/UserDto" + }, + "userIdentityId": { + "type": "string" + } + } + } + } + }, + "extensions": { + "x-setting": [ + { + "language": "zh-CN", + "enableSwaggerModels": true, + "swaggerModelName": "Swagger Models", + "enableReloadCacheParameter": false, + "enableAfterScript": true, + "enableDocumentManage": true, + "enableVersion": false, + "enableRequestCache": true, + "enableFilterMultipartApis": false, + "enableFilterMultipartApiMethodType": "POST", + "enableHost": false, + "enableHostText": "", + "enableDynamicParameter": false, + "enableDebug": true, + "enableFooter": true, + "enableFooterCustom": false, + "enableSearch": true, + "enableOpenApi": true, + "enableHomeCustom": true, + "homeCustomLocation": "## this for test\ntest\ntest\ntest\nasdfa", + "enableGroup": true + } + ] + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1543/openapi.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1543/openapi.yaml new file mode 100644 index 0000000000..0db5657abc --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1543/openapi.yaml @@ -0,0 +1,29 @@ +openapi: 3.0.1 +info: + title: Innotech API backend + description: > + API for the Innotech backend + version: 1.0.0 + +paths: + + ## Miscellaneous ################################################################### + "/misc/ping": + get: + tags: + - Ping + operationId: getPing + parameters: + - in: query + name: param + schema: + type: string + maxLength: 255 + required: true + responses: + "200": + description: Ping response + content: + application/json: + schema: + $ref: "schemas/_index.yaml#/pingResponse" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1543/schemas/PingResponse.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1543/schemas/PingResponse.yaml new file mode 100644 index 0000000000..bbdbb0ab5e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1543/schemas/PingResponse.yaml @@ -0,0 +1,6 @@ +# schemas/PingResponse.yaml +type: object +properties: + answer: + type: string + maxLength: 255 diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1543/schemas/_index.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1543/schemas/_index.yaml new file mode 100644 index 0000000000..51f6c73bc9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1543/schemas/_index.yaml @@ -0,0 +1,3 @@ +# schemas/_index.yaml +pingResponse: + $ref: 'PingResponse.yaml' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1561/exceptions.yml b/modules/swagger-parser-v3/build/resources/test/issue-1561/exceptions.yml new file mode 100644 index 0000000000..a94d3d9341 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1561/exceptions.yml @@ -0,0 +1,67 @@ +components: + schemas: + Exception: + type: object + Rfc7807Exception: + description: The Rfc7807 specification for exceptions. + allOf: + - $ref: '#/components/schemas/Exception' + - type: object + properties: + type: + type: string + description: A URI reference that identifies the problem type. + required: + - type + - title + - status + - detail + AbsisExceptionType: + type: string + enum: [VALIDATION, BUSINESS, RUNTIME, CHALLENGE, NOTFOUND, UNAUTHORIZED, AUTHENTICATION] + description: The possible types of an AbsisException. + AbsisFieldError: + type: object + description: The representation of a validation error. + properties: + code: + type: string + description: The error code. + example: + code: request + parameters: + - codes: + - aCode + - otherCode + value: NotNull + AbsisException: + description: Representation of an exception. + allOf: + - $ref: '#/components/schemas/Rfc7807Exception' + - type: object + properties: + _class: + type: string + description: The canonical name of the class AbsisException. + cause: + $ref: '#/components/schemas/AbsisException' + description: The AbsisException wrapping the exception that originated this exception. + responses: + '400': + description: Error when validating input parameters or request body. + content: + application/json: + schema: + $ref: '#/components/schemas/AbsisException' + '404': + description: The endpoint does not exists or the attempted resource does not exist. + content: + application/json: + schema: + $ref: '#/components/schemas/AbsisException' + '500': + description: Unexpected error occurred at one of the layers of the microservice, controller, business service, repository etc. + content: + application/json: + schema: + $ref: '#/components/schemas/AbsisException' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1561/swagger.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1561/swagger.yaml new file mode 100644 index 0000000000..6051b0b404 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1561/swagger.yaml @@ -0,0 +1,67 @@ +openapi: 3.0.0 +info: + description: The Trazabilidad API offers the functionalities of the new trace regardless of the channel in which it is in invoked. + version: 1.0.2 + title: ApiTrazabilidad + +tags: + - name: Trazabilidad + description: Trazabilidad API +paths: + '/operationalServices/tracks/scopes/{scopeId}/processes/{processId}/petitions': + post: + tags: + - createPetition + summary: Creates a new instance in the traceability operation. + operationId: createPetition + description: Creates a new instance in the traceability operation. + parameters: + - in: path + name: processId + description: instance process ID + required: true + schema: + type: integer + requestBody: + $ref: '#/components/requestBodies/TrazabilidadBodyRequest' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/BodyOutResponse' + '400': + $ref: >- + exceptions.yml#/components/responses/400 + '404': + $ref: >- + exceptions.yml#/components/responses/404 + '500': + $ref: >- + exceptions.yml#/components/responses/500 + +components: + requestBodies: + TrazabilidadBodyRequest: + content: + application/json: + schema: + $ref: '#/components/schemas/TrazabilidadBodyRequest' + description: body request + required: true + schemas: + BodyOutResponse: + type: object + properties: + petitionId: + type: string + description: The ID of the request that has been created + example: "971205125921" + TrazabilidadBodyRequest: + type: object + properties: + action: + type: string + description: Action to be performed. values -- alta , mod , fin , baja + example: "alta" \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1592.jar b/modules/swagger-parser-v3/build/resources/test/issue-1592.jar new file mode 100644 index 0000000000..3bf65fae1f Binary files /dev/null and b/modules/swagger-parser-v3/build/resources/test/issue-1592.jar differ diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1621/example.get.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1621/example.get.yaml new file mode 100644 index 0000000000..09dc55fb2e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1621/example.get.yaml @@ -0,0 +1 @@ +title: GET Example \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1621/example.openapi.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1621/example.openapi.yaml new file mode 100644 index 0000000000..216969255a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1621/example.openapi.yaml @@ -0,0 +1,23 @@ +openapi: 3.0.1 +info: + title: Example OpenAPI spec + version: 0.0.1 +paths: + '/example': + post: + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExamplePost' + responses: + 204: + description: No content +components: + schemas: + # Renaming this key from `Example` to `ExampleGet` stops the issue from occurring + # Removing this key stops the issue from occurring + Example: + $ref: example.get.yaml + ExamplePost: + $ref: example.post.yaml \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1621/example.post.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1621/example.post.yaml new file mode 100644 index 0000000000..2a3034b6a9 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1621/example.post.yaml @@ -0,0 +1 @@ +title: POST Example \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1658/api2.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1658/api2.yaml new file mode 100644 index 0000000000..ed40c48e61 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1658/api2.yaml @@ -0,0 +1,7 @@ +components: + schemas: + ref2: + type: object + properties: + status: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1658/apis.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1658/apis.yaml new file mode 100644 index 0000000000..ac126a9ae4 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1658/apis.yaml @@ -0,0 +1,20 @@ +paths: + healthCheck: + get: + summary: Gets service health status + responses: + '200': + description: Success status + content: + application/json: + schema: + $ref: '#/components/schemas/responseBase' + + +components: + schemas: + responseBase: + $ref: '#/components/schemas/ref1' + + ref1: + $ref: './api2.yaml#/components/schemas/ref2' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1658/issue1658.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1658/issue1658.yaml new file mode 100644 index 0000000000..d020097236 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1658/issue1658.yaml @@ -0,0 +1,9 @@ +openapi: 3.0.0 +info: + title: Demo + description: Demo to crash parser + version: 1.0.0 + +paths: + /internal/v1/hc: + $ref: './apis.yaml#/paths/healthCheck' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1706/SimpleRequestResponseRef.json b/modules/swagger-parser-v3/build/resources/test/issue-1706/SimpleRequestResponseRef.json new file mode 100644 index 0000000000..ac874e7552 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1706/SimpleRequestResponseRef.json @@ -0,0 +1,89 @@ +{ + "openapi": "3.0.0", + "info": { + "version": "1.0", + "title": "Resource service", + "description": "Resource service" + }, + "servers": [ + { + "url": "http://localhost:8088/" + } + ], + "paths": { + "/resource": { + "post": { + "summary": "postResource", + "description": "postResource", + "operationId": "post-resource", + "parameters": [], + "requestBody": { + "$ref": "#/components/requestBodies/ResourceBodyPost" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ResourceSuccessResponse" + } + } + } + } + }, + "components": { + "requestBodies": { + "ResourceBodyPost": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "rqname" + ], + "properties": { + "rqname": { + "type": "string" + }, + "rqnumber": { + "type": "integer", + "format": "int32" + }, + "rqflag": { + "type": "boolean" + } + } + } + } + } + } + }, + "responses": { + "ResourceSuccessResponse": { + "description": "a Element to be returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "rname" + ], + "properties": { + "rname": { + "type": "string" + }, + "rnumber": { + "type": "integer", + "format": "int32" + }, + "rflag": { + "type": "boolean" + } + } + } + } + } + } + }, + "schemas": { + + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1733/api.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1733/api.yaml new file mode 100644 index 0000000000..ede5527950 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1733/api.yaml @@ -0,0 +1,48 @@ +openapi: 3.0.0 + +info: + title: Sample API + version: 1.0.2 + +paths: + /internal/test/{id}/toplevelparam: + parameters: + - in: path + name: id + required: true + schema: + type: string + enum: + - one + - two + get: + summary: Test of path params defined on top level + responses: + 200: + description: OK + tags: + - Tests + + /internal/test/{id}/operationlevelparam: + get: + summary: Test of path params defined on top level + parameters: + - in: path + name: id + required: true + schema: + type: string + enum: + - one + - two + responses: + 200: + description: OK + tags: + - Tests + + /ref/test/{id}/toplevelparam: + $ref: "./test-endpoints.yaml#/paths/~1ref~1test~1{id}~1toplevelparam" + + /ref/test/{id}/operationlevelparam: + $ref: "./test-endpoints.yaml#/paths/~1ref~1test~1{id}~1operationlevelparam" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1733/test-endpoints.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1733/test-endpoints.yaml new file mode 100644 index 0000000000..1347703c2e --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1733/test-endpoints.yaml @@ -0,0 +1,42 @@ +openapi: 3.0.0 + +info: + title: Sample API + version: 1.0.2 + +paths: + /ref/test/{id}/toplevelparam: + parameters: + - in: path + name: id + required: true + schema: + type: string + enum: + - one + - two + get: + summary: Test of path params defined on top level + responses: + 200: + description: OK + tags: + - Tests + + /ref/test/{id}/operationlevelparam: + get: + summary: Test of path params defined on top level + parameters: + - in: path + name: id + required: true + schema: + type: string + enum: + - one + - two + responses: + 200: + description: OK + tags: + - Tests diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1761.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1761.yaml new file mode 100644 index 0000000000..bda06caea8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1761.yaml @@ -0,0 +1,214 @@ +openapi: 3.0.3 +info: + title: openapi 3.0.3 sample spec + description: sample spec for testing openapi functionality, built from json schema + tests for draft6 + version: 0.0.1 +paths: {} +components: + schemas: + SimpleEnumValidation: + enum: + - 1 + - 2 + - 3 + HeterogeneousEnumValidation: + enum: + - 6 + - foo + - [] + - true + - foo: 12 + HeterogeneousEnumWithNullValidation: + enum: + - 6 + - null + EnumsInProperties: + type: object + properties: + foo: + enum: + - foo + bar: + enum: + - bar + required: + - bar + EnumWithEscapedCharacters: + enum: + - 'foo + + bar' + - "foo\rbar" + EnumWithFalseDoesNotMatch0: + enum: + - false + EnumWithTrueDoesNotMatch1: + enum: + - true + EnumWith0DoesNotMatchFalse: + enum: + - 0 + EnumWith1DoesNotMatchTrue: + enum: + - 1 + NulCharactersInStrings: + enum: + - "hello\0there" + x-schema-test-examples: + SimpleEnumValidation: + OneOfTheEnumIsValid: + description: one of the enum is valid + data: 1 + valid: true + SomethingElseIsInvalid: + description: something else is invalid + data: 4 + valid: false + HeterogeneousEnumValidation: + OneOfTheEnumIsValid: + description: one of the enum is valid + data: [] + valid: true + SomethingElseIsInvalid: + description: something else is invalid + data: null + valid: false + ObjectsAreDeepCompared: + description: objects are deep compared + data: + foo: false + valid: false + ValidObjectMatches: + description: valid object matches + data: + foo: 12 + valid: true + ExtraPropertiesInObjectIsInvalid: + description: extra properties in object is invalid + data: + foo: 12 + boo: 42 + valid: false + HeterogeneousEnumWithNullValidation: + NullIsValid: + description: null is valid + data: null + valid: true + NumberIsValid: + description: number is valid + data: 6 + valid: true + SomethingElseIsInvalid: + description: something else is invalid + data: test + valid: false + EnumsInProperties: + BothPropertiesAreValid: + description: both properties are valid + data: + foo: foo + bar: bar + valid: true + WrongFooValue: + description: wrong foo value + data: + foo: foot + bar: bar + valid: false + WrongBarValue: + description: wrong bar value + data: + foo: foo + bar: bart + valid: false + MissingOptionalPropertyIsValid: + description: missing optional property is valid + data: + bar: bar + valid: true + MissingRequiredPropertyIsInvalid: + description: missing required property is invalid + data: + foo: foo + valid: false + MissingAllPropertiesIsInvalid: + description: missing all properties is invalid + data: {} + valid: false + EnumWithEscapedCharacters: + Member1IsValid: + description: member 1 is valid + data: 'foo + + bar' + valid: true + Member2IsValid: + description: member 2 is valid + data: "foo\rbar" + valid: true + AnotherStringIsInvalid: + description: another string is invalid + data: abc + valid: false + EnumWithFalseDoesNotMatch0: + FalseIsValid: + description: false is valid + data: false + valid: true + IntegerZeroIsInvalid: + description: integer zero is invalid + data: 0 + valid: false + FloatZeroIsInvalid: + description: float zero is invalid + data: 0.0 + valid: false + EnumWithTrueDoesNotMatch1: + TrueIsValid: + description: true is valid + data: true + valid: true + IntegerOneIsInvalid: + description: integer one is invalid + data: 1 + valid: false + FloatOneIsInvalid: + description: float one is invalid + data: 1.0 + valid: false + EnumWith0DoesNotMatchFalse: + FalseIsInvalid: + description: false is invalid + data: false + valid: false + IntegerZeroIsValid: + description: integer zero is valid + data: 0 + valid: true + FloatZeroIsValid: + description: float zero is valid + data: 0.0 + valid: true + EnumWith1DoesNotMatchTrue: + TrueIsInvalid: + description: true is invalid + data: true + valid: false + IntegerOneIsValid: + description: integer one is valid + data: 1 + valid: true + FloatOneIsValid: + description: float one is valid + data: 1.0 + valid: true + NulCharactersInStrings: + MatchStringWithNul: + description: match string with nul + data: "hello\0there" + valid: true + DoNotMatchStringLackingNul: + description: do not match string lacking nul + data: hellothere + valid: false \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1777/issue1777.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1777/issue1777.yaml new file mode 100644 index 0000000000..344f933cb8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1777/issue1777.yaml @@ -0,0 +1,56 @@ +openapi: "3.0.0" +info: + title: API-Template + description: | + Single or multilined API description. Can be written on HTML or [CommonMark](http://commonmark.org/help/) + version: v1 + +tags: + - name: Customers + description: "Operations and resources related to customers" + +paths: + /customers/{customerId}: + parameters: + - $ref: '#/components/parameters/customerIdPathParam' + get: + summary: Retrieve customer information + description: Description for operation that allows retrieve customer information + operationId: retrieveCustomerInfo + tags: + - Customers + responses: + '200': + description: Customer response + content: + application/json: + schema: + $ref: '#/components/schemas/customer' + +components: + parameters: + customerIdPathParam: + name: customerId + in: path + required: true + description: The id of the customer + schema: + $ref: '#/components/schemas/uuid' + + schemas: + uuid: + type: string + format: uuid + minLength: 36 + maxLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + + customer: + type: object + properties: + id: + description: The id of the customer + allOf: + - $ref: '#/components/schemas/uuid' + x-apigen-mapping: + field: id \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1802/issue1802.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1802/issue1802.yaml new file mode 100644 index 0000000000..22c57a2fd5 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1802/issue1802.yaml @@ -0,0 +1,67 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: 0001_allOffProps + +paths: + /sample_resource: + post: + operationId: createResOne + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/create_res_one" + responses: + '201': + description: Ok + content: + application/json: + schema: + $ref: "#/components/schemas/standard_response_res_one" +components: + schemas: + standard_response_result: + properties: + result: + type: object + properties: + status: + type: boolean + http_code: + type: integer + errors: + type: array + items: + $ref: '#/components/schemas/standard_error' + info: + type: string + trace_id: + type: string + num_elements: + type: integer + required: + - status + - http_code + - trace_id + standard_error: + type: object + properties: + code: + type: integer + message: + type: string + standard_response_res_one: + type: object + allOf: + - $ref: '#/components/schemas/standard_response_result' + properties: + data: + properties: + name: + type: string + create_res_one: + type: object + properties: + name: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1865/apis/foo.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1865/apis/foo.yaml new file mode 100644 index 0000000000..2b0c3d42b5 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1865/apis/foo.yaml @@ -0,0 +1,24 @@ +#broken-ref/apis/foo.yaml +openapi: 3.0.0 +info: + title: swagger parser bug, worked until 2.0.28 but not since 2.0.29 + version: '1.0' + +paths: + + '/foo': + post: + summary: create foo + description: Create a new foo. + responses: + '200': + description: a Foo + content: + application/json: + schema: + $ref: '#/components/schemas/Foo' + +components: + schemas: + Foo: + $ref: ../models/foo.model.yaml \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1865/examples/foo.example.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1865/examples/foo.example.yaml new file mode 100644 index 0000000000..43f0089b9b --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1865/examples/foo.example.yaml @@ -0,0 +1,3 @@ +# broken-ref/examples/foo.example.yaml +value: + foo: bar \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1865/models/foo.model.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1865/models/foo.model.yaml new file mode 100644 index 0000000000..8687b26293 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1865/models/foo.model.yaml @@ -0,0 +1,6 @@ +#broken-ref/models/foo.model.yaml +title: Foo +type: object +properties: + foo: + type: string \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1865/openapi30.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1865/openapi30.yaml new file mode 100644 index 0000000000..f8895579a5 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1865/openapi30.yaml @@ -0,0 +1,9 @@ +# broken-ref/openapi30.yaml +openapi: 3.0.3 +info: + title: ref chain + version: '1' + +paths: + /foo: + $ref: ./apis/foo.yaml#/paths/~1foo \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1878/test.txt b/modules/swagger-parser-v3/build/resources/test/issue-1878/test.txt new file mode 100644 index 0000000000..3f3f005b29 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1878/test.txt @@ -0,0 +1 @@ +Test content \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1891-shared-types.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1891-shared-types.yaml new file mode 100644 index 0000000000..2be9b0db89 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1891-shared-types.yaml @@ -0,0 +1,22 @@ +--- +openapi: 3.0.0 + +info: + description: Models that would published in a jar and then read from the classpath. + version: 1.0.0 + title: shared-types + +paths: + /empty: + description: > + Empty API so that we can load this file in Swagger Editor for validation and + not get flagged for a contract without a paths element. + +components: + schemas: + SharedModel: + description: A shared model + type: object + properties: + name: + type: string diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1891/openapi.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1891/openapi.yaml new file mode 100644 index 0000000000..fc794d8cf2 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1891/openapi.yaml @@ -0,0 +1,22 @@ +--- +openapi: 3.0.0 + +info: + description: Models that would published in a jar and then read from the classpath. + version: 1.0.0 + title: shared-models + +paths: + /empty: + description: > + Empty API so that we can load this file in Swagger Editor for validation and + not get flagged for a contract without a paths element. + +components: + schemas: + LocalModel: + type: object + properties: + sharedModelField: + # This is resolved via the file system, but looking in the folder 'types' + $ref: 'types/local-types.yaml#/components/schemas/TypesModel' diff --git a/modules/swagger-parser-v3/build/resources/test/issue-1891/types/local-types.yaml b/modules/swagger-parser-v3/build/resources/test/issue-1891/types/local-types.yaml new file mode 100644 index 0000000000..d2d07854cb --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-1891/types/local-types.yaml @@ -0,0 +1,22 @@ +--- +openapi: 3.0.0 + +info: + description: Models that would published in a jar and then read from the classpath. + version: 1.0.0 + title: shared-models + +paths: + /empty: + description: > + Empty API so that we can load this file in Swagger Editor for validation and + not get flagged for a contract without a paths element. + +components: + schemas: + TypesModel: + # The file 'issue-1891-shared-types.yaml' is located outside this directory and resolved + # via an absolute path reference (starts with a /). Typically, this resource would be + # found in a jar file on the classpath, but for the purposes of this test, it is + # found at the root of the file system, which will be loaded via the classpath helper. + $ref: '/issue-1891-shared-types.yaml#/components/schemas/SharedModel' diff --git a/modules/swagger-parser-v3/build/resources/test/issue-289-b.yaml b/modules/swagger-parser-v3/build/resources/test/issue-289-b.yaml new file mode 100644 index 0000000000..bd4eb20dc7 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-289-b.yaml @@ -0,0 +1,12 @@ +openapi: "3.0.0" + +info: + version: 1.0.0 + title: Path include test case child + +paths: + /foo: + get: + responses: + 200: + description: "Request successful" \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-289.yaml b/modules/swagger-parser-v3/build/resources/test/issue-289.yaml new file mode 100644 index 0000000000..9d619a1923 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-289.yaml @@ -0,0 +1,9 @@ +openapi: "3.0.0" + +info: + version: 1.0.0 + title: Path include test case + +paths: + /foo: + $ref: './issue-289-b.yaml#/paths/~1foo' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-339.yaml b/modules/swagger-parser-v3/build/resources/test/issue-339.yaml new file mode 100644 index 0000000000..5db1600f06 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-339.yaml @@ -0,0 +1,1223 @@ +openapi: 3.0.0 +servers: + - url: 'http://petstore.swagger.io/v2' +info: + description: >- + This spec is mainly for testing Petstore server and contains fake endpoints, + models. Please do not use this for any other purpose. Special characters: " + \ + version: 1.0.0 + title: Swagger Petstore + termsOfService: 'http://swagger.io/terms/' + contact: + email: apiteam@swagger.io + license: + name: Apache 2.0 + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' +tags: + - name: pet + description: Everything about your Pets + externalDocs: + description: Find out more + url: 'http://swagger.io' + - name: store + description: Access to Petstore orders + - name: user + description: Operations about user + externalDocs: + description: Find out more about our store + url: 'http://swagger.io' +paths: + /pet: + post: + tags: + - pet + summary: Add a new pet to the store + description: '' + operationId: addPet + responses: + '405': + description: Invalid input + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + $ref: '#/components/requestBodies/Pet' + put: + tags: + - pet + summary: Update an existing pet + description: '' + operationId: updatePet + responses: + '400': + description: Invalid ID supplied + '404': + description: Pet not found + '405': + description: Validation exception + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + $ref: '#/components/requestBodies/Pet' + /pet/findByStatus: + get: + tags: + - pet + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + operationId: findPetsByStatus + parameters: + - name: status + in: query + description: Status values that need to be considered for filter + required: true + style: form + schema: + type: array + items: + type: string + enum: + - available + - pending + - sold + default: available + responses: + '200': + description: successful operation + content: + application/xml: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid status value + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + /pet/findByTags: + get: + tags: + - pet + summary: Finds Pets by tags + description: >- + Multiple tags can be provided with comma separated strings. Use tag1, + tag2, tag3 for testing. + operationId: findPetsByTags + parameters: + - name: tags + in: query + description: Tags to filter by + required: true + style: form + schema: + type: array + items: + type: string + responses: + '200': + description: successful operation + content: + application/xml: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid tag value + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + '/pet/{petId}': + get: + tags: + - pet + summary: Find pet by ID + description: Returns a single pet + operationId: getPetById + parameters: + - name: petId + in: path + description: ID of pet to return + required: true + schema: + type: integer + format: int64 + responses: + '200': + description: successful operation + content: + application/xml: + schema: + $ref: '#/components/schemas/Pet' + application/json: + schema: + $ref: '#/components/schemas/Pet' + '400': + description: Invalid ID supplied + '404': + description: Pet not found + security: + - api_key: [] + post: + tags: + - pet + summary: Updates a pet in the store with form data + description: '' + operationId: updatePetWithForm + parameters: + - name: petId + in: path + description: ID of pet that needs to be updated + required: true + schema: + type: integer + format: int64 + responses: + '405': + description: Invalid input + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + description: Updated name of the pet + type: string + status: + description: Updated status of the pet + type: string + delete: + tags: + - pet + summary: Deletes a pet + description: '' + operationId: deletePet + parameters: + - name: api_key + in: header + required: false + schema: + type: string + - name: petId + in: path + description: Pet id to delete + required: true + schema: + type: integer + format: int64 + responses: + '400': + description: Invalid pet value + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + '/pet/{petId}/uploadImage': + post: + tags: + - pet + summary: uploads an image + description: '' + operationId: uploadFile + parameters: + - name: petId + in: path + description: ID of pet to update + required: true + schema: + type: integer + format: int64 + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/ApiResponse' + security: + - petstore_auth: + - 'write:pets' + - 'read:pets' + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + additionalMetadata: + description: Additional data to pass to server + type: string + file: + description: file to upload + type: string + format: binary + /store/inventory: + get: + tags: + - store + summary: Returns pet inventories by status + description: Returns a map of status codes to quantities + operationId: getInventory + responses: + '200': + description: successful operation + content: + application/json: + schema: + type: object + additionalProperties: + type: integer + format: int32 + security: + - api_key: [] + /store/order: + post: + tags: + - store + summary: Place an order for a pet + description: '' + operationId: placeOrder + responses: + '200': + description: successful operation + content: + application/xml: + schema: + $ref: '#/components/schemas/Order' + application/json: + schema: + $ref: '#/components/schemas/Order' + '400': + description: Invalid Order + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Order' + description: order placed for purchasing the pet + required: true + '/store/order/{orderId}': + get: + tags: + - store + summary: Find purchase order by ID + description: >- + For valid response try integer IDs with value <= 5 or > 10. Other values + will generated exceptions + operationId: getOrderById + parameters: + - name: orderId + in: path + description: ID of pet that needs to be fetched + required: true + schema: + type: integer + format: int64 + minimum: 1 + maximum: 5 + responses: + '200': + description: successful operation + content: + application/xml: + schema: + $ref: '#/components/schemas/Order' + application/json: + schema: + $ref: '#/components/schemas/Order' + '400': + description: Invalid ID supplied + '404': + description: Order not found + delete: + tags: + - store + summary: Delete purchase order by ID + description: >- + For valid response try integer IDs with value < 1000. Anything above + 1000 or nonintegers will generate API errors + operationId: deleteOrder + parameters: + - name: orderId + in: path + description: ID of the order that needs to be deleted + required: true + schema: + type: string + responses: + '400': + description: Invalid ID supplied + '404': + description: Order not found + /user: + post: + tags: + - user + summary: Create user + description: This can only be done by the logged in user. + operationId: createUser + responses: + default: + description: successful operation + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/User' + description: Created user object + required: true + /user/createWithArray: + post: + tags: + - user + summary: Creates list of users with given input array + description: '' + operationId: createUsersWithArrayInput + responses: + default: + description: successful operation + requestBody: + $ref: '#/components/requestBodies/UserArray' + /user/createWithList: + post: + tags: + - user + summary: Creates list of users with given input array + description: '' + operationId: createUsersWithListInput + responses: + default: + description: successful operation + requestBody: + $ref: '#/components/requestBodies/UserArray' + /user/login: + get: + tags: + - user + summary: Logs user into the system + description: '' + operationId: loginUser + parameters: + - name: username + in: query + description: The user name for login + required: true + schema: + type: string + - name: password + in: query + description: The password for login in clear text + required: true + schema: + type: string + responses: + '200': + description: successful operation + headers: + X-Rate-Limit: + description: calls per hour allowed by the user + schema: + type: integer + format: int32 + X-Expires-After: + description: date in UTC when toekn expires + schema: + type: string + format: date-time + content: + application/xml: + schema: + type: string + application/json: + schema: + type: string + '400': + description: Invalid username/password supplied + /user/logout: + get: + tags: + - user + summary: Logs out current logged in user session + description: '' + operationId: logoutUser + responses: + default: + description: successful operation + '/user/{username}': + get: + tags: + - user + summary: Get user by user name + description: '' + operationId: getUserByName + parameters: + - name: username + in: path + description: 'The name that needs to be fetched. Use user1 for testing. ' + required: true + schema: + type: string + responses: + '200': + description: successful operation + content: + application/xml: + schema: + $ref: '#/components/schemas/User' + application/json: + schema: + $ref: '#/components/schemas/User' + '400': + description: Invalid username supplied + '404': + description: User not found + put: + tags: + - user + summary: Updated user + description: This can only be done by the logged in user. + operationId: updateUser + parameters: + - name: username + in: path + description: name that need to be deleted + required: true + schema: + type: string + responses: + '400': + description: Invalid user supplied + '404': + description: User not found + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/User' + description: Updated user object + required: true + delete: + tags: + - user + summary: Delete user + description: This can only be done by the logged in user. + operationId: deleteUser + parameters: + - name: username + in: path + description: The name that needs to be deleted + required: true + schema: + type: string + responses: + '400': + description: Invalid username supplied + '404': + description: User not found + /fake: + patch: + tags: + - fake + summary: To test "client" model + description: To test "client" model + operationId: testClientModel + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/Client' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Client' + description: client model + required: true + get: + tags: + - fake + summary: To test enum parameters + description: To test enum parameters + operationId: testEnumParameters + parameters: + - name: enum_header_string_array + in: header + description: Header parameter enum test (string array) + schema: + type: array + items: + type: string + default: $ + enum: + - '>' + - $ + - name: enum_header_string + in: header + description: Header parameter enum test (string) + schema: + type: string + enum: + - _abc + - '-efg' + - (xyz) + default: '-efg' + - name: enum_query_string_array + in: query + description: Query parameter enum test (string array) + schema: + type: array + items: + type: string + default: $ + enum: + - '>' + - $ + - name: enum_query_string + in: query + description: Query parameter enum test (string) + schema: + type: string + enum: + - _abc + - '-efg' + - (xyz) + default: '-efg' + - name: enum_query_integer + in: query + description: Query parameter enum test (double) + schema: + type: integer + format: int32 + enum: + - 1 + - -2 + responses: + '400': + description: Invalid request + '404': + description: Not found + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + enum_form_string_array: + description: Form parameter enum test (string array) + type: array + items: + type: string + default: $ + enum: + - '>' + - $ + enum_form_string: + description: Form parameter enum test (string) + type: string + enum: + - _abc + - '-efg' + - (xyz) + default: '-efg' + enum_query_double: + description: Query parameter enum test (double) + type: number + format: double + enum: + - 1.1 + - -1.2 + post: + tags: + - fake + summary: | + Fake endpoint for testing various parameters + 假端點 + 偽のエンドポイント + 가짜 엔드 포인트 + description: | + Fake endpoint for testing various parameters + 假端點 + 偽のエンドポイント + 가짜 엔드 포인트 + operationId: testEndpointParameters + responses: + '400': + description: Invalid username supplied + '404': + description: User not found + security: + - http_basic_test: [] + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + integer: + description: None + type: integer + minimum: 10 + maximum: 100 + int32: + description: None + type: integer + format: int32 + minimum: 20 + maximum: 200 + int64: + description: None + type: integer + format: int64 + number: + description: None + type: number + minimum: 32.1 + maximum: 543.2 + float: + description: None + type: number + format: float + maximum: 987.6 + double: + description: None + type: number + format: double + minimum: 67.8 + maximum: 123.4 + string: + description: None + type: string + pattern: '/[a-z]/i' + pattern_without_delimiter: + description: None + type: string + pattern: '^[A-Z].*' + byte: + description: None + type: string + format: byte + binary: + description: None + type: string + format: binary + date: + description: None + type: string + format: date + dateTime: + description: None + type: string + format: date-time + password: + description: None + type: string + format: password + minLength: 10 + maxLength: 64 + callback: + description: None + type: string + required: + - number + - double + - pattern_without_delimiter + - byte +externalDocs: + description: Find out more about Swagger + url: 'http://swagger.io' +components: + requestBodies: + UserArray: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/User' + description: List of user object + required: true + Pet: + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' + application/xml: + schema: + $ref: '#/components/schemas/Pet' + description: Pet object that needs to be added to the store + required: true + securitySchemes: + petstore_auth: + type: oauth2 + flows: + implicit: + authorizationUrl: 'http://petstore.swagger.io/api/oauth/dialog' + scopes: + 'write:pets': modify pets in your account + 'read:pets': read your pets + api_key: + type: apiKey + name: api_key + in: header + http_basic_test: + type: http + scheme: basic + schemas: + Order: + type: object + properties: + id: + type: integer + format: int64 + petId: + type: integer + format: int64 + quantity: + type: integer + format: int32 + shipDate: + type: string + format: date-time + status: + type: string + description: Order Status + enum: + - placed + - approved + - delivered + complete: + type: boolean + default: false + xml: + name: Order + Category: + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + xml: + name: Category + User: + type: object + properties: + id: + type: integer + format: int64 + x-is-unique: true + username: + type: string + firstName: + type: string + lastName: + type: string + email: + type: string + password: + type: string + phone: + type: string + userStatus: + type: integer + format: int32 + description: User Status + xml: + name: User + Tag: + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + xml: + name: Tag + Pet: + type: object + required: + - name + - photoUrls + properties: + id: + type: integer + format: int64 + x-is-unique: true + category: + $ref: '#/components/schemas/Category' + name: + type: string + example: doggie + photoUrls: + type: array + xml: + name: photoUrl + wrapped: true + items: + type: string + tags: + type: array + xml: + name: tag + wrapped: true + items: + $ref: '#/components/schemas/Tag' + status: + type: string + description: pet status in the store + enum: + - available + - pending + - sold + xml: + name: Pet + ApiResponse: + type: object + properties: + code: + type: integer + format: int32 + type: + type: string + message: + type: string + Return: + description: Model for testing reserved words + properties: + return: + type: integer + format: int32 + xml: + name: Return + Name: + description: Model for testing model name same as property name + required: + - name + properties: + name: + type: integer + format: int32 + snake_case: + readOnly: true + type: integer + format: int32 + property: + type: string + 123Number: + type: integer + readOnly: true + xml: + name: Name + 200_response: + description: Model for testing model name starting with number + properties: + name: + type: integer + format: int32 + class: + type: string + xml: + name: Name + ClassModel: + description: Model for testing model with "_class" property + properties: + _class: + type: string + Dog: + allOf: + - $ref: '#/components/schemas/Animal' + - type: object + properties: + breed: + type: string + Cat: + allOf: + - $ref: '#/components/schemas/Animal' + - type: object + properties: + declawed: + type: boolean + Animal: + type: object + discriminator: + propertyName: className + required: + - className + properties: + className: + type: string + color: + type: string + default: red + AnimalFarm: + type: array + items: + $ref: '#/components/schemas/Animal' + format_test: + type: object + required: + - number + - byte + - date + - password + properties: + integer: + type: integer + maximum: 100 + minimum: 10 + int32: + type: integer + format: int32 + maximum: 200 + minimum: 20 + int64: + type: integer + format: int64 + number: + maximum: 543.2 + minimum: 32.1 + type: number + float: + type: number + format: float + maximum: 987.6 + minimum: 54.3 + double: + type: number + format: double + maximum: 123.4 + minimum: 67.8 + string: + type: string + pattern: '/[a-z]/i' + byte: + type: string + format: byte + binary: + type: string + format: binary + date: + type: string + format: date + dateTime: + type: string + format: date-time + uuid: + type: string + format: uuid + password: + type: string + format: password + maxLength: 64 + minLength: 10 + EnumClass: + type: string + default: '-efg' + enum: + - _abc + - '-efg' + - (xyz) + Enum_Test: + type: object + properties: + enum_string: + type: string + enum: + - UPPER + - lower + - '' + enum_integer: + type: integer + format: int32 + enum: + - 1 + - -1 + enum_number: + type: number + format: double + enum: + - 1.1 + - -1.2 + outerEnum: + $ref: '#/components/schemas/OuterEnum' + AdditionalPropertiesClass: + type: object + properties: + map_property: + type: object + additionalProperties: + type: string + map_of_map_property: + type: object + additionalProperties: + type: object + additionalProperties: + type: string + MixedPropertiesAndAdditionalPropertiesClass: + type: object + properties: + uuid: + type: string + format: uuid + dateTime: + type: string + format: date-time + map: + type: object + additionalProperties: + $ref: '#/components/schemas/Animal' + List: + type: object + properties: + 123-list: + type: string + Client: + type: object + properties: + client: + type: string + ReadOnlyFirst: + type: object + properties: + bar: + type: string + readOnly: true + baz: + type: string + hasOnlyReadOnly: + type: object + properties: + bar: + type: string + readOnly: true + foo: + type: string + readOnly: true + Capitalization: + type: object + properties: + smallCamel: + type: string + CapitalCamel: + type: string + small_Snake: + type: string + Capital_Snake: + type: string + SCA_ETH_Flow_Points: + type: string + ATT_NAME: + description: | + Name of the pet + type: string + MapTest: + type: object + properties: + map_map_of_string: + type: object + additionalProperties: + type: object + additionalProperties: + type: string + map_of_enum_string: + type: object + additionalProperties: + type: string + enum: + - UPPER + - lower + ArrayTest: + type: object + properties: + array_of_string: + type: array + items: + type: string + array_array_of_integer: + type: array + items: + type: array + items: + type: integer + format: int64 + array_array_of_model: + type: array + items: + type: array + items: + $ref: '#/components/schemas/ReadOnlyFirst' + NumberOnly: + type: object + properties: + JustNumber: + type: number + ArrayOfNumberOnly: + type: object + properties: + ArrayNumber: + type: array + items: + type: number + ArrayOfArrayOfNumberOnly: + type: object + properties: + ArrayArrayNumber: + type: array + items: + type: array + items: + type: number + EnumArrays: + type: object + properties: + just_symbol: + type: string + enum: + - '>=' + - $ + array_enum: + type: array + items: + type: string + enum: + - fish + - crab + OuterEnum: + type: string + enum: + - placed + - approved + - delivered + _special_model.name_: + properties: + '$special[property.name]': + type: integer + format: int64 + xml: + name: '$special[model.name]' \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/favicon-16x16.png b/modules/swagger-parser-v3/build/resources/test/issue-407/full/favicon-16x16.png new file mode 100644 index 0000000000..8b194e617a Binary files /dev/null and b/modules/swagger-parser-v3/build/resources/test/issue-407/full/favicon-16x16.png differ diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/favicon-32x32.png b/modules/swagger-parser-v3/build/resources/test/issue-407/full/favicon-32x32.png new file mode 100644 index 0000000000..249737fe44 Binary files /dev/null and b/modules/swagger-parser-v3/build/resources/test/issue-407/full/favicon-32x32.png differ diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/index.css b/modules/swagger-parser-v3/build/resources/test/issue-407/full/index.css new file mode 100644 index 0000000000..f2376fdaa8 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/index.css @@ -0,0 +1,16 @@ +html { + box-sizing: border-box; + overflow: -moz-scrollbars-vertical; + overflow-y: scroll; +} + +*, +*:before, +*:after { + box-sizing: inherit; +} + +body { + margin: 0; + background: #fafafa; +} diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/index.html b/modules/swagger-parser-v3/build/resources/test/issue-407/full/index.html new file mode 100644 index 0000000000..f8fa4c04c2 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/index.html @@ -0,0 +1,96 @@ + + + + + + Swagger UI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + \ No newline at end of file diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/oauth2-redirect.html b/modules/swagger-parser-v3/build/resources/test/issue-407/full/oauth2-redirect.html new file mode 100644 index 0000000000..b662eed42f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/oauth2-redirect.html @@ -0,0 +1,79 @@ + + + + Swagger UI: OAuth2 Redirect + + + + + diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/def.yml b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/def.yml new file mode 100644 index 0000000000..3191624521 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/def.yml @@ -0,0 +1,4 @@ +components: + schemas: + Pet: + $ref: "./def2.yml#/components/schemas/Pet" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/def2.yml b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/def2.yml new file mode 100644 index 0000000000..aa2244e3cf --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/def2.yml @@ -0,0 +1,4 @@ +components: + schemas: + Pet: + type: number diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/pets.yml b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/pets.yml new file mode 100644 index 0000000000..bf25452e7a --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/pets.yml @@ -0,0 +1,5 @@ +get: + operationId: listPets + responses: + "200": + $ref: "./response.yml" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/response.yml b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/response.yml new file mode 100644 index 0000000000..4a3b9f73b2 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/pets/response.yml @@ -0,0 +1,4 @@ +content: + application/json: + schema: + $ref: "./def.yml#/components/schemas/Pet" diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/petstore.yml b/modules/swagger-parser-v3/build/resources/test/issue-407/full/petstore.yml new file mode 100644 index 0000000000..4511ec8495 --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/petstore.yml @@ -0,0 +1,10 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore +servers: + - url: http://petstore.swagger.io/v1 +paths: + /pets: + $ref: "./pets/pets.yml" + diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/swagger-initializer.js b/modules/swagger-parser-v3/build/resources/test/issue-407/full/swagger-initializer.js new file mode 100644 index 0000000000..8ea0ea3afc --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/swagger-initializer.js @@ -0,0 +1,20 @@ +window.onload = function() { + // + + // the following lines will be replaced by docker/configurator, when it runs in a docker-container + window.ui = SwaggerUIBundle({ + url: "https://petstore.swagger.io/v2/swagger.json", + dom_id: '#swagger-ui', + deepLinking: true, + presets: [ + SwaggerUIBundle.presets.apis, + SwaggerUIStandalonePreset + ], + plugins: [ + SwaggerUIBundle.plugins.DownloadUrl + ], + layout: "StandaloneLayout" + }); + + // +}; diff --git a/modules/swagger-parser-v3/build/resources/test/issue-407/full/swagger-ui-bundle.js b/modules/swagger-parser-v3/build/resources/test/issue-407/full/swagger-ui-bundle.js new file mode 100644 index 0000000000..84a96cff0f --- /dev/null +++ b/modules/swagger-parser-v3/build/resources/test/issue-407/full/swagger-ui-bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,(function(){return(()=>{var e={66419:(e,t,n)=>{e.exports=n(24848)},41511:(e,t,n)=>{e.exports=n(83363)},11128:(e,t,n)=>{e.exports=n(57784)},54103:(e,t,n)=>{e.exports=n(28196)},77766:(e,t,n)=>{e.exports=n(8065)},72119:(e,t,n)=>{e.exports=n(57448)},10062:(e,t,n)=>{e.exports=n(29455)},44494:(e,t,n)=>{e.exports=n(69743)},20116:(e,t,n)=>{e.exports=n(11955)},62462:(e,t,n)=>{e.exports=n(96064)},94473:(e,t,n)=>{e.exports=n(61577)},78914:(e,t,n)=>{e.exports=n(46279)},78580:(e,t,n)=>{e.exports=n(33778)},81643:(e,t,n)=>{e.exports=n(19373)},69301:(e,t,n)=>{e.exports=n(73819)},23054:(e,t,n)=>{e.exports=n(11022)},2991:(e,t,n)=>{e.exports=n(61798)},32366:(e,t,n)=>{e.exports=n(52527)},39291:(e,t,n)=>{e.exports=n(36857)},3649:(e,t,n)=>{e.exports=n(82073)},77149:(e,t,n)=>{e.exports=n(45286)},47302:(e,t,n)=>{e.exports=n(62856)},92762:(e,t,n)=>{e.exports=n(2348)},29828:(e,t,n)=>{e.exports=n(35178)},25843:(e,t,n)=>{e.exports=n(76361)},89400:(e,t,n)=>{e.exports=n(71815)},59340:(e,t,n)=>{e.exports=n(8933)},39392:(e,t,n)=>{e.exports=n(15868)},51942:(e,t,n)=>{e.exports=n(63383)},63978:(e,t,n)=>{e.exports=n(41910)},26295:(e,t,n)=>{e.exports=n(86209)},86902:(e,t,n)=>{e.exports=n(23059)},20455:(e,t,n)=>{e.exports=n(47795)},93476:(e,t,n)=>{e.exports=n(27460)},33032:(e,t,n)=>{e.exports=n(27989)},94435:(e,t,n)=>{e.exports=n(73926)},39969:(e,t,n)=>{e.exports=n(57641)},52424:(e,t,n)=>{e.exports=n(72010)},53592:(e,t,n)=>{e.exports=n(27385)},78363:(e,t,n)=>{e.exports=n(81522)},19996:(e,t,n)=>{e.exports=n(32209)},51445:(e,t,n)=>{e.exports=n(14122)},30699:(e,t,n)=>{e.exports=n(44442)},28834:(e,t,n)=>{e.exports=n(57152)},95683:(e,t,n)=>{e.exports=n(69447)},95238:(e,t,n)=>{e.exports=n(81493)},90:(e,t,n)=>{e.exports=n(86672)},12088:(e,t,n)=>{e.exports=n(60269)},189:(e,t,n)=>{e.exports=n(76094)},32752:(e,t,n)=>{e.exports=n(70573)},44341:(e,t,n)=>{e.exports=n(73685)},58377:(e,t,n)=>{e.exports=n(27533)},13038:(e,t,n)=>{e.exports=n(39057)},63263:(e,t,n)=>{e.exports=n(84710)},24889:(e,t,n)=>{e.exports=n(74303)},89356:(e,t,n)=>{e.exports=n(93799)},79542:(e,t,n)=>{e.exports=n(55122)},69798:(e,t,n)=>{e.exports=n(29531)},13535:(e,t,n)=>{e.exports=n(10856)},83863:(e,t,n)=>{e.exports=n(31524)},51446:(e,t,n)=>{e.exports=n(86600)},23882:(e,t,n)=>{e.exports=n(9759)},34243:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r=n(78363);e.exports=function(e){if(r(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},46868:(e,t,n)=>{var r=n(78363),o=n(34243);e.exports=function(e){if(r(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5824:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},51161:(e,t,n)=>{var r=n(69798);function o(e,t,n,o,a,i,s){try{var u=e[i](s),l=u.value}catch(e){return void n(e)}u.done?t(l):r.resolve(l).then(o,a)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,a){var i=e.apply(t,n);function s(e){o(i,r,a,s,u,"next",e)}function u(e){o(i,r,a,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},26394:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},74003:(e,t,n)=>{var r=n(13535),o=n(51445),a=n(5613),i=n(8647);function s(t,n,u){return i()?(e.exports=s=r,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=s=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(o(Function).apply(e,r));return n&&a(i,n.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),s.apply(null,arguments)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},69198:(e,t,n)=>{var r=n(44341);function o(e,t){for(var n=0;n{var r=n(51446),o=n(19996),a=n(78363),i=n(79299);e.exports=function(e,t){var n=void 0!==r&&o(e)||e["@@iterator"];if(!n){if(a(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,p=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){p=!0,l=e},f:function(){try{c||null==n.return||n.return()}finally{if(p)throw l}}}},e.exports.__esModule=!0,e.exports.default=e.exports},10098:(e,t,n)=>{var r=n(13535),o=n(66380),a=n(8647),i=n(214);e.exports=function(e){var t=a();return function(){var n,a=o(e);if(t){var s=o(this).constructor;n=r(a,arguments,s)}else n=a.apply(this,arguments);return i(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},87672:(e,t,n)=>{var r=n(44341);e.exports=function(e,t,n){return t in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},5872:(e,t,n)=>{var r=n(12088);function o(){return e.exports=o=r||function(e){for(var t=1;t{var r=n(83863),o=n(58377),a=n(16649);function i(){return"undefined"!=typeof Reflect&&r?(e.exports=i=r,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var r=a(e,t);if(r){var i=o(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},66380:(e,t,n)=>{var r=n(79542),o=n(24889);function a(t){return e.exports=a=r?o:function(e){return e.__proto__||o(e)},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},51379:(e,t,n)=>{var r=n(189),o=n(44341),a=n(5613);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),o(e,"prototype",{writable:!1}),t&&a(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},3807:(e,t,n)=>{var r=n(95683);e.exports=function(e){var t;return-1!==r(t=Function.toString.call(e)).call(t,"[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},8647:(e,t,n)=>{var r=n(13535);e.exports=function(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(r(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},85400:(e,t,n)=>{var r=n(51446),o=n(19996),a=n(53592);e.exports=function(e){if(void 0!==r&&null!=o(e)||null!=e["@@iterator"])return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},65056:(e,t,n)=>{var r=n(51446),o=n(19996);e.exports=function(e,t){var n=null==e?null:void 0!==r&&o(e)||e["@@iterator"];if(null!=n){var a,i,s=[],u=!0,l=!1;try{for(n=n.call(e);!(u=(a=n.next()).done)&&(s.push(a.value),!t||s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{u||null==n.return||n.return()}finally{if(l)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},79736:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},76670:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},95945:(e,t,n)=>{var r=n(89356),o=n(63263),a=n(30699),i=n(58377),s=n(28834),u=n(13038),l=n(32752),c=n(44341),p=n(87672);function f(e,t){var n=r(e);if(o){var s=o(e);t&&(s=a(s).call(s,(function(t){return i(e,t).enumerable}))),n.push.apply(n,s)}return n}e.exports=function(e){for(var t=1;t{var r=n(63263),o=n(95683),a=n(44590);e.exports=function(e,t){if(null==e)return{};var n,i,s=a(e,t);if(r){var u=r(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s},e.exports.__esModule=!0,e.exports.default=e.exports},44590:(e,t,n)=>{var r=n(89356),o=n(95683);e.exports=function(e,t){if(null==e)return{};var n,a,i={},s=r(e);for(a=0;a=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},214:(e,t,n)=>{var r=n(23765).default,o=n(5824);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5613:(e,t,n)=>{var r=n(79542);function o(t,n){return e.exports=o=r||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},18777:(e,t,n)=>{var r=n(57726),o=n(65056),a=n(79299),i=n(79736);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},16649:(e,t,n)=>{var r=n(66380);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},71064:(e,t,n)=>{var r=n(57726),o=n(85400),a=n(79299),i=n(79736);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},59036:(e,t,n)=>{var r=n(46868),o=n(85400),a=n(79299),i=n(76670);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},23765:(e,t,n)=>{var r=n(51446),o=n(23882);function a(t){return e.exports=a="function"==typeof r&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},79299:(e,t,n)=>{var r=n(95238),o=n(53592),a=n(34243);e.exports=function(e,t){var n;if(e){if("string"==typeof e)return a(e,t);var i=r(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?o(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},74803:(e,t,n)=>{var r=n(90),o=n(189),a=n(66380),i=n(5613),s=n(3807),u=n(74003);function l(t){var n="function"==typeof r?new r:void 0;return e.exports=l=function(e){if(null===e||!s(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return u(e,arguments,a(this).constructor)}return t.prototype=o(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,l(t)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},63109:(e,t,n)=>{e.exports=n(35666)},17967:(e,t)=>{"use strict";t.N=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^([^:]+):/gm,i=[".","/"];t.N=function(e){var t,s=(t=e||"",t.replace(r,(function(e,t){return String.fromCharCode(t)}))).replace(o,"").trim();if(!s)return"about:blank";if(function(e){return i.indexOf(e[0])>-1}(s))return s;var u=s.match(a);if(!u)return s;var l=u[0];return n.test(l)?"about:blank":s}},53795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>H});var r=n(5872),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(77766),y=n.n(g),b=n(81643),w=n.n(b),E=n(2991),x=n.n(E),_=n(67294),S=n(43393);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=B(t,n),o=e||Object.keys(I({},n,{},t));return o.every(r)}function B(e,t){return function(n){if("string"==typeof n)return(0,S.is)(t[n],e[n]);if(Array.isArray(n))return(0,S.is)(D(t,n),D(e,n));throw new TypeError("Invalid key: expected Array or string: "+n)}}var F=function(e){function t(){return A(this,t),P(this,T(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(t,e),n=t,r=[{key:"shouldComponentUpdate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!L(this.updateOnProps,this.props,e,"updateOnProps")||!L(this.updateOnStates,this.state,t,"updateOnStates")}}],r&&C(n.prototype,r),o&&C(n,o),t}(_.Component);const z=F;var U=n(23930),q=n.n(U),V=n(45697),W=n.n(V),H=function(e){f()(r,e);var t=d()(r);function r(){var e,n;i()(this,r);for(var o=arguments.length,a=new Array(o),s=0;s{"use strict";n.d(t,{Z:()=>A});var r=n(23765),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(86902),y=n.n(g),b=n(77766),w=n.n(b),E=n(67294),x=n(84564),_=n.n(x),S=n(90242),k=n(27504),A=function(e){f()(n,e);var t=d()(n);function n(e,r){var o;i()(this,n),o=t.call(this,e,r),v()(c()(o),"getDefinitionUrl",(function(){var e=o.props.specSelectors;return new(_())(e.url(),k.Z.location).toString()}));var a=(0,e.getConfigs)().validatorUrl;return o.state={url:o.getDefinitionUrl(),validatorUrl:void 0===a?"https://validator.swagger.io/validator":a},o}return u()(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=(0,e.getConfigs)().validatorUrl;this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===t?"https://validator.swagger.io/validator":t})}},{key:"render",value:function(){var e,t,n=(0,this.props.getConfigs)().spec,r=(0,S.Nm)(this.state.validatorUrl);return"object"===o()(n)&&y()(n).length?null:this.state.url&&(0,S.hW)(this.state.validatorUrl)&&(0,S.hW)(this.state.url)?E.createElement("span",{className:"float-right"},E.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:w()(e="".concat(r,"/debug?url=")).call(e,encodeURIComponent(this.state.url))},E.createElement(C,{src:w()(t="".concat(r,"?url=")).call(t,encodeURIComponent(this.state.url)),alt:"Online validator badge"}))):null}}]),n}(E.Component),C=function(e){f()(n,e);var t=d()(n);function n(e){var r;return i()(this,n),(r=t.call(this,e)).state={loaded:!1,error:!1},r}return u()(n,[{key:"componentDidMount",value:function(){var e=this,t=new Image;t.onload=function(){e.setState({loaded:!0})},t.onerror=function(){e.setState({error:!0})},t.src=this.props.src}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;if(e.src!==this.props.src){var n=new Image;n.onload=function(){t.setState({loaded:!0})},n.onerror=function(){t.setState({error:!0})},n.src=e.src}}},{key:"render",value:function(){return this.state.error?E.createElement("img",{alt:"Error"}):this.state.loaded?E.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}]),n}(E.Component)},86019:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me,s:()=>ve});var r=n(67294),o=n(89927);function a(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=0;n--)!0===t(e[n])&&e.splice(n,1)}function s(e){throw new Error("Unhandled case for value: '"+e+"'")}var u=function(){function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,o=n?n.split(r):[],i=e.split(r);t=i.shift();)-1===a(o,t)&&o.push(t);return this.getAttrs().class=o.join(" "),this},e.prototype.removeClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,o=n?n.split(r):[],i=e.split(r);o.length&&(t=i.shift());){var s=a(o,t);-1!==s&&o.splice(s,1)}return this.getAttrs().class=o.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),""].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+'="'+e[n]+'"');return t.join(" ")},e}();var l=function(){function e(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return e.prototype.build=function(e){return new u({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},e.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(t.class=n),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length=s)return u.host.length==t?(u.host.substr(0,t-o)+n).substr(0,s+r):i(c,s).substr(0,s+r);var p="";if(u.path&&(p+="/"+u.path),u.query&&(p+="?"+u.query),p){if((c+p).length>=s)return(c+p).length==t?(c+p).substr(0,t):(c+i(p,s-c.length)).substr(0,s+r);c+=p}if(u.fragment){var f="#"+u.fragment;if((c+f).length>=s)return(c+f).length==t?(c+f).substr(0,t):(c+i(f,s-c.length)).substr(0,s+r);c+=f}if(u.scheme&&u.host){var h=u.scheme+"://";if((c+h).length0&&(d=c.substr(-1*Math.floor(s/2))),(c.substr(0,Math.ceil(s/2))+n+d).substr(0,s+r)}(e,n):"middle"===r?function(e,t,n){if(e.length<=t)return e;var r,o;null==n?(n="…",r=8,o=3):(r=n.length,o=n.length);var a=t-o,i="";return a>0&&(i=e.substr(-1*Math.floor(a/2))),(e.substr(0,Math.ceil(a/2))+n+i).substr(0,a+r)}(e,n):function(e,t,n){return function(e,t,n){var r;return e.length>t&&(null==n?(n="…",r=3):r=n.length,e=e.substring(0,t-r)+n),e}(e,t,n)}(e,n)},e}(),c=function(){function e(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(e){this.offset=e},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},p(e,t)};function f(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1},e.isValidUriScheme=function(e){var t=e.match(this.uriSchemeRegex),n=t&&t[0].toLowerCase();return"javascript:"!==n&&"vbscript:"!==n},e.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t)&&(!this.hasFullProtocolRegex.test(t)&&!this.hasWordCharAfterProtocolRegex.test(e))},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+C+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),V=(d=new RegExp("[/?#](?:["+T+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+T+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,M(2),")","|","(","(//)?",/(?:www\.)/.source,M(6),")","|","(","(//)?",M(10)+"\\.",L.source,"(?![-"+I+"])",")",")","(?::[0-9]+)?","(?:"+d.source+")?"].join(""),"gi")),W=new RegExp("["+T+"]"),H=function(e){function t(t){var n=e.call(this,t)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=V,n.wordCharRegExp=W,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return f(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,r=this.stripPrefix,o=this.stripTrailingSlash,a=this.decodePercentEncoding,i=this.tagBuilder,s=[],u=function(){var n=t[0],u=t[1],c=t[4],p=t[5],f=t[9],h=t.index,d=p||f,m=e.charAt(h-1);if(!q.isValid(n,u))return"continue";if(h>0&&"@"===m)return"continue";if(h>0&&d&&l.wordCharRegExp.test(m))return"continue";if(/\?$/.test(n)&&(n=n.substr(0,n.length-1)),l.matchHasUnbalancedClosingParen(n))n=n.substr(0,n.length-1);else{var v=l.matchHasInvalidCharAfterTld(n,u);v>-1&&(n=n.substr(0,v))}var g=["http://","https://"].find((function(e){return!!u&&-1!==u.indexOf(e)}));if(g){var y=n.indexOf(g);n=n.substr(y),u=u.substr(y),h+=y}var w=u?"scheme":c?"www":"tld",E=!!u;s.push(new b({tagBuilder:i,matchedText:n,offset:h,urlMatchType:w,url:n,protocolUrlMatch:E,protocolRelativeMatch:!!d,stripPrefix:r,stripTrailingSlash:o,decodePercentEncoding:a}))},l=this;null!==(t=n.exec(e));)u();return s},t.prototype.matchHasUnbalancedClosingParen=function(e){var t,n=e.charAt(e.length-1);if(")"===n)t="(";else if("]"===n)t="[";else{if("}"!==n)return!1;t="{"}for(var r=0,o=0,a=e.length-1;o"===e?(m=new re(h(h({},m),{name:$()})),H()):E.test(e)||x.test(e)||":"===e||V()}function w(e){">"===e?V():E.test(e)?f=3:V()}function _(e){S.test(e)||("/"===e?f=12:">"===e?H():"<"===e?W():"="===e||k.test(e)||A.test(e)?V():f=5)}function C(e){S.test(e)?f=6:"/"===e?f=12:"="===e?f=7:">"===e?H():"<"===e?W():k.test(e)&&V()}function O(e){S.test(e)||("/"===e?f=12:"="===e?f=7:">"===e?H():"<"===e?W():k.test(e)?V():f=5)}function j(e){S.test(e)||('"'===e?f=8:"'"===e?f=9:/[>=`]/.test(e)?V():"<"===e?W():f=10)}function I(e){'"'===e&&(f=11)}function T(e){"'"===e&&(f=11)}function N(e){S.test(e)?f=4:">"===e?H():"<"===e&&W()}function P(e){S.test(e)?f=4:"/"===e?f=12:">"===e?H():"<"===e?W():(f=4,c--)}function R(e){">"===e?(m=new re(h(h({},m),{isClosing:!0})),H()):f=4}function M(t){"--"===e.substr(c,2)?(c+=2,m=new re(h(h({},m),{type:"comment"})),f=14):"DOCTYPE"===e.substr(c,7).toUpperCase()?(c+=7,m=new re(h(h({},m),{type:"doctype"})),f=20):V()}function D(e){"-"===e?f=15:">"===e?V():f=16}function L(e){"-"===e?f=18:">"===e?V():f=16}function B(e){"-"===e&&(f=17)}function F(e){f="-"===e?18:16}function z(e){">"===e?H():"!"===e?f=19:"-"===e||(f=16)}function U(e){"-"===e?f=17:">"===e?H():f=16}function q(e){">"===e?H():"<"===e&&W()}function V(){f=0,m=l}function W(){f=1,m=new re({idx:c})}function H(){var t=e.slice(d,m.idx);t&&a(t,d),"comment"===m.type?i(m.idx):"doctype"===m.type?u(m.idx):(m.isOpening&&r(m.name,m.idx),m.isClosing&&o(m.name,m.idx)),V(),d=c+1}function $(){var t=m.idx+(m.isClosing?2:1);return e.slice(t,c).toLowerCase()}d=0&&r++},onText:function(e,n){if(0===r){var a=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,r=[],o=0;n=t.exec(e);)r.push(e.substring(o,n.index)),r.push(n[0]),o=n.index+n[0].length;return r.push(e.substring(o)),r}(e,/( | |<|<|>|>|"|"|')/gi),i=n;a.forEach((function(e,n){if(n%2==0){var r=t.parseText(e,i);o.push.apply(o,r)}i+=e.length}))}},onCloseTag:function(e){n.indexOf(e)>=0&&(r=Math.max(r-1,0))},onComment:function(e){},onDoctype:function(e){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},e.prototype.compactMatches=function(e){e.sort((function(e,t){return e.getOffset()-t.getOffset()}));for(var t=0;to?t:t+1;e.splice(i,1);continue}e[t+1].getOffset()/g,">"));for(var t=this.parse(e),n=[],r=0,o=0,a=t.length;o/i.test(e)}function se(){var e=[],t=new oe({stripPrefix:!1,url:!0,email:!0,replaceFn:function(t){switch(t.getType()){case"url":e.push({text:t.matchedText,url:t.getUrl()});break;case"email":e.push({text:t.matchedText,url:"mailto:"+t.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:t}}function ue(e){var t,n,r,o,a,i,s,u,l,c,p,f,h,d,m=e.tokens,v=null;for(n=0,r=m.length;n=0;t--)if("link_close"!==(a=o[t]).type){if("htmltag"===a.type&&(d=a.content,/^\s]/i.test(d)&&p>0&&p--,ie(a.content)&&p++),!(p>0)&&"text"===a.type&&ae.test(a.content)){if(v||(f=(v=se()).links,h=v.autolinker),i=a.content,f.length=0,h.link(i),!f.length)continue;for(s=[],c=a.level,u=0;u1&&void 0!==arguments[1]?arguments[1]:{},n=t.useUnsafeMarkdown,r=void 0!==n&&n,o=r,a=r?[]:["style","class"];return r&&!ve.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),ve.hasWarnedAboutDeprecation=!0),pe().sanitize(e,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:o,FORBID_ATTR:a})}ve.hasWarnedAboutDeprecation=!1},45308:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,o=n(78914),a=n.n(o),i=n(69301),s=n.n(i),u=n(90242),l=n(27621),c=n(95102),p={};const f=p;a()(r=s()(c).call(c)).call(r,(function(e){if("./index.js"!==e){var t=c(e);p[(0,u.Zl)(e)]=t.default?t.default:t}})),p.SafeRender=l.default},55812:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SHOW_AUTH_POPUP:()=>h,AUTHORIZE:()=>d,LOGOUT:()=>m,PRE_AUTHORIZE_OAUTH2:()=>v,AUTHORIZE_OAUTH2:()=>g,VALIDATE:()=>y,CONFIGURE_AUTH:()=>b,RESTORE_AUTHORIZATION:()=>w,showDefinitions:()=>E,authorize:()=>x,authorizeWithPersistOption:()=>_,logout:()=>S,logoutWithPersistOption:()=>k,preAuthorizeImplicit:()=>A,authorizeOauth2:()=>C,authorizeOauth2WithPersistOption:()=>O,authorizePassword:()=>j,authorizeApplication:()=>I,authorizeAccessCodeWithFormParams:()=>T,authorizeAccessCodeWithBasicAuthentication:()=>N,authorizeRequest:()=>P,configureAuth:()=>R,restoreAuthorization:()=>M,persistAuthorizationIfNeeded:()=>D,authPopup:()=>L});var r=n(23765),o=n.n(r),a=n(59340),i=n.n(a),s=n(51942),u=n.n(s),l=n(84564),c=n.n(l),p=n(27504),f=n(90242),h="show_popup",d="authorize",m="logout",v="pre_authorize_oauth2",g="authorize_oauth2",y="validate",b="configure_auth",w="restore_authorization";function E(e){return{type:h,payload:e}}function x(e){return{type:d,payload:e}}var _=function(e){return function(t){var n=t.authActions;n.authorize(e),n.persistAuthorizationIfNeeded()}};function S(e){return{type:m,payload:e}}var k=function(e){return function(t){var n=t.authActions;n.logout(e),n.persistAuthorizationIfNeeded()}},A=function(e){return function(t){var n=t.authActions,r=t.errActions,o=e.auth,a=e.token,s=e.isValid,u=o.schema,l=o.name,c=u.get("flow");delete p.Z.swaggerUIRedirectOauth2,"accessCode"===c||s||r.newAuthErr({authId:l,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:l,source:"auth",level:"error",message:i()(a)}):n.authorizeOauth2WithPersistOption({auth:o,token:a})}};function C(e){return{type:g,payload:e}}var O=function(e){return function(t){var n=t.authActions;n.authorizeOauth2(e),n.persistAuthorizationIfNeeded()}},j=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.name,a=e.username,i=e.password,s=e.passwordType,l=e.clientId,c=e.clientSecret,p={grant_type:"password",scope:e.scopes.join(" "),username:a,password:i},h={};switch(s){case"request-body":!function(e,t,n){t&&u()(e,{client_id:t});n&&u()(e,{client_secret:n})}(p,l,c);break;case"basic":h.Authorization="Basic "+(0,f.r3)(l+":"+c);break;default:console.warn("Warning: invalid passwordType ".concat(s," was passed, not including client id and secret"))}return n.authorizeRequest({body:(0,f.GZ)(p),url:r.get("tokenUrl"),name:o,headers:h,query:{},auth:e})}};var I=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.scopes,a=e.name,i=e.clientId,s=e.clientSecret,u={Authorization:"Basic "+(0,f.r3)(i+":"+s)},l={grant_type:"client_credentials",scope:o.join(" ")};return n.authorizeRequest({body:(0,f.GZ)(l),name:a,url:r.get("tokenUrl"),auth:e,headers:u})}},T=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,l={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:s,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:(0,f.GZ)(l),name:a,url:o.get("tokenUrl"),auth:t})}},N=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,l={Authorization:"Basic "+(0,f.r3)(i+":"+s)},c={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:(0,f.GZ)(c),name:a,url:o.get("tokenUrl"),auth:t,headers:l})}},P=function(e){return function(t){var n,r=t.fn,a=t.getConfigs,s=t.authActions,l=t.errActions,p=t.oas3Selectors,f=t.specSelectors,h=t.authSelectors,d=e.body,m=e.query,v=void 0===m?{}:m,g=e.headers,y=void 0===g?{}:g,b=e.name,w=e.url,E=e.auth,x=(h.getConfigs()||{}).additionalQueryStringParams;if(f.isOAS3()){var _=p.serverEffectiveValue(p.selectedServer());n=c()(w,_,!0)}else n=c()(w,f.url(),!0);"object"===o()(x)&&(n.query=u()({},n.query,x));var S=n.toString(),k=u()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},y);r.fetch({url:S,method:"post",headers:k,query:v,body:d,requestInterceptor:a().requestInterceptor,responseInterceptor:a().responseInterceptor}).then((function(e){var t=JSON.parse(e.data),n=t&&(t.error||""),r=t&&(t.parseError||"");e.ok?n||r?l.newAuthErr({authId:b,level:"error",source:"auth",message:i()(t)}):s.authorizeOauth2WithPersistOption({auth:E,token:t}):l.newAuthErr({authId:b,level:"error",source:"auth",message:e.statusText})})).catch((function(e){var t=new Error(e).message;if(e.response&&e.response.data){var n=e.response.data;try{var r="string"==typeof n?JSON.parse(n):n;r.error&&(t+=", error: ".concat(r.error)),r.error_description&&(t+=", description: ".concat(r.error_description))}catch(e){}}l.newAuthErr({authId:b,level:"error",source:"auth",message:t})}))}};function R(e){return{type:b,payload:e}}function M(e){return{type:w,payload:e}}var D=function(){return function(e){var t=e.authSelectors;if((0,e.getConfigs)().persistAuthorization){var n=t.authorized();localStorage.setItem("authorized",i()(n.toJS()))}}},L=function(e,t){return function(){p.Z.swaggerUIRedirectOauth2=t,p.Z.open(e)}}},93705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,preauthorizeBasic:()=>d,preauthorizeApiKey:()=>m});var r=n(87672),o=n.n(r),a=n(54103),i=n.n(a),s=n(77766),u=n.n(s),l=n(43962),c=n(55812),p=n(60035),f=n(48302);function h(){return{afterLoad:function(e){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=e.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=i()(m).call(m,null,e),this.rootInjects.preauthorizeBasic=i()(d).call(d,null,e)},statePlugins:{auth:{reducers:l.default,actions:c,selectors:p},spec:{wrapActions:f}}}}function d(e,t,n,r){var a,i=e.authActions.authorize,s=e.specSelectors,l=s.specJson,c=(0,s.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],p=l().getIn(u()(a=[]).call(a,c,[t]));return p?i(o()({},t,{value:{username:n,password:r},schema:p.toJS()})):null}function m(e,t,n){var r,a=e.authActions.authorize,i=e.specSelectors,s=i.specJson,l=(0,i.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],c=s().getIn(u()(r=[]).call(r,l,[t]));return c?a(o()({},t,{value:n,schema:c.toJS()})):null}},43962:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r,o=n(87672),a=n.n(o),i=n(18777),s=n.n(i),u=n(78914),l=n.n(u),c=n(51942),p=n.n(c),f=n(43393),h=n(90242),d=n(55812);const m=(r={},a()(r,d.SHOW_AUTH_POPUP,(function(e,t){var n=t.payload;return e.set("showDefinitions",n)})),a()(r,d.AUTHORIZE,(function(e,t){var n,r=t.payload,o=(0,f.fromJS)(r),a=e.get("authorized")||(0,f.Map)();return l()(n=o.entrySeq()).call(n,(function(t){var n=s()(t,2),r=n[0],o=n[1];if(!(0,h.Wl)(o.getIn))return e.set("authorized",a);var i=o.getIn(["schema","type"]);if("apiKey"===i||"http"===i)a=a.set(r,o);else if("basic"===i){var u=o.getIn(["value","username"]),l=o.getIn(["value","password"]);a=(a=a.setIn([r,"value"],{username:u,header:"Basic "+(0,h.r3)(u+":"+l)})).setIn([r,"schema"],o.get("schema"))}})),e.set("authorized",a)})),a()(r,d.AUTHORIZE_OAUTH2,(function(e,t){var n,r=t.payload,o=r.auth,a=r.token;o.token=p()({},a),n=(0,f.fromJS)(o);var i=e.get("authorized")||(0,f.Map)();return i=i.set(n.get("name"),n),e.set("authorized",i)})),a()(r,d.LOGOUT,(function(e,t){var n=t.payload,r=e.get("authorized").withMutations((function(e){l()(n).call(n,(function(t){e.delete(t)}))}));return e.set("authorized",r)})),a()(r,d.CONFIGURE_AUTH,(function(e,t){var n=t.payload;return e.set("configs",n)})),a()(r,d.RESTORE_AUTHORIZATION,(function(e,t){var n=t.payload;return e.set("authorized",(0,f.fromJS)(n.authorized))})),r)},60035:(e,t,n)=>{"use strict";n.r(t),n.d(t,{shownDefinitions:()=>w,definitionsToAuthorize:()=>E,getDefinitionsByNames:()=>x,definitionsForRequirements:()=>_,authorized:()=>S,isAuthorized:()=>k,getConfigs:()=>A});var r=n(18777),o=n.n(r),a=n(78914),i=n.n(a),s=n(20116),u=n.n(s),l=n(77149),c=n.n(l),p=n(81643),f=n.n(p),h=n(2991),d=n.n(h),m=n(86902),v=n.n(m),g=n(20573),y=n(43393),b=function(e){return e},w=(0,g.P1)(b,(function(e){return e.get("showDefinitions")})),E=(0,g.P1)(b,(function(){return function(e){var t,n=e.specSelectors.securityDefinitions()||(0,y.Map)({}),r=(0,y.List)();return i()(t=n.entrySeq()).call(t,(function(e){var t=o()(e,2),n=t[0],a=t[1],i=(0,y.Map)();i=i.set(n,a),r=r.push(i)})),r}})),x=function(e,t){return function(e){var n,r=e.specSelectors;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");var a=r.securityDefinitions(),s=(0,y.List)();return i()(n=t.valueSeq()).call(n,(function(e){var t,n=(0,y.Map)();i()(t=e.entrySeq()).call(t,(function(e){var t,r,s=o()(e,2),u=s[0],l=s[1],c=a.get(u);"oauth2"===c.get("type")&&l.size&&(t=c.get("scopes"),i()(r=t.keySeq()).call(r,(function(e){l.contains(e)||(t=t.delete(e))})),c=c.set("allowedScopes",t));n=n.set(u,c)})),s=s.push(n)})),s}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.List)();return function(e){var n=e.authSelectors.definitionsToAuthorize()||(0,y.List)();return u()(n).call(n,(function(e){return c()(t).call(t,(function(t){return t.get(e.keySeq().first())}))}))}},S=(0,g.P1)(b,(function(e){return e.get("authorized")||(0,y.Map)()})),k=function(e,t){return function(e){var n,r=e.authSelectors.authorized();return y.List.isList(t)?!!u()(n=t.toJS()).call(n,(function(e){var t,n;return-1===f()(t=d()(n=v()(e)).call(n,(function(e){return!!r.get(e)}))).call(t,!1)})).length:null}},A=(0,g.P1)(b,(function(e){return e.get("configs")}))},48302:(e,t,n)=>{"use strict";n.r(t),n.d(t,{execute:()=>a});var r=n(95945),o=n.n(r),a=function(e,t){var n=t.authSelectors,r=t.specSelectors;return function(t){var a=t.path,i=t.method,s=t.operation,u=t.extras,l={authorized:n.authorized()&&n.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return e(o()({path:a,method:i,operation:s,securities:l},u))}}},70714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_CONFIGS:()=>a,TOGGLE_CONFIGS:()=>i,update:()=>s,toggle:()=>u,loaded:()=>l});var r=n(87672),o=n.n(r),a="configs_update",i="configs_toggle";function s(e,t){return{type:a,payload:o()({},e,t)}}function u(e){return{type:i,payload:e}}var l=function(){return function(e){var t=e.getConfigs,n=e.authActions;if(t().persistAuthorization){var r=localStorage.getItem("authorized");r&&n.restoreAuthorization({authorized:JSON.parse(r)})}}}},92256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseYamlConfig:()=>o});var r=n(1272),o=function(e,t){try{return r.ZP.load(e)}catch(e){return t&&t.errActions.newThrownErr(new Error(e)),{}}}},1661:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(15163),o=n(92256),a=n(70714),i=n(22698),s=n(69018),u=n(37743),l={getLocalConfig:function(){return(0,o.parseYamlConfig)(r)}};function c(){return{statePlugins:{spec:{actions:i,selectors:l},configs:{reducers:u.default,actions:a,selectors:s}}}}},37743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,o=n(87672),a=n.n(o),i=n(43393),s=n(70714);const u=(r={},a()(r,s.UPDATE_CONFIGS,(function(e,t){return e.merge((0,i.fromJS)(t.payload))})),a()(r,s.TOGGLE_CONFIGS,(function(e,t){var n=t.payload,r=e.get(n);return e.set(n,!r)})),r)},69018:(e,t,n)=>{"use strict";n.r(t),n.d(t,{get:()=>a});var r=n(41511),o=n.n(r),a=function(e,t){return e.getIn(o()(t)?t:[t])}},22698:(e,t,n)=>{"use strict";n.r(t),n.d(t,{downloadConfig:()=>o,getConfigByUrl:()=>a});var r=n(92256),o=function(e){return function(t){return(0,t.fn.fetch)(e)}},a=function(e,t){return function(n){var o=n.specActions;if(e)return o.downloadConfig(e).then(a,a);function a(n){n instanceof Error||n.status>=400?(o.updateLoadingStatus("failedConfig"),o.updateLoadingStatus("failedConfig"),o.updateUrl(""),console.error(n.statusText+" "+e.url),t(null)):t((0,r.parseYamlConfig)(n.text))}}}},31970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{setHash:()=>r});var r=function(e){return e?history.pushState(null,null,"#".concat(e)):window.location.hash=""}},34980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(41599),o=n(60877),a=n(34584);function i(){return[r.default,{statePlugins:{configs:{wrapActions:{loaded:function(e,t){return function(){e.apply(void 0,arguments);var n=decodeURIComponent(window.location.hash);t.layoutActions.parseDeepLinkHash(n)}}}}},wrapComponents:{operation:o.default,OperationTag:a.default}}]}},41599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{show:()=>A,scrollTo:()=>C,parseDeepLinkHash:()=>O,readyToScroll:()=>j,scrollToElement:()=>I,clearScrollTo:()=>T,default:()=>N});var r,o=n(87672),a=n.n(o),i=n(18777),s=n.n(i),u=n(41511),l=n.n(u),c=n(77766),p=n.n(c),f=n(3649),h=n.n(f),d=n(2991),m=n.n(d),v=n(81643),g=n.n(v),y=n(31970),b=n(45172),w=n.n(b),E=n(90242),x=n(43393),_=n.n(x),S="layout_scroll_to",k="layout_clear_scroll",A=function(e,t){var n=t.getConfigs,r=t.layoutSelectors;return function(){for(var t=arguments.length,o=new Array(t),a=0;a-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),n.show(m()(y).call(y,(function(e){return e.replace(/_/g," ")})),!0)),n.show(y,!0)}(g()(f).call(f,"_")>-1||g()(v).call(v,"_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),n.show(m()(u).call(u,(function(e){return e.replace(/_/g," ")})),!0)),n.show(u,!0),n.scrollTo(u)}}},j=function(e,t){return function(n){var r=n.layoutSelectors.getScrollToKey();_().is(r,(0,x.fromJS)(e))&&(n.layoutActions.scrollToElement(t),n.layoutActions.clearScrollTo())}},I=function(e,t){return function(n){try{t=t||n.fn.getScrollParent(e),w().createScroller(t).to(e)}catch(e){console.error(e)}}},T=function(){return{type:k}};const N={fn:{getScrollParent:function(e,t){var n=document.documentElement,r=getComputedStyle(e),o="absolute"===r.position,a=t?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===r.position)return n;for(var i=e;i=i.parentElement;)if(r=getComputedStyle(i),(!o||"static"!==r.position)&&a.test(r.overflow+r.overflowY+r.overflowX))return i;return n}},statePlugins:{layout:{actions:{scrollToElement:I,scrollTo:C,clearScrollTo:T,readyToScroll:j,parseDeepLinkHash:O},selectors:{getScrollToKey:function(e){return e.get("scrollToKey")},isShownKeyFromUrlHashArray:function(e,t){var n=s()(t,2),r=n[0],o=n[1];return o?["operations",r,o]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey:function(e,t){var n=s()(t,3),r=n[0],o=n[1],a=n[2];return"operations"==r?[o,a]:"operations-tag"==r?[o]:[]}},reducers:(r={},a()(r,S,(function(e,t){return e.set("scrollToKey",_().fromJS(t.payload))})),a()(r,k,(function(e){return e.delete("scrollToKey")})),r),wrapActions:{show:A}}}}},34584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(77766),v=n.n(m),g=n(67294);const y=function(e,t){return function(n){c()(a,n);var r=f()(a);function a(){var e,n;o()(this,a);for(var i=arguments.length,s=new Array(i),l=0;l{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(77766),v=n.n(m),g=n(67294);n(23930);const y=function(e,t){return function(n){c()(a,n);var r=f()(a);function a(){var e,n;o()(this,a);for(var i=arguments.length,s=new Array(i),l=0;l{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(51942),o=n.n(r),a=n(39969),i=n.n(a),s=n(77766),u=n.n(s),l=n(81643),c=n.n(l),p=n(59340),f=n.n(p),h=n(20573),d=n(43393),m=n(27504);function v(e){var t=e.fn;return{statePlugins:{spec:{actions:{download:function(e){return function(n){var r=n.errActions,a=n.specSelectors,s=n.specActions,l=n.getConfigs,c=t.fetch,p=l();function f(t){if(t instanceof Error||t.status>=400)return s.updateLoadingStatus("failed"),r.newThrownErr(o()(new Error((t.message||t.statusText)+" "+e),{source:"fetch"})),void(!t.status&&t instanceof Error&&function(){try{var t;if("URL"in m.Z?t=new(i())(e):(t=document.createElement("a")).href=e,"https:"!==t.protocol&&"https:"===m.Z.location.protocol){var n=o()(new Error("Possible mixed-content issue? The page was loaded over https:// but a ".concat(t.protocol,"// URL was specified. Check that you are not attempting to load mixed content.")),{source:"fetch"});return void r.newThrownErr(n)}if(t.origin!==m.Z.location.origin){var a,s=o()(new Error(u()(a="Possible cross-origin (CORS) issue? The URL origin (".concat(t.origin,") does not match the page (")).call(a,m.Z.location.origin,"). Check the server returns the correct 'Access-Control-Allow-*' headers.")),{source:"fetch"});r.newThrownErr(s)}}catch(e){return}}());s.updateLoadingStatus("success"),s.updateSpec(t.text),a.url()!==e&&s.updateUrl(e)}e=e||a.url(),s.updateLoadingStatus("loading"),r.clear({source:"fetch"}),c({url:e,loadSpec:!0,requestInterceptor:p.requestInterceptor||function(e){return e},responseInterceptor:p.responseInterceptor||function(e){return e},credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(f,f)}},updateLoadingStatus:function(e){var t,n=[null,"loading","failed","success","failedConfig"];-1===c()(n).call(n,e)&&console.error(u()(t="Error: ".concat(e," is not one of ")).call(t,f()(n)));return{type:"spec_update_loading_status",payload:e}}},reducers:{spec_update_loading_status:function(e,t){return"string"==typeof t.payload?e.set("loadingStatus",t.payload):e}},selectors:{loadingStatus:(0,h.P1)((function(e){return e||(0,d.Map)()}),(function(e){return e.get("loadingStatus")||null}))}}}}}},34966:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NEW_THROWN_ERR:()=>o,NEW_THROWN_ERR_BATCH:()=>a,NEW_SPEC_ERR:()=>i,NEW_SPEC_ERR_BATCH:()=>s,NEW_AUTH_ERR:()=>u,CLEAR:()=>l,CLEAR_BY:()=>c,newThrownErr:()=>p,newThrownErrBatch:()=>f,newSpecErr:()=>h,newSpecErrBatch:()=>d,newAuthErr:()=>m,clear:()=>v,clearBy:()=>g});var r=n(7710),o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",u="err_new_auth_err",l="err_clear",c="err_clear_by";function p(e){return{type:o,payload:(0,r.serializeError)(e)}}function f(e){return{type:a,payload:e}}function h(e){return{type:i,payload:e}}function d(e){return{type:s,payload:e}}function m(e){return{type:u,payload:e}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:l,payload:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:c,payload:e}}},56982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(20116),o=n.n(r),a=n(2991),i=n.n(a),s=n(54061),u=n.n(s),l=[n(2392),n(21835)];function c(e){var t,n={jsSpec:{}},r=u()(l,(function(e,t){try{var r=t.transform(e,n);return o()(r).call(r,(function(e){return!!e}))}catch(t){return console.error("Transformer error:",t),e}}),e);return i()(t=o()(r).call(r,(function(e){return!!e}))).call(t,(function(e){return!e.get("line")&&e.get("path"),e}))}},2392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{transform:()=>p});var r=n(2991),o=n.n(r),a=n(81643),i=n.n(a),s=n(3649),u=n.n(s),l=n(32366),c=n.n(l);function p(e){return o()(e).call(e,(function(e){var t,n="is not of a type(s)",r=i()(t=e.get("message")).call(t,n);if(r>-1){var o,a,s=u()(o=e.get("message")).call(o,r+n.length).split(",");return e.set("message",u()(a=e.get("message")).call(a,0,r)+function(e){return c()(e).call(e,(function(e,t,n,r){return n===r.length-1&&r.length>1?e+"or "+t:r[n+1]&&r.length>2?e+t+", ":r[n+1]?e+t+" ":e+t}),"should be a")}(s))}return e}))}},21835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{transform:()=>r});n(2991),n(81643),n(27361),n(43393);function r(e,t){t.jsSpec;return e}},77793:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(93527),o=n(34966),a=n(87667);function i(e){return{statePlugins:{err:{reducers:(0,r.default)(e),actions:o,selectors:a}}}}},93527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(87672),o=n.n(r),a=n(51942),i=n.n(a),s=n(2991),u=n.n(s),l=n(77766),c=n.n(l),p=n(20116),f=n.n(p),h=n(10062),d=n.n(h),m=n(34966),v=n(43393),g=n(56982),y={line:0,level:"error",message:"Unknown error"};function b(){var e;return e={},o()(e,m.NEW_THROWN_ERR,(function(e,t){var n=t.payload,r=i()(y,n,{type:"thrown"});return e.update("errors",(function(e){return(e||(0,v.List)()).push((0,v.fromJS)(r))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_THROWN_ERR_BATCH,(function(e,t){var n=t.payload;return n=u()(n).call(n,(function(e){return(0,v.fromJS)(i()(y,e,{type:"thrown"}))})),e.update("errors",(function(e){var t;return c()(t=e||(0,v.List)()).call(t,(0,v.fromJS)(n))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_SPEC_ERR,(function(e,t){var n=t.payload,r=(0,v.fromJS)(n);return r=r.set("type","spec"),e.update("errors",(function(e){return(e||(0,v.List)()).push((0,v.fromJS)(r)).sortBy((function(e){return e.get("line")}))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_SPEC_ERR_BATCH,(function(e,t){var n=t.payload;return n=u()(n).call(n,(function(e){return(0,v.fromJS)(i()(y,e,{type:"spec"}))})),e.update("errors",(function(e){var t;return c()(t=e||(0,v.List)()).call(t,(0,v.fromJS)(n))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_AUTH_ERR,(function(e,t){var n=t.payload,r=(0,v.fromJS)(i()({},n));return r=r.set("type","auth"),e.update("errors",(function(e){return(e||(0,v.List)()).push((0,v.fromJS)(r))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.CLEAR,(function(e,t){var n,r=t.payload;if(!r||!e.get("errors"))return e;var o=f()(n=e.get("errors")).call(n,(function(e){var t;return d()(t=e.keySeq()).call(t,(function(t){var n=e.get(t),o=r[t];return!o||n!==o}))}));return e.merge({errors:o})})),o()(e,m.CLEAR_BY,(function(e,t){var n,r=t.payload;if(!r||"function"!=typeof r)return e;var o=f()(n=e.get("errors")).call(n,(function(e){return r(e)}));return e.merge({errors:o})})),e}},87667:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allErrors:()=>a,lastError:()=>i});var r=n(43393),o=n(20573),a=(0,o.P1)((function(e){return e}),(function(e){return e.get("errors",(0,r.List)())})),i=(0,o.P1)(a,(function(e){return e.last()}))},49978:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4309);function o(){return{fn:{opsFilter:r.default}}}},4309:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(20116),o=n.n(r),a=n(81643),i=n.n(a);function s(e,t){return o()(e).call(e,(function(e,n){return-1!==i()(n).call(n,t)}))}},25474:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_LAYOUT:()=>o,UPDATE_FILTER:()=>a,UPDATE_MODE:()=>i,SHOW:()=>s,updateLayout:()=>u,updateFilter:()=>l,show:()=>c,changeMode:()=>p});var r=n(90242),o="layout_update_layout",a="layout_update_filter",i="layout_update_mode",s="layout_show";function u(e){return{type:o,payload:e}}function l(e){return{type:a,payload:e}}function c(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=(0,r.AF)(e),{type:s,payload:{thing:e,shown:t}}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=(0,r.AF)(e),{type:i,payload:{thing:e,mode:t}}}},26821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(5672),o=n(25474),a=n(4400),i=n(28989);function s(){return{statePlugins:{layout:{reducers:r.default,actions:o,selectors:a},spec:{wrapSelectors:i}}}}},5672:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,o=n(87672),a=n.n(o),i=n(77766),s=n.n(i),u=n(43393),l=n(25474);const c=(r={},a()(r,l.UPDATE_LAYOUT,(function(e,t){return e.set("layout",t.payload)})),a()(r,l.UPDATE_FILTER,(function(e,t){return e.set("filter",t.payload)})),a()(r,l.SHOW,(function(e,t){var n=t.payload.shown,r=(0,u.fromJS)(t.payload.thing);return e.update("shown",(0,u.fromJS)({}),(function(e){return e.set(r,n)}))})),a()(r,l.UPDATE_MODE,(function(e,t){var n,r=t.payload.thing,o=t.payload.mode;return e.setIn(s()(n=["modes"]).call(n,r),(o||"")+"")})),r)},4400:(e,t,n)=>{"use strict";n.r(t),n.d(t,{current:()=>c,currentFilter:()=>p,isShown:()=>f,whatMode:()=>h,showSummary:()=>d});var r=n(59036),o=n.n(r),a=n(77766),i=n.n(a),s=n(20573),u=n(90242),l=n(43393),c=function(e){return e.get("layout")},p=function(e){return e.get("filter")},f=function(e,t,n){return t=(0,u.AF)(t),e.get("shown",(0,l.fromJS)({})).get((0,l.fromJS)(t),n)},h=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t=(0,u.AF)(t),e.getIn(i()(n=["modes"]).call(n,o()(t)),r)},d=(0,s.P1)((function(e){return e}),(function(e){return!f(e,"editor")}))},28989:(e,t,n)=>{"use strict";n.r(t),n.d(t,{taggedOperations:()=>s});var r=n(77766),o=n.n(r),a=n(3649),i=n.n(a),s=function(e,t){return function(n){for(var r,a=arguments.length,s=new Array(a>1?a-1:0),u=1;u=0&&(l=i()(l).call(l,0,m)),l}}},9150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(54103),o=n.n(r);function a(e){var t=e.configs,n={debug:0,info:1,log:2,warn:3,error:4},r=function(e){return n[e]||-1},a=t.logLevel,i=r(a);function s(e){for(var t,n=arguments.length,o=new Array(n>1?n-1:0),a=1;a=i&&(t=console)[e].apply(t,o)}return s.warn=o()(s).call(s,null,"warn"),s.error=o()(s).call(s,null,"error"),s.info=o()(s).call(s,null,"info"),s.debug=o()(s).call(s,null,"debug"),{rootInjects:{log:s}}}},67002:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_SELECTED_SERVER:()=>r,UPDATE_REQUEST_BODY_VALUE:()=>o,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>a,UPDATE_REQUEST_BODY_INCLUSION:()=>i,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>s,UPDATE_REQUEST_CONTENT_TYPE:()=>u,UPDATE_RESPONSE_CONTENT_TYPE:()=>l,UPDATE_SERVER_VARIABLE_VALUE:()=>c,SET_REQUEST_BODY_VALIDATE_ERROR:()=>p,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>f,CLEAR_REQUEST_BODY_VALUE:()=>h,setSelectedServer:()=>d,setRequestBodyValue:()=>m,setRetainRequestBodyValueFlag:()=>v,setRequestBodyInclusion:()=>g,setActiveExamplesMember:()=>y,setRequestContentType:()=>b,setResponseContentType:()=>w,setServerVariableValue:()=>E,setRequestBodyValidateError:()=>x,clearRequestBodyValidateError:()=>_,initRequestBodyValidateError:()=>S,clearRequestBodyValue:()=>k});var r="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",u="oas3_set_request_content_type",l="oas3_set_response_content_type",c="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";function d(e,t){return{type:r,payload:{selectedServerUrl:e,namespace:t}}}function m(e){var t=e.value,n=e.pathMethod;return{type:o,payload:{value:t,pathMethod:n}}}var v=function(e){var t=e.value,n=e.pathMethod;return{type:a,payload:{value:t,pathMethod:n}}};function g(e){var t=e.value,n=e.pathMethod,r=e.name;return{type:i,payload:{value:t,pathMethod:n,name:r}}}function y(e){var t=e.name,n=e.pathMethod,r=e.contextType,o=e.contextName;return{type:s,payload:{name:t,pathMethod:n,contextType:r,contextName:o}}}function b(e){var t=e.value,n=e.pathMethod;return{type:u,payload:{value:t,pathMethod:n}}}function w(e){var t=e.value,n=e.path,r=e.method;return{type:l,payload:{value:t,path:n,method:r}}}function E(e){var t=e.server,n=e.namespace,r=e.key,o=e.val;return{type:c,payload:{server:t,namespace:n,key:r,val:o}}}var x=function(e){var t=e.path,n=e.method,r=e.validationErrors;return{type:p,payload:{path:t,method:n,validationErrors:r}}},_=function(e){var t=e.path,n=e.method;return{type:f,payload:{path:t,method:n}}},S=function(e){var t=e.pathMethod;return{type:f,payload:{path:t[0],method:t[1]}}},k=function(e){var t=e.pathMethod;return{type:h,payload:{pathMethod:t}}}},73723:(e,t,n)=>{"use strict";n.r(t),n.d(t,{definitionsToAuthorize:()=>b});var r=n(87672),o=n.n(r),a=n(18777),i=n.n(a),s=n(77766),u=n.n(s),l=n(78914),c=n.n(l),p=n(20116),f=n.n(p),h=n(32366),d=n.n(h),m=n(20573),v=n(43393),g=n(7779);var y,b=(y=(0,m.P1)((function(e){return e}),(function(e){return e.specSelectors.securityDefinitions()}),(function(e,t){var n,r=(0,v.List)();return t?(c()(n=t.entrySeq()).call(n,(function(e){var t,n=i()(e,2),a=n[0],s=n[1],u=s.get("type");if("oauth2"===u&&c()(t=s.get("flows").entrySeq()).call(t,(function(e){var t=i()(e,2),n=t[0],u=t[1],l=(0,v.fromJS)({flow:n,authorizationUrl:u.get("authorizationUrl"),tokenUrl:u.get("tokenUrl"),scopes:u.get("scopes"),type:s.get("type"),description:s.get("description")});r=r.push(new v.Map(o()({},a,f()(l).call(l,(function(e){return void 0!==e})))))})),"http"!==u&&"apiKey"!==u||(r=r.push(new v.Map(o()({},a,s)))),"openIdConnect"===u&&s.get("openIdConnectData")){var l=s.get("openIdConnectData"),p=l.get("grant_types_supported")||["authorization_code","implicit"];c()(p).call(p,(function(e){var t,n=l.get("scopes_supported")&&d()(t=l.get("scopes_supported")).call(t,(function(e,t){return e.set(t,"")}),new v.Map),i=(0,v.fromJS)({flow:e,authorizationUrl:l.get("authorization_endpoint"),tokenUrl:l.get("token_endpoint"),scopes:n,type:"oauth2",openIdConnectUrl:s.get("openIdConnectUrl")});r=r.push(new v.Map(o()({},a,f()(i).call(i,(function(e){return void 0!==e})))))}))}})),r):r})),function(e,t){return function(){for(var n=t.getSystem().specSelectors.specJson(),r=arguments.length,o=new Array(r),a=0;a{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(5872),o=n.n(r),a=n(18777),i=n.n(a),s=n(2991),u=n.n(s),l=n(67294),c=(n(23930),n(43393));const p=function(e){var t,n=e.callbacks,r=e.getComponent,a=e.specPath,s=r("OperationContainer",!0);if(!n)return l.createElement("span",null,"No callbacks");var p=u()(t=n.entrySeq()).call(t,(function(t){var n,r=i()(t,2),p=r[0],f=r[1];return l.createElement("div",{key:p},l.createElement("h2",null,p),u()(n=f.entrySeq()).call(n,(function(t){var n,r=i()(t,2),f=r[0],h=r[1];return"$$ref"===f?null:l.createElement("div",{key:f},u()(n=h.entrySeq()).call(n,(function(t){var n=i()(t,2),r=n[0],u=n[1];if("$$ref"===r)return null;var h=(0,c.fromJS)({operation:u});return l.createElement(s,o()({},e,{op:h,key:r,tag:"",method:r,path:f,specPath:a.push(p,f,r),allowTryItOut:!1}))})))})))}));return l.createElement("div",null,p)}},86775:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(51942),v=n.n(m),g=n(20116),y=n.n(g),b=n(2991),w=n.n(b),E=n(67294),x=function(e){c()(n,e);var t=f()(n);function n(e,r){var a;o()(this,n),a=t.call(this,e,r),d()(u()(a),"onChange",(function(e){var t=a.props.onChange,n=e.target,r=n.value,o=n.name,i=v()({},a.state.value);o?i[o]=r:i=r,a.setState({value:i},(function(){return t(a.state)}))}));var i=a.props,s=i.name,l=i.schema,c=a.getValue();return a.state={name:s,schema:l,value:c},a}return i()(n,[{key:"getValue",value:function(){var e=this.props,t=e.name,n=e.authorized;return n&&n.getIn([t,"value"])}},{key:"render",value:function(){var e,t,n=this.props,r=n.schema,o=n.getComponent,a=n.errSelectors,i=n.name,s=o("Input"),u=o("Row"),l=o("Col"),c=o("authError"),p=o("Markdown",!0),f=o("JumpToPath",!0),h=(r.get("scheme")||"").toLowerCase(),d=this.getValue(),m=y()(e=a.allErrors()).call(e,(function(e){return e.get("authId")===i}));if("basic"===h){var v,g=d?d.get("username"):null;return E.createElement("div",null,E.createElement("h4",null,E.createElement("code",null,i||r.get("name")),"  (http, Basic)",E.createElement(f,{path:["securityDefinitions",i]})),g&&E.createElement("h6",null,"Authorized"),E.createElement(u,null,E.createElement(p,{source:r.get("description")})),E.createElement(u,null,E.createElement("label",null,"Username:"),g?E.createElement("code",null," ",g," "):E.createElement(l,null,E.createElement(s,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),E.createElement(u,null,E.createElement("label",null,"Password:"),g?E.createElement("code",null," ****** "):E.createElement(l,null,E.createElement(s,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),w()(v=m.valueSeq()).call(v,(function(e,t){return E.createElement(c,{error:e,key:t})})))}return"bearer"===h?E.createElement("div",null,E.createElement("h4",null,E.createElement("code",null,i||r.get("name")),"  (http, Bearer)",E.createElement(f,{path:["securityDefinitions",i]})),d&&E.createElement("h6",null,"Authorized"),E.createElement(u,null,E.createElement(p,{source:r.get("description")})),E.createElement(u,null,E.createElement("label",null,"Value:"),d?E.createElement("code",null," ****** "):E.createElement(l,null,E.createElement(s,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),w()(t=m.valueSeq()).call(t,(function(e,t){return E.createElement(c,{error:e,key:t})}))):E.createElement("div",null,E.createElement("em",null,E.createElement("b",null,i)," HTTP authentication: unsupported scheme ","'".concat(h,"'")))}}]),n}(E.Component)},76467:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(33427),o=n(42458),a=n(15757),i=n(56617),s=n(9928),u=n(45327),l=n(86775),c=n(96796);const p={Callbacks:r.default,HttpAuth:l.default,RequestBody:o.default,Servers:i.default,ServersContainer:s.default,RequestBodyEditor:u.default,OperationServers:c.default,operationLink:a.default}},15757:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(51379),u=n.n(s),l=n(10098),c=n.n(l),p=n(59340),f=n.n(p),h=n(2991),d=n.n(h),m=n(67294),v=(n(23930),function(e){u()(n,e);var t=c()(n);function n(){return o()(this,n),t.apply(this,arguments)}return i()(n,[{key:"render",value:function(){var e=this.props,t=e.link,n=e.name,r=(0,e.getComponent)("Markdown",!0),o=t.get("operationId")||t.get("operationRef"),a=t.get("parameters")&&t.get("parameters").toJS(),i=t.get("description");return m.createElement("div",{className:"operation-link"},m.createElement("div",{className:"description"},m.createElement("b",null,m.createElement("code",null,n)),i?m.createElement(r,{source:i}):null),m.createElement("pre",null,"Operation `",o,"`",m.createElement("br",null),m.createElement("br",null),"Parameters ",function(e,t){var n;if("string"!=typeof t)return"";return d()(n=t.split("\n")).call(n,(function(t,n){return n>0?Array(e+1).join(" ")+t:t})).join("\n")}(0,f()(a,null,2))||"{}",m.createElement("br",null)))}}]),n}(m.Component));const g=v},96796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(95945),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(77766),y=n.n(g),b=n(67294),w=(n(23930),function(e){f()(n,e);var t=d()(n);function n(){var e,r;i()(this,n);for(var a=arguments.length,s=new Array(a),u=0;u{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(67294),v=n(94184),g=n.n(v),y=n(90242),b=Function.prototype,w=function(e){c()(n,e);var t=f()(n);function n(e,r){var a;return o()(this,n),a=t.call(this,e,r),d()(u()(a),"applyDefaultValue",(function(e){var t=e||a.props,n=t.onChange,r=t.defaultValue;return a.setState({value:r}),n(r)})),d()(u()(a),"onChange",(function(e){a.props.onChange((0,y.Pz)(e))})),d()(u()(a),"onDomChange",(function(e){var t=e.target.value;a.setState({value:t},(function(){return a.onChange(t)}))})),a.state={value:(0,y.Pz)(e.value)||e.defaultValue},e.onChange(e.value),a}return i()(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:(0,y.Pz)(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}},{key:"render",value:function(){var e=this.props,t=e.getComponent,n=e.errors,r=this.state.value,o=n.size>0,a=t("TextArea");return m.createElement("div",{className:"body-param"},m.createElement(a,{className:g()("body-param__text",{invalid:o}),title:n.size?n.join(", "):"",value:r,onChange:this.onDomChange}))}}]),n}(m.PureComponent);d()(w,"defaultProps",{onChange:b,userHasEditedBody:!1})},42458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDefaultRequestBodyValue:()=>b,default:()=>w});var r=n(18777),o=n.n(r),a=n(2991),i=n.n(a),s=n(81643),u=n.n(s),l=n(78580),c=n.n(l),p=n(77766),f=n.n(p),h=n(41511),d=n.n(h),m=n(67294),v=(n(23930),n(43393)),g=n(90242),y=n(2518),b=function(e,t,n){var r=e.getIn(["content",t]),o=r.get("schema").toJS(),a=void 0!==r.get("examples"),i=r.get("example"),s=a?r.getIn(["examples",n,"value"]):i,u=(0,g.xi)(o,t,{includeWriteOnly:!0},s);return(0,g.Pz)(u)};const w=function(e){var t=e.userHasEditedBody,n=e.requestBody,r=e.requestBodyValue,a=e.requestBodyInclusionSetting,s=e.requestBodyErrors,l=e.getComponent,p=e.getConfigs,h=e.specSelectors,w=e.fn,E=e.contentType,x=e.isExecute,_=e.specPath,S=e.onChange,k=e.onChangeIncludeEmpty,A=e.activeExamplesKey,C=e.updateActiveExamplesKey,O=e.setRetainRequestBodyValueFlag,j=function(e){var t={key:e,shouldDispatchInit:!1,defaultValue:!0};return"no value"===a.get(e,"no value")&&(t.shouldDispatchInit=!0),t},I=l("Markdown",!0),T=l("modelExample"),N=l("RequestBodyEditor"),P=l("highlightCode"),R=l("ExamplesSelectValueRetainer"),M=l("Example"),D=l("ParameterIncludeEmpty"),L=p().showCommonExtensions,B=n&&n.get("description")||null,F=n&&n.get("content")||new v.OrderedMap;E=E||F.keySeq().first()||"";var z=F.get(E,(0,v.OrderedMap)()),U=z.get("schema",(0,v.OrderedMap)()),q=z.get("examples",null),V=null==q?void 0:i()(q).call(q,(function(e,t){var r,o=null===(r=e)||void 0===r?void 0:r.get("value",null);return o&&(e=e.set("value",b(n,E,t),o)),e}));if(s=v.List.isList(s)?s:(0,v.List)(),!z.size)return null;var W="object"===z.getIn(["schema","type"]),H="binary"===z.getIn(["schema","format"]),$="base64"===z.getIn(["schema","format"]);if("application/octet-stream"===E||0===u()(E).call(E,"image/")||0===u()(E).call(E,"audio/")||0===u()(E).call(E,"video/")||H||$){var J=l("Input");return x?m.createElement(J,{type:"file",onChange:function(e){S(e.target.files[0])}}):m.createElement("i",null,"Example values are not available for ",m.createElement("code",null,E)," media types.")}if(W&&("application/x-www-form-urlencoded"===E||0===u()(E).call(E,"multipart/"))&&U.get("properties",(0,v.OrderedMap)()).size>0){var K,G=l("JsonSchemaForm"),Z=l("ParameterExt"),Y=U.get("properties",(0,v.OrderedMap)());return r=v.Map.isMap(r)?r:(0,v.OrderedMap)(),m.createElement("div",{className:"table-container"},B&&m.createElement(I,{source:B}),m.createElement("table",null,m.createElement("tbody",null,v.Map.isMap(Y)&&i()(K=Y.entrySeq()).call(K,(function(e){var t,n,u=o()(e,2),p=u[0],h=u[1];if(!h.get("readOnly")){var y=L?(0,g.po)(h):null,b=c()(t=U.get("required",(0,v.List)())).call(t,p),E=h.get("type"),_=h.get("format"),A=h.get("description"),C=r.getIn([p,"value"]),O=r.getIn([p,"errors"])||s,T=a.get(p)||!1,N=h.has("default")||h.has("example")||h.hasIn(["items","example"])||h.hasIn(["items","default"]),P=h.has("enum")&&(1===h.get("enum").size||b),R=N||P,M="";"array"!==E||R||(M=[]),("object"===E||R)&&(M=(0,g.xi)(h,!1,{includeWriteOnly:!0})),"string"!=typeof M&&"object"===E&&(M=(0,g.Pz)(M)),"string"==typeof M&&"array"===E&&(M=JSON.parse(M));var B="string"===E&&("binary"===_||"base64"===_);return m.createElement("tr",{key:p,className:"parameters","data-property-name":p},m.createElement("td",{className:"parameters-col_name"},m.createElement("div",{className:b?"parameter__name required":"parameter__name"},p,b?m.createElement("span",null," *"):null),m.createElement("div",{className:"parameter__type"},E,_&&m.createElement("span",{className:"prop-format"},"($",_,")"),L&&y.size?i()(n=y.entrySeq()).call(n,(function(e){var t,n=o()(e,2),r=n[0],a=n[1];return m.createElement(Z,{key:f()(t="".concat(r,"-")).call(t,a),xKey:r,xVal:a})})):null),m.createElement("div",{className:"parameter__deprecated"},h.get("deprecated")?"deprecated":null)),m.createElement("td",{className:"parameters-col_description"},m.createElement(I,{source:A}),x?m.createElement("div",null,m.createElement(G,{fn:w,dispatchInitialValue:!B,schema:h,description:p,getComponent:l,value:void 0===C?M:C,required:b,errors:O,onChange:function(e){S(e,[p])}}),b?null:m.createElement(D,{onChange:function(e){return k(p,e)},isIncluded:T,isIncludedOptions:j(p),isDisabled:d()(C)?0!==C.length:!(0,g.O2)(C)})):null))}})))))}var Q=b(n,E,A),X=null;return(0,y.O)(Q)&&(X="json"),m.createElement("div",null,B&&m.createElement(I,{source:B}),V?m.createElement(R,{userHasEditedBody:t,examples:V,currentKey:A,currentUserInputValue:r,onSelect:function(e){C(e)},updateValue:S,defaultToFirstExample:!0,getComponent:l,setRetainRequestBodyValueFlag:O}):null,x?m.createElement("div",null,m.createElement(N,{value:r,errors:s,defaultValue:Q,onChange:S,getComponent:l})):m.createElement(T,{getComponent:l,getConfigs:p,specSelectors:h,expandDepth:1,isExecute:x,schema:z.get("schema"),specPath:_.push("content",E),example:m.createElement(P,{className:"body-param__example",getConfigs:p,language:X,value:(0,g.Pz)(r)||Q}),includeWriteOnly:!0}),V?m.createElement(M,{example:V.get(A),getComponent:l,getConfigs:p}):null)}},9928:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(51379),u=n.n(s),l=n(10098),c=n.n(l),p=n(67294),f=function(e){u()(n,e);var t=c()(n);function n(){return o()(this,n),t.apply(this,arguments)}return i()(n,[{key:"render",value:function(){var e=this.props,t=e.specSelectors,n=e.oas3Selectors,r=e.oas3Actions,o=e.getComponent,a=t.servers(),i=o("Servers");return a&&a.size?p.createElement("div",null,p.createElement("span",{className:"servers-title"},"Servers"),p.createElement(i,{servers:a,currentServer:n.selectedServer(),setSelectedServer:r.setSelectedServer,setServerVariableValue:r.setServerVariableValue,getServerVariable:n.serverVariableValue,getEffectiveServerValue:n.serverEffectiveValue})):null}}]),n}(p.Component)},56617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var r=n(18777),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(77766),y=n.n(g),b=n(94473),w=n.n(b),E=n(2991),x=n.n(E),_=n(67294),S=n(43393),k=(n(23930),function(e){f()(n,e);var t=d()(n);function n(){var e,r;i()(this,n);for(var o=arguments.length,a=new Array(o),s=0;s{"use strict";n.r(t),n.d(t,{isOAS3:()=>u,isSwagger2:()=>l,OAS3ComponentWrapFactory:()=>c});var r=n(5872),o=n.n(r),a=n(29828),i=n.n(a),s=n(67294);function u(e){var t=e.get("openapi");return"string"==typeof t&&(i()(t).call(t,"3.0.")&&t.length>4)}function l(e){var t=e.get("swagger");return"string"==typeof t&&i()(t).call(t,"2.0")}function c(e){return function(t,n){return function(r){return n&&n.specSelectors&&n.specSelectors.specJson?u(n.specSelectors.specJson())?s.createElement(e,o()({},r,n,{Ori:t})):s.createElement(t,r):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},97451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(92044),o=n(73723),a=n(91741),i=n(76467),s=n(37761),u=n(67002),l=n(5065),c=n(62109);function p(){return{components:i.default,wrapComponents:s.default,statePlugins:{spec:{wrapSelectors:r,selectors:a},auth:{wrapSelectors:o},oas3:{actions:u,reducers:c.default,selectors:l}}}}},62109:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r,o=n(87672),a=n.n(o),i=n(71064),s=n.n(i),u=n(18777),l=n.n(u),c=n(69301),p=n.n(c),f=n(3649),h=n.n(f),d=n(78914),m=n.n(d),v=n(32366),g=n.n(v),y=n(43393),b=n(67002);const w=(r={},a()(r,b.UPDATE_SELECTED_SERVER,(function(e,t){var n=t.payload,r=n.selectedServerUrl,o=n.namespace,a=o?[o,"selectedServer"]:["selectedServer"];return e.setIn(a,r)})),a()(r,b.UPDATE_REQUEST_BODY_VALUE,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=l()(o,2),i=a[0],u=a[1];if(!y.Map.isMap(r))return e.setIn(["requestData",i,u,"bodyValue"],r);var c,f=e.getIn(["requestData",i,u,"bodyValue"])||(0,y.Map)();y.Map.isMap(f)||(f=(0,y.Map)());var d=p()(r).call(r),v=s()(d),g=h()(v).call(v,0);return m()(g).call(g,(function(e){var t=r.getIn([e]);f.has(e)&&y.Map.isMap(t)||(c=f.setIn([e,"value"],t))})),e.setIn(["requestData",i,u,"bodyValue"],c)})),a()(r,b.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=l()(o,2),i=a[0],s=a[1];return e.setIn(["requestData",i,s,"retainBodyValue"],r)})),a()(r,b.UPDATE_REQUEST_BODY_INCLUSION,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=n.name,i=l()(o,2),s=i[0],u=i[1];return e.setIn(["requestData",s,u,"bodyInclusion",a],r)})),a()(r,b.UPDATE_ACTIVE_EXAMPLES_MEMBER,(function(e,t){var n=t.payload,r=n.name,o=n.pathMethod,a=n.contextType,i=n.contextName,s=l()(o,2),u=s[0],c=s[1];return e.setIn(["examples",u,c,a,i,"activeExample"],r)})),a()(r,b.UPDATE_REQUEST_CONTENT_TYPE,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=l()(o,2),i=a[0],s=a[1];return e.setIn(["requestData",i,s,"requestContentType"],r)})),a()(r,b.UPDATE_RESPONSE_CONTENT_TYPE,(function(e,t){var n=t.payload,r=n.value,o=n.path,a=n.method;return e.setIn(["requestData",o,a,"responseContentType"],r)})),a()(r,b.UPDATE_SERVER_VARIABLE_VALUE,(function(e,t){var n=t.payload,r=n.server,o=n.namespace,a=n.key,i=n.val,s=o?[o,"serverVariableValues",r,a]:["serverVariableValues",r,a];return e.setIn(s,i)})),a()(r,b.SET_REQUEST_BODY_VALIDATE_ERROR,(function(e,t){var n=t.payload,r=n.path,o=n.method,a=n.validationErrors,i=[];if(i.push("Required field is not provided"),a.missingBodyValue)return e.setIn(["requestData",r,o,"errors"],(0,y.fromJS)(i));if(a.missingRequiredKeys&&a.missingRequiredKeys.length>0){var s=a.missingRequiredKeys;return e.updateIn(["requestData",r,o,"bodyValue"],(0,y.fromJS)({}),(function(e){return g()(s).call(s,(function(e,t){return e.setIn([t,"errors"],(0,y.fromJS)(i))}),e)}))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),e})),a()(r,b.CLEAR_REQUEST_BODY_VALIDATE_ERROR,(function(e,t){var n=t.payload,r=n.path,o=n.method,a=e.getIn(["requestData",r,o,"bodyValue"]);if(!y.Map.isMap(a))return e.setIn(["requestData",r,o,"errors"],(0,y.fromJS)([]));var i=p()(a).call(a),u=s()(i),l=h()(u).call(u,0);return l?e.updateIn(["requestData",r,o,"bodyValue"],(0,y.fromJS)({}),(function(e){return g()(l).call(l,(function(e,t){return e.setIn([t,"errors"],(0,y.fromJS)([]))}),e)})):e})),a()(r,b.CLEAR_REQUEST_BODY_VALUE,(function(e,t){var n=t.payload.pathMethod,r=l()(n,2),o=r[0],a=r[1],i=e.getIn(["requestData",o,a,"bodyValue"]);return i?y.Map.isMap(i)?e.setIn(["requestData",o,a,"bodyValue"],(0,y.Map)()):e.setIn(["requestData",o,a,"bodyValue"],""):e})),r)},5065:(e,t,n)=>{"use strict";n.r(t),n.d(t,{selectedServer:()=>E,requestBodyValue:()=>x,shouldRetainRequestBodyValue:()=>_,hasUserEditedBody:()=>S,requestBodyInclusionSetting:()=>k,requestBodyErrors:()=>A,activeExamplesMember:()=>C,requestContentType:()=>O,responseContentType:()=>j,serverVariableValue:()=>I,serverVariables:()=>T,serverEffectiveValue:()=>N,validateBeforeExecute:()=>P,validateShallowRequired:()=>R});var r=n(59036),o=n.n(r),a=n(77766),i=n.n(a),s=n(2991),u=n.n(s),l=n(78914),c=n.n(l),p=n(86902),f=n.n(p),h=n(81643),d=n.n(h),m=n(43393),v=n(7779),g=n(42458),y=n(90242);function b(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r{"use strict";n.r(t),n.d(t,{servers:()=>c,isSwagger2:()=>p});var r=n(20573),o=n(43393),a=n(7779);var i,s=function(e){return e||(0,o.Map)()},u=(0,r.P1)(s,(function(e){return e.get("json",(0,o.Map)())})),l=(0,r.P1)(s,(function(e){return e.get("resolved",(0,o.Map)())})),c=(i=(0,r.P1)((function(e){var t=l(e);return t.count()<1&&(t=u(e)),t}),(function(e){return e.getIn(["servers"])||(0,o.Map)()})),function(){return function(e){var t=e.getSystem().specSelectors.specJson();if((0,a.isOAS3)(t)){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{"use strict";n.r(t),n.d(t,{definitions:()=>h,hasHost:()=>d,securityDefinitions:()=>m,host:()=>v,basePath:()=>g,consumes:()=>y,produces:()=>b,schemes:()=>w,servers:()=>E,isOAS3:()=>x,isSwagger2:()=>_});var r=n(20573),o=n(33881),a=n(43393),i=n(7779);function s(e){return function(t,n){return function(){var r=n.getSystem().specSelectors.specJson();return(0,i.isOAS3)(r)?e.apply(void 0,arguments):t.apply(void 0,arguments)}}}var u=function(e){return e||(0,a.Map)()},l=s((0,r.P1)((function(){return null}))),c=(0,r.P1)(u,(function(e){return e.get("json",(0,a.Map)())})),p=(0,r.P1)(u,(function(e){return e.get("resolved",(0,a.Map)())})),f=function(e){var t=p(e);return t.count()<1&&(t=c(e)),t},h=s((0,r.P1)(f,(function(e){var t=e.getIn(["components","schemas"]);return a.Map.isMap(t)?t:(0,a.Map)()}))),d=s((function(e){return f(e).hasIn(["servers",0])})),m=s((0,r.P1)(o.specJsonWithResolvedSubtrees,(function(e){return e.getIn(["components","securitySchemes"])||null}))),v=l,g=l,y=l,b=l,w=l,E=s((0,r.P1)(f,(function(e){return e.getIn(["servers"])||(0,a.Map)()}))),x=function(e,t){return function(){var e=t.getSystem().specSelectors.specJson();return(0,i.isOAS3)(a.Map.isMap(e)?e:(0,a.Map)())}},_=function(e,t){return function(){var e=t.getSystem().specSelectors.specJson();return(0,i.isSwagger2)(a.Map.isMap(e)?e:(0,a.Map)())}}},70356:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(80122),o=n.n(r),a=n(67294),i=n(7779),s=["Ori"];const u=(0,i.OAS3ComponentWrapFactory)((function(e){var t=e.Ori,n=o()(e,s),r=n.schema,i=n.getComponent,u=n.errSelectors,l=n.authorized,c=n.onAuthChange,p=n.name,f=i("HttpAuth");return"http"===r.get("type")?a.createElement(f,{key:p,schema:r,name:p,errSelectors:u,authorized:l,getComponent:i,onChange:c}):a.createElement(t,n)}))},37761:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(22460),o=n(70356),a=n(69487),i=n(50058),s=n(53499),u=n(90287);const l={Markdown:r.default,AuthItem:o.default,JsonSchema_string:u.default,VersionStamp:a.default,model:s.default,onlineValidatorBadge:i.default}},90287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(80122),o=n.n(r),a=n(67294),i=n(7779),s=["Ori"];const u=(0,i.OAS3ComponentWrapFactory)((function(e){var t=e.Ori,n=o()(e,s),r=n.schema,i=n.getComponent,u=n.errors,l=n.onChange,c=r&&r.get?r.get("format"):null,p=r&&r.get?r.get("type"):null,f=i("Input");return p&&"string"===p&&c&&("binary"===c||"base64"===c)?a.createElement(f,{type:"file",className:u.length?"invalid":"",title:u.length?u:"",onChange:function(e){l(e.target.files[0])},disabled:t.isDisabled}):a.createElement(t,n)}))},22460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Markdown:()=>f,default:()=>h});var r=n(25843),o=n.n(r),a=n(67294),i=n(94184),s=n.n(i),u=n(89927),l=n(7779),c=n(86019),p=new u._("commonmark");p.block.ruler.enable(["table"]),p.set({linkTarget:"_blank"});var f=function(e){var t=e.source,n=e.className,r=void 0===n?"":n,i=e.getConfigs;if("string"!=typeof t)return null;if(t){var u,l=i().useUnsafeMarkdown,f=p.render(t),h=(0,c.s)(f,{useUnsafeMarkdown:l});return"string"==typeof h&&(u=o()(h).call(h)),a.createElement("div",{dangerouslySetInnerHTML:{__html:u},className:s()(r,"renderedMarkdown")})}return null};f.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const h=(0,l.OAS3ComponentWrapFactory)(f)},53499:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(5872),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(67294),d=n(7779),m=n(53795),v=function(e){c()(n,e);var t=f()(n);function n(){return i()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.getConfigs,n=["model-box"],r=null;return!0===e.schema.get("deprecated")&&(n.push("deprecated"),r=h.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),h.createElement("div",{className:n.join(" ")},r,h.createElement(m.Z,o()({},this.props,{getConfigs:t,depth:1,expandDepth:this.props.expandDepth||0})))}}]),n}(h.Component);const g=(0,d.OAS3ComponentWrapFactory)(v)},50058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7779),o=n(5623);const a=(0,r.OAS3ComponentWrapFactory)(o.Z)},69487:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(67294);const o=(0,n(7779).OAS3ComponentWrapFactory)((function(e){var t=e.Ori;return r.createElement("span",null,r.createElement(t,e),r.createElement("small",{className:"version-stamp"},r.createElement("pre",{className:"version"},"OAS3")))}))},28560:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(33032),o=n.n(r),a=!1;function i(){return{statePlugins:{spec:{wrapActions:{updateSpec:function(e){return function(){return a=!0,e.apply(void 0,arguments)}},updateJsonSpec:function(e,t){return function(){var n=t.getConfigs().onComplete;return a&&"function"==typeof n&&(o()(n,0),a=!1),e.apply(void 0,arguments)}}}}}}}},92135:(e,t,n)=>{"use strict";n.r(t),n.d(t,{requestSnippetGenerator_curl_powershell:()=>P,requestSnippetGenerator_curl_bash:()=>R,requestSnippetGenerator_curl_cmd:()=>M});var r=n(59036),o=n.n(r),a=n(18777),i=n.n(a),s=n(86418),u=n.n(s),l=n(81643),c=n.n(l),p=n(25843),f=n.n(p),h=n(77766),d=n.n(h),m=n(59340),v=n.n(m),g=n(2991),y=n.n(g),b=n(39291),w=n.n(b),E=n(72119),x=n.n(E),_=n(78580),S=n.n(_),k=n(27504),A=n(43393),C=function(e){var t,n="_**[]";return c()(e).call(e,n)<0?e:f()(t=e.split(n)[0]).call(t)},O=function(e){return"-d "===e||/^[_\/-]/g.test(e)?e:"'"+e.replace(/'/g,"'\\''")+"'"},j=function(e){return"-d "===(e=e.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?e.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(e)?e:'"'+e+'"'},I=function(e){return"-d "===e?e:/\n/.test(e)?'@"\n'+e.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(e)?e:"'"+e.replace(/"/g,'""').replace(/'/g,"''")+"'"};function T(e){var t,n=[],r=u()(e.get("body").entrySeq());try{for(r.s();!(t=r.n()).done;){var o,a,s,l=i()(t.value,2),c=l[0],p=l[1],f=C(c);if(p instanceof k.Z.File)n.push(d()(o=d()(a=' "'.concat(f,'": {\n "name": "')).call(a,p.name,'"')).call(o,p.type?',\n "type": "'.concat(p.type,'"'):"","\n }"));else n.push(d()(s=' "'.concat(f,'": ')).call(s,v()(p,null,2).replace(/(\r\n|\r|\n)/g,"\n ")))}}catch(e){r.e(e)}finally{r.f()}return"{\n".concat(n.join(",\n"),"\n}")}var N=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=!1,s="",l=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:1;return s+=w()(e=" ").call(e,t)},h=e.get("headers");if(s+="curl"+r,e.has("curlOptions")&&l.apply(void 0,o()(e.get("curlOptions"))),l("-X",e.get("method")),p(),f(),c("".concat(e.get("url"))),h&&h.size){var m,g,b=u()(x()(m=e.get("headers")).call(m));try{for(b.s();!(g=b.n()).done;){var E,_=g.value;p(),f();var O=i()(_,2),j=O[0],I=O[1];c("-H",d()(E="".concat(j,": ")).call(E,I)),a=a||/^content-type$/i.test(j)&&/^multipart\/form-data$/i.test(I)}}catch(e){b.e(e)}finally{b.f()}}var N,P=e.get("body");if(P)if(a&&S()(N=["POST","PUT","PATCH"]).call(N,e.get("method"))){var R,M=u()(P.entrySeq());try{for(M.s();!(R=M.n()).done;){var D,L,B,F=i()(R.value,2),z=F[0],U=F[1],q=C(z);if(p(),f(),c("-F"),U instanceof k.Z.File)l(d()(D=d()(L="".concat(q,"=@")).call(L,U.name)).call(D,U.type?";type=".concat(U.type):""));else l(d()(B="".concat(q,"=")).call(B,U))}}catch(e){M.e(e)}finally{M.f()}}else if(P instanceof k.Z.File)p(),f(),c("--data-binary '@".concat(P.name,"'"));else{p(),f(),c("-d ");var V=P;A.Map.isMap(V)?c(T(e)):("string"!=typeof V&&(V=v()(V)),c(V))}else P||"POST"!==e.get("method")||(p(),f(),c("-d ''"));return s},P=function(e){return N(e,I,"`\n",".exe")},R=function(e){return N(e,O,"\\\n")},M=function(e){return N(e,j,"^\n")}},86575:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(92135),o=n(4669),a=n(84206);const i=function(){return{components:{RequestSnippets:a.default},fn:r,statePlugins:{requestSnippets:{selectors:o}}}}},84206:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(18777),o=n.n(r),a=n(20116),i=n.n(a),s=n(66419),u=n.n(s),l=n(78914),c=n.n(l),p=n(2991),f=n.n(p),h=n(67294),d=n(27361),m=n.n(d),v=n(23560),g=n.n(v),y=n(74855),b=n(36581),w={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},E={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"};const x=function(e){var t,n,r=e.request,a=e.requestSnippetsSelectors,s=e.getConfigs,l=g()(s)?s():null,p=!1!==m()(l,"syntaxHighlight")&&m()(l,"syntaxHighlight.activated",!0),d=(0,h.useRef)(null),v=(0,h.useState)(null===(t=a.getSnippetGenerators())||void 0===t?void 0:t.keySeq().first()),x=o()(v,2),_=x[0],S=x[1],k=(0,h.useState)(null==a?void 0:a.getDefaultExpanded()),A=o()(k,2),C=A[0],O=A[1];(0,h.useEffect)((function(){}),[]),(0,h.useEffect)((function(){var e,t=i()(e=u()(d.current.childNodes)).call(e,(function(e){var t;return!!e.nodeType&&(null===(t=e.classList)||void 0===t?void 0:t.contains("curl-command"))}));return c()(t).call(t,(function(e){return e.addEventListener("mousewheel",R,{passive:!1})})),function(){c()(t).call(t,(function(e){return e.removeEventListener("mousewheel",R)}))}}),[r]);var j=a.getSnippetGenerators(),I=j.get(_),T=I.get("fn")(r),N=function(){O(!C)},P=function(e){return e===_?E:w},R=function(e){var t=e.target,n=e.deltaY,r=t.scrollHeight,o=t.offsetHeight,a=t.scrollTop;r>o&&(0===a&&n<0||o+a>=r&&n>0)&&e.preventDefault()},M=p?h.createElement(b.d3,{language:I.get("syntax"),className:"curl microlight",style:(0,b.C2)(m()(l,"syntaxHighlight.theme"))},T):h.createElement("textarea",{readOnly:!0,className:"curl",value:T});return h.createElement("div",{className:"request-snippets",ref:d},"Just a test",h.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},h.createElement("h4",{onClick:function(){return N()},style:{cursor:"pointer"}},"Snippets"),h.createElement("button",{onClick:function(){return N()},style:{border:"none",background:"none"},title:C?"Collapse operation":"Expand operation"},h.createElement("svg",{className:"arrow",width:"10",height:"10"},h.createElement("use",{href:C?"#large-arrow-down":"#large-arrow",xlinkHref:C?"#large-arrow-down":"#large-arrow"})))),C&&h.createElement("div",{className:"curl-command"},h.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},f()(n=j.entrySeq()).call(n,(function(e){var t=o()(e,2),n=t[0],r=t[1];return h.createElement("div",{style:P(n),className:"btn",key:n,onClick:function(){return function(e){_!==e&&S(e)}(n)}},h.createElement("h4",{style:n===_?{color:"white"}:{}},r.get("title")))}))),h.createElement("div",{className:"copy-to-clipboard"},h.createElement(y.CopyToClipboard,{text:T},h.createElement("button",null))),h.createElement("div",null,M)))}},4669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getGenerators:()=>f,getSnippetGenerators:()=>h,getActiveLanguage:()=>d,getDefaultExpanded:()=>m});var r=n(20116),o=n.n(r),a=n(78580),i=n.n(a),s=n(2991),u=n.n(s),l=n(20573),c=n(43393),p=function(e){return e||(0,c.Map)()},f=(0,l.P1)(p,(function(e){var t=e.get("languages"),n=e.get("generators",(0,c.Map)());return!t||t.isEmpty()?n:o()(n).call(n,(function(e,n){return i()(t).call(t,n)}))})),h=function(e){return function(t){var n,r,a=t.fn;return o()(n=u()(r=f(e)).call(r,(function(e,t){var n=function(e){return a["requestSnippetGenerator_".concat(e)]}(t);return"function"!=typeof n?null:e.set("fn",n)}))).call(n,(function(e){return e}))}},d=(0,l.P1)(p,(function(e){return e.get("activeLanguage")})),m=(0,l.P1)(p,(function(e){return e.get("defaultExpanded")}))},36195:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorBoundary:()=>v,default:()=>g});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(51379),u=n.n(s),l=n(10098),c=n.n(l),p=n(77766),f=n.n(p),h=n(67294),d=n(56189),m=n(29403),v=function(e){u()(n,e);var t=c()(n);function n(){var e,r;o()(this,n);for(var a=arguments.length,i=new Array(a),s=0;s{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(67294);const o=function(e){var t=e.name;return r.createElement("div",{className:"fallback"},"😱 ",r.createElement("i",null,"Could not render ","t"===t?"this component":t,", see the console."))}},56189:(e,t,n)=>{"use strict";n.r(t),n.d(t,{componentDidCatch:()=>d,withErrorBoundary:()=>m});var r=n(5872),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(67294),d=console.error,m=function(e){return function(t){var n,r=e(),a=r.getComponent,s=r.fn,l=a("ErrorBoundary"),p=s.getDisplayName(t),d=function(e){c()(r,e);var n=f()(r);function r(){return i()(this,r),n.apply(this,arguments)}return u()(r,[{key:"render",value:function(){return h.createElement(l,{targetName:p,getComponent:a,fn:s},h.createElement(t,o()({},this.props,this.context)))}}]),r}(h.Component);return d.displayName="WithErrorBoundary(".concat(p,")"),(n=t).prototype&&n.prototype.isReactComponent&&(d.prototype.mapStateToProps=t.prototype.mapStateToProps),d}}},27621:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(59036),o=n.n(r),a=n(77766),i=n.n(a),s=n(44494),u=n.n(s),l=n(7287),c=n.n(l),p=n(36195),f=n(29403),h=n(56189);const d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.componentList,n=void 0===t?[]:t,r=e.fullOverride,a=void 0!==r&&r;return function(e){var t,r,s=e.getSystem,l=a?n:i()(t=[]).call(t,["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper"],o()(n)),d=c()(l,u()(r=Array(l.length)).call(r,(function(e,t){return t.fn.withErrorBoundary(e)})));return{fn:{componentDidCatch:h.componentDidCatch,withErrorBoundary:(0,h.withErrorBoundary)(s)},components:{ErrorBoundary:p.default,Fallback:f.default},wrapComponents:d}}}},57050:(e,t,n)=>{"use strict";n.r(t),n.d(t,{sampleFromSchemaGeneric:()=>U,inferSchema:()=>q,createXMLExample:()=>V,sampleFromSchema:()=>W,memoizedCreateXMLExample:()=>$,memoizedSampleFromSchema:()=>J});var r=n(23765),o=n.n(r),a=n(77766),i=n.n(a),s=n(81643),u=n.n(s),l=n(78914),c=n.n(l),p=n(41511),f=n.n(p),h=n(78580),d=n.n(h),m=n(77149),v=n.n(m),g=n(3649),y=n.n(g),b=n(94473),w=n.n(b),E=n(2991),x=n.n(E),_=n(59340),S=n.n(_),k=n(53479),A=n.n(k),C=n(14419),O=n.n(C),j=n(41609),I=n.n(j),T=n(90242),N=n(60314),P={string:function(e){return e.pattern?function(e){try{return new(O())(e).gen()}catch(e){return"string"}}(e.pattern):"string"},string_email:function(){return"user@example.com"},"string_date-time":function(){return(new Date).toISOString()},string_date:function(){return(new Date).toISOString().substring(0,10)},string_uuid:function(){return"3fa85f64-5717-4562-b3fc-2c963f66afa6"},string_hostname:function(){return"example.com"},string_ipv4:function(){return"198.51.100.42"},string_ipv6:function(){return"2001:0db8:5b96:0000:0000:426f:8e17:642a"},number:function(){return 0},number_float:function(){return 0},integer:function(){return 0},boolean:function(e){return"boolean"!=typeof e.default||e.default}},R=function(e){var t,n=e=(0,T.mz)(e),r=n.type,o=n.format,a=P[i()(t="".concat(r,"_")).call(t,o)]||P[r];return(0,T.Wl)(a)?a(e):"Unknown Type: "+e.type},M=function(e){return(0,T.XV)(e,"$$ref",(function(e){return"string"==typeof e&&u()(e).call(e,"#")>-1}))},D=["maxProperties","minProperties"],L=["minItems","maxItems"],B=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],F=["minLength","maxLength"],z=function e(t,n){var r,o,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=function(e){void 0===n[e]&&void 0!==t[e]&&(n[e]=t[e])};(c()(r=i()(o=["example","default","enum","xml","type"]).call(o,D,L,B,F)).call(r,(function(e){return l(e)})),void 0!==t.required&&f()(t.required))&&(void 0!==n.required&&n.required.length||(n.required=[]),c()(a=t.required).call(a,(function(e){var t;d()(t=n.required).call(t,e)||n.required.push(e)})));if(t.properties){n.properties||(n.properties={});var p=(0,T.mz)(t.properties);for(var h in p){var m;if(Object.prototype.hasOwnProperty.call(p,h))if(!p[h]||!p[h].deprecated)if(!p[h]||!p[h].readOnly||s.includeReadOnly)if(!p[h]||!p[h].writeOnly||s.includeWriteOnly)if(!n.properties[h])n.properties[h]=p[h],!t.required&&f()(t.required)&&-1!==u()(m=t.required).call(m,h)&&(n.required?n.required.push(h):n.required=[h])}}return t.items&&(n.items||(n.items={}),n.items=e(t.items,n.items,s)),n},U=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t&&(0,T.Wl)(t.toJS)&&(t=t.toJS());var s=void 0!==r||t&&void 0!==t.example||t&&void 0!==t.default,l=!s&&t&&t.oneOf&&t.oneOf.length>0,p=!s&&t&&t.anyOf&&t.anyOf.length>0;if(!s&&(l||p)){var h=(0,T.mz)(l?t.oneOf[0]:t.anyOf[0]);if(z(h,t,n),!t.xml&&h.xml&&(t.xml=h.xml),void 0!==t.example&&void 0!==h.example)s=!0;else if(h.properties){t.properties||(t.properties={});var m=(0,T.mz)(h.properties);for(var g in m){var b;if(Object.prototype.hasOwnProperty.call(m,g))if(!m[g]||!m[g].deprecated)if(!m[g]||!m[g].readOnly||n.includeReadOnly)if(!m[g]||!m[g].writeOnly||n.includeWriteOnly)if(!t.properties[g])t.properties[g]=m[g],!h.required&&f()(h.required)&&-1!==u()(b=h.required).call(b,g)&&(t.required?t.required.push(g):t.required=[g])}}}var E,_={},S=t||{},k=S.xml,A=S.type,C=S.example,O=S.properties,j=S.additionalProperties,N=S.items,P=n.includeReadOnly,F=n.includeWriteOnly,U=k=k||{},q=U.name,V=U.prefix,W=U.namespace,H={};if(a&&(E=(V?V+":":"")+(q=q||"notagname"),W)){var $=V?"xmlns:"+V:"xmlns";_[$]=W}a&&(H[E]=[]);var J=function(e){return v()(e).call(e,(function(e){return Object.prototype.hasOwnProperty.call(t,e)}))};t&&!A&&(O||j||J(D)?A="object":N||J(L)?A="array":J(B)?(A="number",t.type="number"):s||t.enum||(A="string",t.type="string"));var K,G,Z=function(e){var n,r,o,a,i;null!==(null===(n=t)||void 0===n?void 0:n.maxItems)&&void 0!==(null===(r=t)||void 0===r?void 0:r.maxItems)&&(e=y()(e).call(e,0,null===(i=t)||void 0===i?void 0:i.maxItems));if(null!==(null===(o=t)||void 0===o?void 0:o.minItems)&&void 0!==(null===(a=t)||void 0===a?void 0:a.minItems))for(var s=0;e.length<(null===(u=t)||void 0===u?void 0:u.minItems);){var u;e.push(e[s++%e.length])}return e},Y=(0,T.mz)(O),Q=0,X=function(){return t&&null!==t.maxProperties&&void 0!==t.maxProperties&&Q>=t.maxProperties},ee=function(){if(!t||!t.required)return 0;var e,n,r=0;a?c()(e=t.required).call(e,(function(e){return r+=void 0===H[e]?0:1})):c()(n=t.required).call(n,(function(e){var t;return r+=void 0===(null===(t=H[E])||void 0===t?void 0:w()(t).call(t,(function(t){return void 0!==t[e]})))?0:1}));return t.required.length-r},te=function(e){var n;return!(t&&t.required&&t.required.length)||!d()(n=t.required).call(n,e)},ne=function(e){return!t||null===t.maxProperties||void 0===t.maxProperties||!X()&&(!te(e)||t.maxProperties-Q-ee()>0)};if(K=a?function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&Y[r]){if(Y[r].xml=Y[r].xml||{},Y[r].xml.attribute){var s=f()(Y[r].enum)?Y[r].enum[0]:void 0,u=Y[r].example,l=Y[r].default;return void(_[Y[r].xml.name||r]=void 0!==u?u:void 0!==l?l:void 0!==s?s:R(Y[r]))}Y[r].xml.name=Y[r].xml.name||r}else Y[r]||!1===j||(Y[r]={xml:{name:r}});var c,p=e(t&&Y[r]||void 0,n,o,a);ne(r)&&(Q++,f()(p)?H[E]=i()(c=H[E]).call(c,p):H[E].push(p))}:function(t,r){ne(t)&&(H[t]=e(Y[t],n,r,a),Q++)},s){var re;if(re=M(void 0!==r?r:void 0!==C?C:t.default),!a){if("number"==typeof re&&"string"===A)return"".concat(re);if("string"!=typeof re||"string"===A)return re;try{return JSON.parse(re)}catch(e){return re}}if(t||(A=f()(re)?"array":o()(re)),"array"===A){if(!f()(re)){if("string"==typeof re)return re;re=[re]}var oe=t?t.items:void 0;oe&&(oe.xml=oe.xml||k||{},oe.xml.name=oe.xml.name||k.name);var ae=x()(re).call(re,(function(t){return e(oe,n,t,a)}));return ae=Z(ae),k.wrapped?(H[E]=ae,I()(_)||H[E].push({_attr:_})):H=ae,H}if("object"===A){if("string"==typeof re)return re;for(var ie in re)Object.prototype.hasOwnProperty.call(re,ie)&&(t&&Y[ie]&&Y[ie].readOnly&&!P||t&&Y[ie]&&Y[ie].writeOnly&&!F||(t&&Y[ie]&&Y[ie].xml&&Y[ie].xml.attribute?_[Y[ie].xml.name||ie]=re[ie]:K(ie,re[ie])));return I()(_)||H[E].push({_attr:_}),H}return H[E]=I()(_)?re:[{_attr:_},re],H}if("object"===A){for(var se in Y)Object.prototype.hasOwnProperty.call(Y,se)&&(Y[se]&&Y[se].deprecated||Y[se]&&Y[se].readOnly&&!P||Y[se]&&Y[se].writeOnly&&!F||K(se));if(a&&_&&H[E].push({_attr:_}),X())return H;if(!0===j)a?H[E].push({additionalProp:"Anything can be here"}):H.additionalProp1={},Q++;else if(j){var ue=(0,T.mz)(j),le=e(ue,n,void 0,a);if(a&&ue.xml&&ue.xml.name&&"notagname"!==ue.xml.name)H[E].push(le);else for(var ce=null!==t.minProperties&&void 0!==t.minProperties&&Q{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(57050);function o(){return{fn:r}}},51228:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_SPEC:()=>ee,UPDATE_URL:()=>te,UPDATE_JSON:()=>ne,UPDATE_PARAM:()=>re,UPDATE_EMPTY_PARAM_INCLUSION:()=>oe,VALIDATE_PARAMS:()=>ae,SET_RESPONSE:()=>ie,SET_REQUEST:()=>se,SET_MUTATED_REQUEST:()=>ue,LOG_REQUEST:()=>le,CLEAR_RESPONSE:()=>ce,CLEAR_REQUEST:()=>pe,CLEAR_VALIDATE_PARAMS:()=>fe,UPDATE_OPERATION_META_VALUE:()=>he,UPDATE_RESOLVED:()=>de,UPDATE_RESOLVED_SUBTREE:()=>me,SET_SCHEME:()=>ve,updateSpec:()=>ge,updateResolved:()=>ye,updateUrl:()=>be,updateJsonSpec:()=>we,parseToJson:()=>Ee,resolveSpec:()=>_e,requestResolvedSubtree:()=>Ae,changeParam:()=>Ce,changeParamByIdentity:()=>Oe,updateResolvedSubtree:()=>je,invalidateResolvedSubtreeCache:()=>Ie,validateParams:()=>Te,updateEmptyParamInclusion:()=>Ne,clearValidateParams:()=>Pe,changeConsumesValue:()=>Re,changeProducesValue:()=>Me,setResponse:()=>De,setRequest:()=>Le,setMutatedRequest:()=>Be,logRequest:()=>Fe,executeRequest:()=>ze,execute:()=>Ue,clearResponse:()=>qe,clearRequest:()=>Ve,setScheme:()=>We});var r=n(95945),o=n.n(r),a=n(80122),i=n.n(a),s=n(51161),u=n.n(s),l=n(23765),c=n.n(l),p=n(63109),f=n.n(p),h=n(41511),d=n.n(h),m=n(2991),v=n.n(m),g=n(63978),y=n.n(g),b=n(32366),w=n.n(b),E=n(10062),x=n.n(E),_=n(93476),S=n.n(_),k=n(20116),A=n.n(k),C=n(20455),O=n.n(C),j=n(81643),I=n.n(j),T=n(78914),N=n.n(T),P=n(77766),R=n.n(P),M=n(86902),D=n.n(M),L=n(51942),B=n.n(L),F=n(11128),z=n.n(F),U=n(1272),q=n(43393),V=n(84564),W=n.n(V),H=n(7710),$=n(47037),J=n.n($),K=n(23279),G=n.n(K),Z=n(36968),Y=n.n(Z),Q=n(90242),X=["path","method"],ee="spec_update_spec",te="spec_update_url",ne="spec_update_json",re="spec_update_param",oe="spec_update_empty_param_inclusion",ae="spec_validate_param",ie="spec_set_response",se="spec_set_request",ue="spec_set_mutated_request",le="spec_log_request",ce="spec_clear_response",pe="spec_clear_request",fe="spec_clear_validate_param",he="spec_update_operation_meta_value",de="spec_update_resolved",me="spec_update_resolved_subtree",ve="set_scheme";function ge(e){var t,n=(t=e,J()(t)?t:"").replace(/\t/g," ");if("string"==typeof e)return{type:ee,payload:n}}function ye(e){return{type:de,payload:e}}function be(e){return{type:te,payload:e}}function we(e){return{type:ne,payload:e}}var Ee=function(e){return function(t){var n=t.specActions,r=t.specSelectors,o=t.errActions,a=r.specStr,i=null;try{e=e||a(),o.clear({source:"parser"}),i=U.ZP.load(e)}catch(e){return console.error(e),o.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void 0})}return i&&"object"===c()(i)?n.updateJsonSpec(i):{}}},xe=!1,_e=function(e,t){return function(n){var r=n.specActions,o=n.specSelectors,a=n.errActions,i=n.fn,s=i.fetch,u=i.resolve,l=i.AST,c=void 0===l?{}:l,p=n.getConfigs;xe||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),xe=!0);var f=p(),h=f.modelPropertyMacro,m=f.parameterMacro,g=f.requestInterceptor,b=f.responseInterceptor;void 0===e&&(e=o.specJson()),void 0===t&&(t=o.url());var w=c.getLineNumberForPath?c.getLineNumberForPath:function(){},E=o.specStr();return u({fetch:s,spec:e,baseDoc:t,modelPropertyMacro:h,parameterMacro:m,requestInterceptor:g,responseInterceptor:b}).then((function(e){var t=e.spec,n=e.errors;if(a.clear({type:"thrown"}),d()(n)&&n.length>0){var o=v()(n).call(n,(function(e){return console.error(e),e.line=e.fullPath?w(E,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e}));a.newThrownErrBatch(o)}return r.updateResolved(t)}))}},Se=[],ke=G()(u()(f().mark((function e(){var t,n,r,o,a,i,s,l,c,p,h,m,g,b,E,_,k,C;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Se.system){e.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),e.abrupt("return");case 4:if(n=t.errActions,r=t.errSelectors,o=t.fn,a=o.resolveSubtree,i=o.fetch,s=o.AST,l=void 0===s?{}:s,c=t.specSelectors,p=t.specActions,a){e.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),e.abrupt("return");case 8:return h=l.getLineNumberForPath?l.getLineNumberForPath:function(){},m=c.specStr(),g=t.getConfigs(),b=g.modelPropertyMacro,E=g.parameterMacro,_=g.requestInterceptor,k=g.responseInterceptor,e.prev=11,e.next=14,w()(Se).call(Se,function(){var e=u()(f().mark((function e(t,o){var s,l,p,g,w,C,j,I,T;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return s=e.sent,l=s.resultMap,p=s.specWithCurrentSubtrees,e.next=7,a(p,o,{baseDoc:c.url(),modelPropertyMacro:b,parameterMacro:E,requestInterceptor:_,responseInterceptor:k});case 7:if(g=e.sent,w=g.errors,C=g.spec,r.allErrors().size&&n.clearBy((function(e){var t;return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!x()(t=e.get("fullPath")).call(t,(function(e,t){return e===o[t]||void 0===o[t]}))})),d()(w)&&w.length>0&&(j=v()(w).call(w,(function(e){return e.line=e.fullPath?h(m,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e})),n.newThrownErrBatch(j)),!C||!c.isOAS3()||"components"!==o[0]||"securitySchemes"!==o[1]){e.next=15;break}return e.next=15,S().all(v()(I=A()(T=O()(C)).call(T,(function(e){return"openIdConnect"===e.type}))).call(I,function(){var e=u()(f().mark((function e(t){var n,r;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={url:t.openIdConnectUrl,requestInterceptor:_,responseInterceptor:k},e.prev=1,e.next=4,i(n);case 4:(r=e.sent)instanceof Error||r.status>=400?console.error(r.statusText+" "+n.url):t.openIdConnectData=JSON.parse(r.text),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 15:return Y()(l,o,C),Y()(p,o,C),e.abrupt("return",{resultMap:l,specWithCurrentSubtrees:p});case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S().resolve({resultMap:(c.specResolvedSubtree([])||(0,q.Map)()).toJS(),specWithCurrentSubtrees:c.specJson().toJS()}));case 14:C=e.sent,delete Se.system,Se=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(11),console.error(e.t0);case 22:p.updateResolvedSubtree([],C.resultMap);case 23:case"end":return e.stop()}}),e,null,[[11,19]])}))),35),Ae=function(e){return function(t){var n;I()(n=v()(Se).call(Se,(function(e){return e.join("@@")}))).call(n,e.join("@@"))>-1||(Se.push(e),Se.system=t,ke())}};function Ce(e,t,n,r,o){return{type:re,payload:{path:e,value:r,paramName:t,paramIn:n,isXml:o}}}function Oe(e,t,n,r){return{type:re,payload:{path:e,param:t,value:n,isXml:r}}}var je=function(e,t){return{type:me,payload:{path:e,value:t}}},Ie=function(){return{type:me,payload:{path:[],value:(0,q.Map)()}}},Te=function(e,t){return{type:ae,payload:{pathMethod:e,isOAS3:t}}},Ne=function(e,t,n,r){return{type:oe,payload:{pathMethod:e,paramName:t,paramIn:n,includeEmptyValue:r}}};function Pe(e){return{type:fe,payload:{pathMethod:e}}}function Re(e,t){return{type:he,payload:{path:e,value:t,key:"consumes_value"}}}function Me(e,t){return{type:he,payload:{path:e,value:t,key:"produces_value"}}}var De=function(e,t,n){return{payload:{path:e,method:t,res:n},type:ie}},Le=function(e,t,n){return{payload:{path:e,method:t,req:n},type:se}},Be=function(e,t,n){return{payload:{path:e,method:t,req:n},type:ue}},Fe=function(e){return{payload:e,type:le}},ze=function(e){return function(t){var n,r,o=t.fn,a=t.specActions,i=t.specSelectors,s=t.getConfigs,l=t.oas3Selectors,c=e.pathName,p=e.method,h=e.operation,m=s(),g=m.requestInterceptor,y=m.responseInterceptor,b=h.toJS();h&&h.get("parameters")&&N()(n=A()(r=h.get("parameters")).call(r,(function(e){return e&&!0===e.get("allowEmptyValue")}))).call(n,(function(t){if(i.parameterInclusionSettingFor([c,p],t.get("name"),t.get("in"))){e.parameters=e.parameters||{};var n=(0,Q.cz)(t,e.parameters);(!n||n&&0===n.size)&&(e.parameters[t.get("name")]="")}}));if(e.contextUrl=W()(i.url()).toString(),b&&b.operationId?e.operationId=b.operationId:b&&c&&p&&(e.operationId=o.opId(b,c,p)),i.isOAS3()){var w,E=R()(w="".concat(c,":")).call(w,p);e.server=l.selectedServer(E)||l.selectedServer();var x=l.serverVariables({server:e.server,namespace:E}).toJS(),_=l.serverVariables({server:e.server}).toJS();e.serverVariables=D()(x).length?x:_,e.requestContentType=l.requestContentType(c,p),e.responseContentType=l.responseContentType(c,p)||"*/*";var S,k=l.requestBodyValue(c,p),C=l.requestBodyInclusionSetting(c,p);if(k&&k.toJS)e.requestBody=A()(S=v()(k).call(k,(function(e){return q.Map.isMap(e)?e.get("value"):e}))).call(S,(function(e,t){return(d()(e)?0!==e.length:!(0,Q.O2)(e))||C.get(t)})).toJS();else e.requestBody=k}var O=B()({},e);O=o.buildRequest(O),a.setRequest(e.pathName,e.method,O);var j=function(){var t=u()(f().mark((function t(n){var r,o;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.apply(undefined,[n]);case 2:return r=t.sent,o=B()({},r),a.setMutatedRequest(e.pathName,e.method,o),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.requestInterceptor=j,e.responseInterceptor=y;var I=z()();return o.execute(e).then((function(t){t.duration=z()()-I,a.setResponse(e.pathName,e.method,t)})).catch((function(t){"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),a.setResponse(e.pathName,e.method,{error:!0,err:(0,H.serializeError)(t)})}))}},Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.method,r=i()(e,X);return function(e){var a=e.fn.fetch,i=e.specSelectors,s=e.specActions,u=i.specJsonWithResolvedSubtrees().toJS(),l=i.operationScheme(t,n),c=i.contentTypeValues([t,n]).toJS(),p=c.requestContentType,f=c.responseContentType,h=/xml/i.test(p),d=i.parameterValues([t,n],h).toJS();return s.executeRequest(o()(o()({},r),{},{fetch:a,spec:u,pathName:t,method:n,parameters:d,requestContentType:p,scheme:l,responseContentType:f}))}};function qe(e,t){return{type:ce,payload:{path:e,method:t}}}function Ve(e,t){return{type:pe,payload:{path:e,method:t}}}function We(e,t,n){return{type:ve,payload:{scheme:e,path:t,method:n}}}},37038:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(20032),o=n(51228),a=n(33881),i=n(77508);function s(){return{statePlugins:{spec:{wrapActions:i,reducers:r.default,actions:o,selectors:a}}}}},20032:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r,o=n(87672),a=n.n(o),i=n(59036),s=n.n(i),u=n(77766),l=n.n(u),c=n(32366),p=n.n(c),f=n(2991),h=n.n(f),d=n(51942),m=n.n(d),v=n(43393),g=n(90242),y=n(27504),b=n(33881),w=n(51228);const E=(r={},a()(r,w.UPDATE_SPEC,(function(e,t){return"string"==typeof t.payload?e.set("spec",t.payload):e})),a()(r,w.UPDATE_URL,(function(e,t){return e.set("url",t.payload+"")})),a()(r,w.UPDATE_JSON,(function(e,t){return e.set("json",(0,g.oG)(t.payload))})),a()(r,w.UPDATE_RESOLVED,(function(e,t){return e.setIn(["resolved"],(0,g.oG)(t.payload))})),a()(r,w.UPDATE_RESOLVED_SUBTREE,(function(e,t){var n,r=t.payload,o=r.value,a=r.path;return e.setIn(l()(n=["resolvedSubtrees"]).call(n,s()(a)),(0,g.oG)(o))})),a()(r,w.UPDATE_PARAM,(function(e,t){var n,r,o=t.payload,a=o.path,i=o.paramName,u=o.paramIn,c=o.param,p=o.value,f=o.isXml,h=c?(0,g.V9)(c):l()(n="".concat(u,".")).call(n,i),d=f?"value_xml":"value";return e.setIn(l()(r=["meta","paths"]).call(r,s()(a),["parameters",h,d]),p)})),a()(r,w.UPDATE_EMPTY_PARAM_INCLUSION,(function(e,t){var n,r,o=t.payload,a=o.pathMethod,i=o.paramName,u=o.paramIn,c=o.includeEmptyValue;if(!i||!u)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),e;var p=l()(n="".concat(u,".")).call(n,i);return e.setIn(l()(r=["meta","paths"]).call(r,s()(a),["parameter_inclusions",p]),c)})),a()(r,w.VALIDATE_PARAMS,(function(e,t){var n,r,o=t.payload,a=o.pathMethod,i=o.isOAS3,u=(0,b.specJsonWithResolvedSubtrees)(e).getIn(l()(n=["paths"]).call(n,s()(a))),c=(0,b.parameterValues)(e,a).toJS();return e.updateIn(l()(r=["meta","paths"]).call(r,s()(a),["parameters"]),(0,v.fromJS)({}),(function(t){var n;return p()(n=u.get("parameters",(0,v.List)())).call(n,(function(t,n){var r=(0,g.cz)(n,c),o=(0,b.parameterInclusionSettingFor)(e,a,n.get("name"),n.get("in")),s=(0,g.Ik)(n,r,{bypassRequiredCheck:o,isOAS3:i});return t.setIn([(0,g.V9)(n),"errors"],(0,v.fromJS)(s))}),t)}))})),a()(r,w.CLEAR_VALIDATE_PARAMS,(function(e,t){var n,r=t.payload.pathMethod;return e.updateIn(l()(n=["meta","paths"]).call(n,s()(r),["parameters"]),(0,v.fromJS)([]),(function(e){return h()(e).call(e,(function(e){return e.set("errors",(0,v.fromJS)([]))}))}))})),a()(r,w.SET_RESPONSE,(function(e,t){var n,r=t.payload,o=r.res,a=r.path,i=r.method;(n=o.error?m()({error:!0,name:o.err.name,message:o.err.message,statusCode:o.err.statusCode},o.err.response):o).headers=n.headers||{};var s=e.setIn(["responses",a,i],(0,g.oG)(n));return y.Z.Blob&&o.data instanceof y.Z.Blob&&(s=s.setIn(["responses",a,i,"text"],o.data)),s})),a()(r,w.SET_REQUEST,(function(e,t){var n=t.payload,r=n.req,o=n.path,a=n.method;return e.setIn(["requests",o,a],(0,g.oG)(r))})),a()(r,w.SET_MUTATED_REQUEST,(function(e,t){var n=t.payload,r=n.req,o=n.path,a=n.method;return e.setIn(["mutatedRequests",o,a],(0,g.oG)(r))})),a()(r,w.UPDATE_OPERATION_META_VALUE,(function(e,t){var n,r,o,a,i,u,c=t.payload,p=c.path,f=c.value,h=c.key,d=l()(n=["paths"]).call(n,s()(p)),m=l()(r=["meta","paths"]).call(r,s()(p));return e.getIn(l()(o=["json"]).call(o,s()(d)))||e.getIn(l()(a=["resolved"]).call(a,s()(d)))||e.getIn(l()(i=["resolvedSubtrees"]).call(i,s()(d)))?e.setIn(l()(u=[]).call(u,s()(m),[h]),(0,v.fromJS)(f)):e})),a()(r,w.CLEAR_RESPONSE,(function(e,t){var n=t.payload,r=n.path,o=n.method;return e.deleteIn(["responses",r,o])})),a()(r,w.CLEAR_REQUEST,(function(e,t){var n=t.payload,r=n.path,o=n.method;return e.deleteIn(["requests",r,o])})),a()(r,w.SET_SCHEME,(function(e,t){var n=t.payload,r=n.scheme,o=n.path,a=n.method;return o&&a?e.setIn(["scheme",o,a],r):o||a?void 0:e.setIn(["scheme","_defaultScheme"],r)})),r)},33881:(e,t,n)=>{"use strict";n.r(t),n.d(t,{lastError:()=>R,url:()=>M,specStr:()=>D,specSource:()=>L,specJson:()=>B,specResolved:()=>F,specResolvedSubtree:()=>z,specJsonWithResolvedSubtrees:()=>q,spec:()=>V,isOAS3:()=>W,info:()=>H,externalDocs:()=>$,version:()=>J,semver:()=>K,paths:()=>G,operations:()=>Z,consumes:()=>Y,produces:()=>Q,security:()=>X,securityDefinitions:()=>ee,findDefinition:()=>te,definitions:()=>ne,basePath:()=>re,host:()=>oe,schemes:()=>ae,operationsWithRootInherited:()=>ie,tags:()=>se,tagDetails:()=>ue,operationsWithTags:()=>le,taggedOperations:()=>ce,responses:()=>pe,requests:()=>fe,mutatedRequests:()=>he,responseFor:()=>de,requestFor:()=>me,mutatedRequestFor:()=>ve,allowTryItOutFor:()=>ge,parameterWithMetaByIdentity:()=>ye,parameterInclusionSettingFor:()=>be,parameterWithMeta:()=>we,operationWithMeta:()=>Ee,getParameter:()=>xe,hasHost:()=>_e,parameterValues:()=>Se,parametersIncludeIn:()=>ke,parametersIncludeType:()=>Ae,contentTypeValues:()=>Ce,currentProducesFor:()=>Oe,producesOptionsFor:()=>je,consumesOptionsFor:()=>Ie,operationScheme:()=>Te,canExecuteScheme:()=>Ne,validateBeforeExecute:()=>Pe,getOAS3RequiredRequestBodyContentType:()=>Re,isMediaTypeSchemaPropertiesEqual:()=>Me});var r=n(18777),o=n.n(r),a=n(59036),i=n.n(a),s=n(77766),u=n.n(s),l=n(3649),c=n.n(l),p=n(78914),f=n.n(p),h=n(81643),d=n.n(h),m=n(2991),v=n.n(m),g=n(20116),y=n.n(g),b=n(94473),w=n.n(b),E=n(32366),x=n.n(E),_=n(47302),S=n.n(_),k=n(77149),A=n.n(k),C=n(41511),O=n.n(C),j=n(20573),I=n(90242),T=n(43393),N=["get","put","post","delete","options","head","patch","trace"],P=function(e){return e||(0,T.Map)()},R=(0,j.P1)(P,(function(e){return e.get("lastError")})),M=(0,j.P1)(P,(function(e){return e.get("url")})),D=(0,j.P1)(P,(function(e){return e.get("spec")||""})),L=(0,j.P1)(P,(function(e){return e.get("specSource")||"not-editor"})),B=(0,j.P1)(P,(function(e){return e.get("json",(0,T.Map)())})),F=(0,j.P1)(P,(function(e){return e.get("resolved",(0,T.Map)())})),z=function(e,t){var n;return e.getIn(u()(n=["resolvedSubtrees"]).call(n,i()(t)),void 0)},U=function e(t,n){return T.Map.isMap(t)&&T.Map.isMap(n)?n.get("$$ref")?n:(0,T.OrderedMap)().mergeWith(e,t,n):n},q=(0,j.P1)(P,(function(e){return(0,T.OrderedMap)().mergeWith(U,e.get("json"),e.get("resolvedSubtrees"))})),V=function(e){return B(e)},W=(0,j.P1)(V,(function(){return!1})),H=(0,j.P1)(V,(function(e){return De(e&&e.get("info"))})),$=(0,j.P1)(V,(function(e){return De(e&&e.get("externalDocs"))})),J=(0,j.P1)(H,(function(e){return e&&e.get("version")})),K=(0,j.P1)(J,(function(e){var t;return c()(t=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(e)).call(t,1)})),G=(0,j.P1)(q,(function(e){return e.get("paths")})),Z=(0,j.P1)(G,(function(e){if(!e||e.size<1)return(0,T.List)();var t=(0,T.List)();return e&&f()(e)?(f()(e).call(e,(function(e,n){if(!e||!f()(e))return{};f()(e).call(e,(function(e,r){var o;d()(N).call(N,r)<0||(t=t.push((0,T.fromJS)({path:n,method:r,operation:e,id:u()(o="".concat(r,"-")).call(o,n)})))}))})),t):(0,T.List)()})),Y=(0,j.P1)(V,(function(e){return(0,T.Set)(e.get("consumes"))})),Q=(0,j.P1)(V,(function(e){return(0,T.Set)(e.get("produces"))})),X=(0,j.P1)(V,(function(e){return e.get("security",(0,T.List)())})),ee=(0,j.P1)(V,(function(e){return e.get("securityDefinitions")})),te=function(e,t){var n=e.getIn(["resolvedSubtrees","definitions",t],null),r=e.getIn(["json","definitions",t],null);return n||r||null},ne=(0,j.P1)(V,(function(e){var t=e.get("definitions");return T.Map.isMap(t)?t:(0,T.Map)()})),re=(0,j.P1)(V,(function(e){return e.get("basePath")})),oe=(0,j.P1)(V,(function(e){return e.get("host")})),ae=(0,j.P1)(V,(function(e){return e.get("schemes",(0,T.Map)())})),ie=(0,j.P1)(Z,Y,Q,(function(e,t,n){return v()(e).call(e,(function(e){return e.update("operation",(function(e){if(e){if(!T.Map.isMap(e))return;return e.withMutations((function(e){return e.get("consumes")||e.update("consumes",(function(e){return(0,T.Set)(e).merge(t)})),e.get("produces")||e.update("produces",(function(e){return(0,T.Set)(e).merge(n)})),e}))}return(0,T.Map)()}))}))})),se=(0,j.P1)(V,(function(e){var t=e.get("tags",(0,T.List)());return T.List.isList(t)?y()(t).call(t,(function(e){return T.Map.isMap(e)})):(0,T.List)()})),ue=function(e,t){var n,r=se(e)||(0,T.List)();return w()(n=y()(r).call(r,T.Map.isMap)).call(n,(function(e){return e.get("name")===t}),(0,T.Map)())},le=(0,j.P1)(ie,se,(function(e,t){return x()(e).call(e,(function(e,t){var n=(0,T.Set)(t.getIn(["operation","tags"]));return n.count()<1?e.update("default",(0,T.List)(),(function(e){return e.push(t)})):x()(n).call(n,(function(e,n){return e.update(n,(0,T.List)(),(function(e){return e.push(t)}))}),e)}),x()(t).call(t,(function(e,t){return e.set(t.get("name"),(0,T.List)())}),(0,T.OrderedMap)()))})),ce=function(e){return function(t){var n,r=(0,t.getConfigs)(),o=r.tagsSorter,a=r.operationsSorter;return v()(n=le(e).sortBy((function(e,t){return t}),(function(e,t){var n="function"==typeof o?o:I.wh.tagsSorter[o];return n?n(e,t):null}))).call(n,(function(t,n){var r="function"==typeof a?a:I.wh.operationsSorter[a],o=r?S()(t).call(t,r):t;return(0,T.Map)({tagDetails:ue(e,n),operations:o})}))}},pe=(0,j.P1)(P,(function(e){return e.get("responses",(0,T.Map)())})),fe=(0,j.P1)(P,(function(e){return e.get("requests",(0,T.Map)())})),he=(0,j.P1)(P,(function(e){return e.get("mutatedRequests",(0,T.Map)())})),de=function(e,t,n){return pe(e).getIn([t,n],null)},me=function(e,t,n){return fe(e).getIn([t,n],null)},ve=function(e,t,n){return he(e).getIn([t,n],null)},ge=function(){return!0},ye=function(e,t,n){var r,o,a=q(e).getIn(u()(r=["paths"]).call(r,i()(t),["parameters"]),(0,T.OrderedMap)()),s=e.getIn(u()(o=["meta","paths"]).call(o,i()(t),["parameters"]),(0,T.OrderedMap)()),l=v()(a).call(a,(function(e){var t,r,o,a=s.get(u()(t="".concat(n.get("in"),".")).call(t,n.get("name"))),i=s.get(u()(r=u()(o="".concat(n.get("in"),".")).call(o,n.get("name"),".hash-")).call(r,n.hashCode()));return(0,T.OrderedMap)().merge(e,a,i)}));return w()(l).call(l,(function(e){return e.get("in")===n.get("in")&&e.get("name")===n.get("name")}),(0,T.OrderedMap)())},be=function(e,t,n,r){var o,a,s=u()(o="".concat(r,".")).call(o,n);return e.getIn(u()(a=["meta","paths"]).call(a,i()(t),["parameter_inclusions",s]),!1)},we=function(e,t,n,r){var o,a=q(e).getIn(u()(o=["paths"]).call(o,i()(t),["parameters"]),(0,T.OrderedMap)()),s=w()(a).call(a,(function(e){return e.get("in")===r&&e.get("name")===n}),(0,T.OrderedMap)());return ye(e,t,s)},Ee=function(e,t,n){var r,o=q(e).getIn(["paths",t,n],(0,T.OrderedMap)()),a=e.getIn(["meta","paths",t,n],(0,T.OrderedMap)()),i=v()(r=o.get("parameters",(0,T.List)())).call(r,(function(r){return ye(e,[t,n],r)}));return(0,T.OrderedMap)().merge(o,a).set("parameters",i)};function xe(e,t,n,r){var o;t=t||[];var a=e.getIn(u()(o=["meta","paths"]).call(o,i()(t),["parameters"]),(0,T.fromJS)([]));return w()(a).call(a,(function(e){return T.Map.isMap(e)&&e.get("name")===n&&e.get("in")===r}))||(0,T.Map)()}var _e=(0,j.P1)(V,(function(e){var t=e.get("host");return"string"==typeof t&&t.length>0&&"/"!==t[0]}));function Se(e,t,n){var r;t=t||[];var o=Ee.apply(void 0,u()(r=[e]).call(r,i()(t))).get("parameters",(0,T.List)());return x()(o).call(o,(function(e,t){var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set((0,I.V9)(t,{allowHashes:!1}),r)}),(0,T.fromJS)({}))}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(T.List.isList(e))return A()(e).call(e,(function(e){return T.Map.isMap(e)&&e.get("in")===t}))}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(T.List.isList(e))return A()(e).call(e,(function(e){return T.Map.isMap(e)&&e.get("type")===t}))}function Ce(e,t){var n,r;t=t||[];var o=q(e).getIn(u()(n=["paths"]).call(n,i()(t)),(0,T.fromJS)({})),a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t)),(0,T.fromJS)({})),s=Oe(e,t),l=o.get("parameters")||new T.List,c=a.get("consumes_value")?a.get("consumes_value"):Ae(l,"file")?"multipart/form-data":Ae(l,"formData")?"application/x-www-form-urlencoded":void 0;return(0,T.fromJS)({requestContentType:c,responseContentType:s})}function Oe(e,t){var n,r;t=t||[];var o=q(e).getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==o){var a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t),["produces_value"]),null),s=o.getIn(["produces",0],null);return a||s||"application/json"}}function je(e,t){var n;t=t||[];var r=q(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,l=o()(s,1)[0],c=a.get("produces",null),p=r.getIn(["paths",l,"produces"],null),f=r.getIn(["produces"],null);return c||p||f}}function Ie(e,t){var n;t=t||[];var r=q(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,l=o()(s,1)[0],c=a.get("consumes",null),p=r.getIn(["paths",l,"consumes"],null),f=r.getIn(["consumes"],null);return c||p||f}}var Te=function(e,t,n){var r=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=O()(r)?r[1]:null;return e.getIn(["scheme",t,n])||e.getIn(["scheme","_defaultScheme"])||o||""},Ne=function(e,t,n){var r;return d()(r=["http","https"]).call(r,Te(e,t,n))>-1},Pe=function(e,t){var n;t=t||[];var r=e.getIn(u()(n=["meta","paths"]).call(n,i()(t),["parameters"]),(0,T.fromJS)([])),o=!0;return f()(r).call(r,(function(e){var t=e.get("errors");t&&t.count()&&(o=!1)})),o},Re=function(e,t){var n,r,o={requestBody:!1,requestContentType:{}},a=e.getIn(u()(n=["resolvedSubtrees","paths"]).call(n,i()(t),["requestBody"]),(0,T.fromJS)([]));return a.size<1||(a.getIn(["required"])&&(o.requestBody=a.getIn(["required"])),f()(r=a.getIn(["content"]).entrySeq()).call(r,(function(e){var t=e[0];if(e[1].getIn(["schema","required"])){var n=e[1].getIn(["schema","required"]).toJS();o.requestContentType[t]=n}}))),o},Me=function(e,t,n,r){var o;if((n||r)&&n===r)return!0;var a=e.getIn(u()(o=["resolvedSubtrees","paths"]).call(o,i()(t),["requestBody","content"]),(0,T.fromJS)([]));if(a.size<2||!n||!r)return!1;var s=a.getIn([n,"schema","properties"],(0,T.fromJS)([])),l=a.getIn([r,"schema","properties"],(0,T.fromJS)([]));return!!s.equals(l)};function De(e){return T.Map.isMap(e)?e:new T.Map}},77508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSpec:()=>l,updateJsonSpec:()=>c,executeRequest:()=>p,validateParams:()=>f});var r=n(86902),o=n.n(r),a=n(78914),i=n.n(a),s=n(27361),u=n.n(s),l=function(e,t){var n=t.specActions;return function(){e.apply(void 0,arguments),n.parseToJson.apply(n,arguments)}},c=function(e,t){var n=t.specActions;return function(){for(var t=arguments.length,r=new Array(t),a=0;a{"use strict";n.r(t),n.d(t,{loaded:()=>r});var r=function(e,t){return function(){e.apply(void 0,arguments);var n=t.getConfigs().withCredentials;void 0!==n&&(t.fn.fetch.withCredentials="string"==typeof n?"true"===n:!!n)}}},44389:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>qn});var r={};n.r(r),n.d(r,{JsonPatchError:()=>Fe,_areEquals:()=>Ge,applyOperation:()=>We,applyPatch:()=>He,applyReducer:()=>$e,deepClone:()=>ze,getValueByPointer:()=>Ve,validate:()=>Ke,validator:()=>Je});var o={};n.r(o),n.d(o,{compare:()=>rt,generate:()=>tt,observe:()=>et,unobserve:()=>Xe});var a={};n.r(a),n.d(a,{cookie:()=>Cn,header:()=>An,path:()=>_n,query:()=>Sn});var i=n(77766),s=n.n(i),u=n(51161),l=n.n(u),c=n(63109),p=n.n(c),f=n(86418),h=n.n(f),d=n(23765),m=n.n(d),v=n(18777),g=n.n(v),y=n(78580),b=n.n(y),w=n(72119),E=n.n(w),x=n(66419),_=n.n(x),S=n(59340),k=n.n(S),A=n(2991),C=n.n(A),O=n(86902),j=n.n(O),I=n(26295),T=n.n(I),N=n(20116),P=n.n(N),R=(n(31905),n(92495)),M=n.n(R),D=n(1272);const L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:B,Blob:F,File:z}=L;var U=n(59036),q=n.n(U),V=n(3649),W=n.n(V),H=function(e){return":/?#[]@!$&'()*+,;=".indexOf(e)>-1},$=function(e){return/^[a-z0-9\-._~]+$/i.test(e)};function J(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.escape,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof e&&(e=e.toString()),"string"==typeof e&&e.length&&r?o?JSON.parse(e):C()(t=q()(e)).call(t,(function(e){var t,n;if($(e))return e;if(H(e)&&"unsafe"===r)return e;var o=new TextEncoder;return C()(t=C()(n=_()(o.encode(e))).call(n,(function(e){var t;return W()(t="0".concat(e.toString(16).toUpperCase())).call(t,-2)}))).call(t,(function(e){return"%".concat(e)})).join("")})).join(""):e}function K(e){var t=e.value;return Array.isArray(t)?function(e){var t=e.key,n=e.value,r=e.style,o=e.explode,a=e.escape,i=function(e){return J(e,{escape:a})};if("simple"===r)return C()(n).call(n,(function(e){return i(e)})).join(",");if("label"===r)return".".concat(C()(n).call(n,(function(e){return i(e)})).join("."));if("matrix"===r)return C()(n).call(n,(function(e){return i(e)})).reduce((function(e,n){var r,a,i;return!e||o?s()(a=s()(i="".concat(e||"",";")).call(i,t,"=")).call(a,n):s()(r="".concat(e,",")).call(r,n)}),"");if("form"===r){var u=o?"&".concat(t,"="):",";return C()(n).call(n,(function(e){return i(e)})).join(u)}if("spaceDelimited"===r){var l=o?"".concat(t,"="):"";return C()(n).call(n,(function(e){return i(e)})).join(" ".concat(l))}if("pipeDelimited"===r){var c=o?"".concat(t,"="):"";return C()(n).call(n,(function(e){return i(e)})).join("|".concat(c))}return}(e):"object"===m()(t)?function(e){var t=e.key,n=e.value,r=e.style,o=e.explode,a=e.escape,i=function(e){return J(e,{escape:a})},u=j()(n);if("simple"===r)return u.reduce((function(e,t){var r,a,u,l=i(n[t]),c=o?"=":",",p=e?"".concat(e,","):"";return s()(r=s()(a=s()(u="".concat(p)).call(u,t)).call(a,c)).call(r,l)}),"");if("label"===r)return u.reduce((function(e,t){var r,a,u,l=i(n[t]),c=o?"=":".",p=e?"".concat(e,"."):".";return s()(r=s()(a=s()(u="".concat(p)).call(u,t)).call(a,c)).call(r,l)}),"");if("matrix"===r&&o)return u.reduce((function(e,t){var r,o,a=i(n[t]),u=e?"".concat(e,";"):";";return s()(r=s()(o="".concat(u)).call(o,t,"=")).call(r,a)}),"");if("matrix"===r)return u.reduce((function(e,r){var o,a,u=i(n[r]),l=e?"".concat(e,","):";".concat(t,"=");return s()(o=s()(a="".concat(l)).call(a,r,",")).call(o,u)}),"");if("form"===r)return u.reduce((function(e,t){var r,a,u,l,c=i(n[t]),p=e?s()(r="".concat(e)).call(r,o?"&":","):"",f=o?"=":",";return s()(a=s()(u=s()(l="".concat(p)).call(l,t)).call(u,f)).call(a,c)}),"");return}(e):function(e){var t,n=e.key,r=e.value,o=e.style,a=e.escape,i=function(e){return J(e,{escape:a})};if("simple"===o)return i(r);if("label"===o)return".".concat(i(r));if("matrix"===o)return s()(t=";".concat(n,"=")).call(t,i(r));if("form"===o)return i(r);if("deepObject"===o)return i(r,{},!0);return}(e)}const G=function(e,t){t.body=e};var Z={serializeRes:te,mergeInQueryOrForm:fe};function Y(e){return Q.apply(this,arguments)}function Q(){return Q=l()(p().mark((function e(t){var n,r,o,a,i,s=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:{},"object"===m()(t)&&(t=(n=t).url),n.headers=n.headers||{},Z.mergeInQueryOrForm(n),n.headers&&j()(n.headers).forEach((function(e){var t=n.headers[e];"string"==typeof t&&(n.headers[e]=t.replace(/\n+/g," "))})),!n.requestInterceptor){e.next=12;break}return e.next=8,n.requestInterceptor(n);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0=n;case 11:n=e.t0;case 12:return r=n.headers["content-type"]||n.headers["Content-Type"],/multipart\/form-data/i.test(r)&&n.body instanceof B&&(delete n.headers["content-type"],delete n.headers["Content-Type"]),e.prev=14,e.next=17,(n.userFetch||fetch)(n.url,n);case 17:return o=e.sent,e.next=20,Z.serializeRes(o,t,n);case 20:if(o=e.sent,!n.responseInterceptor){e.next=28;break}return e.next=24,n.responseInterceptor(o);case 24:if(e.t1=e.sent,e.t1){e.next=27;break}e.t1=o;case 27:o=e.t1;case 28:e.next=39;break;case 30:if(e.prev=30,e.t2=e.catch(14),o){e.next=34;break}throw e.t2;case 34:throw(a=new Error(o.statusText||"response status is ".concat(o.status))).status=o.status,a.statusCode=o.status,a.responseError=e.t2,a;case 39:if(o.ok){e.next=45;break}throw(i=new Error(o.statusText||"response status is ".concat(o.status))).status=o.status,i.statusCode=o.status,i.response=o,i;case 45:return e.abrupt("return",o);case 46:case"end":return e.stop()}}),e,null,[[14,30]])}))),Q.apply(this,arguments)}var X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(e)};function ee(e,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(e):D.ZP.load(e)}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.loadSpec,o=void 0!==r&&r,a={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:re(e.headers)},i=a.headers["content-type"],s=o||X(i),u=s?e.text:e.blob||e.buffer;return u.call(e).then((function(e){if(a.text=e,a.data=e,s)try{var t=ee(e,i);a.body=t,a.obj=t}catch(e){a.parseError=e}return a}))}function ne(e){return b()(e).call(e,", ")?e.split(", "):e}function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!=typeof E()(e)?{}:_()(E()(e).call(e)).reduce((function(e,t){var n=g()(t,2),r=n[0],o=n[1];return e[r]=ne(o),e}),{})}function oe(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!==m()(e)||"string"!=typeof e.uri):void 0!==z&&e instanceof z||(void 0!==F&&e instanceof F||(!!ArrayBuffer.isView(e)||null!==e&&"object"===m()(e)&&"function"==typeof e.pipe))}function ae(e,t){return Array.isArray(e)&&e.some((function(e){return oe(e,t)}))}var ie={form:",",spaceDelimited:"%20",pipeDelimited:"|"},se={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.collectionFormat,o=t.allowEmptyValue,a=t.serializationOption,i=t.encoding,s="object"!==m()(t)||Array.isArray(t)?t:t.value,u=n?function(e){return e.toString()}:function(e){return encodeURIComponent(e)},l=u(e);if(void 0===s&&o)return[[l,""]];if(oe(s)||ae(s))return[[l,s]];if(a)return le(e,s,n,a);if(i){if([m()(i.style),m()(i.explode),m()(i.allowReserved)].some((function(e){return"undefined"!==e}))){var c=i.style,p=i.explode,f=i.allowReserved;return le(e,s,n,{style:c,explode:p,allowReserved:f})}if(i.contentType){if("application/json"===i.contentType){var h="string"==typeof s?s:k()(s);return[[l,u(h)]]}return[[l,u(s.toString())]]}return"object"!==m()(s)?[[l,u(s)]]:Array.isArray(s)&&s.every((function(e){return"object"!==m()(e)}))?[[l,C()(s).call(s,u).join(",")]]:[[l,u(k()(s))]]}return"object"!==m()(s)?[[l,u(s)]]:Array.isArray(s)?"multi"===r?[[l,C()(s).call(s,u)]]:[[l,C()(s).call(s,u).join(se[r||"csv"])]]:[[l,""]]}function le(e,t,n,r){var o,a,i,u=r.style||"form",l=void 0===r.explode?"form"===u:r.explode,c=!n&&(r&&r.allowReserved?"unsafe":"reserved"),p=function(e){return J(e,{escape:c})},f=n?function(e){return e}:function(e){return J(e,{escape:c})};return"object"!==m()(t)?[[f(e),p(t)]]:Array.isArray(t)?l?[[f(e),C()(t).call(t,p)]]:[[f(e),C()(t).call(t,p).join(ie[u])]]:"deepObject"===u?C()(a=j()(t)).call(a,(function(n){var r;return[f(s()(r="".concat(e,"[")).call(r,n,"]")),p(t[n])]})):l?C()(i=j()(t)).call(i,(function(e){return[f(e),p(t[e])]})):[[f(e),C()(o=j()(t)).call(o,(function(e){var n;return[s()(n="".concat(f(e),",")).call(n,p(t[e]))]})).join(",")]]}function ce(e){return T()(e).reduce((function(e,t){var n,r=g()(t,2),o=r[0],a=r[1],i=h()(ue(o,a,!0));try{for(i.s();!(n=i.n()).done;){var s=g()(n.value,2),u=s[0],l=s[1];if(Array.isArray(l)){var c,p=h()(l);try{for(p.s();!(c=p.n()).done;){var f=c.value;if(ArrayBuffer.isView(f)){var d=new F([f]);e.append(u,d)}else e.append(u,f)}}catch(e){p.e(e)}finally{p.f()}}else if(ArrayBuffer.isView(l)){var m=new F([l]);e.append(u,m)}else e.append(u,l)}}catch(e){i.e(e)}finally{i.f()}return e}),new B)}function pe(e){var t=j()(e).reduce((function(t,n){var r,o=h()(ue(n,e[n]));try{for(o.s();!(r=o.n()).done;){var a=g()(r.value,2),i=a[0],s=a[1];t[i]=s}}catch(e){o.e(e)}finally{o.f()}return t}),{});return M().stringify(t,{encode:!1,indices:!1})||""}function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n=void 0===t?"":t,r=e.query,o=e.form,a=function(){for(var e=arguments.length,t=new Array(e),n=0;n=48&&t<=57))return!1;n++}return!0}function Re(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Me(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function De(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,n=e.length;t=c){if(n&&"add"===t.op&&f>u.length)throw new Fe("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,t,e);if(!1===(i=qe[t.op].call(t,u,f,e)).test)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}}else if(f&&-1!=f.indexOf("~")&&(f=Me(f)),l>=c){if(!1===(i=Ue[t.op].call(t,u,f,e)).test)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}u=u[f]}}function He(e,t,n,r,o){if(void 0===r&&(r=!0),void 0===o&&(o=!0),n&&!Array.isArray(t))throw new Fe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");r||(e=Ne(e));for(var a=new Array(t.length),i=0,s=t.length;i0)throw new Fe('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,n);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new Fe("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Fe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&De(e.value))throw new Fe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,n);if(n)if("add"==e.op){var o=e.path.split("/").length,a=r.split("/").length;if(o!==a+1&&o!==a)throw new Fe("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,n)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==r)throw new Fe("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,n)}else if("move"===e.op||"copy"===e.op){var i=Ke([{op:"_get",path:e.from,value:void 0}],n);if(i&&"OPERATION_PATH_UNRESOLVABLE"===i.name)throw new Fe("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,n)}}function Ke(e,t,n){try{if(!Array.isArray(e))throw new Fe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)He(Ne(t),Ne(e),n||!0);else{n=n||Je;for(var r=0;r0&&(e.patches=[],e.callback&&e.callback(r)),r}function nt(e,t,n,r,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=Te(t),i=Te(e),s=!1,u=i.length-1;u>=0;u--){var l=e[p=i[u]];if(!Ie(t,p)||void 0===t[p]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&n.push({op:"test",path:r+"/"+Re(p),value:Ne(l)}),n.push({op:"remove",path:r+"/"+Re(p)}),s=!0):(o&&n.push({op:"test",path:r,value:e}),n.push({op:"replace",path:r,value:t}),!0);else{var c=t[p];"object"==typeof l&&null!=l&&"object"==typeof c&&null!=c?nt(l,c,n,r+"/"+Re(p),o):l!==c&&(!0,o&&n.push({op:"test",path:r+"/"+Re(p),value:Ne(l)}),n.push({op:"replace",path:r+"/"+Re(p),value:Ne(c)}))}}if(s||a.length!=i.length)for(u=0;u0){var o=t(e,n[n.length-1],n);o&&(r=s()(r).call(r,o))}if(Array.isArray(e)){var a=C()(e).call(e,(function(e,r){return pt(e,t,s()(n).call(n,r))}));a&&(r=s()(r).call(r,a))}else if(mt(e)){var i,u=C()(i=j()(e)).call(i,(function(r){return pt(e[r],t,s()(n).call(n,r))}));u&&(r=s()(r).call(r,u))}return r=ht(r)}function ft(e){return Array.isArray(e)?e:[e]}function ht(e){var t;return s()(t=[]).apply(t,q()(C()(e).call(e,(function(e){return Array.isArray(e)?ht(e):e}))))}function dt(e){return P()(e).call(e,(function(e){return void 0!==e}))}function mt(e){return e&&"object"===m()(e)}function vt(e){return e&&"function"==typeof e}function gt(e){if(wt(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function yt(e){return gt(e)||wt(e)&&"mutation"===e.type}function bt(e){return yt(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function wt(e){return e&&"object"===m()(e)}function Et(e,t){try{return Ve(e,t)}catch(e){return console.error(e),{}}}var xt=n(52424),_t=n.n(xt),St=n(94435),kt=n.n(St),At=n(8575);function Ct(e,t){function n(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,n=new Array(e),r=0;r-1&&-1===Tt.indexOf(n)||Nt.indexOf(r)>-1||Pt.some((function(e){return r.indexOf(e)>-1}))}function Mt(e,t){var n,r=e.split("#"),o=g()(r,2),a=o[0],i=o[1],u=At.resolve(a||"",t||"");return i?s()(n="".concat(u,"#")).call(n,i):u}var Dt="application/json, application/yaml",Lt=/^([a-z]+:\/\/|\/\/)/i,Bt=Ct("JSONRefError",(function(e,t,n){this.originalError=n,Ee()(this,t||{})})),Ft={},zt=new(_t()),Ut=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],qt={key:"$ref",plugin:function(e,t,n,r){var o=r.getInstance(),a=W()(n).call(n,0,-1);if(!Rt(a)&&!function(e){return Ut.some((function(t){return t(e)}))}(a)){var i=r.getContext(n).baseDoc;if("string"!=typeof e)return new Bt("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:i,fullPath:n});var u,l,c,p=Jt(e),f=p[0],h=p[1]||"";try{u=i||f?Ht(f,i):null}catch(t){return $t(t,{pointer:h,$ref:e,basePath:u,fullPath:n})}if(function(e,t,n,r){var o,a,i=zt.get(r);i||(i={},zt.set(r,i));var u=function(e){if(0===e.length)return"";return"/".concat(C()(e).call(e,Xt).join("/"))}(n),l=s()(o="".concat(t||"","#")).call(o,e),c=u.replace(/allOf\/\d+\/?/g,""),p=r.contextTree.get([]).baseDoc;if(t===p&&en(c,e))return!0;var f="",h=n.some((function(e){var t;return f=s()(t="".concat(f,"/")).call(t,Xt(e)),i[f]&&i[f].some((function(e){return en(e,l)||en(l,e)}))}));if(h)return!0;return void(i[c]=s()(a=i[c]||[]).call(a,l))}(h,u,a,r)&&!o.useCircularStructures){var d=Mt(e,u);return e===d?null:it.replace(n,d)}if(null==u?(c=Yt(h),void 0===(l=r.get(c))&&(l=new Bt("Could not resolve reference: ".concat(e),{pointer:h,$ref:e,baseDoc:i,fullPath:n}))):l=null!=(l=Kt(u,h)).__value?l.__value:l.catch((function(t){throw $t(t,{pointer:h,$ref:e,baseDoc:i,fullPath:n})})),l instanceof Error)return[it.remove(n),l];var m=Mt(e,u),v=it.replace(a,l,{$$ref:m});if(u&&u!==i)return[v,it.context(a,{baseDoc:u})];try{if(!function(e,t){var n=[e];return t.path.reduce((function(e,t){return n.push(e[t]),e[t]}),e),r(t.value);function r(e){return it.isObject(e)&&(n.indexOf(e)>=0||j()(e).some((function(t){return r(e[t])})))}}(r.state,v)||o.useCircularStructures)return v}catch(e){return null}}}},Vt=Ee()(qt,{docCache:Ft,absoluteify:Ht,clearCache:function(e){void 0!==e?delete Ft[e]:j()(Ft).forEach((function(e){delete Ft[e]}))},JSONRefError:Bt,wrapError:$t,getDoc:Gt,split:Jt,extractFromDoc:Kt,fetchJSON:function(e){return fetch(e,{headers:{Accept:Dt},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return D.ZP.load(e)}))},extract:Zt,jsonPointerToArray:Yt,unescapeJsonPointerToken:Qt});const Wt=Vt;function Ht(e,t){if(!Lt.test(e)){var n;if(!t)throw new Bt(s()(n="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(n,t,"'"));return At.resolve(t,e)}return e}function $t(e,t){var n,r;e&&e.response&&e.response.body?n=s()(r="".concat(e.response.body.code," ")).call(r,e.response.body.message):n=e.message;return new Bt("Could not resolve reference: ".concat(n),t,e)}function Jt(e){return(e+"").split("#")}function Kt(e,t){var n=Ft[e];if(n&&!it.isPromise(n))try{var r=Zt(t,n);return Ee()(ke().resolve(r),{__value:r})}catch(e){return ke().reject(e)}return Gt(e).then((function(e){return Zt(t,e)}))}function Gt(e){var t=Ft[e];return t?it.isPromise(t)?t:ke().resolve(t):(Ft[e]=Vt.fetchJSON(e).then((function(t){return Ft[e]=t,t})),Ft[e])}function Zt(e,t){var n=Yt(e);if(n.length<1)return t;var r=it.getIn(t,n);if(void 0===r)throw new Bt("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return r}function Yt(e){var t;if("string"!=typeof e)throw new TypeError("Expected a string, got a ".concat(m()(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:C()(t=e.split("/")).call(t,Qt)}function Qt(e){return"string"!=typeof e?e:new(kt())("=".concat(e.replace(/~1/g,"/").replace(/~0/g,"~"))).get("")}function Xt(e){var t,n=new(kt())([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]);return W()(t=n.toString()).call(t,1)}function en(e,t){if(!(n=t)||"/"===n||"#"===n)return!0;var n,r=e.charAt(t.length),o=W()(t).call(t,-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==o}const tn={key:"allOf",plugin:function(e,t,n,r,o){if(!o.meta||!o.meta.$$ref){var a=W()(n).call(n,0,-1);if(!Rt(a)){if(!Array.isArray(e)){var i=new TypeError("allOf must be an array");return i.fullPath=n,i}var u=!1,l=o.value;if(a.forEach((function(e){l&&(l=l[e])})),l=me()({},l),0!==j()(l).length){delete l.allOf;var c,p,f=[];if(f.push(r.replace(a,{})),e.forEach((function(e,t){if(!r.isObject(e)){if(u)return null;u=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=n,f.push(o)}f.push(r.mergeDeep(a,e));var i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.specmap,o=n.getBaseUrlForNodePath,a=void 0===o?function(e){var n;return r.getContext(s()(n=[]).call(n,q()(t),q()(e))).baseDoc}:o,i=n.targetKeys,u=void 0===i?["$ref","$$ref"]:i,l=[];return jt()(e).forEach((function(){if(b()(u).call(u,this.key)&&"string"==typeof this.node){var e=this.path,n=s()(t).call(t,this.path),o=Mt(this.node,a(e));l.push(r.replace(n,o))}})),l}(e,W()(n).call(n,0,-1),{getBaseUrlForNodePath:function(e){var o;return r.getContext(s()(o=[]).call(o,q()(n),[t],q()(e))).baseDoc},specmap:r});f.push.apply(f,q()(i))})),l.example)f.push(r.remove(s()(c=[]).call(c,a,"example")));if(f.push(r.mergeDeep(a,l)),!l.$$ref)f.push(r.remove(s()(p=[]).call(p,a,"$$ref")));return f}}}}},nn={key:"parameters",plugin:function(e,t,n,r){if(Array.isArray(e)&&e.length){var o=Ee()([],e),a=W()(n).call(n,0,-1),i=me()({},it.getIn(r.spec,a));return e.forEach((function(e,t){try{o[t].default=r.parameterMacro(i,e)}catch(e){var a=new Error(e);return a.fullPath=n,a}})),it.replace(n,o)}return it.replace(n,e)}},rn={key:"properties",plugin:function(e,t,n,r){var o=me()({},e);for(var a in e)try{o[a].default=r.modelPropertyMacro(o[a])}catch(e){var i=new Error(e);return i.fullPath=n,i}return it.replace(n,o)}};var on=function(){function e(t){ge()(this,e),this.root=an(t||{})}return be()(e,[{key:"set",value:function(e,t){var n=this.getParent(e,!0);if(n){var r=e[e.length-1],o=n.children;o[r]?sn(o[r],t,n):o[r]=an(t,n)}else sn(this.root,t,null)}},{key:"get",value:function(e){if((e=e||[]).length<1)return this.root.value;for(var t,n,r=this.root,o=0;o1?n-1:0),o=1;o1?r-1:0),a=1;a0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return ke().race(C()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var n=this.constructor.getPluginName(e);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(t)}},{key:"updatePatches",value:function(e){var t=this;it.normalizeArray(e).forEach((function(e){if(e instanceof Error)t.errors.push(e);else try{if(!it.isObject(e))return void t.debug("updatePatches","Got a non-object patch",e);if(t.showDebug&&t.allPatches.push(e),it.isPromise(e.value))return t.promisedPatches.push(e),void t.promisedPatchThen(e);if(it.isContextPatch(e))return void t.setContext(e.path,e.value);if(it.isMutation(e))return void t.updateMutations(e)}catch(e){console.error(e),t.errors.push(e)}}))}},{key:"updateMutations",value:function(e){"object"===m()(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=me()({},e.value));var t=it.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,n=this.promisedPatches.indexOf(e);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):Ce()(t=this.promisedPatches).call(t,n,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(n){var r=me()(me()({},e),{},{value:n});t.removePromisedPatch(e),t.updatePatches(r)})).catch((function(n){t.removePromisedPatch(e),t.updatePatches(n)})),e.value}},{key:"getMutations",value:function(e,t){var n;return e=e||0,"number"!=typeof t&&(t=this.mutations.length),W()(n=this.mutations).call(n,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return it.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"dispatch",value:function(){var e,t=this,n=this,r=this.nextPlugin();if(!r){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var a={spec:this.state,errors:this.errors};return this.showDebug&&(a.patches=this.allPatches),ke().resolve(a)}if(n.pluginCount=n.pluginCount||{},n.pluginCount[r]=(n.pluginCount[r]||0)+1,n.pluginCount[r]>100)return ke().resolve({spec:n.state,errors:s()(e=n.errors).call(e,new Error("We've reached a hard limit of ".concat(100," plugin runs")))});if(r!==this.currentPlugin&&this.promisedPatches.length){var i,u=C()(i=this.promisedPatches).call(i,(function(e){return e.value}));return ke().all(C()(u).call(u,(function(e){return e.then(un,un)}))).then((function(){return t.dispatch()}))}return function(){n.currentPlugin=r;var e=n.getCurrentMutations(),t=n.mutations.length-1;try{if(r.isGenerator){var o,a=h()(r(e,n.getLib()));try{for(a.s();!(o=a.n()).done;){l(o.value)}}catch(e){a.e(e)}finally{a.f()}}else{l(r(e,n.getLib()))}}catch(e){console.error(e),l([Ee()(Object.create(e),{plugin:r})])}finally{n.updatePluginHistory(r,{mutationIndex:t})}return n.dispatch()}();function l(e){e&&(e=it.fullyNormalizeArray(e),n.updatePatches(e,r))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return P()(e).call(e,t)}}]),e}();var cn={refs:Wt,allOf:tn,parameters:nn,properties:rn},pn=n(89409);function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.requestInterceptor,r=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:n,responseInterceptor:r,headers:{Accept:Dt},credentials:o}).then((function(e){return e.body}))}}function hn(e){var t=e.fetch,n=e.spec,r=e.url,o=e.mode,a=e.allowMetaPatches,i=void 0===a||a,s=e.pathDiscriminator,u=e.modelPropertyMacro,c=e.parameterMacro,f=e.requestInterceptor,h=e.responseInterceptor,d=e.skipNormalization,m=e.useCircularStructures,v=e.http,g=e.baseDoc;return g=g||r,v=t||v||Y,n?y(n):fn(v,{requestInterceptor:f,responseInterceptor:h})(g).then(y);function y(e){g&&(cn.refs.docCache[g]=e),cn.refs.fetchJSON=fn(v,{requestInterceptor:f,responseInterceptor:h});var t,n=[cn.refs];return"function"==typeof c&&n.push(cn.parameters),"function"==typeof u&&n.push(cn.properties),"strict"!==o&&n.push(cn.allOf),(t={spec:e,context:{baseDoc:g},plugins:n,allowMetaPatches:i,pathDiscriminator:s,parameterMacro:c,modelPropertyMacro:u,useCircularStructures:m},new ln(t).dispatch()).then(d?function(){var e=l()(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():pn.K1)}}var dn=n(80122),mn=n.n(dn),vn=n(27361),gn=n.n(vn),yn=n(30006);function bn(e){return"[object Object]"===Object.prototype.toString.call(e)}function wn(e){var t,n;return!1!==bn(e)&&(void 0===(t=e.constructor)||!1!==bn(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}const En={body:function(e){var t=e.req,n=e.value;t.body=n},header:function(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{},void 0!==r&&(t.headers[n.name]=r)},query:function(e){var t=e.req,n=e.value,r=e.parameter;t.query=t.query||{},!1===n&&"boolean"===r.type&&(n="false");0===n&&["number","integer"].indexOf(r.type)>-1&&(n="0");if(n)t.query[r.name]={collectionFormat:r.collectionFormat,value:n};else if(r.allowEmptyValue&&void 0!==n){var o=r.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}},path:function(e){var t=e.req,n=e.value,r=e.parameter;t.url=t.url.split("{".concat(r.name,"}")).join(encodeURIComponent(n))},formData:function(e){var t=e.req,n=e.value,r=e.parameter;(n||r.allowEmptyValue)&&(t.form=t.form||{},t.form[r.name]={value:n,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}};function xn(e,t){return b()(t).call(t,"application/json")?"string"==typeof e?e:k()(e):e.toString()}function _n(e){var t=e.req,n=e.value,r=e.parameter,o=r.name,a=r.style,i=r.explode,s=r.content;if(s){var u=j()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(J(xn(n,u),{escape:!0}))}else{var l=K({key:r.name,value:n,style:a||"simple",explode:i||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(l)}}function Sn(e){var t=e.req,n=e.value,r=e.parameter;if(t.query=t.query||{},r.content){var o=j()(r.content)[0];t.query[r.name]=xn(n,o)}else if(!1===n&&(n="false"),0===n&&(n="0"),n){var a=r.style,i=r.explode,s=r.allowReserved;t.query[r.name]={value:n,serializationOption:{style:a,explode:i,allowReserved:s}}}else if(r.allowEmptyValue&&void 0!==n){var u=r.name;t.query[u]=t.query[u]||{},t.query[u].allowEmptyValue=!0}}var kn=["accept","authorization","content-type"];function An(e){var t=e.req,n=e.parameter,r=e.value;if(t.headers=t.headers||{},!(kn.indexOf(n.name.toLowerCase())>-1))if(n.content){var o=j()(n.content)[0];t.headers[n.name]=xn(r,o)}else void 0!==r&&(t.headers[n.name]=K({key:n.name,value:r,style:n.style||"simple",explode:void 0!==n.explode&&n.explode,escape:!1}))}function Cn(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{};var o=m()(r);if(n.content){var a,i=j()(n.content)[0];t.headers.Cookie=s()(a="".concat(n.name,"=")).call(a,xn(r,i))}else if("undefined"!==o){var u="object"===o&&!Array.isArray(r)&&n.explode?"":"".concat(n.name,"=");t.headers.Cookie=u+K({key:n.name,value:r,escape:!1,style:n.style||"form",explode:void 0!==n.explode&&n.explode})}}var On=n(50706),jn=n.n(On);function In(e,t){var n=e.operation,r=e.requestBody,o=e.securities,a=e.spec,i=e.attachContentTypeForEmptyPayload,u=e.requestContentType;t=function(e){var t=e.request,n=e.securities,r=void 0===n?{}:n,o=e.operation,a=void 0===o?{}:o,i=e.spec,u=me()({},t),l=r.authorized,c=void 0===l?{}:l,p=a.security||i.security||[],f=c&&!!j()(c).length,h=gn()(i,["components","securitySchemes"])||{};if(u.headers=u.headers||{},u.query=u.query||{},!j()(r).length||!f||!p||Array.isArray(a.security)&&!a.security.length)return t;return p.forEach((function(e){j()(e).forEach((function(e){var t=c[e],n=h[e];if(t){var r=t.value||t,o=n.type;if(t)if("apiKey"===o)"query"===n.in&&(u.query[n.name]=r),"header"===n.in&&(u.headers[n.name]=r),"cookie"===n.in&&(u.cookies[n.name]=r);else if("http"===o){if(/^basic$/i.test(n.scheme)){var a,i=r.username||"",l=r.password||"",p=jn()(s()(a="".concat(i,":")).call(a,l));u.headers.Authorization="Basic ".concat(p)}/^bearer$/i.test(n.scheme)&&(u.headers.Authorization="Bearer ".concat(r))}else if("oauth2"===o||"openIdConnect"===o){var f,d=t.token||{},m=d[n["x-tokenName"]||"access_token"],v=d.token_type;v&&"bearer"!==v.toLowerCase()||(v="Bearer"),u.headers.Authorization=s()(f="".concat(v," ")).call(f,m)}}}))})),u}({request:t,securities:o,operation:n,spec:a});var l=n.requestBody||{},c=j()(l.content||{}),p=u&&c.indexOf(u)>-1;if(r||i){if(u&&p)t.headers["Content-Type"]=u;else if(!u){var f=c[0];f&&(t.headers["Content-Type"]=f,u=f)}}else u&&p&&(t.headers["Content-Type"]=u);if(!e.responseContentType&&n.responses){var h,d=P()(h=T()(n.responses)).call(h,(function(e){var t=g()(e,2),n=t[0],r=t[1],o=parseInt(n,10);return o>=200&&o<300&&wn(r.content)})).reduce((function(e,t){var n=g()(t,2)[1];return s()(e).call(e,j()(n.content))}),[]);d.length>0&&(t.headers.accept=d.join(", "))}if(r)if(u){if(c.indexOf(u)>-1)if("application/x-www-form-urlencoded"===u||"multipart/form-data"===u)if("object"===m()(r)){var v=(l.content[u]||{}).encoding||{};t.form={},j()(r).forEach((function(e){t.form[e]={value:r[e],encoding:v[e]||{}}}))}else t.form=r;else t.body=r}else t.body=r;return t}function Tn(e,t){var n,r,o=e.spec,a=e.operation,i=e.securities,u=e.requestContentType,l=e.responseContentType,c=e.attachContentTypeForEmptyPayload;if(t=function(e){var t=e.request,n=e.securities,r=void 0===n?{}:n,o=e.operation,a=void 0===o?{}:o,i=e.spec,u=me()({},t),l=r.authorized,c=void 0===l?{}:l,p=r.specSecurity,f=void 0===p?[]:p,h=a.security||f,d=c&&!!j()(c).length,m=i.securityDefinitions;if(u.headers=u.headers||{},u.query=u.query||{},!j()(r).length||!d||!h||Array.isArray(a.security)&&!a.security.length)return t;return h.forEach((function(e){j()(e).forEach((function(e){var t=c[e];if(t){var n=t.token,r=t.value||t,o=m[e],a=o.type,i=o["x-tokenName"]||"access_token",l=n&&n[i],p=n&&n.token_type;if(t)if("apiKey"===a){var f="query"===o.in?"query":"headers";u[f]=u[f]||{},u[f][o.name]=r}else if("basic"===a)if(r.header)u.headers.authorization=r.header;else{var h,d=r.username||"",v=r.password||"";r.base64=jn()(s()(h="".concat(d,":")).call(h,v)),u.headers.authorization="Basic ".concat(r.base64)}else if("oauth2"===a&&l){var g;p=p&&"bearer"!==p.toLowerCase()?p:"Bearer",u.headers.authorization=s()(g="".concat(p," ")).call(g,l)}}}))})),u}({request:t,securities:i,operation:a,spec:o}),t.body||t.form||c)if(u)t.headers["Content-Type"]=u;else if(Array.isArray(a.consumes)){var p=g()(a.consumes,1);t.headers["Content-Type"]=p[0]}else if(Array.isArray(o.consumes)){var f=g()(o.consumes,1);t.headers["Content-Type"]=f[0]}else a.parameters&&P()(n=a.parameters).call(n,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":a.parameters&&P()(r=a.parameters).call(r,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(u){var h,d,m=a.parameters&&P()(h=a.parameters).call(h,(function(e){return"body"===e.in})).length>0,v=a.parameters&&P()(d=a.parameters).call(d,(function(e){return"formData"===e.in})).length>0;(m||v)&&(t.headers["Content-Type"]=u)}return!l&&Array.isArray(a.produces)&&a.produces.length>0&&(t.headers.accept=a.produces.join(", ")),t}var Nn=["http","fetch","spec","operationId","pathName","method","parameters","securities"],Pn=function(e){return Array.isArray(e)?e:[]},Rn=Ct("OperationNotFoundError",(function(e,t,n){this.originalError=n,Ee()(this,t||{})})),Mn={buildRequest:Ln};function Dn(e){var t=e.http,n=e.fetch,r=e.spec,o=e.operationId,a=e.pathName,i=e.method,s=e.parameters,u=e.securities,l=mn()(e,Nn),c=t||n||Y;a&&i&&!o&&(o=(0,pn.nc)(a,i));var p=Mn.buildRequest(me()({spec:r,operationId:o,parameters:s,securities:u,http:c},l));return p.body&&(wn(p.body)||Array.isArray(p.body))&&(p.body=k()(p.body)),c(p)}function Ln(e){var t,n,r=e.spec,o=e.operationId,i=e.responseContentType,u=e.scheme,l=e.requestInterceptor,c=e.responseInterceptor,p=e.contextUrl,f=e.userFetch,h=e.server,d=e.serverVariables,m=e.http,v=e.signal,y=e.parameters,b=e.parameterBuilders,w=(0,pn.z6)(r);b||(b=w?a:En);var E={url:"",credentials:m&&m.withCredentials?"include":"same-origin",headers:{},cookies:{}};v&&(E.signal=v),l&&(E.requestInterceptor=l),c&&(E.responseInterceptor=c),f&&(E.userFetch=f);var x=(0,pn.$r)(r,o);if(!x)throw new Rn("Operation ".concat(o," not found"));var _,S=x.operation,k=void 0===S?{}:S,A=x.method,O=x.pathName;if(E.url+=(_={spec:r,scheme:u,contextUrl:p,server:h,serverVariables:d,pathName:O,method:A},(0,pn.z6)(_.spec)?function(e){var t=e.spec,n=e.pathName,r=e.method,o=e.server,a=e.contextUrl,i=e.serverVariables,u=void 0===i?{}:i,l=gn()(t,["paths",n,(r||"").toLowerCase(),"servers"])||gn()(t,["paths",n,"servers"])||gn()(t,["servers"]),c="",p=null;if(o&&l&&l.length){var f=C()(l).call(l,(function(e){return e.url}));f.indexOf(o)>-1&&(c=o,p=l[f.indexOf(o)])}if(!c&&l&&l.length){c=l[0].url;var h=g()(l,1);p=h[0]}return c.indexOf("{")>-1&&function(e){for(var t,n=[],r=/{([^}]+)}/g;t=r.exec(e);)n.push(t[1]);return n}(c).forEach((function(e){if(p.variables&&p.variables[e]){var t=p.variables[e],n=u[e]||t.default,r=new RegExp("{".concat(e,"}"),"g");c=c.replace(r,n)}})),function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n&&r?At.parse(At.resolve(r,n)):At.parse(n),a=At.parse(r),i=Bn(o.protocol)||Bn(a.protocol)||"",u=o.host||a.host,l=o.pathname||"";return"/"===(e=i&&u?s()(t="".concat(i,"://")).call(t,u+l):l)[e.length-1]?W()(e).call(e,0,-1):e}(c,a)}(_):function(e){var t,n,r=e.spec,o=e.scheme,a=e.contextUrl,i=void 0===a?"":a,u=At.parse(i),l=Array.isArray(r.schemes)?r.schemes[0]:null,c=o||l||Bn(u.protocol)||"http",p=r.host||u.host||"",f=r.basePath||"";return"/"===(t=c&&p?s()(n="".concat(c,"://")).call(n,p+f):f)[t.length-1]?W()(t).call(t,0,-1):t}(_)),!o)return delete E.cookies,E;E.url+=O,E.method="".concat(A).toUpperCase(),y=y||{};var I=r.paths[O]||{};i&&(E.headers.accept=i);var T=function(e){var t={};e.forEach((function(e){t[e.in]||(t[e.in]={}),t[e.in][e.name]=e}));var n=[];return j()(t).forEach((function(e){j()(t[e]).forEach((function(r){n.push(t[e][r])}))})),n}(s()(t=s()(n=[]).call(n,Pn(k.parameters))).call(t,Pn(I.parameters)));T.forEach((function(e){var t,n,o=b[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=y),void 0===(t=e&&e.name&&y[e.name]))t=e&&e.name&&y[s()(n="".concat(e.in,".")).call(n,e.name)];else if(function(e,t){return P()(t).call(t,(function(t){return t.name===e}))}(e.name,T).length>1){var a;console.warn(s()(a="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(a,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if(void 0!==e.default&&void 0===t&&(t=e.default),void 0===t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(w&&e.schema&&"object"===e.schema.type&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:E,parameter:e,value:t,operation:k,spec:r})}}));var N=me()(me()({},e),{},{operation:k});if((E=w?In(N,E):Tn(N,E)).cookies&&j()(E.cookies).length){var R=j()(E.cookies).reduce((function(e,t){var n=E.cookies[t];return e+(e?"&":"")+yn.serialize(t,n)}),"");E.headers.Cookie=R}return E.cookies&&delete E.cookies,fe(E),E}var Bn=function(e){return e?e.replace(/\W/g,""):null};function Fn(e,t){return zn.apply(this,arguments)}function zn(){return zn=l()(p().mark((function e(t,n){var r,o,a,i,s,u,l,c,f,h,d,m,v=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=v.length>2&&void 0!==v[2]?v[2]:{},o=r.returnEntireTree,a=r.baseDoc,i=r.requestInterceptor,s=r.responseInterceptor,u=r.parameterMacro,l=r.modelPropertyMacro,c=r.useCircularStructures,f={pathDiscriminator:n,baseDoc:a,requestInterceptor:i,responseInterceptor:s,parameterMacro:u,modelPropertyMacro:l,useCircularStructures:c},h=(0,pn.K1)({spec:t}),d=h.spec,e.next=6,hn(me()(me()({},f),{},{spec:d,allowMetaPatches:!0,skipNormalization:!0}));case 6:return m=e.sent,!o&&Array.isArray(n)&&n.length&&(m.spec=gn()(m.spec,n)||null),e.abrupt("return",m);case 9:case"end":return e.stop()}}),e)}))),zn.apply(this,arguments)}var Un=n(34852);function qn(e){var t,n,r,o=e.configs,a=e.getConfigs;return{fn:{fetch:(t=Y,n=o.preFetch,r=o.postFetch,r=r||function(e){return e},n=n||function(e){return e},function(e){return"string"==typeof e&&(e={url:e}),Z.mergeInQueryOrForm(e),e=n(e),r(t(e))}),buildRequest:Ln,execute:Dn,resolve:hn,resolveSubtree:function(e,t,n){var r;if(void 0===n){var o=a();n={modelPropertyMacro:o.modelPropertyMacro,parameterMacro:o.parameterMacro,requestInterceptor:o.requestInterceptor,responseInterceptor:o.responseInterceptor}}for(var i=arguments.length,u=new Array(i>3?i-3:0),l=3;l{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(90242);function o(){return{fn:{shallowEqualKeys:r.be}}}},48347:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDisplayName:()=>r});var r=function(e){return e.displayName||e.name||"Component"}},73420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(59340),o=n.n(r),a=n(90242),i=n(55776),s=n(48347),u=n(60314);const l=function(e){var t,n=e.getComponents,r=e.getStore,l=e.getSystem,c=(t=(0,i.getComponent)(l,r,n),(0,a.HP)(t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{getComponent:()=>he,render:()=>fe,withMappedContainer:()=>pe});var r=n(23765),o=n.n(r),a=n(95945),i=n.n(a),s=n(5872),u=n.n(s),l=n(26394),c=n.n(l),p=n(69198),f=n.n(p),h=n(51379),d=n.n(h),m=n(10098),v=n.n(m),g=n(86902),y=n.n(g),b=n(67294),w=n(73935),E=n(97779),x=b.createContext(null);var _=function(e){e()},S=function(){return _},k={notify:function(){}};var A=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=k,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=S(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=k)},e}(),C="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?b.useLayoutEffect:b.useEffect;const O=function(e){var t=e.store,n=e.context,r=e.children,o=(0,b.useMemo)((function(){var e=new A(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),a=(0,b.useMemo)((function(){return t.getState()}),[t]);C((function(){var e=o.subscription;return e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,a]);var i=n||x;return b.createElement(i.Provider,{value:o},r)};var j=n(87462),I=n(63366),T=n(8679),N=n.n(T),P=n(72973),R=[],M=[null,null];function D(e,t){var n=e[1];return[t.payload,n+1]}function L(e,t,n){C((function(){return e.apply(void 0,t)}),n)}function B(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function F(e,t,n,r,o,a,i,s,u,l){if(e){var c=!1,p=null,f=function(){if(!c){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===a.current?i.current||u():(a.current=e,s.current=e,i.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var z=function(){return[null,0]};function U(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,a=n.methodName,i=void 0===a?"connectAdvanced":a,s=n.renderCountProp,u=void 0===s?void 0:s,l=n.shouldHandleStateChanges,c=void 0===l||l,p=n.storeKey,f=void 0===p?"store":p,h=(n.withRef,n.forwardRef),d=void 0!==h&&h,m=n.context,v=void 0===m?x:m,g=(0,I.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),y=v;return function(t){var n=t.displayName||t.name||"Component",r=o(n),a=(0,j.Z)({},g,{getDisplayName:o,methodName:i,renderCountProp:u,shouldHandleStateChanges:c,storeKey:f,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=g.pure;var l=s?b.useMemo:function(e){return e()};function p(n){var r=(0,b.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,I.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),o=r[0],i=r[1],s=r[2],u=(0,b.useMemo)((function(){return o&&o.Consumer&&(0,P.isContextConsumer)(b.createElement(o.Consumer,null))?o:y}),[o,y]),p=(0,b.useContext)(u),f=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var h=f?n.store:p.store,d=(0,b.useMemo)((function(){return function(t){return e(t.dispatch,a)}(h)}),[h]),m=(0,b.useMemo)((function(){if(!c)return M;var e=new A(h,f?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,f,p]),v=m[0],g=m[1],w=(0,b.useMemo)((function(){return f?p:(0,j.Z)({},p,{subscription:v})}),[f,p,v]),E=(0,b.useReducer)(D,R,z),x=E[0][0],_=E[1];if(x&&x.error)throw x.error;var S=(0,b.useRef)(),k=(0,b.useRef)(s),C=(0,b.useRef)(),O=(0,b.useRef)(!1),T=l((function(){return C.current&&s===k.current?C.current:d(h.getState(),s)}),[h,x,s]);L(B,[k,S,O,s,T,C,g]),L(F,[c,h,v,d,k,S,O,C,g,_],[h,v,d]);var N=(0,b.useMemo)((function(){return b.createElement(t,(0,j.Z)({},T,{ref:i}))}),[i,t,T]);return(0,b.useMemo)((function(){return c?b.createElement(u.Provider,{value:w},N):N}),[u,N,w])}var h=s?b.memo(p):p;if(h.WrappedComponent=t,h.displayName=p.displayName=r,d){var m=b.forwardRef((function(e,t){return b.createElement(h,(0,j.Z)({},e,{reactReduxForwardedRef:t}))}));return m.displayName=r,m.WrappedComponent=t,N()(m,t)}return N()(h,t)}}function q(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function V(e,t){if(q(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function te(e,t){return e===t}function ne(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?U:n,o=t.mapStateToPropsFactories,a=void 0===o?K:o,i=t.mapDispatchToPropsFactories,s=void 0===i?J:i,u=t.mergePropsFactories,l=void 0===u?Z:u,c=t.selectorFactory,p=void 0===c?X:c;return function(e,t,n,o){void 0===o&&(o={});var i=o,u=i.pure,c=void 0===u||u,f=i.areStatesEqual,h=void 0===f?te:f,d=i.areOwnPropsEqual,m=void 0===d?V:d,v=i.areStatePropsEqual,g=void 0===v?V:v,y=i.areMergedPropsEqual,b=void 0===y?V:y,w=(0,I.Z)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),E=ee(e,a,"mapStateToProps"),x=ee(t,s,"mapDispatchToProps"),_=ee(n,l,"mergeProps");return r(p,(0,j.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:x,initMergeProps:_,pure:c,areStatesEqual:h,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:b},w))}}const re=ne();var oe;oe=w.unstable_batchedUpdates,_=oe;var ae=n(57557),ie=n.n(ae),se=n(6557),ue=n.n(se),le=function(e,t,n){return(0,E.qC)(n?function(e,t){return function(n){var r=e().fn,o=function(e){d()(o,e);var r=v()(o);function o(){return c()(this,o),r.apply(this,arguments)}return f()(o,[{key:"render",value:function(){return b.createElement(O,{store:t},b.createElement(n,u()({},this.props,this.context)))}}]),o}(b.Component);return o.displayName="WithRoot(".concat(r.getDisplayName(n),")"),o}}(e,n):ue(),re((function(n,r){var o,a=i()(i()({},r),e()),s=(null===(o=t.prototype)||void 0===o?void 0:o.mapStateToProps)||function(e){return{state:e}};return s(n,a)})),function(e){return function(t){var n=e().fn,r=function(n){d()(o,n);var r=v()(o);function o(){return c()(this,o),r.apply(this,arguments)}return f()(o,[{key:"render",value:function(){return b.createElement(t,u()({},e(),this.props,this.context))}}]),o}(b.Component);return r.displayName="WithSystem(".concat(n.getDisplayName(t),")"),r}}(e))(t)},ce=function(e,t,n,r){for(var o in t){var a=t[o];"function"==typeof a&&a(n[o],r[o],e())}},pe=function(e,t,n){return function(t,r){var o=e().fn,a=n(t,"root"),i=function(t){d()(o,t);var n=v()(o);function o(t,a){var i;return c()(this,o),i=n.call(this,t,a),ce(e,r,t,{}),i}return f()(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){ce(e,r,t,this.props)}},{key:"render",value:function(){var e=ie()(this.props,r?y()(r):[]);return b.createElement(a,e)}}]),o}(b.Component);return i.displayName="WithMappedContainer(".concat(o.getDisplayName(a),")"),i}},fe=function(e,t,n,r){return function(o){var a=n(e,t,r)("App","root");w.render(b.createElement(a,null),o)}},he=function(e,t,n){return function(r,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"!=typeof r)throw new TypeError("Need a string, to fetch a component. Was given a "+o()(r));var s=n(r);return s?a?"root"===a?le(e,s,t()):le(e,s):s:(i.failSilently||e().log.warn("Could not find component:",r),null)}}},36581:(e,t,n)=>{"use strict";n.d(t,{d3:()=>N,C2:()=>Z});var r=n(86902),o=n.n(r),a=n(78580),i=n.n(a),s=n(63366);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),d[r]}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),o=m(r);return o.reduce((function(e,t){return p({},e,n[t])}),t)}function g(e){return e.join(" ")}function y(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,l=t.tagName,c=t.value;if("text"===u)return c;if(l){var d,m=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return y({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var b=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),w=s.className&&s.className.includes("token")?["token"]:[],E=s.className&&w.concat(s.className.filter((function(e){return!b.includes(e)})));d=p({},s,{className:g(E)||void 0,style:v(s.className,Object.assign({},s.style,o),n)})}else d=p({},s,{className:g(s.className)});var x=m(t.children);return f.createElement(l,(0,h.Z)({key:i},d),x)}}var b=/\n/g;function w(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,i=void 0===a?{}:a,s=e.startingLineNumber;return f.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return f.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function E(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function x(e,t,n){var r;return p({},{display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"==typeof e?e(t):e)}function _(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,u=e.className,l=void 0===u?[]:u,c=e.showLineNumbers,f=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=l,n&&a){var d=x(r,n,o);t.unshift(E(n,d))}return f&c&&(h.style=p({},h.style,{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function S(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return _({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:u})}function m(e,t){if(r&&t&&o){var n=x(s,t,i);e.unshift(E(t,n))}return e}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?d(e,n,r):m(e,n)}for(var g=function(){var e=c[h],t=e.children[0].value;if(t.match(b)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var u=v(c.slice(f+1,h).concat(_({children:[s],className:e.properties.className})),i);p.push(u)}else if(o===n.length-1){if(c[h+1]&&c[h+1].children&&c[h+1].children[0]){var l=_({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});c.splice(h+1,0,l)}else{var d=v([s],i,e.properties.className);p.push(d)}}else{var m=v([s],i,e.properties.className);p.push(m)}})),f=h}h++};h=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);U=U||O;var V=m?f.createElement(w,{containerStyle:E,codeStyle:l.style||{},numberStyle:_,startingLineNumber:b,codeString:z}):null,W=o.hljs||o['pre[class*="language-"]']||{backgroundColor:"#fff"},H=C(U)?"hljs":"prismjs",$=h?Object.assign({},q,{style:Object.assign({},W,i)}):Object.assign({},q,{className:q.className?"".concat(H," ").concat(q.className):H,style:Object.assign({},i)});if(!U)return f.createElement(D,$,V,f.createElement(B,l,z));(void 0===S&&R||T)&&(S=!0),R=R||A;var J=[{type:"text",value:z}],K=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(C(t)){var a=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:o,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(e){return{value:o}}}({astGenerator:U,language:t,code:z,defaultCodeValue:J});null===K.language&&(K.value=J);var G=k(K,S,P,m,g,b,K.value.length+b,_,T);return l.style=p({},l.style,T?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),f.createElement(D,$,f.createElement(B,l,!g&&V,R({rows:G,stylesheet:o,useInlineStyles:h})))});T.registerLanguage=I.registerLanguage;const N=T;var P=n(96344);const R=n.n(P)();var M=n(82026);const D=n.n(M)();var L=n(42157);const B=n.n(L)();var F=n(61519);const z=n.n(F)();var U=n(54587);const q=n.n(U)();var V=n(30786);const W=n.n(V)();var H=n(66336);const $=n.n(H)(),J={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}};N.registerLanguage("json",D),N.registerLanguage("js",R),N.registerLanguage("xml",B),N.registerLanguage("yaml",q),N.registerLanguage("http",W),N.registerLanguage("bash",z),N.registerLanguage("powershell",$),N.registerLanguage("javascript",R);var K={agate:J,arta:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},monokai:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},nord:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},G=o()(K),Z=function(e){return i()(G).call(G,e)?K[e]:(console.warn("Request style '".concat(e,"' is not available, returning default instead")),J)}},90242:(e,t,n)=>{"use strict";n.d(t,{mz:()=>be,oG:()=>we,AF:()=>Ee,LQ:()=>xe,Kn:()=>_e,Wl:()=>Se,kJ:()=>ke,HP:()=>Ae,Ay:()=>Ce,Q2:()=>Oe,_5:()=>je,iQ:()=>Ie,gp:()=>Te,DR:()=>Ne,Zl:()=>Pe,Ik:()=>Me,xi:()=>Ue,UG:()=>qe,r3:()=>Ve,wh:()=>We,GZ:()=>He,be:()=>$e,Nm:()=>Je,hW:()=>Ke,QG:()=>Ge,oJ:()=>Ze,J6:()=>Ye,nX:()=>Qe,po:()=>Xe,XV:()=>et,Pz:()=>tt,D$:()=>nt,V9:()=>rt,cz:()=>ot,Uj:()=>at,Xb:()=>it,O2:()=>ut});var r=n(59036),o=n.n(r),a=(n(18777),n(23765)),i=n.n(a),s=n(86418),u=n.n(s),l=n(41511),c=n.n(l),p=n(2991),f=n.n(p),h=n(72119),d=n.n(h),m=n(77766),v=n.n(m),g=n(78914),y=n.n(g),b=n(20116),w=n.n(b),E=n(86902),x=n.n(E),_=(n(54103),n(32366)),S=n.n(_),k=n(51942),A=n.n(k),C=n(47302),O=n.n(C),j=n(3649),I=n.n(j),T=n(77149),N=n.n(T),P=(n(78580),n(59340)),R=n.n(P),M=n(81643),D=n.n(M),L=n(94473),B=n.n(L),F=n(29828),z=n.n(F),U=n(25843),q=n.n(U),V=n(43393),W=n.n(V),H=n(17967),$=n(68929),J=n.n($),K=n(11700),G=n.n(K),Z=n(88306),Y=n.n(Z),Q=n(13311),X=n.n(Q),ee=n(59704),te=n.n(ee),ne=n(77813),re=n.n(ne),oe=n(23560),ae=n.n(oe),ie=n(57050),se=n(27504),ue=n(8269),le=n.n(ue),ce=n(19069),pe=n(92282),fe=n.n(pe),he=n(89072),de=n.n(he),me=n(1272),ve=n(48764).Buffer,ge="default",ye=function(e){return W().Iterable.isIterable(e)};function be(e){return _e(e)?ye(e)?e.toJS():e:{}}function we(e){var t,n;if(ye(e))return e;if(e instanceof se.Z.File)return e;if(!_e(e))return e;if(c()(e))return f()(n=W().Seq(e)).call(n,we).toList();if(ae()(d()(e))){var r,o=function(e){if(!ae()(d()(e)))return e;var t,n={},r="_**[]",o={},a=u()(d()(e).call(e));try{for(a.s();!(t=a.n()).done;){var i=t.value;if(n[i[0]]||o[i[0]]&&o[i[0]].containsMultiple){var s,l,c,p;if(!o[i[0]])o[i[0]]={containsMultiple:!0,length:1},n[v()(c=v()(p="".concat(i[0])).call(p,r)).call(c,o[i[0]].length)]=n[i[0]],delete n[i[0]];o[i[0]].length+=1,n[v()(s=v()(l="".concat(i[0])).call(l,r)).call(s,o[i[0]].length)]=i[1]}else n[i[0]]=i[1]}}catch(e){a.e(e)}finally{a.f()}return n}(e);return f()(r=W().OrderedMap(o)).call(r,we)}return f()(t=W().OrderedMap(e)).call(t,we)}function Ee(e){return c()(e)?e:[e]}function xe(e){return"function"==typeof e}function _e(e){return!!e&&"object"===i()(e)}function Se(e){return"function"==typeof e}function ke(e){return c()(e)}var Ae=Y();function Ce(e,t){var n;return S()(n=x()(e)).call(n,(function(n,r){return n[r]=t(e[r],r),n}),{})}function Oe(e,t){var n;return S()(n=x()(e)).call(n,(function(n,r){var o=t(e[r],r);return o&&"object"===i()(o)&&A()(n,o),n}),{})}function je(e){return function(t){t.dispatch,t.getState;return function(t){return function(n){return"function"==typeof n?n(e()):t(n)}}}}function Ie(e){var t,n=e.keySeq();return n.contains(ge)?ge:O()(t=w()(n).call(n,(function(e){return"2"===(e+"")[0]}))).call(t).first()}function Te(e,t){if(!W().Iterable.isIterable(e))return W().List();var n=e.getIn(c()(t)?t:[t]);return W().List.isList(n)?n:W().List()}function Ne(e){var t,n=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if(N()(n).call(n,(function(n){return null!==(t=n.exec(e))})),null!==t&&t.length>1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}function Pe(e){return t=e.replace(/\.[^./]*$/,""),G()(J()(t));var t}function Re(e,t,n,r,a){if(!t)return[];var s=[],u=t.get("nullable"),l=t.get("required"),p=t.get("maximum"),h=t.get("minimum"),d=t.get("type"),m=t.get("format"),g=t.get("maxLength"),b=t.get("minLength"),E=t.get("uniqueItems"),x=t.get("maxItems"),_=t.get("minItems"),S=t.get("pattern"),k=n||!0===l,A=null!=e;if(u&&null===e||!d||!(k||A&&"array"===d||!(!k&&!A)))return[];var C="string"===d&&e,O="array"===d&&c()(e)&&e.length,j="array"===d&&W().List.isList(e)&&e.count(),I=[C,O,j,"array"===d&&"string"==typeof e&&e,"file"===d&&e instanceof se.Z.File,"boolean"===d&&(e||!1===e),"number"===d&&(e||0===e),"integer"===d&&(e||0===e),"object"===d&&"object"===i()(e)&&null!==e,"object"===d&&"string"==typeof e&&e],T=N()(I).call(I,(function(e){return!!e}));if(k&&!T&&!r)return s.push("Required field is not provided"),s;if("object"===d&&(null===a||"application/json"===a)){var P,R=e;if("string"==typeof e)try{R=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}if(t&&t.has("required")&&Se(l.isList)&&l.isList()&&y()(l).call(l,(function(e){void 0===R[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties"))y()(P=t.get("properties")).call(P,(function(e,t){var n=Re(R[t],e,!1,r,a);s.push.apply(s,o()(f()(n).call(n,(function(e){return{propKey:t,error:e}}))))}))}if(S){var M=function(e,t){if(!new RegExp(t).test(e))return"Value must follow pattern "+t}(e,S);M&&s.push(M)}if(_&&"array"===d){var D=function(e,t){var n;if(!e&&t>=1||e&&e.lengtht)return v()(n="Array must not contain more then ".concat(t," item")).call(n,1===t?"":"s")}(e,x);L&&s.push({needRemove:!0,error:L})}if(E&&"array"===d){var B=function(e,t){if(e&&("true"===t||!0===t)){var n=(0,V.fromJS)(e),r=n.toSet();if(e.length>r.size){var o=(0,V.Set)();if(y()(n).call(n,(function(e,t){w()(n).call(n,(function(t){return Se(t.equals)?t.equals(e):t===e})).size>1&&(o=o.add(t))})),0!==o.size)return f()(o).call(o,(function(e){return{index:e,error:"No duplicates allowed."}})).toArray()}}}(e,E);B&&s.push.apply(s,o()(B))}if(g||0===g){var F=function(e,t){var n;if(e.length>t)return v()(n="Value must be no longer than ".concat(t," character")).call(n,1!==t?"s":"")}(e,g);F&&s.push(F)}if(b){var z=function(e,t){var n;if(e.lengtht)return"Value must be less than ".concat(t)}(e,p);U&&s.push(U)}if(h||0===h){var q=function(e,t){if(e2&&void 0!==arguments[2]?arguments[2]:{},r=n.isOAS3,o=void 0!==r&&r,a=n.bypassRequiredCheck,i=void 0!==a&&a,s=e.get("required"),u=(0,ce.Z)(e,{isOAS3:o}),l=u.schema,c=u.parameterContentMediaType;return Re(t,l,s,i,c)},De=function(e,t,n){if(e&&(!e.xml||!e.xml.name)){if(e.xml=e.xml||{},!e.$$ref)return e.type||e.items||e.properties||e.additionalProperties?'\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var r=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=r[1]}return(0,ie.memoizedCreateXMLExample)(e,t,n)},Le=[{when:/json/,shouldStringifyTypes:["string"]}],Be=["object"],Fe=function(e,t,n,r){var a=(0,ie.memoizedSampleFromSchema)(e,t,r),s=i()(a),u=S()(Le).call(Le,(function(e,t){var r;return t.when.test(n)?v()(r=[]).call(r,o()(e),o()(t.shouldStringifyTypes)):e}),Be);return te()(u,(function(e){return e===s}))?R()(a,null,2):a},ze=function(e,t,n,r){var o,a=Fe(e,t,n,r);try{"\n"===(o=me.ZP.dump(me.ZP.load(a),{lineWidth:-1}))[o.length-1]&&(o=I()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")},Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return e&&Se(e.toJS)&&(e=e.toJS()),r&&Se(r.toJS)&&(r=r.toJS()),/xml/.test(t)?De(e,n,r):/(yaml|yml)/.test(t)?ze(e,n,t,r):Fe(e,n,t,r)},qe=function(){var e={},t=se.Z.location.search;if(!t)return{};if(""!=t){var n=t.substr(1).split("&");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(r=n[r].split("="),e[decodeURIComponent(r[0])]=r[1]&&decodeURIComponent(r[1])||"")}return e},Ve=function(e){return(e instanceof ve?e:ve.from(e.toString(),"utf-8")).toString("base64")},We={operationsSorter:{alpha:function(e,t){return e.get("path").localeCompare(t.get("path"))},method:function(e,t){return e.get("method").localeCompare(t.get("method"))}},tagsSorter:{alpha:function(e,t){return e.localeCompare(t)}}},He=function(e){var t=[];for(var n in e){var r=e[n];void 0!==r&&""!==r&&t.push([n,"=",encodeURIComponent(r).replace(/%20/g,"+")].join(""))}return t.join("&")},$e=function(e,t,n){return!!X()(n,(function(n){return re()(e[n],t[n])}))};function Je(e){return"string"!=typeof e||""===e?"":(0,H.N)(e)}function Ke(e){return!(!e||D()(e).call(e,"localhost")>=0||D()(e).call(e,"127.0.0.1")>=0||"none"===e)}function Ge(e){if(!W().OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;var t=B()(e).call(e,(function(e,t){return z()(t).call(t,"2")&&x()(e.get("content")||{}).length>0})),n=e.get("default")||W().OrderedMap(),r=(n.get("content")||W().OrderedMap()).keySeq().toJS().length?n:null;return t||r}var Ze=function(e){return"string"==typeof e||e instanceof String?q()(e).call(e).replace(/\s/g,"%20"):""},Ye=function(e){return le()(Ze(e).replace(/%20/g,"_"))},Qe=function(e){return w()(e).call(e,(function(e,t){return/^x-/.test(t)}))},Xe=function(e){return w()(e).call(e,(function(e,t){return/^pattern|maxLength|minLength|maximum|minimum/.test(t)}))};function et(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==i()(e)||c()(e)||null===e||!t)return e;var o=A()({},e);return y()(n=x()(o)).call(n,(function(e){e===t&&r(o[e],e)?delete o[e]:o[e]=et(o[e],t,r)})),o}function tt(e){if("string"==typeof e)return e;if(e&&e.toJS&&(e=e.toJS()),"object"===i()(e)&&null!==e)try{return R()(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function nt(e){return"number"==typeof e?e.toString():e}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnAll,r=void 0!==n&&n,o=t.allowHashes,a=void 0===o||o;if(!W().Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var i,s,u,l=e.get("name"),c=e.get("in"),p=[];e&&e.hashCode&&c&&l&&a&&p.push(v()(i=v()(s="".concat(c,".")).call(s,l,".hash-")).call(i,e.hashCode()));c&&l&&p.push(v()(u="".concat(c,".")).call(u,l));return p.push(l),r?p:p[0]||""}function ot(e,t){var n,r=rt(e,{returnAll:!0});return w()(n=f()(r).call(r,(function(e){return t[e]}))).call(n,(function(e){return void 0!==e}))[0]}function at(){return st(fe()(32).toString("base64"))}function it(e){return st(de()("sha256").update(e).digest("base64"))}function st(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var ut=function(e){return!e||!(!ye(e)||!e.isEmpty())}},2518:(e,t,n)=>{"use strict";function r(e){return function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)?"json":null}n.d(t,{O:()=>r})},27504:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(){var e={location:{},history:{},open:function(){},close:function(){},File:function(){}};if("undefined"==typeof window)return e;try{e=window;for(var t=0,n=["File","Blob","FormData"];t{"use strict";n.d(t,{Z:()=>c});var r=n(20116),o=n.n(r),a=n(78580),i=n.n(a),s=n(43393),u=n.n(s),l=u().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isOAS3;if(!u().Map.isMap(e))return{schema:u().Map(),parameterContentMediaType:null};if(!n)return"body"===e.get("in")?{schema:e.get("schema",u().Map()),parameterContentMediaType:null}:{schema:o()(e).call(e,(function(e,t){return i()(l).call(l,t)})),parameterContentMediaType:null};if(e.get("content")){var r=e.get("content",u().Map({})).keySeq(),a=r.first();return{schema:e.getIn(["content",a,"schema"],u().Map()),parameterContentMediaType:a}}return{schema:e.get("schema",u().Map()),parameterContentMediaType:null}}},60314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(31474),u=n.n(s),l=n(66380),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(74803),v=n.n(m),g=n(41511),y=n.n(g),b=n(10062),w=n.n(b),E=n(66419),x=n.n(E),_=n(69301),S=n.n(_),k=n(94473),A=n.n(k),C=n(62462),O=n.n(C),j=n(39392),I=n.n(j),T=n(88306),N=n.n(T),P=function(e){return function(t){return y()(e)&&y()(t)&&e.length===t.length&&w()(e).call(e,(function(e,n){return e===t[n]}))}},R=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:R,n=N().Cache;N().Cache=M;var r=N()(e,t);return N().Cache=n,r}},79742:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,a=u(e),i=a[0],s=a[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,i,s)),c=0,p=s>0?i-4:i;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=16383,s=0,u=r-o;su?u:s+i));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=a.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,a,i=[],s=t;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},50706:(e,t,n)=>{var r=n(48764).Buffer;!function(){"use strict";e.exports=function(e){return(e instanceof r?e:r.from(e.toString(),"binary")).toString("base64")}}()},48764:(e,t,n)=>{"use strict";const r=n(79742),o=n(80645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const i=2147483647;function s(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(G(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const o=function(e){if(u.isBuffer(e)){const t=0|d(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Z(e.length)?s(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return c(e),s(e<0?0:0|d(e))}function f(e){const t=e.length<0?0:0|d(e.length),n=s(t);for(let r=0;r=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(o)return r?-1:$(e).length;t=(""+t).toLowerCase(),o=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Z(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){let a,i=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,u/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){let r=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){let n=!0;for(let r=0;ro&&(r=o):r=o;const a=t.length;let i;for(r>a/2&&(r=a/2),i=0;i>8,o=n%256,a.push(o),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o239?4:t>223?3:t>191?2:1;if(o+i<=n){let n,r,s,u;switch(i){case 1:t<128&&(a=t);break;case 2:n=e[o+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(a=u));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(a=u))}}null===a?(a=65533,i=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=i}return function(e){const t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,o){if(G(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let a=(o>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0);const s=Math.min(a,i),l=this.slice(r,o),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let a=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function O(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;or)&&(n=r);let o="";for(let r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,o,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function R(e,t,n,r,o){q(t,r,o,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,n}function M(e,t,n,r,o){q(t,r,o,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=i,i>>=8,e[n+2]=i,i>>=8,e[n+1]=i,i>>=8,e[n]=i,n+8}function D(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return t=+t,n>>>=0,a||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,a){return t=+t,n>>>=0,a||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,a=0;for(;++a>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,a=0;for(;++a=o&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=t,o=1,a=this[e+--r];for(;r>0&&(o*=256);)a+=this[e+--r]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){P(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){P(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Q((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Q((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}let o=0,a=1,i=0;for(this[t]=255&e;++o>0)-i&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}let o=n-1,a=1,i=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Q((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Q((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,o,a){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(a+1)}${r}`:`>= -(2${r} ** ${8*(a+1)-1}${r}) and < 2 ** ${8*(a+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){V(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||W(t,e.length-(n+1))}(r,o,a)}function V(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,n){if(Math.floor(e)!==e)throw V(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=U(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=U(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function $(e,t){let n;t=t||1/0;const r=e.length;let o=null;const a=[];for(let i=0;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function J(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Z(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function Q(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},21924:(e,t,n)=>{"use strict";var r=n(40210),o=n(55559),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},55559:(e,t,n)=>{"use strict";var r=n(58612),o=n(40210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(i,a),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(r,i,arguments);if(u&&l){var n=u(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var p=function(){return s(r,a,arguments)};l?l(e.exports,"apply",{value:p}):e.exports.apply=p},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,s,u,l,c=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),s=document.createRange(),u=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),l&&document.body.removeChild(l),i()}return c}},95299:(e,t,n)=>{var r=n(24848);e.exports=r},83450:(e,t,n)=>{var r=n(83363);e.exports=r},66820:(e,t,n)=>{var r=n(56243);e.exports=r},90093:(e,t,n)=>{var r=n(28196);e.exports=r},3688:(e,t,n)=>{var r=n(11955);e.exports=r},83838:(e,t,n)=>{var r=n(46279);e.exports=r},15684:(e,t,n)=>{var r=n(19373);e.exports=r},84234:(e,t,n)=>{var r=n(82073);e.exports=r},92182:(e,t,n)=>{var r=n(15868);e.exports=r},65362:(e,t,n)=>{var r=n(63383);e.exports=r},32271:(e,t,n)=>{var r=n(14471);e.exports=r},91254:(e,t,n)=>{var r=n(57396);e.exports=r},43536:(e,t,n)=>{var r=n(41910);e.exports=r},37331:(e,t,n)=>{var r=n(79427);e.exports=r},68522:(e,t,n)=>{var r=n(62857);e.exports=r},73151:(e,t,n)=>{var r=n(9534);e.exports=r},99565:(e,t,n)=>{var r=n(96507);e.exports=r},45012:(e,t,n)=>{var r=n(23059);e.exports=r},78690:(e,t,n)=>{var r=n(16670);e.exports=r},25626:(e,t,n)=>{var r=n(27460);e.exports=r},84670:(e,t,n)=>{var r=n(61895);e.exports=r},41285:(e,t,n)=>{var r=n(18254);e.exports=r},80281:(e,t,n)=>{var r=n(92547);e.exports=r},40031:(e,t,n)=>{var r=n(46509);e.exports=r},54493:(e,t,n)=>{n(77971),n(53242);var r=n(54058);e.exports=r.Array.from},24034:(e,t,n)=>{n(92737);var r=n(54058);e.exports=r.Array.isArray},15367:(e,t,n)=>{n(85906);var r=n(35703);e.exports=r("Array").concat},12710:(e,t,n)=>{n(66274),n(55967);var r=n(35703);e.exports=r("Array").entries},51459:(e,t,n)=>{n(48851);var r=n(35703);e.exports=r("Array").every},6172:(e,t,n)=>{n(80290);var r=n(35703);e.exports=r("Array").fill},62383:(e,t,n)=>{n(21501);var r=n(35703);e.exports=r("Array").filter},60009:(e,t,n)=>{n(44929);var r=n(35703);e.exports=r("Array").findIndex},17671:(e,t,n)=>{n(80833);var r=n(35703);e.exports=r("Array").find},99324:(e,t,n)=>{n(2437);var r=n(35703);e.exports=r("Array").forEach},80991:(e,t,n)=>{n(97690);var r=n(35703);e.exports=r("Array").includes},8700:(e,t,n)=>{n(99076);var r=n(35703);e.exports=r("Array").indexOf},95909:(e,t,n)=>{n(66274),n(55967);var r=n(35703);e.exports=r("Array").keys},6442:(e,t,n)=>{n(75915);var r=n(35703);e.exports=r("Array").lastIndexOf},23866:(e,t,n)=>{n(68787);var r=n(35703);e.exports=r("Array").map},52999:(e,t,n)=>{n(81876);var r=n(35703);e.exports=r("Array").reduce},24900:(e,t,n)=>{n(60186);var r=n(35703);e.exports=r("Array").slice},3824:(e,t,n)=>{n(36026);var r=n(35703);e.exports=r("Array").some},2948:(e,t,n)=>{n(4115);var r=n(35703);e.exports=r("Array").sort},78209:(e,t,n)=>{n(98611);var r=n(35703);e.exports=r("Array").splice},14423:(e,t,n)=>{n(66274),n(55967);var r=n(35703);e.exports=r("Array").values},81103:(e,t,n)=>{n(95160);var r=n(54058);e.exports=r.Date.now},27700:(e,t,n)=>{n(73381);var r=n(35703);e.exports=r("Function").bind},13830:(e,t,n)=>{n(66274),n(77971);var r=n(22902);e.exports=r},16246:(e,t,n)=>{var r=n(7046),o=n(27700),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||r(a,e)&&t===a.bind?o:t}},56043:(e,t,n)=>{var r=n(7046),o=n(15367),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||r(a,e)&&t===a.concat?o:t}},13160:(e,t,n)=>{var r=n(7046),o=n(51459),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||r(a,e)&&t===a.every?o:t}},80446:(e,t,n)=>{var r=n(7046),o=n(6172),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||r(a,e)&&t===a.fill?o:t}},2480:(e,t,n)=>{var r=n(7046),o=n(62383),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||r(a,e)&&t===a.filter?o:t}},7147:(e,t,n)=>{var r=n(7046),o=n(60009),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||r(a,e)&&t===a.findIndex?o:t}},32236:(e,t,n)=>{var r=n(7046),o=n(17671),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||r(a,e)&&t===a.find?o:t}},58557:(e,t,n)=>{var r=n(7046),o=n(80991),a=n(21631),i=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===i||r(i,e)&&t===i.includes?o:"string"==typeof e||e===s||r(s,e)&&t===s.includes?a:t}},34570:(e,t,n)=>{var r=n(7046),o=n(8700),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||r(a,e)&&t===a.indexOf?o:t}},57564:(e,t,n)=>{var r=n(7046),o=n(6442),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||r(a,e)&&t===a.lastIndexOf?o:t}},88287:(e,t,n)=>{var r=n(7046),o=n(23866),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||r(a,e)&&t===a.map?o:t}},68025:(e,t,n)=>{var r=n(7046),o=n(52999),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||r(a,e)&&t===a.reduce?o:t}},59257:(e,t,n)=>{var r=n(7046),o=n(80454),a=String.prototype;e.exports=function(e){var t=e.repeat;return"string"==typeof e||e===a||r(a,e)&&t===a.repeat?o:t}},69601:(e,t,n)=>{var r=n(7046),o=n(24900),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||r(a,e)&&t===a.slice?o:t}},28299:(e,t,n)=>{var r=n(7046),o=n(3824),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||r(a,e)&&t===a.some?o:t}},69355:(e,t,n)=>{var r=n(7046),o=n(2948),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||r(a,e)&&t===a.sort?o:t}},18339:(e,t,n)=>{var r=n(7046),o=n(78209),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||r(a,e)&&t===a.splice?o:t}},71611:(e,t,n)=>{var r=n(7046),o=n(3269),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||r(a,e)&&t===a.startsWith?o:t}},62774:(e,t,n)=>{var r=n(7046),o=n(13348),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||r(a,e)&&t===a.trim?o:t}},84426:(e,t,n)=>{n(32619);var r=n(54058),o=n(79730);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return o(r.JSON.stringify,null,arguments)}},91018:(e,t,n)=>{n(66274),n(37501),n(55967),n(77971);var r=n(54058);e.exports=r.Map},45999:(e,t,n)=>{n(49221);var r=n(54058);e.exports=r.Object.assign},35254:(e,t,n)=>{n(53882);var r=n(54058).Object;e.exports=function(e,t){return r.create(e,t)}},7702:(e,t,n)=>{n(74979);var r=n(54058).Object,o=e.exports=function(e,t){return r.defineProperties(e,t)};r.defineProperties.sham&&(o.sham=!0)},48171:(e,t,n)=>{n(86450);var r=n(54058).Object,o=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(o.sham=!0)},73081:(e,t,n)=>{n(94366);var r=n(54058);e.exports=r.Object.entries},286:(e,t,n)=>{n(46924);var r=n(54058).Object,o=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(o.sham=!0)},92766:(e,t,n)=>{n(88482);var r=n(54058);e.exports=r.Object.getOwnPropertyDescriptors},30498:(e,t,n)=>{n(35824);var r=n(54058);e.exports=r.Object.getOwnPropertySymbols},13966:(e,t,n)=>{n(17405);var r=n(54058);e.exports=r.Object.getPrototypeOf},48494:(e,t,n)=>{n(21724);var r=n(54058);e.exports=r.Object.keys},3065:(e,t,n)=>{n(90108);var r=n(54058);e.exports=r.Object.setPrototypeOf},98430:(e,t,n)=>{n(26614);var r=n(54058);e.exports=r.Object.values},52956:(e,t,n)=>{n(47627),n(66274),n(55967),n(98881),n(4560),n(91302),n(44349),n(77971);var r=n(54058);e.exports=r.Promise},14983:(e,t,n)=>{n(7453);var r=n(54058);e.exports=r.Reflect.construct},37095:(e,t,n)=>{n(42355);var r=n(54058);e.exports=r.Reflect.get},21631:(e,t,n)=>{n(11035);var r=n(35703);e.exports=r("String").includes},80454:(e,t,n)=>{n(60986);var r=n(35703);e.exports=r("String").repeat},3269:(e,t,n)=>{n(94761);var r=n(35703);e.exports=r("String").startsWith},13348:(e,t,n)=>{n(57398);var r=n(35703);e.exports=r("String").trim},57473:(e,t,n)=>{n(85906),n(55967),n(35824),n(8555),n(52615),n(21732),n(35903),n(1825),n(28394),n(45915),n(61766),n(62737),n(89911),n(74315),n(63131),n(64714),n(70659),n(69120),n(79413),n(1502);var r=n(54058);e.exports=r.Symbol},24227:(e,t,n)=>{n(66274),n(55967),n(77971),n(1825);var r=n(11477);e.exports=r.f("iterator")},32304:(e,t,n)=>{n(66274),n(55967),n(54334);var r=n(54058);e.exports=r.WeakMap},27385:(e,t,n)=>{var r=n(95299);e.exports=r},81522:(e,t,n)=>{var r=n(83450);e.exports=r},32209:(e,t,n)=>{var r=n(66820);e.exports=r},14122:(e,t,n)=>{var r=n(90093);e.exports=r},44442:(e,t,n)=>{var r=n(3688);e.exports=r},57152:(e,t,n)=>{var r=n(83838);e.exports=r},69447:(e,t,n)=>{var r=n(15684);e.exports=r},81493:(e,t,n)=>{var r=n(84234);e.exports=r},86672:(e,t,n)=>{var r=n(92182);n(52453),n(32523),n(66591),n(55121),n(14751),n(52407),n(48580),n(27281),n(36507),n(93647),n(47641),n(66306),n(27693),n(8),n(48514),n(8212),n(89642),n(78485),n(42256),n(68826),e.exports=r},60269:(e,t,n)=>{var r=n(65362);e.exports=r},76094:(e,t,n)=>{var r=n(32271);e.exports=r},70573:(e,t,n)=>{var r=n(91254);e.exports=r},73685:(e,t,n)=>{var r=n(43536);e.exports=r},27533:(e,t,n)=>{var r=n(37331);e.exports=r},39057:(e,t,n)=>{var r=n(68522);e.exports=r},84710:(e,t,n)=>{var r=n(73151);e.exports=r},74303:(e,t,n)=>{var r=n(99565);e.exports=r},93799:(e,t,n)=>{var r=n(45012);e.exports=r},55122:(e,t,n)=>{var r=n(78690);e.exports=r},29531:(e,t,n)=>{var r=n(25626);n(89731),n(55708),n(30014),n(88731),e.exports=r},10856:(e,t,n)=>{var r=n(84670);e.exports=r},31524:(e,t,n)=>{var r=n(41285);e.exports=r},86600:(e,t,n)=>{var r=n(80281);n(28783),n(43975),n(65799),n(45414),n(46774),n(80620),n(36172),e.exports=r},9759:(e,t,n)=>{var r=n(40031);e.exports=r},24883:(e,t,n)=>{var r=n(21899),o=n(57475),a=n(69826),i=r.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a function")}},174:(e,t,n)=>{var r=n(21899),o=n(24284),a=n(69826),i=r.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a constructor")}},11851:(e,t,n)=>{var r=n(21899),o=n(57475),a=r.String,i=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+a(e)+" as a prototype")}},18479:e=>{e.exports=function(){}},5743:(e,t,n)=>{var r=n(21899),o=n(7046),a=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw a("Incorrect invocation")}},96059:(e,t,n)=>{var r=n(21899),o=n(10941),a=r.String,i=r.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not an object")}},97135:(e,t,n)=>{var r=n(95981);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},91860:(e,t,n)=>{"use strict";var r=n(89678),o=n(59413),a=n(10623);e.exports=function(e){for(var t=r(this),n=a(t),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),u=i>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)t[s++]=e;return t}},56837:(e,t,n)=>{"use strict";var r=n(3610).forEach,o=n(34194)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},11354:(e,t,n)=>{"use strict";var r=n(21899),o=n(86843),a=n(78834),i=n(89678),s=n(75196),u=n(6782),l=n(24284),c=n(10623),p=n(55449),f=n(53476),h=n(22902),d=r.Array;e.exports=function(e){var t=i(e),n=l(this),r=arguments.length,m=r>1?arguments[1]:void 0,v=void 0!==m;v&&(m=o(m,r>2?arguments[2]:void 0));var g,y,b,w,E,x,_=h(t),S=0;if(!_||this==d&&u(_))for(g=c(t),y=n?new this(g):d(g);g>S;S++)x=v?m(t[S],S):t[S],p(y,S,x);else for(E=(w=f(t,_)).next,y=n?new this:[];!(b=a(E,w)).done;S++)x=v?s(w,m,[b.value,S],!0):b.value,p(y,S,x);return y.length=S,y}},31692:(e,t,n)=>{var r=n(74529),o=n(59413),a=n(10623),i=function(e){return function(t,n,i){var s,u=r(t),l=a(u),c=o(i,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3610:(e,t,n)=>{var r=n(86843),o=n(95329),a=n(37026),i=n(89678),s=n(10623),u=n(64692),l=o([].push),c=function(e){var t=1==e,n=2==e,o=3==e,c=4==e,p=6==e,f=7==e,h=5==e||p;return function(d,m,v,g){for(var y,b,w=i(d),E=a(w),x=r(m,v),_=s(E),S=0,k=g||u,A=t?k(d,_):n||f?k(d,0):void 0;_>S;S++)if((h||S in E)&&(b=x(y=E[S],S,w),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l(A,y)}else switch(e){case 4:return!1;case 7:l(A,y)}return p?-1:o||c?c:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},67145:(e,t,n)=>{"use strict";var r=n(79730),o=n(74529),a=n(62435),i=n(10623),s=n(34194),u=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,p=s("lastIndexOf"),f=c||!p;e.exports=f?function(e){if(c)return r(l,this,arguments)||0;var t=o(this),n=i(t),s=n-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:l},50568:(e,t,n)=>{var r=n(95981),o=n(99813),a=n(53385),i=o("species");e.exports=function(e){return a>=51||!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34194:(e,t,n)=>{"use strict";var r=n(95981);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},46499:(e,t,n)=>{var r=n(21899),o=n(24883),a=n(89678),i=n(37026),s=n(10623),u=r.TypeError,l=function(e){return function(t,n,r,l){o(n);var c=a(t),p=i(c),f=s(c),h=e?f-1:0,d=e?-1:1;if(r<2)for(;;){if(h in p){l=p[h],h+=d;break}if(h+=d,e?h<0:f<=h)throw u("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=d)h in p&&(l=n(l,p[h],h,c));return l}};e.exports={left:l(!1),right:l(!0)}},15790:(e,t,n)=>{var r=n(21899),o=n(59413),a=n(10623),i=n(55449),s=r.Array,u=Math.max;e.exports=function(e,t,n){for(var r=a(e),l=o(t,r),c=o(void 0===n?r:n,r),p=s(u(c-l,0)),f=0;l{var r=n(95329);e.exports=r([].slice)},61388:(e,t,n)=>{var r=n(15790),o=Math.floor,a=function(e,t){var n=e.length,u=o(n/2);return n<8?i(e,t):s(e,a(r(e,0,u),t),a(r(e,u),t),t)},i=function(e,t){for(var n,r,o=e.length,a=1;a0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var o=t.length,a=n.length,i=0,s=0;i{var r=n(21899),o=n(1052),a=n(24284),i=n(10941),s=n(99813)("species"),u=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(a(t)&&(t===u||o(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},64692:(e,t,n)=>{var r=n(5693);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},75196:(e,t,n)=>{var r=n(96059),o=n(7609);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},21385:(e,t,n)=>{var r=n(99813)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},82532:(e,t,n)=>{var r=n(95329),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},9697:(e,t,n)=>{var r=n(21899),o=n(22885),a=n(57475),i=n(82532),s=n(99813)("toStringTag"),u=r.Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?n:l?i(t):"Object"==(r=i(t))&&a(t.callee)?"Arguments":r}},38694:(e,t,n)=>{var r=n(95329)("".replace),o=String(Error("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,i=a.test(o);e.exports=function(e,t){if(i&&"string"==typeof e)for(;t--;)e=r(e,a,"");return e}},28984:(e,t,n)=>{"use strict";var r=n(78834),o=n(24883),a=n(96059);e.exports=function(){for(var e,t=a(this),n=o(t.delete),i=!0,s=0,u=arguments.length;s{"use strict";var r=n(86843),o=n(78834),a=n(24883),i=n(174),s=n(93091),u=[].push;e.exports=function(e){var t,n,l,c,p=arguments.length,f=p>1?arguments[1]:void 0;return i(this),(t=void 0!==f)&&a(f),null==e?new this:(n=[],t?(l=0,c=r(f,p>2?arguments[2]:void 0),s(e,(function(e){o(u,n,c(e,l++))}))):s(e,u,{that:n}),new this(n))}},45226:(e,t,n)=>{"use strict";var r=n(93765);e.exports=function(){return new this(r(arguments))}},85616:(e,t,n)=>{"use strict";var r=n(65988).f,o=n(29290),a=n(87524),i=n(86843),s=n(5743),u=n(93091),l=n(47771),c=n(94431),p=n(55746),f=n(21647).fastKey,h=n(45402),d=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,h),d(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),h=c.prototype,v=m(t),g=function(e,t,n){var r,o,a=v(e),i=y(e,t);return i?i.value=n:(a.last=i={index:o=f(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=i),r&&(r.next=i),p?a.size++:e.size++,"F"!==o&&(a.index[o]=i)),e},y=function(e,t){var n,r=v(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(h,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=y(t,e);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=i(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),a(h,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),p&&r(h,"size",{get:function(){return v(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),a=m(r);l(e,t,(function(e,t){d(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},8850:(e,t,n)=>{"use strict";var r=n(95329),o=n(87524),a=n(21647).getWeakData,i=n(96059),s=n(10941),u=n(5743),l=n(93091),c=n(3610),p=n(90953),f=n(45402),h=f.set,d=f.getterFor,m=c.find,v=c.findIndex,g=r([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},E=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&g(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var c=e((function(e,o){u(e,f),h(e,{type:t,id:y++,frozen:void 0}),null!=o&&l(o,e[r],{that:e,AS_ENTRIES:n})})),f=c.prototype,m=d(t),v=function(e,t,n){var r=m(e),o=a(i(t),!0);return!0===o?b(r).set(t,n):o[r.id]=n,e};return o(f,{delete:function(e){var t=m(this);if(!s(e))return!1;var n=a(e);return!0===n?b(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!s(e))return!1;var n=a(e);return!0===n?b(t).has(e):n&&p(n,t.id)}}),o(f,n?{get:function(e){var t=m(this);if(s(e)){var n=a(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),c}}},24683:(e,t,n)=>{"use strict";var r=n(76887),o=n(21899),a=n(21647),i=n(95981),s=n(32029),u=n(93091),l=n(5743),c=n(57475),p=n(10941),f=n(90904),h=n(65988).f,d=n(3610).forEach,m=n(55746),v=n(45402),g=v.set,y=v.getterFor;e.exports=function(e,t,n){var v,b=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),E=b?"set":"add",x=o[e],_=x&&x.prototype,S={};if(m&&c(x)&&(w||_.forEach&&!i((function(){(new x).entries().next()})))){var k=(v=t((function(t,n){g(l(t,k),{type:e,collection:new x}),null!=n&&u(n,t[E],{that:t,AS_ENTRIES:b})}))).prototype,A=y(e);d(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in _)||w&&"clear"==e||s(k,e,(function(n,r){var o=A(this).collection;if(!t&&w&&!p(n))return"get"==e&&void 0;var a=o[e](0===n?0:n,r);return t?this:a}))})),w||h(k,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else v=n.getConstructor(t,e,b,E),a.enable();return f(v,e,!1,!0),S[e]=v,r({global:!0,forced:!0},S),w||n.setStrong(v,e,b),v}},23489:(e,t,n)=>{var r=n(90953),o=n(31136),a=n(49677),i=n(65988);e.exports=function(e,t,n){for(var s=o(t),u=i.f,l=a.f,c=0;c{var r=n(99813)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},64160:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},31046:(e,t,n)=>{"use strict";var r=n(35143).IteratorPrototype,o=n(29290),a=n(31887),i=n(90904),s=n(12077),u=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=o(r,{next:a(+!l,n)}),i(e,c,!1,!0),s[c]=u,e}},32029:(e,t,n)=>{var r=n(55746),o=n(65988),a=n(31887);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},31887:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},55449:(e,t,n)=>{"use strict";var r=n(83894),o=n(65988),a=n(31887);e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},47771:(e,t,n)=>{"use strict";var r=n(76887),o=n(78834),a=n(82529),i=n(79417),s=n(57475),u=n(31046),l=n(249),c=n(88929),p=n(90904),f=n(32029),h=n(99754),d=n(99813),m=n(12077),v=n(35143),g=i.PROPER,y=i.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,E=d("iterator"),x="keys",_="values",S="entries",k=function(){return this};e.exports=function(e,t,n,i,d,v,A){u(n,t,i);var C,O,j,I=function(e){if(e===d&&M)return M;if(!w&&e in P)return P[e];switch(e){case x:case _:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",N=!1,P=e.prototype,R=P[E]||P["@@iterator"]||d&&P[d],M=!w&&R||I(d),D="Array"==t&&P.entries||R;if(D&&(C=l(D.call(new e)))!==Object.prototype&&C.next&&(a||l(C)===b||(c?c(C,b):s(C[E])||h(C,E,k)),p(C,T,!0,!0),a&&(m[T]=k)),g&&d==_&&R&&R.name!==_&&(!a&&y?f(P,"name",_):(N=!0,M=function(){return o(R,this)})),d)if(O={values:I(_),keys:v?M:I(x),entries:I(S)},A)for(j in O)(w||N||!(j in P))&&h(P,j,O[j]);else r({target:t,proto:!0,forced:w||N},O);return a&&!A||P[E]===M||h(P,E,M,{name:d}),m[t]=M,O}},66349:(e,t,n)=>{var r=n(54058),o=n(90953),a=n(11477),i=n(65988).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},55746:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},61333:(e,t,n)=>{var r=n(21899),o=n(10941),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},63281:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},34342:(e,t,n)=>{var r=n(2861).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},23321:e=>{e.exports="object"==typeof window},81046:(e,t,n)=>{var r=n(2861);e.exports=/MSIE|Trident/.test(r)},4470:(e,t,n)=>{var r=n(2861),o=n(21899);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},22749:(e,t,n)=>{var r=n(2861);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6049:(e,t,n)=>{var r=n(82532),o=n(21899);e.exports="process"==r(o.process)},58045:(e,t,n)=>{var r=n(2861);e.exports=/web0s(?!.*chrome)/i.test(r)},2861:(e,t,n)=>{var r=n(626);e.exports=r("navigator","userAgent")||""},53385:(e,t,n)=>{var r,o,a=n(21899),i=n(2861),s=a.process,u=a.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},18938:(e,t,n)=>{var r=n(2861).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},35703:(e,t,n)=>{var r=n(54058);e.exports=function(e){return r[e+"Prototype"]}},56759:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18780:(e,t,n)=>{var r=n(95981),o=n(31887);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},76887:(e,t,n)=>{"use strict";var r=n(21899),o=n(79730),a=n(95329),i=n(57475),s=n(49677).f,u=n(37252),l=n(54058),c=n(86843),p=n(32029),f=n(90953),h=function(e){var t=function(n,r,a){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,a)}return o(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,o,d,m,v,g,y,b,w=e.target,E=e.global,x=e.stat,_=e.proto,S=E?r:x?r[w]:(r[w]||{}).prototype,k=E?l:l[w]||p(l,w,{})[w],A=k.prototype;for(d in t)n=!u(E?d:w+(x?".":"#")+d,e.forced)&&S&&f(S,d),v=k[d],n&&(g=e.noTargetGet?(b=s(S,d))&&b.value:S[d]),m=n&&g?g:t[d],n&&typeof v==typeof m||(y=e.bind&&n?c(m,r):e.wrap&&n?h(m):_&&i(m)?a(m):m,(e.sham||m&&m.sham||v&&v.sham)&&p(y,"sham",!0),p(k,d,y),_&&(f(l,o=w+"Prototype")||p(l,o,{}),p(l[o],d,m),e.real&&A&&!A[d]&&p(A,d,m)))}},95981:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},45602:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},79730:(e,t,n)=>{var r=n(18285),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)})},86843:(e,t,n)=>{var r=n(95329),o=n(24883),a=n(18285),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},18285:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},98308:(e,t,n)=>{"use strict";var r=n(21899),o=n(95329),a=n(24883),i=n(10941),s=n(90953),u=n(93765),l=n(18285),c=r.Function,p=o([].concat),f=o([].join),h={},d=function(e,t,n){if(!s(h,t)){for(var r=[],o=0;o{var r=n(18285),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},79417:(e,t,n)=>{var r=n(55746),o=n(90953),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},95329:(e,t,n)=>{var r=n(18285),o=Function.prototype,a=o.bind,i=o.call,s=r&&a.bind(i,i);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},626:(e,t,n)=>{var r=n(54058),o=n(21899),a=n(57475),i=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},22902:(e,t,n)=>{var r=n(9697),o=n(14229),a=n(12077),i=n(99813)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[r(e)]}},53476:(e,t,n)=>{var r=n(21899),o=n(78834),a=n(24883),i=n(96059),s=n(69826),u=n(22902),l=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(a(n))return i(o(n,e));throw l(s(e)+" is not iterable")}},79993:(e,t,n)=>{var r=n(53476);e.exports=r},14229:(e,t,n)=>{var r=n(24883);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},21899:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},90953:(e,t,n)=>{var r=n(95329),o=n(89678),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},27748:e=>{e.exports={}},34845:(e,t,n)=>{var r=n(21899);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},15463:(e,t,n)=>{var r=n(626);e.exports=r("document","documentElement")},2840:(e,t,n)=>{var r=n(55746),o=n(95981),a=n(61333);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},37026:(e,t,n)=>{var r=n(21899),o=n(95329),a=n(95981),i=n(82532),s=r.Object,u=o("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?u(e,""):s(e)}:s},81302:(e,t,n)=>{var r=n(95329),o=n(57475),a=n(63030),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},53794:(e,t,n)=>{var r=n(10941),o=n(32029);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},21647:(e,t,n)=>{var r=n(76887),o=n(95329),a=n(27748),i=n(10941),s=n(90953),u=n(65988).f,l=n(10946),c=n(684),p=n(91584),f=n(99418),h=n(45602),d=!1,m=f("meta"),v=0,g=function(e){u(e,m,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},d=!0;var e=l.f,t=o([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),o=0,a=r.length;o{var r,o,a,i=n(38019),s=n(21899),u=n(95329),l=n(10941),c=n(32029),p=n(90953),f=n(63030),h=n(44262),d=n(27748),m="Object already initialized",v=s.TypeError,g=s.WeakMap;if(i||f.state){var y=f.state||(f.state=new g),b=u(y.get),w=u(y.has),E=u(y.set);r=function(e,t){if(w(y,e))throw new v(m);return t.facade=e,E(y,e,t),t},o=function(e){return b(y,e)||{}},a=function(e){return w(y,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){if(p(e,x))throw new v(m);return t.facade=e,c(e,x,t),t},o=function(e){return p(e,x)?e[x]:{}},a=function(e){return p(e,x)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},6782:(e,t,n)=>{var r=n(99813),o=n(12077),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},1052:(e,t,n)=>{var r=n(82532);e.exports=Array.isArray||function(e){return"Array"==r(e)}},57475:e=>{e.exports=function(e){return"function"==typeof e}},24284:(e,t,n)=>{var r=n(95329),o=n(95981),a=n(57475),i=n(9697),s=n(626),u=n(81302),l=function(){},c=[],p=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=r(f.exec),d=!f.exec(l),m=function(e){if(!a(e))return!1;try{return p(l,c,e),!0}catch(e){return!1}},v=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(f,u(e))}catch(e){return!0}};v.sham=!0,e.exports=!p||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},77040:(e,t,n)=>{var r=n(90953);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},37252:(e,t,n)=>{var r=n(95981),o=n(57475),a=/#|\.prototype\./,i=function(e,t){var n=u[s(e)];return n==c||n!=l&&(o(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},10941:(e,t,n)=>{var r=n(57475);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},82529:e=>{e.exports=!0},60685:(e,t,n)=>{var r=n(10941),o=n(82532),a=n(99813)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},56664:(e,t,n)=>{var r=n(21899),o=n(626),a=n(57475),i=n(7046),s=n(32302),u=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return a(t)&&i(t.prototype,u(e))}},93091:(e,t,n)=>{var r=n(21899),o=n(86843),a=n(78834),i=n(96059),s=n(69826),u=n(6782),l=n(10623),c=n(7046),p=n(53476),f=n(22902),h=n(7609),d=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},v=m.prototype;e.exports=function(e,t,n){var r,g,y,b,w,E,x,_=n&&n.that,S=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),C=o(t,_),O=function(e){return r&&h(r,"normal",e),new m(!0,e)},j=function(e){return S?(i(e),A?C(e[0],e[1],O):C(e[0],e[1])):A?C(e,O):C(e)};if(k)r=e;else{if(!(g=f(e)))throw d(s(e)+" is not iterable");if(u(g)){for(y=0,b=l(e);b>y;y++)if((w=j(e[y]))&&c(v,w))return w;return new m(!1)}r=p(e,g)}for(E=r.next;!(x=a(E,r)).done;){try{w=j(x.value)}catch(e){h(r,"throw",e)}if("object"==typeof w&&w&&c(v,w))return w}return new m(!1)}},7609:(e,t,n)=>{var r=n(78834),o=n(96059),a=n(14229);e.exports=function(e,t,n){var i,s;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw n;return n}i=r(i,e)}catch(e){s=!0,i=e}if("throw"===t)throw n;if(s)throw i;return o(i),n}},35143:(e,t,n)=>{"use strict";var r,o,a,i=n(95981),s=n(57475),u=n(29290),l=n(249),c=n(99754),p=n(99813),f=n(82529),h=p("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(o=l(l(a)))!==Object.prototype&&(r=o):d=!0),null==r||i((function(){var e={};return r[h].call(e)!==e}))?r={}:f&&(r=u(r)),s(r[h])||c(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},12077:e=>{e.exports={}},10623:(e,t,n)=>{var r=n(43057);e.exports=function(e){return r(e.length)}},48721:(e,t,n)=>{"use strict";var r=n(78834),o=n(24883),a=n(96059);e.exports=function(e,t){var n=a(this),i=o(n.get),s=o(n.has),u=o(n.set),l=r(s,n,e)&&"update"in t?t.update(r(i,n,e),e,n):t.insert(e,n);return r(u,n,e,l),l}},20716:(e,t,n)=>{"use strict";var r=n(21899),o=n(78834),a=n(24883),i=n(57475),s=n(96059),u=r.TypeError;e.exports=function(e,t){var n,r=s(this),l=a(r.get),c=a(r.has),p=a(r.set),f=arguments.length>2?arguments[2]:void 0;if(!i(t)&&!i(f))throw u("At least one callback required");return o(c,r,e)?(n=o(l,r,e),i(t)&&(n=t(n),o(p,r,e,n))):i(f)&&(n=f(),o(p,r,e,n)),n}},66132:(e,t,n)=>{var r,o,a,i,s,u,l,c,p=n(21899),f=n(86843),h=n(49677).f,d=n(42941).set,m=n(22749),v=n(4470),g=n(58045),y=n(6049),b=p.MutationObserver||p.WebKitMutationObserver,w=p.document,E=p.process,x=p.Promise,_=h(p,"queueMicrotask"),S=_&&_.value;S||(r=function(){var e,t;for(y&&(e=E.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},m||y||g||!b||!w?!v&&x&&x.resolve?((l=x.resolve(void 0)).constructor=x,c=f(l.then,l),i=function(){c(r)}):y?i=function(){E.nextTick(r)}:(d=f(d,p),i=function(){d(r)}):(s=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},19297:(e,t,n)=>{var r=n(21899);e.exports=r.Promise},72497:(e,t,n)=>{var r=n(53385),o=n(95981);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},28468:(e,t,n)=>{var r=n(95981),o=n(99813),a=n(82529),i=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},38019:(e,t,n)=>{var r=n(21899),o=n(57475),a=n(81302),i=r.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},69520:(e,t,n)=>{"use strict";var r=n(24883),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},14649:(e,t,n)=>{var r=n(85803);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},70344:(e,t,n)=>{var r=n(21899),o=n(60685),a=r.TypeError;e.exports=function(e){if(o(e))throw a("The method doesn't accept regular expressions");return e}},24420:(e,t,n)=>{"use strict";var r=n(55746),o=n(95329),a=n(78834),i=n(95981),s=n(14771),u=n(87857),l=n(36760),c=n(89678),p=n(37026),f=Object.assign,h=Object.defineProperty,d=o([].concat);e.exports=!f||i((function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,i=1,f=u.f,h=l.f;o>i;)for(var m,v=p(arguments[i++]),g=f?d(s(v),f(v)):s(v),y=g.length,b=0;y>b;)m=g[b++],r&&!a(h,v,m)||(n[m]=v[m]);return n}:f},29290:(e,t,n)=>{var r,o=n(96059),a=n(59938),i=n(56759),s=n(27748),u=n(15463),l=n(61333),c=n(44262),p=c("IE_PROTO"),f=function(){},h=function(e){return" + + + + + \ No newline at end of file diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/oauth2-redirect.html b/modules/swagger-parser-v3/out/test/resources/issue-407/full/oauth2-redirect.html new file mode 100644 index 0000000000..b662eed42f --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/oauth2-redirect.html @@ -0,0 +1,79 @@ + + + + Swagger UI: OAuth2 Redirect + + + + + diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/def.yml b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/def.yml new file mode 100644 index 0000000000..3191624521 --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/def.yml @@ -0,0 +1,4 @@ +components: + schemas: + Pet: + $ref: "./def2.yml#/components/schemas/Pet" diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/def2.yml b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/def2.yml new file mode 100644 index 0000000000..aa2244e3cf --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/def2.yml @@ -0,0 +1,4 @@ +components: + schemas: + Pet: + type: number diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/pets.yml b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/pets.yml new file mode 100644 index 0000000000..bf25452e7a --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/pets.yml @@ -0,0 +1,5 @@ +get: + operationId: listPets + responses: + "200": + $ref: "./response.yml" diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/response.yml b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/response.yml new file mode 100644 index 0000000000..4a3b9f73b2 --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/pets/response.yml @@ -0,0 +1,4 @@ +content: + application/json: + schema: + $ref: "./def.yml#/components/schemas/Pet" diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/petstore.yml b/modules/swagger-parser-v3/out/test/resources/issue-407/full/petstore.yml new file mode 100644 index 0000000000..4511ec8495 --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/petstore.yml @@ -0,0 +1,10 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: Swagger Petstore +servers: + - url: http://petstore.swagger.io/v1 +paths: + /pets: + $ref: "./pets/pets.yml" + diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/swagger-initializer.js b/modules/swagger-parser-v3/out/test/resources/issue-407/full/swagger-initializer.js new file mode 100644 index 0000000000..8ea0ea3afc --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/swagger-initializer.js @@ -0,0 +1,20 @@ +window.onload = function() { + // + + // the following lines will be replaced by docker/configurator, when it runs in a docker-container + window.ui = SwaggerUIBundle({ + url: "https://petstore.swagger.io/v2/swagger.json", + dom_id: '#swagger-ui', + deepLinking: true, + presets: [ + SwaggerUIBundle.presets.apis, + SwaggerUIStandalonePreset + ], + plugins: [ + SwaggerUIBundle.plugins.DownloadUrl + ], + layout: "StandaloneLayout" + }); + + // +}; diff --git a/modules/swagger-parser-v3/out/test/resources/issue-407/full/swagger-ui-bundle.js b/modules/swagger-parser-v3/out/test/resources/issue-407/full/swagger-ui-bundle.js new file mode 100644 index 0000000000..84a96cff0f --- /dev/null +++ b/modules/swagger-parser-v3/out/test/resources/issue-407/full/swagger-ui-bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,(function(){return(()=>{var e={66419:(e,t,n)=>{e.exports=n(24848)},41511:(e,t,n)=>{e.exports=n(83363)},11128:(e,t,n)=>{e.exports=n(57784)},54103:(e,t,n)=>{e.exports=n(28196)},77766:(e,t,n)=>{e.exports=n(8065)},72119:(e,t,n)=>{e.exports=n(57448)},10062:(e,t,n)=>{e.exports=n(29455)},44494:(e,t,n)=>{e.exports=n(69743)},20116:(e,t,n)=>{e.exports=n(11955)},62462:(e,t,n)=>{e.exports=n(96064)},94473:(e,t,n)=>{e.exports=n(61577)},78914:(e,t,n)=>{e.exports=n(46279)},78580:(e,t,n)=>{e.exports=n(33778)},81643:(e,t,n)=>{e.exports=n(19373)},69301:(e,t,n)=>{e.exports=n(73819)},23054:(e,t,n)=>{e.exports=n(11022)},2991:(e,t,n)=>{e.exports=n(61798)},32366:(e,t,n)=>{e.exports=n(52527)},39291:(e,t,n)=>{e.exports=n(36857)},3649:(e,t,n)=>{e.exports=n(82073)},77149:(e,t,n)=>{e.exports=n(45286)},47302:(e,t,n)=>{e.exports=n(62856)},92762:(e,t,n)=>{e.exports=n(2348)},29828:(e,t,n)=>{e.exports=n(35178)},25843:(e,t,n)=>{e.exports=n(76361)},89400:(e,t,n)=>{e.exports=n(71815)},59340:(e,t,n)=>{e.exports=n(8933)},39392:(e,t,n)=>{e.exports=n(15868)},51942:(e,t,n)=>{e.exports=n(63383)},63978:(e,t,n)=>{e.exports=n(41910)},26295:(e,t,n)=>{e.exports=n(86209)},86902:(e,t,n)=>{e.exports=n(23059)},20455:(e,t,n)=>{e.exports=n(47795)},93476:(e,t,n)=>{e.exports=n(27460)},33032:(e,t,n)=>{e.exports=n(27989)},94435:(e,t,n)=>{e.exports=n(73926)},39969:(e,t,n)=>{e.exports=n(57641)},52424:(e,t,n)=>{e.exports=n(72010)},53592:(e,t,n)=>{e.exports=n(27385)},78363:(e,t,n)=>{e.exports=n(81522)},19996:(e,t,n)=>{e.exports=n(32209)},51445:(e,t,n)=>{e.exports=n(14122)},30699:(e,t,n)=>{e.exports=n(44442)},28834:(e,t,n)=>{e.exports=n(57152)},95683:(e,t,n)=>{e.exports=n(69447)},95238:(e,t,n)=>{e.exports=n(81493)},90:(e,t,n)=>{e.exports=n(86672)},12088:(e,t,n)=>{e.exports=n(60269)},189:(e,t,n)=>{e.exports=n(76094)},32752:(e,t,n)=>{e.exports=n(70573)},44341:(e,t,n)=>{e.exports=n(73685)},58377:(e,t,n)=>{e.exports=n(27533)},13038:(e,t,n)=>{e.exports=n(39057)},63263:(e,t,n)=>{e.exports=n(84710)},24889:(e,t,n)=>{e.exports=n(74303)},89356:(e,t,n)=>{e.exports=n(93799)},79542:(e,t,n)=>{e.exports=n(55122)},69798:(e,t,n)=>{e.exports=n(29531)},13535:(e,t,n)=>{e.exports=n(10856)},83863:(e,t,n)=>{e.exports=n(31524)},51446:(e,t,n)=>{e.exports=n(86600)},23882:(e,t,n)=>{e.exports=n(9759)},34243:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r=n(78363);e.exports=function(e){if(r(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},46868:(e,t,n)=>{var r=n(78363),o=n(34243);e.exports=function(e){if(r(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5824:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},51161:(e,t,n)=>{var r=n(69798);function o(e,t,n,o,a,i,s){try{var u=e[i](s),l=u.value}catch(e){return void n(e)}u.done?t(l):r.resolve(l).then(o,a)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,a){var i=e.apply(t,n);function s(e){o(i,r,a,s,u,"next",e)}function u(e){o(i,r,a,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},26394:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},74003:(e,t,n)=>{var r=n(13535),o=n(51445),a=n(5613),i=n(8647);function s(t,n,u){return i()?(e.exports=s=r,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=s=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(o(Function).apply(e,r));return n&&a(i,n.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),s.apply(null,arguments)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},69198:(e,t,n)=>{var r=n(44341);function o(e,t){for(var n=0;n{var r=n(51446),o=n(19996),a=n(78363),i=n(79299);e.exports=function(e,t){var n=void 0!==r&&o(e)||e["@@iterator"];if(!n){if(a(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,p=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){p=!0,l=e},f:function(){try{c||null==n.return||n.return()}finally{if(p)throw l}}}},e.exports.__esModule=!0,e.exports.default=e.exports},10098:(e,t,n)=>{var r=n(13535),o=n(66380),a=n(8647),i=n(214);e.exports=function(e){var t=a();return function(){var n,a=o(e);if(t){var s=o(this).constructor;n=r(a,arguments,s)}else n=a.apply(this,arguments);return i(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},87672:(e,t,n)=>{var r=n(44341);e.exports=function(e,t,n){return t in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},5872:(e,t,n)=>{var r=n(12088);function o(){return e.exports=o=r||function(e){for(var t=1;t{var r=n(83863),o=n(58377),a=n(16649);function i(){return"undefined"!=typeof Reflect&&r?(e.exports=i=r,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var r=a(e,t);if(r){var i=o(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},66380:(e,t,n)=>{var r=n(79542),o=n(24889);function a(t){return e.exports=a=r?o:function(e){return e.__proto__||o(e)},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},51379:(e,t,n)=>{var r=n(189),o=n(44341),a=n(5613);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),o(e,"prototype",{writable:!1}),t&&a(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},3807:(e,t,n)=>{var r=n(95683);e.exports=function(e){var t;return-1!==r(t=Function.toString.call(e)).call(t,"[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},8647:(e,t,n)=>{var r=n(13535);e.exports=function(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(r(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},85400:(e,t,n)=>{var r=n(51446),o=n(19996),a=n(53592);e.exports=function(e){if(void 0!==r&&null!=o(e)||null!=e["@@iterator"])return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},65056:(e,t,n)=>{var r=n(51446),o=n(19996);e.exports=function(e,t){var n=null==e?null:void 0!==r&&o(e)||e["@@iterator"];if(null!=n){var a,i,s=[],u=!0,l=!1;try{for(n=n.call(e);!(u=(a=n.next()).done)&&(s.push(a.value),!t||s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{u||null==n.return||n.return()}finally{if(l)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},79736:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},76670:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},95945:(e,t,n)=>{var r=n(89356),o=n(63263),a=n(30699),i=n(58377),s=n(28834),u=n(13038),l=n(32752),c=n(44341),p=n(87672);function f(e,t){var n=r(e);if(o){var s=o(e);t&&(s=a(s).call(s,(function(t){return i(e,t).enumerable}))),n.push.apply(n,s)}return n}e.exports=function(e){for(var t=1;t{var r=n(63263),o=n(95683),a=n(44590);e.exports=function(e,t){if(null==e)return{};var n,i,s=a(e,t);if(r){var u=r(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s},e.exports.__esModule=!0,e.exports.default=e.exports},44590:(e,t,n)=>{var r=n(89356),o=n(95683);e.exports=function(e,t){if(null==e)return{};var n,a,i={},s=r(e);for(a=0;a=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},214:(e,t,n)=>{var r=n(23765).default,o=n(5824);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5613:(e,t,n)=>{var r=n(79542);function o(t,n){return e.exports=o=r||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},18777:(e,t,n)=>{var r=n(57726),o=n(65056),a=n(79299),i=n(79736);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},16649:(e,t,n)=>{var r=n(66380);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},71064:(e,t,n)=>{var r=n(57726),o=n(85400),a=n(79299),i=n(79736);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},59036:(e,t,n)=>{var r=n(46868),o=n(85400),a=n(79299),i=n(76670);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},23765:(e,t,n)=>{var r=n(51446),o=n(23882);function a(t){return e.exports=a="function"==typeof r&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},79299:(e,t,n)=>{var r=n(95238),o=n(53592),a=n(34243);e.exports=function(e,t){var n;if(e){if("string"==typeof e)return a(e,t);var i=r(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?o(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},74803:(e,t,n)=>{var r=n(90),o=n(189),a=n(66380),i=n(5613),s=n(3807),u=n(74003);function l(t){var n="function"==typeof r?new r:void 0;return e.exports=l=function(e){if(null===e||!s(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return u(e,arguments,a(this).constructor)}return t.prototype=o(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,l(t)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},63109:(e,t,n)=>{e.exports=n(35666)},17967:(e,t)=>{"use strict";t.N=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^([^:]+):/gm,i=[".","/"];t.N=function(e){var t,s=(t=e||"",t.replace(r,(function(e,t){return String.fromCharCode(t)}))).replace(o,"").trim();if(!s)return"about:blank";if(function(e){return i.indexOf(e[0])>-1}(s))return s;var u=s.match(a);if(!u)return s;var l=u[0];return n.test(l)?"about:blank":s}},53795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>H});var r=n(5872),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(77766),y=n.n(g),b=n(81643),w=n.n(b),E=n(2991),x=n.n(E),_=n(67294),S=n(43393);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=B(t,n),o=e||Object.keys(I({},n,{},t));return o.every(r)}function B(e,t){return function(n){if("string"==typeof n)return(0,S.is)(t[n],e[n]);if(Array.isArray(n))return(0,S.is)(D(t,n),D(e,n));throw new TypeError("Invalid key: expected Array or string: "+n)}}var F=function(e){function t(){return A(this,t),P(this,T(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(t,e),n=t,r=[{key:"shouldComponentUpdate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!L(this.updateOnProps,this.props,e,"updateOnProps")||!L(this.updateOnStates,this.state,t,"updateOnStates")}}],r&&C(n.prototype,r),o&&C(n,o),t}(_.Component);const z=F;var U=n(23930),q=n.n(U),V=n(45697),W=n.n(V),H=function(e){f()(r,e);var t=d()(r);function r(){var e,n;i()(this,r);for(var o=arguments.length,a=new Array(o),s=0;s{"use strict";n.d(t,{Z:()=>A});var r=n(23765),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(86902),y=n.n(g),b=n(77766),w=n.n(b),E=n(67294),x=n(84564),_=n.n(x),S=n(90242),k=n(27504),A=function(e){f()(n,e);var t=d()(n);function n(e,r){var o;i()(this,n),o=t.call(this,e,r),v()(c()(o),"getDefinitionUrl",(function(){var e=o.props.specSelectors;return new(_())(e.url(),k.Z.location).toString()}));var a=(0,e.getConfigs)().validatorUrl;return o.state={url:o.getDefinitionUrl(),validatorUrl:void 0===a?"https://validator.swagger.io/validator":a},o}return u()(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=(0,e.getConfigs)().validatorUrl;this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===t?"https://validator.swagger.io/validator":t})}},{key:"render",value:function(){var e,t,n=(0,this.props.getConfigs)().spec,r=(0,S.Nm)(this.state.validatorUrl);return"object"===o()(n)&&y()(n).length?null:this.state.url&&(0,S.hW)(this.state.validatorUrl)&&(0,S.hW)(this.state.url)?E.createElement("span",{className:"float-right"},E.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:w()(e="".concat(r,"/debug?url=")).call(e,encodeURIComponent(this.state.url))},E.createElement(C,{src:w()(t="".concat(r,"?url=")).call(t,encodeURIComponent(this.state.url)),alt:"Online validator badge"}))):null}}]),n}(E.Component),C=function(e){f()(n,e);var t=d()(n);function n(e){var r;return i()(this,n),(r=t.call(this,e)).state={loaded:!1,error:!1},r}return u()(n,[{key:"componentDidMount",value:function(){var e=this,t=new Image;t.onload=function(){e.setState({loaded:!0})},t.onerror=function(){e.setState({error:!0})},t.src=this.props.src}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;if(e.src!==this.props.src){var n=new Image;n.onload=function(){t.setState({loaded:!0})},n.onerror=function(){t.setState({error:!0})},n.src=e.src}}},{key:"render",value:function(){return this.state.error?E.createElement("img",{alt:"Error"}):this.state.loaded?E.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}]),n}(E.Component)},86019:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me,s:()=>ve});var r=n(67294),o=n(89927);function a(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=0;n--)!0===t(e[n])&&e.splice(n,1)}function s(e){throw new Error("Unhandled case for value: '"+e+"'")}var u=function(){function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,o=n?n.split(r):[],i=e.split(r);t=i.shift();)-1===a(o,t)&&o.push(t);return this.getAttrs().class=o.join(" "),this},e.prototype.removeClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,o=n?n.split(r):[],i=e.split(r);o.length&&(t=i.shift());){var s=a(o,t);-1!==s&&o.splice(s,1)}return this.getAttrs().class=o.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),""].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+'="'+e[n]+'"');return t.join(" ")},e}();var l=function(){function e(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return e.prototype.build=function(e){return new u({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},e.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(t.class=n),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length=s)return u.host.length==t?(u.host.substr(0,t-o)+n).substr(0,s+r):i(c,s).substr(0,s+r);var p="";if(u.path&&(p+="/"+u.path),u.query&&(p+="?"+u.query),p){if((c+p).length>=s)return(c+p).length==t?(c+p).substr(0,t):(c+i(p,s-c.length)).substr(0,s+r);c+=p}if(u.fragment){var f="#"+u.fragment;if((c+f).length>=s)return(c+f).length==t?(c+f).substr(0,t):(c+i(f,s-c.length)).substr(0,s+r);c+=f}if(u.scheme&&u.host){var h=u.scheme+"://";if((c+h).length0&&(d=c.substr(-1*Math.floor(s/2))),(c.substr(0,Math.ceil(s/2))+n+d).substr(0,s+r)}(e,n):"middle"===r?function(e,t,n){if(e.length<=t)return e;var r,o;null==n?(n="…",r=8,o=3):(r=n.length,o=n.length);var a=t-o,i="";return a>0&&(i=e.substr(-1*Math.floor(a/2))),(e.substr(0,Math.ceil(a/2))+n+i).substr(0,a+r)}(e,n):function(e,t,n){return function(e,t,n){var r;return e.length>t&&(null==n?(n="…",r=3):r=n.length,e=e.substring(0,t-r)+n),e}(e,t,n)}(e,n)},e}(),c=function(){function e(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(e){this.offset=e},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},p(e,t)};function f(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1},e.isValidUriScheme=function(e){var t=e.match(this.uriSchemeRegex),n=t&&t[0].toLowerCase();return"javascript:"!==n&&"vbscript:"!==n},e.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t)&&(!this.hasFullProtocolRegex.test(t)&&!this.hasWordCharAfterProtocolRegex.test(e))},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+C+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),V=(d=new RegExp("[/?#](?:["+T+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+T+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,M(2),")","|","(","(//)?",/(?:www\.)/.source,M(6),")","|","(","(//)?",M(10)+"\\.",L.source,"(?![-"+I+"])",")",")","(?::[0-9]+)?","(?:"+d.source+")?"].join(""),"gi")),W=new RegExp("["+T+"]"),H=function(e){function t(t){var n=e.call(this,t)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=V,n.wordCharRegExp=W,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return f(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,r=this.stripPrefix,o=this.stripTrailingSlash,a=this.decodePercentEncoding,i=this.tagBuilder,s=[],u=function(){var n=t[0],u=t[1],c=t[4],p=t[5],f=t[9],h=t.index,d=p||f,m=e.charAt(h-1);if(!q.isValid(n,u))return"continue";if(h>0&&"@"===m)return"continue";if(h>0&&d&&l.wordCharRegExp.test(m))return"continue";if(/\?$/.test(n)&&(n=n.substr(0,n.length-1)),l.matchHasUnbalancedClosingParen(n))n=n.substr(0,n.length-1);else{var v=l.matchHasInvalidCharAfterTld(n,u);v>-1&&(n=n.substr(0,v))}var g=["http://","https://"].find((function(e){return!!u&&-1!==u.indexOf(e)}));if(g){var y=n.indexOf(g);n=n.substr(y),u=u.substr(y),h+=y}var w=u?"scheme":c?"www":"tld",E=!!u;s.push(new b({tagBuilder:i,matchedText:n,offset:h,urlMatchType:w,url:n,protocolUrlMatch:E,protocolRelativeMatch:!!d,stripPrefix:r,stripTrailingSlash:o,decodePercentEncoding:a}))},l=this;null!==(t=n.exec(e));)u();return s},t.prototype.matchHasUnbalancedClosingParen=function(e){var t,n=e.charAt(e.length-1);if(")"===n)t="(";else if("]"===n)t="[";else{if("}"!==n)return!1;t="{"}for(var r=0,o=0,a=e.length-1;o"===e?(m=new re(h(h({},m),{name:$()})),H()):E.test(e)||x.test(e)||":"===e||V()}function w(e){">"===e?V():E.test(e)?f=3:V()}function _(e){S.test(e)||("/"===e?f=12:">"===e?H():"<"===e?W():"="===e||k.test(e)||A.test(e)?V():f=5)}function C(e){S.test(e)?f=6:"/"===e?f=12:"="===e?f=7:">"===e?H():"<"===e?W():k.test(e)&&V()}function O(e){S.test(e)||("/"===e?f=12:"="===e?f=7:">"===e?H():"<"===e?W():k.test(e)?V():f=5)}function j(e){S.test(e)||('"'===e?f=8:"'"===e?f=9:/[>=`]/.test(e)?V():"<"===e?W():f=10)}function I(e){'"'===e&&(f=11)}function T(e){"'"===e&&(f=11)}function N(e){S.test(e)?f=4:">"===e?H():"<"===e&&W()}function P(e){S.test(e)?f=4:"/"===e?f=12:">"===e?H():"<"===e?W():(f=4,c--)}function R(e){">"===e?(m=new re(h(h({},m),{isClosing:!0})),H()):f=4}function M(t){"--"===e.substr(c,2)?(c+=2,m=new re(h(h({},m),{type:"comment"})),f=14):"DOCTYPE"===e.substr(c,7).toUpperCase()?(c+=7,m=new re(h(h({},m),{type:"doctype"})),f=20):V()}function D(e){"-"===e?f=15:">"===e?V():f=16}function L(e){"-"===e?f=18:">"===e?V():f=16}function B(e){"-"===e&&(f=17)}function F(e){f="-"===e?18:16}function z(e){">"===e?H():"!"===e?f=19:"-"===e||(f=16)}function U(e){"-"===e?f=17:">"===e?H():f=16}function q(e){">"===e?H():"<"===e&&W()}function V(){f=0,m=l}function W(){f=1,m=new re({idx:c})}function H(){var t=e.slice(d,m.idx);t&&a(t,d),"comment"===m.type?i(m.idx):"doctype"===m.type?u(m.idx):(m.isOpening&&r(m.name,m.idx),m.isClosing&&o(m.name,m.idx)),V(),d=c+1}function $(){var t=m.idx+(m.isClosing?2:1);return e.slice(t,c).toLowerCase()}d=0&&r++},onText:function(e,n){if(0===r){var a=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,r=[],o=0;n=t.exec(e);)r.push(e.substring(o,n.index)),r.push(n[0]),o=n.index+n[0].length;return r.push(e.substring(o)),r}(e,/( | |<|<|>|>|"|"|')/gi),i=n;a.forEach((function(e,n){if(n%2==0){var r=t.parseText(e,i);o.push.apply(o,r)}i+=e.length}))}},onCloseTag:function(e){n.indexOf(e)>=0&&(r=Math.max(r-1,0))},onComment:function(e){},onDoctype:function(e){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},e.prototype.compactMatches=function(e){e.sort((function(e,t){return e.getOffset()-t.getOffset()}));for(var t=0;to?t:t+1;e.splice(i,1);continue}e[t+1].getOffset()/g,">"));for(var t=this.parse(e),n=[],r=0,o=0,a=t.length;o/i.test(e)}function se(){var e=[],t=new oe({stripPrefix:!1,url:!0,email:!0,replaceFn:function(t){switch(t.getType()){case"url":e.push({text:t.matchedText,url:t.getUrl()});break;case"email":e.push({text:t.matchedText,url:"mailto:"+t.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:t}}function ue(e){var t,n,r,o,a,i,s,u,l,c,p,f,h,d,m=e.tokens,v=null;for(n=0,r=m.length;n=0;t--)if("link_close"!==(a=o[t]).type){if("htmltag"===a.type&&(d=a.content,/^\s]/i.test(d)&&p>0&&p--,ie(a.content)&&p++),!(p>0)&&"text"===a.type&&ae.test(a.content)){if(v||(f=(v=se()).links,h=v.autolinker),i=a.content,f.length=0,h.link(i),!f.length)continue;for(s=[],c=a.level,u=0;u1&&void 0!==arguments[1]?arguments[1]:{},n=t.useUnsafeMarkdown,r=void 0!==n&&n,o=r,a=r?[]:["style","class"];return r&&!ve.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),ve.hasWarnedAboutDeprecation=!0),pe().sanitize(e,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:o,FORBID_ATTR:a})}ve.hasWarnedAboutDeprecation=!1},45308:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,o=n(78914),a=n.n(o),i=n(69301),s=n.n(i),u=n(90242),l=n(27621),c=n(95102),p={};const f=p;a()(r=s()(c).call(c)).call(r,(function(e){if("./index.js"!==e){var t=c(e);p[(0,u.Zl)(e)]=t.default?t.default:t}})),p.SafeRender=l.default},55812:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SHOW_AUTH_POPUP:()=>h,AUTHORIZE:()=>d,LOGOUT:()=>m,PRE_AUTHORIZE_OAUTH2:()=>v,AUTHORIZE_OAUTH2:()=>g,VALIDATE:()=>y,CONFIGURE_AUTH:()=>b,RESTORE_AUTHORIZATION:()=>w,showDefinitions:()=>E,authorize:()=>x,authorizeWithPersistOption:()=>_,logout:()=>S,logoutWithPersistOption:()=>k,preAuthorizeImplicit:()=>A,authorizeOauth2:()=>C,authorizeOauth2WithPersistOption:()=>O,authorizePassword:()=>j,authorizeApplication:()=>I,authorizeAccessCodeWithFormParams:()=>T,authorizeAccessCodeWithBasicAuthentication:()=>N,authorizeRequest:()=>P,configureAuth:()=>R,restoreAuthorization:()=>M,persistAuthorizationIfNeeded:()=>D,authPopup:()=>L});var r=n(23765),o=n.n(r),a=n(59340),i=n.n(a),s=n(51942),u=n.n(s),l=n(84564),c=n.n(l),p=n(27504),f=n(90242),h="show_popup",d="authorize",m="logout",v="pre_authorize_oauth2",g="authorize_oauth2",y="validate",b="configure_auth",w="restore_authorization";function E(e){return{type:h,payload:e}}function x(e){return{type:d,payload:e}}var _=function(e){return function(t){var n=t.authActions;n.authorize(e),n.persistAuthorizationIfNeeded()}};function S(e){return{type:m,payload:e}}var k=function(e){return function(t){var n=t.authActions;n.logout(e),n.persistAuthorizationIfNeeded()}},A=function(e){return function(t){var n=t.authActions,r=t.errActions,o=e.auth,a=e.token,s=e.isValid,u=o.schema,l=o.name,c=u.get("flow");delete p.Z.swaggerUIRedirectOauth2,"accessCode"===c||s||r.newAuthErr({authId:l,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:l,source:"auth",level:"error",message:i()(a)}):n.authorizeOauth2WithPersistOption({auth:o,token:a})}};function C(e){return{type:g,payload:e}}var O=function(e){return function(t){var n=t.authActions;n.authorizeOauth2(e),n.persistAuthorizationIfNeeded()}},j=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.name,a=e.username,i=e.password,s=e.passwordType,l=e.clientId,c=e.clientSecret,p={grant_type:"password",scope:e.scopes.join(" "),username:a,password:i},h={};switch(s){case"request-body":!function(e,t,n){t&&u()(e,{client_id:t});n&&u()(e,{client_secret:n})}(p,l,c);break;case"basic":h.Authorization="Basic "+(0,f.r3)(l+":"+c);break;default:console.warn("Warning: invalid passwordType ".concat(s," was passed, not including client id and secret"))}return n.authorizeRequest({body:(0,f.GZ)(p),url:r.get("tokenUrl"),name:o,headers:h,query:{},auth:e})}};var I=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.scopes,a=e.name,i=e.clientId,s=e.clientSecret,u={Authorization:"Basic "+(0,f.r3)(i+":"+s)},l={grant_type:"client_credentials",scope:o.join(" ")};return n.authorizeRequest({body:(0,f.GZ)(l),name:a,url:r.get("tokenUrl"),auth:e,headers:u})}},T=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,l={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:s,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:(0,f.GZ)(l),name:a,url:o.get("tokenUrl"),auth:t})}},N=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,l={Authorization:"Basic "+(0,f.r3)(i+":"+s)},c={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:(0,f.GZ)(c),name:a,url:o.get("tokenUrl"),auth:t,headers:l})}},P=function(e){return function(t){var n,r=t.fn,a=t.getConfigs,s=t.authActions,l=t.errActions,p=t.oas3Selectors,f=t.specSelectors,h=t.authSelectors,d=e.body,m=e.query,v=void 0===m?{}:m,g=e.headers,y=void 0===g?{}:g,b=e.name,w=e.url,E=e.auth,x=(h.getConfigs()||{}).additionalQueryStringParams;if(f.isOAS3()){var _=p.serverEffectiveValue(p.selectedServer());n=c()(w,_,!0)}else n=c()(w,f.url(),!0);"object"===o()(x)&&(n.query=u()({},n.query,x));var S=n.toString(),k=u()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},y);r.fetch({url:S,method:"post",headers:k,query:v,body:d,requestInterceptor:a().requestInterceptor,responseInterceptor:a().responseInterceptor}).then((function(e){var t=JSON.parse(e.data),n=t&&(t.error||""),r=t&&(t.parseError||"");e.ok?n||r?l.newAuthErr({authId:b,level:"error",source:"auth",message:i()(t)}):s.authorizeOauth2WithPersistOption({auth:E,token:t}):l.newAuthErr({authId:b,level:"error",source:"auth",message:e.statusText})})).catch((function(e){var t=new Error(e).message;if(e.response&&e.response.data){var n=e.response.data;try{var r="string"==typeof n?JSON.parse(n):n;r.error&&(t+=", error: ".concat(r.error)),r.error_description&&(t+=", description: ".concat(r.error_description))}catch(e){}}l.newAuthErr({authId:b,level:"error",source:"auth",message:t})}))}};function R(e){return{type:b,payload:e}}function M(e){return{type:w,payload:e}}var D=function(){return function(e){var t=e.authSelectors;if((0,e.getConfigs)().persistAuthorization){var n=t.authorized();localStorage.setItem("authorized",i()(n.toJS()))}}},L=function(e,t){return function(){p.Z.swaggerUIRedirectOauth2=t,p.Z.open(e)}}},93705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,preauthorizeBasic:()=>d,preauthorizeApiKey:()=>m});var r=n(87672),o=n.n(r),a=n(54103),i=n.n(a),s=n(77766),u=n.n(s),l=n(43962),c=n(55812),p=n(60035),f=n(48302);function h(){return{afterLoad:function(e){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=e.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=i()(m).call(m,null,e),this.rootInjects.preauthorizeBasic=i()(d).call(d,null,e)},statePlugins:{auth:{reducers:l.default,actions:c,selectors:p},spec:{wrapActions:f}}}}function d(e,t,n,r){var a,i=e.authActions.authorize,s=e.specSelectors,l=s.specJson,c=(0,s.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],p=l().getIn(u()(a=[]).call(a,c,[t]));return p?i(o()({},t,{value:{username:n,password:r},schema:p.toJS()})):null}function m(e,t,n){var r,a=e.authActions.authorize,i=e.specSelectors,s=i.specJson,l=(0,i.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],c=s().getIn(u()(r=[]).call(r,l,[t]));return c?a(o()({},t,{value:n,schema:c.toJS()})):null}},43962:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r,o=n(87672),a=n.n(o),i=n(18777),s=n.n(i),u=n(78914),l=n.n(u),c=n(51942),p=n.n(c),f=n(43393),h=n(90242),d=n(55812);const m=(r={},a()(r,d.SHOW_AUTH_POPUP,(function(e,t){var n=t.payload;return e.set("showDefinitions",n)})),a()(r,d.AUTHORIZE,(function(e,t){var n,r=t.payload,o=(0,f.fromJS)(r),a=e.get("authorized")||(0,f.Map)();return l()(n=o.entrySeq()).call(n,(function(t){var n=s()(t,2),r=n[0],o=n[1];if(!(0,h.Wl)(o.getIn))return e.set("authorized",a);var i=o.getIn(["schema","type"]);if("apiKey"===i||"http"===i)a=a.set(r,o);else if("basic"===i){var u=o.getIn(["value","username"]),l=o.getIn(["value","password"]);a=(a=a.setIn([r,"value"],{username:u,header:"Basic "+(0,h.r3)(u+":"+l)})).setIn([r,"schema"],o.get("schema"))}})),e.set("authorized",a)})),a()(r,d.AUTHORIZE_OAUTH2,(function(e,t){var n,r=t.payload,o=r.auth,a=r.token;o.token=p()({},a),n=(0,f.fromJS)(o);var i=e.get("authorized")||(0,f.Map)();return i=i.set(n.get("name"),n),e.set("authorized",i)})),a()(r,d.LOGOUT,(function(e,t){var n=t.payload,r=e.get("authorized").withMutations((function(e){l()(n).call(n,(function(t){e.delete(t)}))}));return e.set("authorized",r)})),a()(r,d.CONFIGURE_AUTH,(function(e,t){var n=t.payload;return e.set("configs",n)})),a()(r,d.RESTORE_AUTHORIZATION,(function(e,t){var n=t.payload;return e.set("authorized",(0,f.fromJS)(n.authorized))})),r)},60035:(e,t,n)=>{"use strict";n.r(t),n.d(t,{shownDefinitions:()=>w,definitionsToAuthorize:()=>E,getDefinitionsByNames:()=>x,definitionsForRequirements:()=>_,authorized:()=>S,isAuthorized:()=>k,getConfigs:()=>A});var r=n(18777),o=n.n(r),a=n(78914),i=n.n(a),s=n(20116),u=n.n(s),l=n(77149),c=n.n(l),p=n(81643),f=n.n(p),h=n(2991),d=n.n(h),m=n(86902),v=n.n(m),g=n(20573),y=n(43393),b=function(e){return e},w=(0,g.P1)(b,(function(e){return e.get("showDefinitions")})),E=(0,g.P1)(b,(function(){return function(e){var t,n=e.specSelectors.securityDefinitions()||(0,y.Map)({}),r=(0,y.List)();return i()(t=n.entrySeq()).call(t,(function(e){var t=o()(e,2),n=t[0],a=t[1],i=(0,y.Map)();i=i.set(n,a),r=r.push(i)})),r}})),x=function(e,t){return function(e){var n,r=e.specSelectors;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");var a=r.securityDefinitions(),s=(0,y.List)();return i()(n=t.valueSeq()).call(n,(function(e){var t,n=(0,y.Map)();i()(t=e.entrySeq()).call(t,(function(e){var t,r,s=o()(e,2),u=s[0],l=s[1],c=a.get(u);"oauth2"===c.get("type")&&l.size&&(t=c.get("scopes"),i()(r=t.keySeq()).call(r,(function(e){l.contains(e)||(t=t.delete(e))})),c=c.set("allowedScopes",t));n=n.set(u,c)})),s=s.push(n)})),s}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.List)();return function(e){var n=e.authSelectors.definitionsToAuthorize()||(0,y.List)();return u()(n).call(n,(function(e){return c()(t).call(t,(function(t){return t.get(e.keySeq().first())}))}))}},S=(0,g.P1)(b,(function(e){return e.get("authorized")||(0,y.Map)()})),k=function(e,t){return function(e){var n,r=e.authSelectors.authorized();return y.List.isList(t)?!!u()(n=t.toJS()).call(n,(function(e){var t,n;return-1===f()(t=d()(n=v()(e)).call(n,(function(e){return!!r.get(e)}))).call(t,!1)})).length:null}},A=(0,g.P1)(b,(function(e){return e.get("configs")}))},48302:(e,t,n)=>{"use strict";n.r(t),n.d(t,{execute:()=>a});var r=n(95945),o=n.n(r),a=function(e,t){var n=t.authSelectors,r=t.specSelectors;return function(t){var a=t.path,i=t.method,s=t.operation,u=t.extras,l={authorized:n.authorized()&&n.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return e(o()({path:a,method:i,operation:s,securities:l},u))}}},70714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_CONFIGS:()=>a,TOGGLE_CONFIGS:()=>i,update:()=>s,toggle:()=>u,loaded:()=>l});var r=n(87672),o=n.n(r),a="configs_update",i="configs_toggle";function s(e,t){return{type:a,payload:o()({},e,t)}}function u(e){return{type:i,payload:e}}var l=function(){return function(e){var t=e.getConfigs,n=e.authActions;if(t().persistAuthorization){var r=localStorage.getItem("authorized");r&&n.restoreAuthorization({authorized:JSON.parse(r)})}}}},92256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseYamlConfig:()=>o});var r=n(1272),o=function(e,t){try{return r.ZP.load(e)}catch(e){return t&&t.errActions.newThrownErr(new Error(e)),{}}}},1661:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(15163),o=n(92256),a=n(70714),i=n(22698),s=n(69018),u=n(37743),l={getLocalConfig:function(){return(0,o.parseYamlConfig)(r)}};function c(){return{statePlugins:{spec:{actions:i,selectors:l},configs:{reducers:u.default,actions:a,selectors:s}}}}},37743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,o=n(87672),a=n.n(o),i=n(43393),s=n(70714);const u=(r={},a()(r,s.UPDATE_CONFIGS,(function(e,t){return e.merge((0,i.fromJS)(t.payload))})),a()(r,s.TOGGLE_CONFIGS,(function(e,t){var n=t.payload,r=e.get(n);return e.set(n,!r)})),r)},69018:(e,t,n)=>{"use strict";n.r(t),n.d(t,{get:()=>a});var r=n(41511),o=n.n(r),a=function(e,t){return e.getIn(o()(t)?t:[t])}},22698:(e,t,n)=>{"use strict";n.r(t),n.d(t,{downloadConfig:()=>o,getConfigByUrl:()=>a});var r=n(92256),o=function(e){return function(t){return(0,t.fn.fetch)(e)}},a=function(e,t){return function(n){var o=n.specActions;if(e)return o.downloadConfig(e).then(a,a);function a(n){n instanceof Error||n.status>=400?(o.updateLoadingStatus("failedConfig"),o.updateLoadingStatus("failedConfig"),o.updateUrl(""),console.error(n.statusText+" "+e.url),t(null)):t((0,r.parseYamlConfig)(n.text))}}}},31970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{setHash:()=>r});var r=function(e){return e?history.pushState(null,null,"#".concat(e)):window.location.hash=""}},34980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(41599),o=n(60877),a=n(34584);function i(){return[r.default,{statePlugins:{configs:{wrapActions:{loaded:function(e,t){return function(){e.apply(void 0,arguments);var n=decodeURIComponent(window.location.hash);t.layoutActions.parseDeepLinkHash(n)}}}}},wrapComponents:{operation:o.default,OperationTag:a.default}}]}},41599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{show:()=>A,scrollTo:()=>C,parseDeepLinkHash:()=>O,readyToScroll:()=>j,scrollToElement:()=>I,clearScrollTo:()=>T,default:()=>N});var r,o=n(87672),a=n.n(o),i=n(18777),s=n.n(i),u=n(41511),l=n.n(u),c=n(77766),p=n.n(c),f=n(3649),h=n.n(f),d=n(2991),m=n.n(d),v=n(81643),g=n.n(v),y=n(31970),b=n(45172),w=n.n(b),E=n(90242),x=n(43393),_=n.n(x),S="layout_scroll_to",k="layout_clear_scroll",A=function(e,t){var n=t.getConfigs,r=t.layoutSelectors;return function(){for(var t=arguments.length,o=new Array(t),a=0;a-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),n.show(m()(y).call(y,(function(e){return e.replace(/_/g," ")})),!0)),n.show(y,!0)}(g()(f).call(f,"_")>-1||g()(v).call(v,"_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),n.show(m()(u).call(u,(function(e){return e.replace(/_/g," ")})),!0)),n.show(u,!0),n.scrollTo(u)}}},j=function(e,t){return function(n){var r=n.layoutSelectors.getScrollToKey();_().is(r,(0,x.fromJS)(e))&&(n.layoutActions.scrollToElement(t),n.layoutActions.clearScrollTo())}},I=function(e,t){return function(n){try{t=t||n.fn.getScrollParent(e),w().createScroller(t).to(e)}catch(e){console.error(e)}}},T=function(){return{type:k}};const N={fn:{getScrollParent:function(e,t){var n=document.documentElement,r=getComputedStyle(e),o="absolute"===r.position,a=t?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===r.position)return n;for(var i=e;i=i.parentElement;)if(r=getComputedStyle(i),(!o||"static"!==r.position)&&a.test(r.overflow+r.overflowY+r.overflowX))return i;return n}},statePlugins:{layout:{actions:{scrollToElement:I,scrollTo:C,clearScrollTo:T,readyToScroll:j,parseDeepLinkHash:O},selectors:{getScrollToKey:function(e){return e.get("scrollToKey")},isShownKeyFromUrlHashArray:function(e,t){var n=s()(t,2),r=n[0],o=n[1];return o?["operations",r,o]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey:function(e,t){var n=s()(t,3),r=n[0],o=n[1],a=n[2];return"operations"==r?[o,a]:"operations-tag"==r?[o]:[]}},reducers:(r={},a()(r,S,(function(e,t){return e.set("scrollToKey",_().fromJS(t.payload))})),a()(r,k,(function(e){return e.delete("scrollToKey")})),r),wrapActions:{show:A}}}}},34584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(77766),v=n.n(m),g=n(67294);const y=function(e,t){return function(n){c()(a,n);var r=f()(a);function a(){var e,n;o()(this,a);for(var i=arguments.length,s=new Array(i),l=0;l{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(77766),v=n.n(m),g=n(67294);n(23930);const y=function(e,t){return function(n){c()(a,n);var r=f()(a);function a(){var e,n;o()(this,a);for(var i=arguments.length,s=new Array(i),l=0;l{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(51942),o=n.n(r),a=n(39969),i=n.n(a),s=n(77766),u=n.n(s),l=n(81643),c=n.n(l),p=n(59340),f=n.n(p),h=n(20573),d=n(43393),m=n(27504);function v(e){var t=e.fn;return{statePlugins:{spec:{actions:{download:function(e){return function(n){var r=n.errActions,a=n.specSelectors,s=n.specActions,l=n.getConfigs,c=t.fetch,p=l();function f(t){if(t instanceof Error||t.status>=400)return s.updateLoadingStatus("failed"),r.newThrownErr(o()(new Error((t.message||t.statusText)+" "+e),{source:"fetch"})),void(!t.status&&t instanceof Error&&function(){try{var t;if("URL"in m.Z?t=new(i())(e):(t=document.createElement("a")).href=e,"https:"!==t.protocol&&"https:"===m.Z.location.protocol){var n=o()(new Error("Possible mixed-content issue? The page was loaded over https:// but a ".concat(t.protocol,"// URL was specified. Check that you are not attempting to load mixed content.")),{source:"fetch"});return void r.newThrownErr(n)}if(t.origin!==m.Z.location.origin){var a,s=o()(new Error(u()(a="Possible cross-origin (CORS) issue? The URL origin (".concat(t.origin,") does not match the page (")).call(a,m.Z.location.origin,"). Check the server returns the correct 'Access-Control-Allow-*' headers.")),{source:"fetch"});r.newThrownErr(s)}}catch(e){return}}());s.updateLoadingStatus("success"),s.updateSpec(t.text),a.url()!==e&&s.updateUrl(e)}e=e||a.url(),s.updateLoadingStatus("loading"),r.clear({source:"fetch"}),c({url:e,loadSpec:!0,requestInterceptor:p.requestInterceptor||function(e){return e},responseInterceptor:p.responseInterceptor||function(e){return e},credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(f,f)}},updateLoadingStatus:function(e){var t,n=[null,"loading","failed","success","failedConfig"];-1===c()(n).call(n,e)&&console.error(u()(t="Error: ".concat(e," is not one of ")).call(t,f()(n)));return{type:"spec_update_loading_status",payload:e}}},reducers:{spec_update_loading_status:function(e,t){return"string"==typeof t.payload?e.set("loadingStatus",t.payload):e}},selectors:{loadingStatus:(0,h.P1)((function(e){return e||(0,d.Map)()}),(function(e){return e.get("loadingStatus")||null}))}}}}}},34966:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NEW_THROWN_ERR:()=>o,NEW_THROWN_ERR_BATCH:()=>a,NEW_SPEC_ERR:()=>i,NEW_SPEC_ERR_BATCH:()=>s,NEW_AUTH_ERR:()=>u,CLEAR:()=>l,CLEAR_BY:()=>c,newThrownErr:()=>p,newThrownErrBatch:()=>f,newSpecErr:()=>h,newSpecErrBatch:()=>d,newAuthErr:()=>m,clear:()=>v,clearBy:()=>g});var r=n(7710),o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",u="err_new_auth_err",l="err_clear",c="err_clear_by";function p(e){return{type:o,payload:(0,r.serializeError)(e)}}function f(e){return{type:a,payload:e}}function h(e){return{type:i,payload:e}}function d(e){return{type:s,payload:e}}function m(e){return{type:u,payload:e}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:l,payload:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:c,payload:e}}},56982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(20116),o=n.n(r),a=n(2991),i=n.n(a),s=n(54061),u=n.n(s),l=[n(2392),n(21835)];function c(e){var t,n={jsSpec:{}},r=u()(l,(function(e,t){try{var r=t.transform(e,n);return o()(r).call(r,(function(e){return!!e}))}catch(t){return console.error("Transformer error:",t),e}}),e);return i()(t=o()(r).call(r,(function(e){return!!e}))).call(t,(function(e){return!e.get("line")&&e.get("path"),e}))}},2392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{transform:()=>p});var r=n(2991),o=n.n(r),a=n(81643),i=n.n(a),s=n(3649),u=n.n(s),l=n(32366),c=n.n(l);function p(e){return o()(e).call(e,(function(e){var t,n="is not of a type(s)",r=i()(t=e.get("message")).call(t,n);if(r>-1){var o,a,s=u()(o=e.get("message")).call(o,r+n.length).split(",");return e.set("message",u()(a=e.get("message")).call(a,0,r)+function(e){return c()(e).call(e,(function(e,t,n,r){return n===r.length-1&&r.length>1?e+"or "+t:r[n+1]&&r.length>2?e+t+", ":r[n+1]?e+t+" ":e+t}),"should be a")}(s))}return e}))}},21835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{transform:()=>r});n(2991),n(81643),n(27361),n(43393);function r(e,t){t.jsSpec;return e}},77793:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(93527),o=n(34966),a=n(87667);function i(e){return{statePlugins:{err:{reducers:(0,r.default)(e),actions:o,selectors:a}}}}},93527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(87672),o=n.n(r),a=n(51942),i=n.n(a),s=n(2991),u=n.n(s),l=n(77766),c=n.n(l),p=n(20116),f=n.n(p),h=n(10062),d=n.n(h),m=n(34966),v=n(43393),g=n(56982),y={line:0,level:"error",message:"Unknown error"};function b(){var e;return e={},o()(e,m.NEW_THROWN_ERR,(function(e,t){var n=t.payload,r=i()(y,n,{type:"thrown"});return e.update("errors",(function(e){return(e||(0,v.List)()).push((0,v.fromJS)(r))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_THROWN_ERR_BATCH,(function(e,t){var n=t.payload;return n=u()(n).call(n,(function(e){return(0,v.fromJS)(i()(y,e,{type:"thrown"}))})),e.update("errors",(function(e){var t;return c()(t=e||(0,v.List)()).call(t,(0,v.fromJS)(n))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_SPEC_ERR,(function(e,t){var n=t.payload,r=(0,v.fromJS)(n);return r=r.set("type","spec"),e.update("errors",(function(e){return(e||(0,v.List)()).push((0,v.fromJS)(r)).sortBy((function(e){return e.get("line")}))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_SPEC_ERR_BATCH,(function(e,t){var n=t.payload;return n=u()(n).call(n,(function(e){return(0,v.fromJS)(i()(y,e,{type:"spec"}))})),e.update("errors",(function(e){var t;return c()(t=e||(0,v.List)()).call(t,(0,v.fromJS)(n))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.NEW_AUTH_ERR,(function(e,t){var n=t.payload,r=(0,v.fromJS)(i()({},n));return r=r.set("type","auth"),e.update("errors",(function(e){return(e||(0,v.List)()).push((0,v.fromJS)(r))})).update("errors",(function(e){return(0,g.default)(e)}))})),o()(e,m.CLEAR,(function(e,t){var n,r=t.payload;if(!r||!e.get("errors"))return e;var o=f()(n=e.get("errors")).call(n,(function(e){var t;return d()(t=e.keySeq()).call(t,(function(t){var n=e.get(t),o=r[t];return!o||n!==o}))}));return e.merge({errors:o})})),o()(e,m.CLEAR_BY,(function(e,t){var n,r=t.payload;if(!r||"function"!=typeof r)return e;var o=f()(n=e.get("errors")).call(n,(function(e){return r(e)}));return e.merge({errors:o})})),e}},87667:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allErrors:()=>a,lastError:()=>i});var r=n(43393),o=n(20573),a=(0,o.P1)((function(e){return e}),(function(e){return e.get("errors",(0,r.List)())})),i=(0,o.P1)(a,(function(e){return e.last()}))},49978:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4309);function o(){return{fn:{opsFilter:r.default}}}},4309:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(20116),o=n.n(r),a=n(81643),i=n.n(a);function s(e,t){return o()(e).call(e,(function(e,n){return-1!==i()(n).call(n,t)}))}},25474:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_LAYOUT:()=>o,UPDATE_FILTER:()=>a,UPDATE_MODE:()=>i,SHOW:()=>s,updateLayout:()=>u,updateFilter:()=>l,show:()=>c,changeMode:()=>p});var r=n(90242),o="layout_update_layout",a="layout_update_filter",i="layout_update_mode",s="layout_show";function u(e){return{type:o,payload:e}}function l(e){return{type:a,payload:e}}function c(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=(0,r.AF)(e),{type:s,payload:{thing:e,shown:t}}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=(0,r.AF)(e),{type:i,payload:{thing:e,mode:t}}}},26821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(5672),o=n(25474),a=n(4400),i=n(28989);function s(){return{statePlugins:{layout:{reducers:r.default,actions:o,selectors:a},spec:{wrapSelectors:i}}}}},5672:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,o=n(87672),a=n.n(o),i=n(77766),s=n.n(i),u=n(43393),l=n(25474);const c=(r={},a()(r,l.UPDATE_LAYOUT,(function(e,t){return e.set("layout",t.payload)})),a()(r,l.UPDATE_FILTER,(function(e,t){return e.set("filter",t.payload)})),a()(r,l.SHOW,(function(e,t){var n=t.payload.shown,r=(0,u.fromJS)(t.payload.thing);return e.update("shown",(0,u.fromJS)({}),(function(e){return e.set(r,n)}))})),a()(r,l.UPDATE_MODE,(function(e,t){var n,r=t.payload.thing,o=t.payload.mode;return e.setIn(s()(n=["modes"]).call(n,r),(o||"")+"")})),r)},4400:(e,t,n)=>{"use strict";n.r(t),n.d(t,{current:()=>c,currentFilter:()=>p,isShown:()=>f,whatMode:()=>h,showSummary:()=>d});var r=n(59036),o=n.n(r),a=n(77766),i=n.n(a),s=n(20573),u=n(90242),l=n(43393),c=function(e){return e.get("layout")},p=function(e){return e.get("filter")},f=function(e,t,n){return t=(0,u.AF)(t),e.get("shown",(0,l.fromJS)({})).get((0,l.fromJS)(t),n)},h=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t=(0,u.AF)(t),e.getIn(i()(n=["modes"]).call(n,o()(t)),r)},d=(0,s.P1)((function(e){return e}),(function(e){return!f(e,"editor")}))},28989:(e,t,n)=>{"use strict";n.r(t),n.d(t,{taggedOperations:()=>s});var r=n(77766),o=n.n(r),a=n(3649),i=n.n(a),s=function(e,t){return function(n){for(var r,a=arguments.length,s=new Array(a>1?a-1:0),u=1;u=0&&(l=i()(l).call(l,0,m)),l}}},9150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(54103),o=n.n(r);function a(e){var t=e.configs,n={debug:0,info:1,log:2,warn:3,error:4},r=function(e){return n[e]||-1},a=t.logLevel,i=r(a);function s(e){for(var t,n=arguments.length,o=new Array(n>1?n-1:0),a=1;a=i&&(t=console)[e].apply(t,o)}return s.warn=o()(s).call(s,null,"warn"),s.error=o()(s).call(s,null,"error"),s.info=o()(s).call(s,null,"info"),s.debug=o()(s).call(s,null,"debug"),{rootInjects:{log:s}}}},67002:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_SELECTED_SERVER:()=>r,UPDATE_REQUEST_BODY_VALUE:()=>o,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>a,UPDATE_REQUEST_BODY_INCLUSION:()=>i,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>s,UPDATE_REQUEST_CONTENT_TYPE:()=>u,UPDATE_RESPONSE_CONTENT_TYPE:()=>l,UPDATE_SERVER_VARIABLE_VALUE:()=>c,SET_REQUEST_BODY_VALIDATE_ERROR:()=>p,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>f,CLEAR_REQUEST_BODY_VALUE:()=>h,setSelectedServer:()=>d,setRequestBodyValue:()=>m,setRetainRequestBodyValueFlag:()=>v,setRequestBodyInclusion:()=>g,setActiveExamplesMember:()=>y,setRequestContentType:()=>b,setResponseContentType:()=>w,setServerVariableValue:()=>E,setRequestBodyValidateError:()=>x,clearRequestBodyValidateError:()=>_,initRequestBodyValidateError:()=>S,clearRequestBodyValue:()=>k});var r="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",u="oas3_set_request_content_type",l="oas3_set_response_content_type",c="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";function d(e,t){return{type:r,payload:{selectedServerUrl:e,namespace:t}}}function m(e){var t=e.value,n=e.pathMethod;return{type:o,payload:{value:t,pathMethod:n}}}var v=function(e){var t=e.value,n=e.pathMethod;return{type:a,payload:{value:t,pathMethod:n}}};function g(e){var t=e.value,n=e.pathMethod,r=e.name;return{type:i,payload:{value:t,pathMethod:n,name:r}}}function y(e){var t=e.name,n=e.pathMethod,r=e.contextType,o=e.contextName;return{type:s,payload:{name:t,pathMethod:n,contextType:r,contextName:o}}}function b(e){var t=e.value,n=e.pathMethod;return{type:u,payload:{value:t,pathMethod:n}}}function w(e){var t=e.value,n=e.path,r=e.method;return{type:l,payload:{value:t,path:n,method:r}}}function E(e){var t=e.server,n=e.namespace,r=e.key,o=e.val;return{type:c,payload:{server:t,namespace:n,key:r,val:o}}}var x=function(e){var t=e.path,n=e.method,r=e.validationErrors;return{type:p,payload:{path:t,method:n,validationErrors:r}}},_=function(e){var t=e.path,n=e.method;return{type:f,payload:{path:t,method:n}}},S=function(e){var t=e.pathMethod;return{type:f,payload:{path:t[0],method:t[1]}}},k=function(e){var t=e.pathMethod;return{type:h,payload:{pathMethod:t}}}},73723:(e,t,n)=>{"use strict";n.r(t),n.d(t,{definitionsToAuthorize:()=>b});var r=n(87672),o=n.n(r),a=n(18777),i=n.n(a),s=n(77766),u=n.n(s),l=n(78914),c=n.n(l),p=n(20116),f=n.n(p),h=n(32366),d=n.n(h),m=n(20573),v=n(43393),g=n(7779);var y,b=(y=(0,m.P1)((function(e){return e}),(function(e){return e.specSelectors.securityDefinitions()}),(function(e,t){var n,r=(0,v.List)();return t?(c()(n=t.entrySeq()).call(n,(function(e){var t,n=i()(e,2),a=n[0],s=n[1],u=s.get("type");if("oauth2"===u&&c()(t=s.get("flows").entrySeq()).call(t,(function(e){var t=i()(e,2),n=t[0],u=t[1],l=(0,v.fromJS)({flow:n,authorizationUrl:u.get("authorizationUrl"),tokenUrl:u.get("tokenUrl"),scopes:u.get("scopes"),type:s.get("type"),description:s.get("description")});r=r.push(new v.Map(o()({},a,f()(l).call(l,(function(e){return void 0!==e})))))})),"http"!==u&&"apiKey"!==u||(r=r.push(new v.Map(o()({},a,s)))),"openIdConnect"===u&&s.get("openIdConnectData")){var l=s.get("openIdConnectData"),p=l.get("grant_types_supported")||["authorization_code","implicit"];c()(p).call(p,(function(e){var t,n=l.get("scopes_supported")&&d()(t=l.get("scopes_supported")).call(t,(function(e,t){return e.set(t,"")}),new v.Map),i=(0,v.fromJS)({flow:e,authorizationUrl:l.get("authorization_endpoint"),tokenUrl:l.get("token_endpoint"),scopes:n,type:"oauth2",openIdConnectUrl:s.get("openIdConnectUrl")});r=r.push(new v.Map(o()({},a,f()(i).call(i,(function(e){return void 0!==e})))))}))}})),r):r})),function(e,t){return function(){for(var n=t.getSystem().specSelectors.specJson(),r=arguments.length,o=new Array(r),a=0;a{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(5872),o=n.n(r),a=n(18777),i=n.n(a),s=n(2991),u=n.n(s),l=n(67294),c=(n(23930),n(43393));const p=function(e){var t,n=e.callbacks,r=e.getComponent,a=e.specPath,s=r("OperationContainer",!0);if(!n)return l.createElement("span",null,"No callbacks");var p=u()(t=n.entrySeq()).call(t,(function(t){var n,r=i()(t,2),p=r[0],f=r[1];return l.createElement("div",{key:p},l.createElement("h2",null,p),u()(n=f.entrySeq()).call(n,(function(t){var n,r=i()(t,2),f=r[0],h=r[1];return"$$ref"===f?null:l.createElement("div",{key:f},u()(n=h.entrySeq()).call(n,(function(t){var n=i()(t,2),r=n[0],u=n[1];if("$$ref"===r)return null;var h=(0,c.fromJS)({operation:u});return l.createElement(s,o()({},e,{op:h,key:r,tag:"",method:r,path:f,specPath:a.push(p,f,r),allowTryItOut:!1}))})))})))}));return l.createElement("div",null,p)}},86775:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(51942),v=n.n(m),g=n(20116),y=n.n(g),b=n(2991),w=n.n(b),E=n(67294),x=function(e){c()(n,e);var t=f()(n);function n(e,r){var a;o()(this,n),a=t.call(this,e,r),d()(u()(a),"onChange",(function(e){var t=a.props.onChange,n=e.target,r=n.value,o=n.name,i=v()({},a.state.value);o?i[o]=r:i=r,a.setState({value:i},(function(){return t(a.state)}))}));var i=a.props,s=i.name,l=i.schema,c=a.getValue();return a.state={name:s,schema:l,value:c},a}return i()(n,[{key:"getValue",value:function(){var e=this.props,t=e.name,n=e.authorized;return n&&n.getIn([t,"value"])}},{key:"render",value:function(){var e,t,n=this.props,r=n.schema,o=n.getComponent,a=n.errSelectors,i=n.name,s=o("Input"),u=o("Row"),l=o("Col"),c=o("authError"),p=o("Markdown",!0),f=o("JumpToPath",!0),h=(r.get("scheme")||"").toLowerCase(),d=this.getValue(),m=y()(e=a.allErrors()).call(e,(function(e){return e.get("authId")===i}));if("basic"===h){var v,g=d?d.get("username"):null;return E.createElement("div",null,E.createElement("h4",null,E.createElement("code",null,i||r.get("name")),"  (http, Basic)",E.createElement(f,{path:["securityDefinitions",i]})),g&&E.createElement("h6",null,"Authorized"),E.createElement(u,null,E.createElement(p,{source:r.get("description")})),E.createElement(u,null,E.createElement("label",null,"Username:"),g?E.createElement("code",null," ",g," "):E.createElement(l,null,E.createElement(s,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),E.createElement(u,null,E.createElement("label",null,"Password:"),g?E.createElement("code",null," ****** "):E.createElement(l,null,E.createElement(s,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),w()(v=m.valueSeq()).call(v,(function(e,t){return E.createElement(c,{error:e,key:t})})))}return"bearer"===h?E.createElement("div",null,E.createElement("h4",null,E.createElement("code",null,i||r.get("name")),"  (http, Bearer)",E.createElement(f,{path:["securityDefinitions",i]})),d&&E.createElement("h6",null,"Authorized"),E.createElement(u,null,E.createElement(p,{source:r.get("description")})),E.createElement(u,null,E.createElement("label",null,"Value:"),d?E.createElement("code",null," ****** "):E.createElement(l,null,E.createElement(s,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),w()(t=m.valueSeq()).call(t,(function(e,t){return E.createElement(c,{error:e,key:t})}))):E.createElement("div",null,E.createElement("em",null,E.createElement("b",null,i)," HTTP authentication: unsupported scheme ","'".concat(h,"'")))}}]),n}(E.Component)},76467:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(33427),o=n(42458),a=n(15757),i=n(56617),s=n(9928),u=n(45327),l=n(86775),c=n(96796);const p={Callbacks:r.default,HttpAuth:l.default,RequestBody:o.default,Servers:i.default,ServersContainer:s.default,RequestBodyEditor:u.default,OperationServers:c.default,operationLink:a.default}},15757:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(51379),u=n.n(s),l=n(10098),c=n.n(l),p=n(59340),f=n.n(p),h=n(2991),d=n.n(h),m=n(67294),v=(n(23930),function(e){u()(n,e);var t=c()(n);function n(){return o()(this,n),t.apply(this,arguments)}return i()(n,[{key:"render",value:function(){var e=this.props,t=e.link,n=e.name,r=(0,e.getComponent)("Markdown",!0),o=t.get("operationId")||t.get("operationRef"),a=t.get("parameters")&&t.get("parameters").toJS(),i=t.get("description");return m.createElement("div",{className:"operation-link"},m.createElement("div",{className:"description"},m.createElement("b",null,m.createElement("code",null,n)),i?m.createElement(r,{source:i}):null),m.createElement("pre",null,"Operation `",o,"`",m.createElement("br",null),m.createElement("br",null),"Parameters ",function(e,t){var n;if("string"!=typeof t)return"";return d()(n=t.split("\n")).call(n,(function(t,n){return n>0?Array(e+1).join(" ")+t:t})).join("\n")}(0,f()(a,null,2))||"{}",m.createElement("br",null)))}}]),n}(m.Component));const g=v},96796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(95945),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(77766),y=n.n(g),b=n(67294),w=(n(23930),function(e){f()(n,e);var t=d()(n);function n(){var e,r;i()(this,n);for(var a=arguments.length,s=new Array(a),u=0;u{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(5824),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(87672),d=n.n(h),m=n(67294),v=n(94184),g=n.n(v),y=n(90242),b=Function.prototype,w=function(e){c()(n,e);var t=f()(n);function n(e,r){var a;return o()(this,n),a=t.call(this,e,r),d()(u()(a),"applyDefaultValue",(function(e){var t=e||a.props,n=t.onChange,r=t.defaultValue;return a.setState({value:r}),n(r)})),d()(u()(a),"onChange",(function(e){a.props.onChange((0,y.Pz)(e))})),d()(u()(a),"onDomChange",(function(e){var t=e.target.value;a.setState({value:t},(function(){return a.onChange(t)}))})),a.state={value:(0,y.Pz)(e.value)||e.defaultValue},e.onChange(e.value),a}return i()(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:(0,y.Pz)(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}},{key:"render",value:function(){var e=this.props,t=e.getComponent,n=e.errors,r=this.state.value,o=n.size>0,a=t("TextArea");return m.createElement("div",{className:"body-param"},m.createElement(a,{className:g()("body-param__text",{invalid:o}),title:n.size?n.join(", "):"",value:r,onChange:this.onDomChange}))}}]),n}(m.PureComponent);d()(w,"defaultProps",{onChange:b,userHasEditedBody:!1})},42458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDefaultRequestBodyValue:()=>b,default:()=>w});var r=n(18777),o=n.n(r),a=n(2991),i=n.n(a),s=n(81643),u=n.n(s),l=n(78580),c=n.n(l),p=n(77766),f=n.n(p),h=n(41511),d=n.n(h),m=n(67294),v=(n(23930),n(43393)),g=n(90242),y=n(2518),b=function(e,t,n){var r=e.getIn(["content",t]),o=r.get("schema").toJS(),a=void 0!==r.get("examples"),i=r.get("example"),s=a?r.getIn(["examples",n,"value"]):i,u=(0,g.xi)(o,t,{includeWriteOnly:!0},s);return(0,g.Pz)(u)};const w=function(e){var t=e.userHasEditedBody,n=e.requestBody,r=e.requestBodyValue,a=e.requestBodyInclusionSetting,s=e.requestBodyErrors,l=e.getComponent,p=e.getConfigs,h=e.specSelectors,w=e.fn,E=e.contentType,x=e.isExecute,_=e.specPath,S=e.onChange,k=e.onChangeIncludeEmpty,A=e.activeExamplesKey,C=e.updateActiveExamplesKey,O=e.setRetainRequestBodyValueFlag,j=function(e){var t={key:e,shouldDispatchInit:!1,defaultValue:!0};return"no value"===a.get(e,"no value")&&(t.shouldDispatchInit=!0),t},I=l("Markdown",!0),T=l("modelExample"),N=l("RequestBodyEditor"),P=l("highlightCode"),R=l("ExamplesSelectValueRetainer"),M=l("Example"),D=l("ParameterIncludeEmpty"),L=p().showCommonExtensions,B=n&&n.get("description")||null,F=n&&n.get("content")||new v.OrderedMap;E=E||F.keySeq().first()||"";var z=F.get(E,(0,v.OrderedMap)()),U=z.get("schema",(0,v.OrderedMap)()),q=z.get("examples",null),V=null==q?void 0:i()(q).call(q,(function(e,t){var r,o=null===(r=e)||void 0===r?void 0:r.get("value",null);return o&&(e=e.set("value",b(n,E,t),o)),e}));if(s=v.List.isList(s)?s:(0,v.List)(),!z.size)return null;var W="object"===z.getIn(["schema","type"]),H="binary"===z.getIn(["schema","format"]),$="base64"===z.getIn(["schema","format"]);if("application/octet-stream"===E||0===u()(E).call(E,"image/")||0===u()(E).call(E,"audio/")||0===u()(E).call(E,"video/")||H||$){var J=l("Input");return x?m.createElement(J,{type:"file",onChange:function(e){S(e.target.files[0])}}):m.createElement("i",null,"Example values are not available for ",m.createElement("code",null,E)," media types.")}if(W&&("application/x-www-form-urlencoded"===E||0===u()(E).call(E,"multipart/"))&&U.get("properties",(0,v.OrderedMap)()).size>0){var K,G=l("JsonSchemaForm"),Z=l("ParameterExt"),Y=U.get("properties",(0,v.OrderedMap)());return r=v.Map.isMap(r)?r:(0,v.OrderedMap)(),m.createElement("div",{className:"table-container"},B&&m.createElement(I,{source:B}),m.createElement("table",null,m.createElement("tbody",null,v.Map.isMap(Y)&&i()(K=Y.entrySeq()).call(K,(function(e){var t,n,u=o()(e,2),p=u[0],h=u[1];if(!h.get("readOnly")){var y=L?(0,g.po)(h):null,b=c()(t=U.get("required",(0,v.List)())).call(t,p),E=h.get("type"),_=h.get("format"),A=h.get("description"),C=r.getIn([p,"value"]),O=r.getIn([p,"errors"])||s,T=a.get(p)||!1,N=h.has("default")||h.has("example")||h.hasIn(["items","example"])||h.hasIn(["items","default"]),P=h.has("enum")&&(1===h.get("enum").size||b),R=N||P,M="";"array"!==E||R||(M=[]),("object"===E||R)&&(M=(0,g.xi)(h,!1,{includeWriteOnly:!0})),"string"!=typeof M&&"object"===E&&(M=(0,g.Pz)(M)),"string"==typeof M&&"array"===E&&(M=JSON.parse(M));var B="string"===E&&("binary"===_||"base64"===_);return m.createElement("tr",{key:p,className:"parameters","data-property-name":p},m.createElement("td",{className:"parameters-col_name"},m.createElement("div",{className:b?"parameter__name required":"parameter__name"},p,b?m.createElement("span",null," *"):null),m.createElement("div",{className:"parameter__type"},E,_&&m.createElement("span",{className:"prop-format"},"($",_,")"),L&&y.size?i()(n=y.entrySeq()).call(n,(function(e){var t,n=o()(e,2),r=n[0],a=n[1];return m.createElement(Z,{key:f()(t="".concat(r,"-")).call(t,a),xKey:r,xVal:a})})):null),m.createElement("div",{className:"parameter__deprecated"},h.get("deprecated")?"deprecated":null)),m.createElement("td",{className:"parameters-col_description"},m.createElement(I,{source:A}),x?m.createElement("div",null,m.createElement(G,{fn:w,dispatchInitialValue:!B,schema:h,description:p,getComponent:l,value:void 0===C?M:C,required:b,errors:O,onChange:function(e){S(e,[p])}}),b?null:m.createElement(D,{onChange:function(e){return k(p,e)},isIncluded:T,isIncludedOptions:j(p),isDisabled:d()(C)?0!==C.length:!(0,g.O2)(C)})):null))}})))))}var Q=b(n,E,A),X=null;return(0,y.O)(Q)&&(X="json"),m.createElement("div",null,B&&m.createElement(I,{source:B}),V?m.createElement(R,{userHasEditedBody:t,examples:V,currentKey:A,currentUserInputValue:r,onSelect:function(e){C(e)},updateValue:S,defaultToFirstExample:!0,getComponent:l,setRetainRequestBodyValueFlag:O}):null,x?m.createElement("div",null,m.createElement(N,{value:r,errors:s,defaultValue:Q,onChange:S,getComponent:l})):m.createElement(T,{getComponent:l,getConfigs:p,specSelectors:h,expandDepth:1,isExecute:x,schema:z.get("schema"),specPath:_.push("content",E),example:m.createElement(P,{className:"body-param__example",getConfigs:p,language:X,value:(0,g.Pz)(r)||Q}),includeWriteOnly:!0}),V?m.createElement(M,{example:V.get(A),getComponent:l,getConfigs:p}):null)}},9928:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(51379),u=n.n(s),l=n(10098),c=n.n(l),p=n(67294),f=function(e){u()(n,e);var t=c()(n);function n(){return o()(this,n),t.apply(this,arguments)}return i()(n,[{key:"render",value:function(){var e=this.props,t=e.specSelectors,n=e.oas3Selectors,r=e.oas3Actions,o=e.getComponent,a=t.servers(),i=o("Servers");return a&&a.size?p.createElement("div",null,p.createElement("span",{className:"servers-title"},"Servers"),p.createElement(i,{servers:a,currentServer:n.selectedServer(),setSelectedServer:r.setSelectedServer,setServerVariableValue:r.setServerVariableValue,getServerVariable:n.serverVariableValue,getEffectiveServerValue:n.serverEffectiveValue})):null}}]),n}(p.Component)},56617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var r=n(18777),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(5824),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(87672),v=n.n(m),g=n(77766),y=n.n(g),b=n(94473),w=n.n(b),E=n(2991),x=n.n(E),_=n(67294),S=n(43393),k=(n(23930),function(e){f()(n,e);var t=d()(n);function n(){var e,r;i()(this,n);for(var o=arguments.length,a=new Array(o),s=0;s{"use strict";n.r(t),n.d(t,{isOAS3:()=>u,isSwagger2:()=>l,OAS3ComponentWrapFactory:()=>c});var r=n(5872),o=n.n(r),a=n(29828),i=n.n(a),s=n(67294);function u(e){var t=e.get("openapi");return"string"==typeof t&&(i()(t).call(t,"3.0.")&&t.length>4)}function l(e){var t=e.get("swagger");return"string"==typeof t&&i()(t).call(t,"2.0")}function c(e){return function(t,n){return function(r){return n&&n.specSelectors&&n.specSelectors.specJson?u(n.specSelectors.specJson())?s.createElement(e,o()({},r,n,{Ori:t})):s.createElement(t,r):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},97451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(92044),o=n(73723),a=n(91741),i=n(76467),s=n(37761),u=n(67002),l=n(5065),c=n(62109);function p(){return{components:i.default,wrapComponents:s.default,statePlugins:{spec:{wrapSelectors:r,selectors:a},auth:{wrapSelectors:o},oas3:{actions:u,reducers:c.default,selectors:l}}}}},62109:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r,o=n(87672),a=n.n(o),i=n(71064),s=n.n(i),u=n(18777),l=n.n(u),c=n(69301),p=n.n(c),f=n(3649),h=n.n(f),d=n(78914),m=n.n(d),v=n(32366),g=n.n(v),y=n(43393),b=n(67002);const w=(r={},a()(r,b.UPDATE_SELECTED_SERVER,(function(e,t){var n=t.payload,r=n.selectedServerUrl,o=n.namespace,a=o?[o,"selectedServer"]:["selectedServer"];return e.setIn(a,r)})),a()(r,b.UPDATE_REQUEST_BODY_VALUE,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=l()(o,2),i=a[0],u=a[1];if(!y.Map.isMap(r))return e.setIn(["requestData",i,u,"bodyValue"],r);var c,f=e.getIn(["requestData",i,u,"bodyValue"])||(0,y.Map)();y.Map.isMap(f)||(f=(0,y.Map)());var d=p()(r).call(r),v=s()(d),g=h()(v).call(v,0);return m()(g).call(g,(function(e){var t=r.getIn([e]);f.has(e)&&y.Map.isMap(t)||(c=f.setIn([e,"value"],t))})),e.setIn(["requestData",i,u,"bodyValue"],c)})),a()(r,b.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=l()(o,2),i=a[0],s=a[1];return e.setIn(["requestData",i,s,"retainBodyValue"],r)})),a()(r,b.UPDATE_REQUEST_BODY_INCLUSION,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=n.name,i=l()(o,2),s=i[0],u=i[1];return e.setIn(["requestData",s,u,"bodyInclusion",a],r)})),a()(r,b.UPDATE_ACTIVE_EXAMPLES_MEMBER,(function(e,t){var n=t.payload,r=n.name,o=n.pathMethod,a=n.contextType,i=n.contextName,s=l()(o,2),u=s[0],c=s[1];return e.setIn(["examples",u,c,a,i,"activeExample"],r)})),a()(r,b.UPDATE_REQUEST_CONTENT_TYPE,(function(e,t){var n=t.payload,r=n.value,o=n.pathMethod,a=l()(o,2),i=a[0],s=a[1];return e.setIn(["requestData",i,s,"requestContentType"],r)})),a()(r,b.UPDATE_RESPONSE_CONTENT_TYPE,(function(e,t){var n=t.payload,r=n.value,o=n.path,a=n.method;return e.setIn(["requestData",o,a,"responseContentType"],r)})),a()(r,b.UPDATE_SERVER_VARIABLE_VALUE,(function(e,t){var n=t.payload,r=n.server,o=n.namespace,a=n.key,i=n.val,s=o?[o,"serverVariableValues",r,a]:["serverVariableValues",r,a];return e.setIn(s,i)})),a()(r,b.SET_REQUEST_BODY_VALIDATE_ERROR,(function(e,t){var n=t.payload,r=n.path,o=n.method,a=n.validationErrors,i=[];if(i.push("Required field is not provided"),a.missingBodyValue)return e.setIn(["requestData",r,o,"errors"],(0,y.fromJS)(i));if(a.missingRequiredKeys&&a.missingRequiredKeys.length>0){var s=a.missingRequiredKeys;return e.updateIn(["requestData",r,o,"bodyValue"],(0,y.fromJS)({}),(function(e){return g()(s).call(s,(function(e,t){return e.setIn([t,"errors"],(0,y.fromJS)(i))}),e)}))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),e})),a()(r,b.CLEAR_REQUEST_BODY_VALIDATE_ERROR,(function(e,t){var n=t.payload,r=n.path,o=n.method,a=e.getIn(["requestData",r,o,"bodyValue"]);if(!y.Map.isMap(a))return e.setIn(["requestData",r,o,"errors"],(0,y.fromJS)([]));var i=p()(a).call(a),u=s()(i),l=h()(u).call(u,0);return l?e.updateIn(["requestData",r,o,"bodyValue"],(0,y.fromJS)({}),(function(e){return g()(l).call(l,(function(e,t){return e.setIn([t,"errors"],(0,y.fromJS)([]))}),e)})):e})),a()(r,b.CLEAR_REQUEST_BODY_VALUE,(function(e,t){var n=t.payload.pathMethod,r=l()(n,2),o=r[0],a=r[1],i=e.getIn(["requestData",o,a,"bodyValue"]);return i?y.Map.isMap(i)?e.setIn(["requestData",o,a,"bodyValue"],(0,y.Map)()):e.setIn(["requestData",o,a,"bodyValue"],""):e})),r)},5065:(e,t,n)=>{"use strict";n.r(t),n.d(t,{selectedServer:()=>E,requestBodyValue:()=>x,shouldRetainRequestBodyValue:()=>_,hasUserEditedBody:()=>S,requestBodyInclusionSetting:()=>k,requestBodyErrors:()=>A,activeExamplesMember:()=>C,requestContentType:()=>O,responseContentType:()=>j,serverVariableValue:()=>I,serverVariables:()=>T,serverEffectiveValue:()=>N,validateBeforeExecute:()=>P,validateShallowRequired:()=>R});var r=n(59036),o=n.n(r),a=n(77766),i=n.n(a),s=n(2991),u=n.n(s),l=n(78914),c=n.n(l),p=n(86902),f=n.n(p),h=n(81643),d=n.n(h),m=n(43393),v=n(7779),g=n(42458),y=n(90242);function b(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r{"use strict";n.r(t),n.d(t,{servers:()=>c,isSwagger2:()=>p});var r=n(20573),o=n(43393),a=n(7779);var i,s=function(e){return e||(0,o.Map)()},u=(0,r.P1)(s,(function(e){return e.get("json",(0,o.Map)())})),l=(0,r.P1)(s,(function(e){return e.get("resolved",(0,o.Map)())})),c=(i=(0,r.P1)((function(e){var t=l(e);return t.count()<1&&(t=u(e)),t}),(function(e){return e.getIn(["servers"])||(0,o.Map)()})),function(){return function(e){var t=e.getSystem().specSelectors.specJson();if((0,a.isOAS3)(t)){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{"use strict";n.r(t),n.d(t,{definitions:()=>h,hasHost:()=>d,securityDefinitions:()=>m,host:()=>v,basePath:()=>g,consumes:()=>y,produces:()=>b,schemes:()=>w,servers:()=>E,isOAS3:()=>x,isSwagger2:()=>_});var r=n(20573),o=n(33881),a=n(43393),i=n(7779);function s(e){return function(t,n){return function(){var r=n.getSystem().specSelectors.specJson();return(0,i.isOAS3)(r)?e.apply(void 0,arguments):t.apply(void 0,arguments)}}}var u=function(e){return e||(0,a.Map)()},l=s((0,r.P1)((function(){return null}))),c=(0,r.P1)(u,(function(e){return e.get("json",(0,a.Map)())})),p=(0,r.P1)(u,(function(e){return e.get("resolved",(0,a.Map)())})),f=function(e){var t=p(e);return t.count()<1&&(t=c(e)),t},h=s((0,r.P1)(f,(function(e){var t=e.getIn(["components","schemas"]);return a.Map.isMap(t)?t:(0,a.Map)()}))),d=s((function(e){return f(e).hasIn(["servers",0])})),m=s((0,r.P1)(o.specJsonWithResolvedSubtrees,(function(e){return e.getIn(["components","securitySchemes"])||null}))),v=l,g=l,y=l,b=l,w=l,E=s((0,r.P1)(f,(function(e){return e.getIn(["servers"])||(0,a.Map)()}))),x=function(e,t){return function(){var e=t.getSystem().specSelectors.specJson();return(0,i.isOAS3)(a.Map.isMap(e)?e:(0,a.Map)())}},_=function(e,t){return function(){var e=t.getSystem().specSelectors.specJson();return(0,i.isSwagger2)(a.Map.isMap(e)?e:(0,a.Map)())}}},70356:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(80122),o=n.n(r),a=n(67294),i=n(7779),s=["Ori"];const u=(0,i.OAS3ComponentWrapFactory)((function(e){var t=e.Ori,n=o()(e,s),r=n.schema,i=n.getComponent,u=n.errSelectors,l=n.authorized,c=n.onAuthChange,p=n.name,f=i("HttpAuth");return"http"===r.get("type")?a.createElement(f,{key:p,schema:r,name:p,errSelectors:u,authorized:l,getComponent:i,onChange:c}):a.createElement(t,n)}))},37761:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(22460),o=n(70356),a=n(69487),i=n(50058),s=n(53499),u=n(90287);const l={Markdown:r.default,AuthItem:o.default,JsonSchema_string:u.default,VersionStamp:a.default,model:s.default,onlineValidatorBadge:i.default}},90287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(80122),o=n.n(r),a=n(67294),i=n(7779),s=["Ori"];const u=(0,i.OAS3ComponentWrapFactory)((function(e){var t=e.Ori,n=o()(e,s),r=n.schema,i=n.getComponent,u=n.errors,l=n.onChange,c=r&&r.get?r.get("format"):null,p=r&&r.get?r.get("type"):null,f=i("Input");return p&&"string"===p&&c&&("binary"===c||"base64"===c)?a.createElement(f,{type:"file",className:u.length?"invalid":"",title:u.length?u:"",onChange:function(e){l(e.target.files[0])},disabled:t.isDisabled}):a.createElement(t,n)}))},22460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Markdown:()=>f,default:()=>h});var r=n(25843),o=n.n(r),a=n(67294),i=n(94184),s=n.n(i),u=n(89927),l=n(7779),c=n(86019),p=new u._("commonmark");p.block.ruler.enable(["table"]),p.set({linkTarget:"_blank"});var f=function(e){var t=e.source,n=e.className,r=void 0===n?"":n,i=e.getConfigs;if("string"!=typeof t)return null;if(t){var u,l=i().useUnsafeMarkdown,f=p.render(t),h=(0,c.s)(f,{useUnsafeMarkdown:l});return"string"==typeof h&&(u=o()(h).call(h)),a.createElement("div",{dangerouslySetInnerHTML:{__html:u},className:s()(r,"renderedMarkdown")})}return null};f.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const h=(0,l.OAS3ComponentWrapFactory)(f)},53499:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(5872),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(67294),d=n(7779),m=n(53795),v=function(e){c()(n,e);var t=f()(n);function n(){return i()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.getConfigs,n=["model-box"],r=null;return!0===e.schema.get("deprecated")&&(n.push("deprecated"),r=h.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),h.createElement("div",{className:n.join(" ")},r,h.createElement(m.Z,o()({},this.props,{getConfigs:t,depth:1,expandDepth:this.props.expandDepth||0})))}}]),n}(h.Component);const g=(0,d.OAS3ComponentWrapFactory)(v)},50058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7779),o=n(5623);const a=(0,r.OAS3ComponentWrapFactory)(o.Z)},69487:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(67294);const o=(0,n(7779).OAS3ComponentWrapFactory)((function(e){var t=e.Ori;return r.createElement("span",null,r.createElement(t,e),r.createElement("small",{className:"version-stamp"},r.createElement("pre",{className:"version"},"OAS3")))}))},28560:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(33032),o=n.n(r),a=!1;function i(){return{statePlugins:{spec:{wrapActions:{updateSpec:function(e){return function(){return a=!0,e.apply(void 0,arguments)}},updateJsonSpec:function(e,t){return function(){var n=t.getConfigs().onComplete;return a&&"function"==typeof n&&(o()(n,0),a=!1),e.apply(void 0,arguments)}}}}}}}},92135:(e,t,n)=>{"use strict";n.r(t),n.d(t,{requestSnippetGenerator_curl_powershell:()=>P,requestSnippetGenerator_curl_bash:()=>R,requestSnippetGenerator_curl_cmd:()=>M});var r=n(59036),o=n.n(r),a=n(18777),i=n.n(a),s=n(86418),u=n.n(s),l=n(81643),c=n.n(l),p=n(25843),f=n.n(p),h=n(77766),d=n.n(h),m=n(59340),v=n.n(m),g=n(2991),y=n.n(g),b=n(39291),w=n.n(b),E=n(72119),x=n.n(E),_=n(78580),S=n.n(_),k=n(27504),A=n(43393),C=function(e){var t,n="_**[]";return c()(e).call(e,n)<0?e:f()(t=e.split(n)[0]).call(t)},O=function(e){return"-d "===e||/^[_\/-]/g.test(e)?e:"'"+e.replace(/'/g,"'\\''")+"'"},j=function(e){return"-d "===(e=e.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?e.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(e)?e:'"'+e+'"'},I=function(e){return"-d "===e?e:/\n/.test(e)?'@"\n'+e.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(e)?e:"'"+e.replace(/"/g,'""').replace(/'/g,"''")+"'"};function T(e){var t,n=[],r=u()(e.get("body").entrySeq());try{for(r.s();!(t=r.n()).done;){var o,a,s,l=i()(t.value,2),c=l[0],p=l[1],f=C(c);if(p instanceof k.Z.File)n.push(d()(o=d()(a=' "'.concat(f,'": {\n "name": "')).call(a,p.name,'"')).call(o,p.type?',\n "type": "'.concat(p.type,'"'):"","\n }"));else n.push(d()(s=' "'.concat(f,'": ')).call(s,v()(p,null,2).replace(/(\r\n|\r|\n)/g,"\n ")))}}catch(e){r.e(e)}finally{r.f()}return"{\n".concat(n.join(",\n"),"\n}")}var N=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=!1,s="",l=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:1;return s+=w()(e=" ").call(e,t)},h=e.get("headers");if(s+="curl"+r,e.has("curlOptions")&&l.apply(void 0,o()(e.get("curlOptions"))),l("-X",e.get("method")),p(),f(),c("".concat(e.get("url"))),h&&h.size){var m,g,b=u()(x()(m=e.get("headers")).call(m));try{for(b.s();!(g=b.n()).done;){var E,_=g.value;p(),f();var O=i()(_,2),j=O[0],I=O[1];c("-H",d()(E="".concat(j,": ")).call(E,I)),a=a||/^content-type$/i.test(j)&&/^multipart\/form-data$/i.test(I)}}catch(e){b.e(e)}finally{b.f()}}var N,P=e.get("body");if(P)if(a&&S()(N=["POST","PUT","PATCH"]).call(N,e.get("method"))){var R,M=u()(P.entrySeq());try{for(M.s();!(R=M.n()).done;){var D,L,B,F=i()(R.value,2),z=F[0],U=F[1],q=C(z);if(p(),f(),c("-F"),U instanceof k.Z.File)l(d()(D=d()(L="".concat(q,"=@")).call(L,U.name)).call(D,U.type?";type=".concat(U.type):""));else l(d()(B="".concat(q,"=")).call(B,U))}}catch(e){M.e(e)}finally{M.f()}}else if(P instanceof k.Z.File)p(),f(),c("--data-binary '@".concat(P.name,"'"));else{p(),f(),c("-d ");var V=P;A.Map.isMap(V)?c(T(e)):("string"!=typeof V&&(V=v()(V)),c(V))}else P||"POST"!==e.get("method")||(p(),f(),c("-d ''"));return s},P=function(e){return N(e,I,"`\n",".exe")},R=function(e){return N(e,O,"\\\n")},M=function(e){return N(e,j,"^\n")}},86575:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(92135),o=n(4669),a=n(84206);const i=function(){return{components:{RequestSnippets:a.default},fn:r,statePlugins:{requestSnippets:{selectors:o}}}}},84206:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(18777),o=n.n(r),a=n(20116),i=n.n(a),s=n(66419),u=n.n(s),l=n(78914),c=n.n(l),p=n(2991),f=n.n(p),h=n(67294),d=n(27361),m=n.n(d),v=n(23560),g=n.n(v),y=n(74855),b=n(36581),w={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},E={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"};const x=function(e){var t,n,r=e.request,a=e.requestSnippetsSelectors,s=e.getConfigs,l=g()(s)?s():null,p=!1!==m()(l,"syntaxHighlight")&&m()(l,"syntaxHighlight.activated",!0),d=(0,h.useRef)(null),v=(0,h.useState)(null===(t=a.getSnippetGenerators())||void 0===t?void 0:t.keySeq().first()),x=o()(v,2),_=x[0],S=x[1],k=(0,h.useState)(null==a?void 0:a.getDefaultExpanded()),A=o()(k,2),C=A[0],O=A[1];(0,h.useEffect)((function(){}),[]),(0,h.useEffect)((function(){var e,t=i()(e=u()(d.current.childNodes)).call(e,(function(e){var t;return!!e.nodeType&&(null===(t=e.classList)||void 0===t?void 0:t.contains("curl-command"))}));return c()(t).call(t,(function(e){return e.addEventListener("mousewheel",R,{passive:!1})})),function(){c()(t).call(t,(function(e){return e.removeEventListener("mousewheel",R)}))}}),[r]);var j=a.getSnippetGenerators(),I=j.get(_),T=I.get("fn")(r),N=function(){O(!C)},P=function(e){return e===_?E:w},R=function(e){var t=e.target,n=e.deltaY,r=t.scrollHeight,o=t.offsetHeight,a=t.scrollTop;r>o&&(0===a&&n<0||o+a>=r&&n>0)&&e.preventDefault()},M=p?h.createElement(b.d3,{language:I.get("syntax"),className:"curl microlight",style:(0,b.C2)(m()(l,"syntaxHighlight.theme"))},T):h.createElement("textarea",{readOnly:!0,className:"curl",value:T});return h.createElement("div",{className:"request-snippets",ref:d},"Just a test",h.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},h.createElement("h4",{onClick:function(){return N()},style:{cursor:"pointer"}},"Snippets"),h.createElement("button",{onClick:function(){return N()},style:{border:"none",background:"none"},title:C?"Collapse operation":"Expand operation"},h.createElement("svg",{className:"arrow",width:"10",height:"10"},h.createElement("use",{href:C?"#large-arrow-down":"#large-arrow",xlinkHref:C?"#large-arrow-down":"#large-arrow"})))),C&&h.createElement("div",{className:"curl-command"},h.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},f()(n=j.entrySeq()).call(n,(function(e){var t=o()(e,2),n=t[0],r=t[1];return h.createElement("div",{style:P(n),className:"btn",key:n,onClick:function(){return function(e){_!==e&&S(e)}(n)}},h.createElement("h4",{style:n===_?{color:"white"}:{}},r.get("title")))}))),h.createElement("div",{className:"copy-to-clipboard"},h.createElement(y.CopyToClipboard,{text:T},h.createElement("button",null))),h.createElement("div",null,M)))}},4669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getGenerators:()=>f,getSnippetGenerators:()=>h,getActiveLanguage:()=>d,getDefaultExpanded:()=>m});var r=n(20116),o=n.n(r),a=n(78580),i=n.n(a),s=n(2991),u=n.n(s),l=n(20573),c=n(43393),p=function(e){return e||(0,c.Map)()},f=(0,l.P1)(p,(function(e){var t=e.get("languages"),n=e.get("generators",(0,c.Map)());return!t||t.isEmpty()?n:o()(n).call(n,(function(e,n){return i()(t).call(t,n)}))})),h=function(e){return function(t){var n,r,a=t.fn;return o()(n=u()(r=f(e)).call(r,(function(e,t){var n=function(e){return a["requestSnippetGenerator_".concat(e)]}(t);return"function"!=typeof n?null:e.set("fn",n)}))).call(n,(function(e){return e}))}},d=(0,l.P1)(p,(function(e){return e.get("activeLanguage")})),m=(0,l.P1)(p,(function(e){return e.get("defaultExpanded")}))},36195:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorBoundary:()=>v,default:()=>g});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(51379),u=n.n(s),l=n(10098),c=n.n(l),p=n(77766),f=n.n(p),h=n(67294),d=n(56189),m=n(29403),v=function(e){u()(n,e);var t=c()(n);function n(){var e,r;o()(this,n);for(var a=arguments.length,i=new Array(a),s=0;s{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(67294);const o=function(e){var t=e.name;return r.createElement("div",{className:"fallback"},"😱 ",r.createElement("i",null,"Could not render ","t"===t?"this component":t,", see the console."))}},56189:(e,t,n)=>{"use strict";n.r(t),n.d(t,{componentDidCatch:()=>d,withErrorBoundary:()=>m});var r=n(5872),o=n.n(r),a=n(26394),i=n.n(a),s=n(69198),u=n.n(s),l=n(51379),c=n.n(l),p=n(10098),f=n.n(p),h=n(67294),d=console.error,m=function(e){return function(t){var n,r=e(),a=r.getComponent,s=r.fn,l=a("ErrorBoundary"),p=s.getDisplayName(t),d=function(e){c()(r,e);var n=f()(r);function r(){return i()(this,r),n.apply(this,arguments)}return u()(r,[{key:"render",value:function(){return h.createElement(l,{targetName:p,getComponent:a,fn:s},h.createElement(t,o()({},this.props,this.context)))}}]),r}(h.Component);return d.displayName="WithErrorBoundary(".concat(p,")"),(n=t).prototype&&n.prototype.isReactComponent&&(d.prototype.mapStateToProps=t.prototype.mapStateToProps),d}}},27621:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(59036),o=n.n(r),a=n(77766),i=n.n(a),s=n(44494),u=n.n(s),l=n(7287),c=n.n(l),p=n(36195),f=n(29403),h=n(56189);const d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.componentList,n=void 0===t?[]:t,r=e.fullOverride,a=void 0!==r&&r;return function(e){var t,r,s=e.getSystem,l=a?n:i()(t=[]).call(t,["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper"],o()(n)),d=c()(l,u()(r=Array(l.length)).call(r,(function(e,t){return t.fn.withErrorBoundary(e)})));return{fn:{componentDidCatch:h.componentDidCatch,withErrorBoundary:(0,h.withErrorBoundary)(s)},components:{ErrorBoundary:p.default,Fallback:f.default},wrapComponents:d}}}},57050:(e,t,n)=>{"use strict";n.r(t),n.d(t,{sampleFromSchemaGeneric:()=>U,inferSchema:()=>q,createXMLExample:()=>V,sampleFromSchema:()=>W,memoizedCreateXMLExample:()=>$,memoizedSampleFromSchema:()=>J});var r=n(23765),o=n.n(r),a=n(77766),i=n.n(a),s=n(81643),u=n.n(s),l=n(78914),c=n.n(l),p=n(41511),f=n.n(p),h=n(78580),d=n.n(h),m=n(77149),v=n.n(m),g=n(3649),y=n.n(g),b=n(94473),w=n.n(b),E=n(2991),x=n.n(E),_=n(59340),S=n.n(_),k=n(53479),A=n.n(k),C=n(14419),O=n.n(C),j=n(41609),I=n.n(j),T=n(90242),N=n(60314),P={string:function(e){return e.pattern?function(e){try{return new(O())(e).gen()}catch(e){return"string"}}(e.pattern):"string"},string_email:function(){return"user@example.com"},"string_date-time":function(){return(new Date).toISOString()},string_date:function(){return(new Date).toISOString().substring(0,10)},string_uuid:function(){return"3fa85f64-5717-4562-b3fc-2c963f66afa6"},string_hostname:function(){return"example.com"},string_ipv4:function(){return"198.51.100.42"},string_ipv6:function(){return"2001:0db8:5b96:0000:0000:426f:8e17:642a"},number:function(){return 0},number_float:function(){return 0},integer:function(){return 0},boolean:function(e){return"boolean"!=typeof e.default||e.default}},R=function(e){var t,n=e=(0,T.mz)(e),r=n.type,o=n.format,a=P[i()(t="".concat(r,"_")).call(t,o)]||P[r];return(0,T.Wl)(a)?a(e):"Unknown Type: "+e.type},M=function(e){return(0,T.XV)(e,"$$ref",(function(e){return"string"==typeof e&&u()(e).call(e,"#")>-1}))},D=["maxProperties","minProperties"],L=["minItems","maxItems"],B=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],F=["minLength","maxLength"],z=function e(t,n){var r,o,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=function(e){void 0===n[e]&&void 0!==t[e]&&(n[e]=t[e])};(c()(r=i()(o=["example","default","enum","xml","type"]).call(o,D,L,B,F)).call(r,(function(e){return l(e)})),void 0!==t.required&&f()(t.required))&&(void 0!==n.required&&n.required.length||(n.required=[]),c()(a=t.required).call(a,(function(e){var t;d()(t=n.required).call(t,e)||n.required.push(e)})));if(t.properties){n.properties||(n.properties={});var p=(0,T.mz)(t.properties);for(var h in p){var m;if(Object.prototype.hasOwnProperty.call(p,h))if(!p[h]||!p[h].deprecated)if(!p[h]||!p[h].readOnly||s.includeReadOnly)if(!p[h]||!p[h].writeOnly||s.includeWriteOnly)if(!n.properties[h])n.properties[h]=p[h],!t.required&&f()(t.required)&&-1!==u()(m=t.required).call(m,h)&&(n.required?n.required.push(h):n.required=[h])}}return t.items&&(n.items||(n.items={}),n.items=e(t.items,n.items,s)),n},U=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t&&(0,T.Wl)(t.toJS)&&(t=t.toJS());var s=void 0!==r||t&&void 0!==t.example||t&&void 0!==t.default,l=!s&&t&&t.oneOf&&t.oneOf.length>0,p=!s&&t&&t.anyOf&&t.anyOf.length>0;if(!s&&(l||p)){var h=(0,T.mz)(l?t.oneOf[0]:t.anyOf[0]);if(z(h,t,n),!t.xml&&h.xml&&(t.xml=h.xml),void 0!==t.example&&void 0!==h.example)s=!0;else if(h.properties){t.properties||(t.properties={});var m=(0,T.mz)(h.properties);for(var g in m){var b;if(Object.prototype.hasOwnProperty.call(m,g))if(!m[g]||!m[g].deprecated)if(!m[g]||!m[g].readOnly||n.includeReadOnly)if(!m[g]||!m[g].writeOnly||n.includeWriteOnly)if(!t.properties[g])t.properties[g]=m[g],!h.required&&f()(h.required)&&-1!==u()(b=h.required).call(b,g)&&(t.required?t.required.push(g):t.required=[g])}}}var E,_={},S=t||{},k=S.xml,A=S.type,C=S.example,O=S.properties,j=S.additionalProperties,N=S.items,P=n.includeReadOnly,F=n.includeWriteOnly,U=k=k||{},q=U.name,V=U.prefix,W=U.namespace,H={};if(a&&(E=(V?V+":":"")+(q=q||"notagname"),W)){var $=V?"xmlns:"+V:"xmlns";_[$]=W}a&&(H[E]=[]);var J=function(e){return v()(e).call(e,(function(e){return Object.prototype.hasOwnProperty.call(t,e)}))};t&&!A&&(O||j||J(D)?A="object":N||J(L)?A="array":J(B)?(A="number",t.type="number"):s||t.enum||(A="string",t.type="string"));var K,G,Z=function(e){var n,r,o,a,i;null!==(null===(n=t)||void 0===n?void 0:n.maxItems)&&void 0!==(null===(r=t)||void 0===r?void 0:r.maxItems)&&(e=y()(e).call(e,0,null===(i=t)||void 0===i?void 0:i.maxItems));if(null!==(null===(o=t)||void 0===o?void 0:o.minItems)&&void 0!==(null===(a=t)||void 0===a?void 0:a.minItems))for(var s=0;e.length<(null===(u=t)||void 0===u?void 0:u.minItems);){var u;e.push(e[s++%e.length])}return e},Y=(0,T.mz)(O),Q=0,X=function(){return t&&null!==t.maxProperties&&void 0!==t.maxProperties&&Q>=t.maxProperties},ee=function(){if(!t||!t.required)return 0;var e,n,r=0;a?c()(e=t.required).call(e,(function(e){return r+=void 0===H[e]?0:1})):c()(n=t.required).call(n,(function(e){var t;return r+=void 0===(null===(t=H[E])||void 0===t?void 0:w()(t).call(t,(function(t){return void 0!==t[e]})))?0:1}));return t.required.length-r},te=function(e){var n;return!(t&&t.required&&t.required.length)||!d()(n=t.required).call(n,e)},ne=function(e){return!t||null===t.maxProperties||void 0===t.maxProperties||!X()&&(!te(e)||t.maxProperties-Q-ee()>0)};if(K=a?function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&Y[r]){if(Y[r].xml=Y[r].xml||{},Y[r].xml.attribute){var s=f()(Y[r].enum)?Y[r].enum[0]:void 0,u=Y[r].example,l=Y[r].default;return void(_[Y[r].xml.name||r]=void 0!==u?u:void 0!==l?l:void 0!==s?s:R(Y[r]))}Y[r].xml.name=Y[r].xml.name||r}else Y[r]||!1===j||(Y[r]={xml:{name:r}});var c,p=e(t&&Y[r]||void 0,n,o,a);ne(r)&&(Q++,f()(p)?H[E]=i()(c=H[E]).call(c,p):H[E].push(p))}:function(t,r){ne(t)&&(H[t]=e(Y[t],n,r,a),Q++)},s){var re;if(re=M(void 0!==r?r:void 0!==C?C:t.default),!a){if("number"==typeof re&&"string"===A)return"".concat(re);if("string"!=typeof re||"string"===A)return re;try{return JSON.parse(re)}catch(e){return re}}if(t||(A=f()(re)?"array":o()(re)),"array"===A){if(!f()(re)){if("string"==typeof re)return re;re=[re]}var oe=t?t.items:void 0;oe&&(oe.xml=oe.xml||k||{},oe.xml.name=oe.xml.name||k.name);var ae=x()(re).call(re,(function(t){return e(oe,n,t,a)}));return ae=Z(ae),k.wrapped?(H[E]=ae,I()(_)||H[E].push({_attr:_})):H=ae,H}if("object"===A){if("string"==typeof re)return re;for(var ie in re)Object.prototype.hasOwnProperty.call(re,ie)&&(t&&Y[ie]&&Y[ie].readOnly&&!P||t&&Y[ie]&&Y[ie].writeOnly&&!F||(t&&Y[ie]&&Y[ie].xml&&Y[ie].xml.attribute?_[Y[ie].xml.name||ie]=re[ie]:K(ie,re[ie])));return I()(_)||H[E].push({_attr:_}),H}return H[E]=I()(_)?re:[{_attr:_},re],H}if("object"===A){for(var se in Y)Object.prototype.hasOwnProperty.call(Y,se)&&(Y[se]&&Y[se].deprecated||Y[se]&&Y[se].readOnly&&!P||Y[se]&&Y[se].writeOnly&&!F||K(se));if(a&&_&&H[E].push({_attr:_}),X())return H;if(!0===j)a?H[E].push({additionalProp:"Anything can be here"}):H.additionalProp1={},Q++;else if(j){var ue=(0,T.mz)(j),le=e(ue,n,void 0,a);if(a&&ue.xml&&ue.xml.name&&"notagname"!==ue.xml.name)H[E].push(le);else for(var ce=null!==t.minProperties&&void 0!==t.minProperties&&Q{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(57050);function o(){return{fn:r}}},51228:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UPDATE_SPEC:()=>ee,UPDATE_URL:()=>te,UPDATE_JSON:()=>ne,UPDATE_PARAM:()=>re,UPDATE_EMPTY_PARAM_INCLUSION:()=>oe,VALIDATE_PARAMS:()=>ae,SET_RESPONSE:()=>ie,SET_REQUEST:()=>se,SET_MUTATED_REQUEST:()=>ue,LOG_REQUEST:()=>le,CLEAR_RESPONSE:()=>ce,CLEAR_REQUEST:()=>pe,CLEAR_VALIDATE_PARAMS:()=>fe,UPDATE_OPERATION_META_VALUE:()=>he,UPDATE_RESOLVED:()=>de,UPDATE_RESOLVED_SUBTREE:()=>me,SET_SCHEME:()=>ve,updateSpec:()=>ge,updateResolved:()=>ye,updateUrl:()=>be,updateJsonSpec:()=>we,parseToJson:()=>Ee,resolveSpec:()=>_e,requestResolvedSubtree:()=>Ae,changeParam:()=>Ce,changeParamByIdentity:()=>Oe,updateResolvedSubtree:()=>je,invalidateResolvedSubtreeCache:()=>Ie,validateParams:()=>Te,updateEmptyParamInclusion:()=>Ne,clearValidateParams:()=>Pe,changeConsumesValue:()=>Re,changeProducesValue:()=>Me,setResponse:()=>De,setRequest:()=>Le,setMutatedRequest:()=>Be,logRequest:()=>Fe,executeRequest:()=>ze,execute:()=>Ue,clearResponse:()=>qe,clearRequest:()=>Ve,setScheme:()=>We});var r=n(95945),o=n.n(r),a=n(80122),i=n.n(a),s=n(51161),u=n.n(s),l=n(23765),c=n.n(l),p=n(63109),f=n.n(p),h=n(41511),d=n.n(h),m=n(2991),v=n.n(m),g=n(63978),y=n.n(g),b=n(32366),w=n.n(b),E=n(10062),x=n.n(E),_=n(93476),S=n.n(_),k=n(20116),A=n.n(k),C=n(20455),O=n.n(C),j=n(81643),I=n.n(j),T=n(78914),N=n.n(T),P=n(77766),R=n.n(P),M=n(86902),D=n.n(M),L=n(51942),B=n.n(L),F=n(11128),z=n.n(F),U=n(1272),q=n(43393),V=n(84564),W=n.n(V),H=n(7710),$=n(47037),J=n.n($),K=n(23279),G=n.n(K),Z=n(36968),Y=n.n(Z),Q=n(90242),X=["path","method"],ee="spec_update_spec",te="spec_update_url",ne="spec_update_json",re="spec_update_param",oe="spec_update_empty_param_inclusion",ae="spec_validate_param",ie="spec_set_response",se="spec_set_request",ue="spec_set_mutated_request",le="spec_log_request",ce="spec_clear_response",pe="spec_clear_request",fe="spec_clear_validate_param",he="spec_update_operation_meta_value",de="spec_update_resolved",me="spec_update_resolved_subtree",ve="set_scheme";function ge(e){var t,n=(t=e,J()(t)?t:"").replace(/\t/g," ");if("string"==typeof e)return{type:ee,payload:n}}function ye(e){return{type:de,payload:e}}function be(e){return{type:te,payload:e}}function we(e){return{type:ne,payload:e}}var Ee=function(e){return function(t){var n=t.specActions,r=t.specSelectors,o=t.errActions,a=r.specStr,i=null;try{e=e||a(),o.clear({source:"parser"}),i=U.ZP.load(e)}catch(e){return console.error(e),o.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void 0})}return i&&"object"===c()(i)?n.updateJsonSpec(i):{}}},xe=!1,_e=function(e,t){return function(n){var r=n.specActions,o=n.specSelectors,a=n.errActions,i=n.fn,s=i.fetch,u=i.resolve,l=i.AST,c=void 0===l?{}:l,p=n.getConfigs;xe||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),xe=!0);var f=p(),h=f.modelPropertyMacro,m=f.parameterMacro,g=f.requestInterceptor,b=f.responseInterceptor;void 0===e&&(e=o.specJson()),void 0===t&&(t=o.url());var w=c.getLineNumberForPath?c.getLineNumberForPath:function(){},E=o.specStr();return u({fetch:s,spec:e,baseDoc:t,modelPropertyMacro:h,parameterMacro:m,requestInterceptor:g,responseInterceptor:b}).then((function(e){var t=e.spec,n=e.errors;if(a.clear({type:"thrown"}),d()(n)&&n.length>0){var o=v()(n).call(n,(function(e){return console.error(e),e.line=e.fullPath?w(E,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e}));a.newThrownErrBatch(o)}return r.updateResolved(t)}))}},Se=[],ke=G()(u()(f().mark((function e(){var t,n,r,o,a,i,s,l,c,p,h,m,g,b,E,_,k,C;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Se.system){e.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),e.abrupt("return");case 4:if(n=t.errActions,r=t.errSelectors,o=t.fn,a=o.resolveSubtree,i=o.fetch,s=o.AST,l=void 0===s?{}:s,c=t.specSelectors,p=t.specActions,a){e.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),e.abrupt("return");case 8:return h=l.getLineNumberForPath?l.getLineNumberForPath:function(){},m=c.specStr(),g=t.getConfigs(),b=g.modelPropertyMacro,E=g.parameterMacro,_=g.requestInterceptor,k=g.responseInterceptor,e.prev=11,e.next=14,w()(Se).call(Se,function(){var e=u()(f().mark((function e(t,o){var s,l,p,g,w,C,j,I,T;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return s=e.sent,l=s.resultMap,p=s.specWithCurrentSubtrees,e.next=7,a(p,o,{baseDoc:c.url(),modelPropertyMacro:b,parameterMacro:E,requestInterceptor:_,responseInterceptor:k});case 7:if(g=e.sent,w=g.errors,C=g.spec,r.allErrors().size&&n.clearBy((function(e){var t;return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!x()(t=e.get("fullPath")).call(t,(function(e,t){return e===o[t]||void 0===o[t]}))})),d()(w)&&w.length>0&&(j=v()(w).call(w,(function(e){return e.line=e.fullPath?h(m,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e})),n.newThrownErrBatch(j)),!C||!c.isOAS3()||"components"!==o[0]||"securitySchemes"!==o[1]){e.next=15;break}return e.next=15,S().all(v()(I=A()(T=O()(C)).call(T,(function(e){return"openIdConnect"===e.type}))).call(I,function(){var e=u()(f().mark((function e(t){var n,r;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={url:t.openIdConnectUrl,requestInterceptor:_,responseInterceptor:k},e.prev=1,e.next=4,i(n);case 4:(r=e.sent)instanceof Error||r.status>=400?console.error(r.statusText+" "+n.url):t.openIdConnectData=JSON.parse(r.text),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 15:return Y()(l,o,C),Y()(p,o,C),e.abrupt("return",{resultMap:l,specWithCurrentSubtrees:p});case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S().resolve({resultMap:(c.specResolvedSubtree([])||(0,q.Map)()).toJS(),specWithCurrentSubtrees:c.specJson().toJS()}));case 14:C=e.sent,delete Se.system,Se=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(11),console.error(e.t0);case 22:p.updateResolvedSubtree([],C.resultMap);case 23:case"end":return e.stop()}}),e,null,[[11,19]])}))),35),Ae=function(e){return function(t){var n;I()(n=v()(Se).call(Se,(function(e){return e.join("@@")}))).call(n,e.join("@@"))>-1||(Se.push(e),Se.system=t,ke())}};function Ce(e,t,n,r,o){return{type:re,payload:{path:e,value:r,paramName:t,paramIn:n,isXml:o}}}function Oe(e,t,n,r){return{type:re,payload:{path:e,param:t,value:n,isXml:r}}}var je=function(e,t){return{type:me,payload:{path:e,value:t}}},Ie=function(){return{type:me,payload:{path:[],value:(0,q.Map)()}}},Te=function(e,t){return{type:ae,payload:{pathMethod:e,isOAS3:t}}},Ne=function(e,t,n,r){return{type:oe,payload:{pathMethod:e,paramName:t,paramIn:n,includeEmptyValue:r}}};function Pe(e){return{type:fe,payload:{pathMethod:e}}}function Re(e,t){return{type:he,payload:{path:e,value:t,key:"consumes_value"}}}function Me(e,t){return{type:he,payload:{path:e,value:t,key:"produces_value"}}}var De=function(e,t,n){return{payload:{path:e,method:t,res:n},type:ie}},Le=function(e,t,n){return{payload:{path:e,method:t,req:n},type:se}},Be=function(e,t,n){return{payload:{path:e,method:t,req:n},type:ue}},Fe=function(e){return{payload:e,type:le}},ze=function(e){return function(t){var n,r,o=t.fn,a=t.specActions,i=t.specSelectors,s=t.getConfigs,l=t.oas3Selectors,c=e.pathName,p=e.method,h=e.operation,m=s(),g=m.requestInterceptor,y=m.responseInterceptor,b=h.toJS();h&&h.get("parameters")&&N()(n=A()(r=h.get("parameters")).call(r,(function(e){return e&&!0===e.get("allowEmptyValue")}))).call(n,(function(t){if(i.parameterInclusionSettingFor([c,p],t.get("name"),t.get("in"))){e.parameters=e.parameters||{};var n=(0,Q.cz)(t,e.parameters);(!n||n&&0===n.size)&&(e.parameters[t.get("name")]="")}}));if(e.contextUrl=W()(i.url()).toString(),b&&b.operationId?e.operationId=b.operationId:b&&c&&p&&(e.operationId=o.opId(b,c,p)),i.isOAS3()){var w,E=R()(w="".concat(c,":")).call(w,p);e.server=l.selectedServer(E)||l.selectedServer();var x=l.serverVariables({server:e.server,namespace:E}).toJS(),_=l.serverVariables({server:e.server}).toJS();e.serverVariables=D()(x).length?x:_,e.requestContentType=l.requestContentType(c,p),e.responseContentType=l.responseContentType(c,p)||"*/*";var S,k=l.requestBodyValue(c,p),C=l.requestBodyInclusionSetting(c,p);if(k&&k.toJS)e.requestBody=A()(S=v()(k).call(k,(function(e){return q.Map.isMap(e)?e.get("value"):e}))).call(S,(function(e,t){return(d()(e)?0!==e.length:!(0,Q.O2)(e))||C.get(t)})).toJS();else e.requestBody=k}var O=B()({},e);O=o.buildRequest(O),a.setRequest(e.pathName,e.method,O);var j=function(){var t=u()(f().mark((function t(n){var r,o;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.apply(undefined,[n]);case 2:return r=t.sent,o=B()({},r),a.setMutatedRequest(e.pathName,e.method,o),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.requestInterceptor=j,e.responseInterceptor=y;var I=z()();return o.execute(e).then((function(t){t.duration=z()()-I,a.setResponse(e.pathName,e.method,t)})).catch((function(t){"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),a.setResponse(e.pathName,e.method,{error:!0,err:(0,H.serializeError)(t)})}))}},Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.method,r=i()(e,X);return function(e){var a=e.fn.fetch,i=e.specSelectors,s=e.specActions,u=i.specJsonWithResolvedSubtrees().toJS(),l=i.operationScheme(t,n),c=i.contentTypeValues([t,n]).toJS(),p=c.requestContentType,f=c.responseContentType,h=/xml/i.test(p),d=i.parameterValues([t,n],h).toJS();return s.executeRequest(o()(o()({},r),{},{fetch:a,spec:u,pathName:t,method:n,parameters:d,requestContentType:p,scheme:l,responseContentType:f}))}};function qe(e,t){return{type:ce,payload:{path:e,method:t}}}function Ve(e,t){return{type:pe,payload:{path:e,method:t}}}function We(e,t,n){return{type:ve,payload:{scheme:e,path:t,method:n}}}},37038:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(20032),o=n(51228),a=n(33881),i=n(77508);function s(){return{statePlugins:{spec:{wrapActions:i,reducers:r.default,actions:o,selectors:a}}}}},20032:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r,o=n(87672),a=n.n(o),i=n(59036),s=n.n(i),u=n(77766),l=n.n(u),c=n(32366),p=n.n(c),f=n(2991),h=n.n(f),d=n(51942),m=n.n(d),v=n(43393),g=n(90242),y=n(27504),b=n(33881),w=n(51228);const E=(r={},a()(r,w.UPDATE_SPEC,(function(e,t){return"string"==typeof t.payload?e.set("spec",t.payload):e})),a()(r,w.UPDATE_URL,(function(e,t){return e.set("url",t.payload+"")})),a()(r,w.UPDATE_JSON,(function(e,t){return e.set("json",(0,g.oG)(t.payload))})),a()(r,w.UPDATE_RESOLVED,(function(e,t){return e.setIn(["resolved"],(0,g.oG)(t.payload))})),a()(r,w.UPDATE_RESOLVED_SUBTREE,(function(e,t){var n,r=t.payload,o=r.value,a=r.path;return e.setIn(l()(n=["resolvedSubtrees"]).call(n,s()(a)),(0,g.oG)(o))})),a()(r,w.UPDATE_PARAM,(function(e,t){var n,r,o=t.payload,a=o.path,i=o.paramName,u=o.paramIn,c=o.param,p=o.value,f=o.isXml,h=c?(0,g.V9)(c):l()(n="".concat(u,".")).call(n,i),d=f?"value_xml":"value";return e.setIn(l()(r=["meta","paths"]).call(r,s()(a),["parameters",h,d]),p)})),a()(r,w.UPDATE_EMPTY_PARAM_INCLUSION,(function(e,t){var n,r,o=t.payload,a=o.pathMethod,i=o.paramName,u=o.paramIn,c=o.includeEmptyValue;if(!i||!u)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),e;var p=l()(n="".concat(u,".")).call(n,i);return e.setIn(l()(r=["meta","paths"]).call(r,s()(a),["parameter_inclusions",p]),c)})),a()(r,w.VALIDATE_PARAMS,(function(e,t){var n,r,o=t.payload,a=o.pathMethod,i=o.isOAS3,u=(0,b.specJsonWithResolvedSubtrees)(e).getIn(l()(n=["paths"]).call(n,s()(a))),c=(0,b.parameterValues)(e,a).toJS();return e.updateIn(l()(r=["meta","paths"]).call(r,s()(a),["parameters"]),(0,v.fromJS)({}),(function(t){var n;return p()(n=u.get("parameters",(0,v.List)())).call(n,(function(t,n){var r=(0,g.cz)(n,c),o=(0,b.parameterInclusionSettingFor)(e,a,n.get("name"),n.get("in")),s=(0,g.Ik)(n,r,{bypassRequiredCheck:o,isOAS3:i});return t.setIn([(0,g.V9)(n),"errors"],(0,v.fromJS)(s))}),t)}))})),a()(r,w.CLEAR_VALIDATE_PARAMS,(function(e,t){var n,r=t.payload.pathMethod;return e.updateIn(l()(n=["meta","paths"]).call(n,s()(r),["parameters"]),(0,v.fromJS)([]),(function(e){return h()(e).call(e,(function(e){return e.set("errors",(0,v.fromJS)([]))}))}))})),a()(r,w.SET_RESPONSE,(function(e,t){var n,r=t.payload,o=r.res,a=r.path,i=r.method;(n=o.error?m()({error:!0,name:o.err.name,message:o.err.message,statusCode:o.err.statusCode},o.err.response):o).headers=n.headers||{};var s=e.setIn(["responses",a,i],(0,g.oG)(n));return y.Z.Blob&&o.data instanceof y.Z.Blob&&(s=s.setIn(["responses",a,i,"text"],o.data)),s})),a()(r,w.SET_REQUEST,(function(e,t){var n=t.payload,r=n.req,o=n.path,a=n.method;return e.setIn(["requests",o,a],(0,g.oG)(r))})),a()(r,w.SET_MUTATED_REQUEST,(function(e,t){var n=t.payload,r=n.req,o=n.path,a=n.method;return e.setIn(["mutatedRequests",o,a],(0,g.oG)(r))})),a()(r,w.UPDATE_OPERATION_META_VALUE,(function(e,t){var n,r,o,a,i,u,c=t.payload,p=c.path,f=c.value,h=c.key,d=l()(n=["paths"]).call(n,s()(p)),m=l()(r=["meta","paths"]).call(r,s()(p));return e.getIn(l()(o=["json"]).call(o,s()(d)))||e.getIn(l()(a=["resolved"]).call(a,s()(d)))||e.getIn(l()(i=["resolvedSubtrees"]).call(i,s()(d)))?e.setIn(l()(u=[]).call(u,s()(m),[h]),(0,v.fromJS)(f)):e})),a()(r,w.CLEAR_RESPONSE,(function(e,t){var n=t.payload,r=n.path,o=n.method;return e.deleteIn(["responses",r,o])})),a()(r,w.CLEAR_REQUEST,(function(e,t){var n=t.payload,r=n.path,o=n.method;return e.deleteIn(["requests",r,o])})),a()(r,w.SET_SCHEME,(function(e,t){var n=t.payload,r=n.scheme,o=n.path,a=n.method;return o&&a?e.setIn(["scheme",o,a],r):o||a?void 0:e.setIn(["scheme","_defaultScheme"],r)})),r)},33881:(e,t,n)=>{"use strict";n.r(t),n.d(t,{lastError:()=>R,url:()=>M,specStr:()=>D,specSource:()=>L,specJson:()=>B,specResolved:()=>F,specResolvedSubtree:()=>z,specJsonWithResolvedSubtrees:()=>q,spec:()=>V,isOAS3:()=>W,info:()=>H,externalDocs:()=>$,version:()=>J,semver:()=>K,paths:()=>G,operations:()=>Z,consumes:()=>Y,produces:()=>Q,security:()=>X,securityDefinitions:()=>ee,findDefinition:()=>te,definitions:()=>ne,basePath:()=>re,host:()=>oe,schemes:()=>ae,operationsWithRootInherited:()=>ie,tags:()=>se,tagDetails:()=>ue,operationsWithTags:()=>le,taggedOperations:()=>ce,responses:()=>pe,requests:()=>fe,mutatedRequests:()=>he,responseFor:()=>de,requestFor:()=>me,mutatedRequestFor:()=>ve,allowTryItOutFor:()=>ge,parameterWithMetaByIdentity:()=>ye,parameterInclusionSettingFor:()=>be,parameterWithMeta:()=>we,operationWithMeta:()=>Ee,getParameter:()=>xe,hasHost:()=>_e,parameterValues:()=>Se,parametersIncludeIn:()=>ke,parametersIncludeType:()=>Ae,contentTypeValues:()=>Ce,currentProducesFor:()=>Oe,producesOptionsFor:()=>je,consumesOptionsFor:()=>Ie,operationScheme:()=>Te,canExecuteScheme:()=>Ne,validateBeforeExecute:()=>Pe,getOAS3RequiredRequestBodyContentType:()=>Re,isMediaTypeSchemaPropertiesEqual:()=>Me});var r=n(18777),o=n.n(r),a=n(59036),i=n.n(a),s=n(77766),u=n.n(s),l=n(3649),c=n.n(l),p=n(78914),f=n.n(p),h=n(81643),d=n.n(h),m=n(2991),v=n.n(m),g=n(20116),y=n.n(g),b=n(94473),w=n.n(b),E=n(32366),x=n.n(E),_=n(47302),S=n.n(_),k=n(77149),A=n.n(k),C=n(41511),O=n.n(C),j=n(20573),I=n(90242),T=n(43393),N=["get","put","post","delete","options","head","patch","trace"],P=function(e){return e||(0,T.Map)()},R=(0,j.P1)(P,(function(e){return e.get("lastError")})),M=(0,j.P1)(P,(function(e){return e.get("url")})),D=(0,j.P1)(P,(function(e){return e.get("spec")||""})),L=(0,j.P1)(P,(function(e){return e.get("specSource")||"not-editor"})),B=(0,j.P1)(P,(function(e){return e.get("json",(0,T.Map)())})),F=(0,j.P1)(P,(function(e){return e.get("resolved",(0,T.Map)())})),z=function(e,t){var n;return e.getIn(u()(n=["resolvedSubtrees"]).call(n,i()(t)),void 0)},U=function e(t,n){return T.Map.isMap(t)&&T.Map.isMap(n)?n.get("$$ref")?n:(0,T.OrderedMap)().mergeWith(e,t,n):n},q=(0,j.P1)(P,(function(e){return(0,T.OrderedMap)().mergeWith(U,e.get("json"),e.get("resolvedSubtrees"))})),V=function(e){return B(e)},W=(0,j.P1)(V,(function(){return!1})),H=(0,j.P1)(V,(function(e){return De(e&&e.get("info"))})),$=(0,j.P1)(V,(function(e){return De(e&&e.get("externalDocs"))})),J=(0,j.P1)(H,(function(e){return e&&e.get("version")})),K=(0,j.P1)(J,(function(e){var t;return c()(t=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(e)).call(t,1)})),G=(0,j.P1)(q,(function(e){return e.get("paths")})),Z=(0,j.P1)(G,(function(e){if(!e||e.size<1)return(0,T.List)();var t=(0,T.List)();return e&&f()(e)?(f()(e).call(e,(function(e,n){if(!e||!f()(e))return{};f()(e).call(e,(function(e,r){var o;d()(N).call(N,r)<0||(t=t.push((0,T.fromJS)({path:n,method:r,operation:e,id:u()(o="".concat(r,"-")).call(o,n)})))}))})),t):(0,T.List)()})),Y=(0,j.P1)(V,(function(e){return(0,T.Set)(e.get("consumes"))})),Q=(0,j.P1)(V,(function(e){return(0,T.Set)(e.get("produces"))})),X=(0,j.P1)(V,(function(e){return e.get("security",(0,T.List)())})),ee=(0,j.P1)(V,(function(e){return e.get("securityDefinitions")})),te=function(e,t){var n=e.getIn(["resolvedSubtrees","definitions",t],null),r=e.getIn(["json","definitions",t],null);return n||r||null},ne=(0,j.P1)(V,(function(e){var t=e.get("definitions");return T.Map.isMap(t)?t:(0,T.Map)()})),re=(0,j.P1)(V,(function(e){return e.get("basePath")})),oe=(0,j.P1)(V,(function(e){return e.get("host")})),ae=(0,j.P1)(V,(function(e){return e.get("schemes",(0,T.Map)())})),ie=(0,j.P1)(Z,Y,Q,(function(e,t,n){return v()(e).call(e,(function(e){return e.update("operation",(function(e){if(e){if(!T.Map.isMap(e))return;return e.withMutations((function(e){return e.get("consumes")||e.update("consumes",(function(e){return(0,T.Set)(e).merge(t)})),e.get("produces")||e.update("produces",(function(e){return(0,T.Set)(e).merge(n)})),e}))}return(0,T.Map)()}))}))})),se=(0,j.P1)(V,(function(e){var t=e.get("tags",(0,T.List)());return T.List.isList(t)?y()(t).call(t,(function(e){return T.Map.isMap(e)})):(0,T.List)()})),ue=function(e,t){var n,r=se(e)||(0,T.List)();return w()(n=y()(r).call(r,T.Map.isMap)).call(n,(function(e){return e.get("name")===t}),(0,T.Map)())},le=(0,j.P1)(ie,se,(function(e,t){return x()(e).call(e,(function(e,t){var n=(0,T.Set)(t.getIn(["operation","tags"]));return n.count()<1?e.update("default",(0,T.List)(),(function(e){return e.push(t)})):x()(n).call(n,(function(e,n){return e.update(n,(0,T.List)(),(function(e){return e.push(t)}))}),e)}),x()(t).call(t,(function(e,t){return e.set(t.get("name"),(0,T.List)())}),(0,T.OrderedMap)()))})),ce=function(e){return function(t){var n,r=(0,t.getConfigs)(),o=r.tagsSorter,a=r.operationsSorter;return v()(n=le(e).sortBy((function(e,t){return t}),(function(e,t){var n="function"==typeof o?o:I.wh.tagsSorter[o];return n?n(e,t):null}))).call(n,(function(t,n){var r="function"==typeof a?a:I.wh.operationsSorter[a],o=r?S()(t).call(t,r):t;return(0,T.Map)({tagDetails:ue(e,n),operations:o})}))}},pe=(0,j.P1)(P,(function(e){return e.get("responses",(0,T.Map)())})),fe=(0,j.P1)(P,(function(e){return e.get("requests",(0,T.Map)())})),he=(0,j.P1)(P,(function(e){return e.get("mutatedRequests",(0,T.Map)())})),de=function(e,t,n){return pe(e).getIn([t,n],null)},me=function(e,t,n){return fe(e).getIn([t,n],null)},ve=function(e,t,n){return he(e).getIn([t,n],null)},ge=function(){return!0},ye=function(e,t,n){var r,o,a=q(e).getIn(u()(r=["paths"]).call(r,i()(t),["parameters"]),(0,T.OrderedMap)()),s=e.getIn(u()(o=["meta","paths"]).call(o,i()(t),["parameters"]),(0,T.OrderedMap)()),l=v()(a).call(a,(function(e){var t,r,o,a=s.get(u()(t="".concat(n.get("in"),".")).call(t,n.get("name"))),i=s.get(u()(r=u()(o="".concat(n.get("in"),".")).call(o,n.get("name"),".hash-")).call(r,n.hashCode()));return(0,T.OrderedMap)().merge(e,a,i)}));return w()(l).call(l,(function(e){return e.get("in")===n.get("in")&&e.get("name")===n.get("name")}),(0,T.OrderedMap)())},be=function(e,t,n,r){var o,a,s=u()(o="".concat(r,".")).call(o,n);return e.getIn(u()(a=["meta","paths"]).call(a,i()(t),["parameter_inclusions",s]),!1)},we=function(e,t,n,r){var o,a=q(e).getIn(u()(o=["paths"]).call(o,i()(t),["parameters"]),(0,T.OrderedMap)()),s=w()(a).call(a,(function(e){return e.get("in")===r&&e.get("name")===n}),(0,T.OrderedMap)());return ye(e,t,s)},Ee=function(e,t,n){var r,o=q(e).getIn(["paths",t,n],(0,T.OrderedMap)()),a=e.getIn(["meta","paths",t,n],(0,T.OrderedMap)()),i=v()(r=o.get("parameters",(0,T.List)())).call(r,(function(r){return ye(e,[t,n],r)}));return(0,T.OrderedMap)().merge(o,a).set("parameters",i)};function xe(e,t,n,r){var o;t=t||[];var a=e.getIn(u()(o=["meta","paths"]).call(o,i()(t),["parameters"]),(0,T.fromJS)([]));return w()(a).call(a,(function(e){return T.Map.isMap(e)&&e.get("name")===n&&e.get("in")===r}))||(0,T.Map)()}var _e=(0,j.P1)(V,(function(e){var t=e.get("host");return"string"==typeof t&&t.length>0&&"/"!==t[0]}));function Se(e,t,n){var r;t=t||[];var o=Ee.apply(void 0,u()(r=[e]).call(r,i()(t))).get("parameters",(0,T.List)());return x()(o).call(o,(function(e,t){var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set((0,I.V9)(t,{allowHashes:!1}),r)}),(0,T.fromJS)({}))}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(T.List.isList(e))return A()(e).call(e,(function(e){return T.Map.isMap(e)&&e.get("in")===t}))}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(T.List.isList(e))return A()(e).call(e,(function(e){return T.Map.isMap(e)&&e.get("type")===t}))}function Ce(e,t){var n,r;t=t||[];var o=q(e).getIn(u()(n=["paths"]).call(n,i()(t)),(0,T.fromJS)({})),a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t)),(0,T.fromJS)({})),s=Oe(e,t),l=o.get("parameters")||new T.List,c=a.get("consumes_value")?a.get("consumes_value"):Ae(l,"file")?"multipart/form-data":Ae(l,"formData")?"application/x-www-form-urlencoded":void 0;return(0,T.fromJS)({requestContentType:c,responseContentType:s})}function Oe(e,t){var n,r;t=t||[];var o=q(e).getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==o){var a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t),["produces_value"]),null),s=o.getIn(["produces",0],null);return a||s||"application/json"}}function je(e,t){var n;t=t||[];var r=q(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,l=o()(s,1)[0],c=a.get("produces",null),p=r.getIn(["paths",l,"produces"],null),f=r.getIn(["produces"],null);return c||p||f}}function Ie(e,t){var n;t=t||[];var r=q(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,l=o()(s,1)[0],c=a.get("consumes",null),p=r.getIn(["paths",l,"consumes"],null),f=r.getIn(["consumes"],null);return c||p||f}}var Te=function(e,t,n){var r=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=O()(r)?r[1]:null;return e.getIn(["scheme",t,n])||e.getIn(["scheme","_defaultScheme"])||o||""},Ne=function(e,t,n){var r;return d()(r=["http","https"]).call(r,Te(e,t,n))>-1},Pe=function(e,t){var n;t=t||[];var r=e.getIn(u()(n=["meta","paths"]).call(n,i()(t),["parameters"]),(0,T.fromJS)([])),o=!0;return f()(r).call(r,(function(e){var t=e.get("errors");t&&t.count()&&(o=!1)})),o},Re=function(e,t){var n,r,o={requestBody:!1,requestContentType:{}},a=e.getIn(u()(n=["resolvedSubtrees","paths"]).call(n,i()(t),["requestBody"]),(0,T.fromJS)([]));return a.size<1||(a.getIn(["required"])&&(o.requestBody=a.getIn(["required"])),f()(r=a.getIn(["content"]).entrySeq()).call(r,(function(e){var t=e[0];if(e[1].getIn(["schema","required"])){var n=e[1].getIn(["schema","required"]).toJS();o.requestContentType[t]=n}}))),o},Me=function(e,t,n,r){var o;if((n||r)&&n===r)return!0;var a=e.getIn(u()(o=["resolvedSubtrees","paths"]).call(o,i()(t),["requestBody","content"]),(0,T.fromJS)([]));if(a.size<2||!n||!r)return!1;var s=a.getIn([n,"schema","properties"],(0,T.fromJS)([])),l=a.getIn([r,"schema","properties"],(0,T.fromJS)([]));return!!s.equals(l)};function De(e){return T.Map.isMap(e)?e:new T.Map}},77508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSpec:()=>l,updateJsonSpec:()=>c,executeRequest:()=>p,validateParams:()=>f});var r=n(86902),o=n.n(r),a=n(78914),i=n.n(a),s=n(27361),u=n.n(s),l=function(e,t){var n=t.specActions;return function(){e.apply(void 0,arguments),n.parseToJson.apply(n,arguments)}},c=function(e,t){var n=t.specActions;return function(){for(var t=arguments.length,r=new Array(t),a=0;a{"use strict";n.r(t),n.d(t,{loaded:()=>r});var r=function(e,t){return function(){e.apply(void 0,arguments);var n=t.getConfigs().withCredentials;void 0!==n&&(t.fn.fetch.withCredentials="string"==typeof n?"true"===n:!!n)}}},44389:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>qn});var r={};n.r(r),n.d(r,{JsonPatchError:()=>Fe,_areEquals:()=>Ge,applyOperation:()=>We,applyPatch:()=>He,applyReducer:()=>$e,deepClone:()=>ze,getValueByPointer:()=>Ve,validate:()=>Ke,validator:()=>Je});var o={};n.r(o),n.d(o,{compare:()=>rt,generate:()=>tt,observe:()=>et,unobserve:()=>Xe});var a={};n.r(a),n.d(a,{cookie:()=>Cn,header:()=>An,path:()=>_n,query:()=>Sn});var i=n(77766),s=n.n(i),u=n(51161),l=n.n(u),c=n(63109),p=n.n(c),f=n(86418),h=n.n(f),d=n(23765),m=n.n(d),v=n(18777),g=n.n(v),y=n(78580),b=n.n(y),w=n(72119),E=n.n(w),x=n(66419),_=n.n(x),S=n(59340),k=n.n(S),A=n(2991),C=n.n(A),O=n(86902),j=n.n(O),I=n(26295),T=n.n(I),N=n(20116),P=n.n(N),R=(n(31905),n(92495)),M=n.n(R),D=n(1272);const L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:B,Blob:F,File:z}=L;var U=n(59036),q=n.n(U),V=n(3649),W=n.n(V),H=function(e){return":/?#[]@!$&'()*+,;=".indexOf(e)>-1},$=function(e){return/^[a-z0-9\-._~]+$/i.test(e)};function J(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.escape,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof e&&(e=e.toString()),"string"==typeof e&&e.length&&r?o?JSON.parse(e):C()(t=q()(e)).call(t,(function(e){var t,n;if($(e))return e;if(H(e)&&"unsafe"===r)return e;var o=new TextEncoder;return C()(t=C()(n=_()(o.encode(e))).call(n,(function(e){var t;return W()(t="0".concat(e.toString(16).toUpperCase())).call(t,-2)}))).call(t,(function(e){return"%".concat(e)})).join("")})).join(""):e}function K(e){var t=e.value;return Array.isArray(t)?function(e){var t=e.key,n=e.value,r=e.style,o=e.explode,a=e.escape,i=function(e){return J(e,{escape:a})};if("simple"===r)return C()(n).call(n,(function(e){return i(e)})).join(",");if("label"===r)return".".concat(C()(n).call(n,(function(e){return i(e)})).join("."));if("matrix"===r)return C()(n).call(n,(function(e){return i(e)})).reduce((function(e,n){var r,a,i;return!e||o?s()(a=s()(i="".concat(e||"",";")).call(i,t,"=")).call(a,n):s()(r="".concat(e,",")).call(r,n)}),"");if("form"===r){var u=o?"&".concat(t,"="):",";return C()(n).call(n,(function(e){return i(e)})).join(u)}if("spaceDelimited"===r){var l=o?"".concat(t,"="):"";return C()(n).call(n,(function(e){return i(e)})).join(" ".concat(l))}if("pipeDelimited"===r){var c=o?"".concat(t,"="):"";return C()(n).call(n,(function(e){return i(e)})).join("|".concat(c))}return}(e):"object"===m()(t)?function(e){var t=e.key,n=e.value,r=e.style,o=e.explode,a=e.escape,i=function(e){return J(e,{escape:a})},u=j()(n);if("simple"===r)return u.reduce((function(e,t){var r,a,u,l=i(n[t]),c=o?"=":",",p=e?"".concat(e,","):"";return s()(r=s()(a=s()(u="".concat(p)).call(u,t)).call(a,c)).call(r,l)}),"");if("label"===r)return u.reduce((function(e,t){var r,a,u,l=i(n[t]),c=o?"=":".",p=e?"".concat(e,"."):".";return s()(r=s()(a=s()(u="".concat(p)).call(u,t)).call(a,c)).call(r,l)}),"");if("matrix"===r&&o)return u.reduce((function(e,t){var r,o,a=i(n[t]),u=e?"".concat(e,";"):";";return s()(r=s()(o="".concat(u)).call(o,t,"=")).call(r,a)}),"");if("matrix"===r)return u.reduce((function(e,r){var o,a,u=i(n[r]),l=e?"".concat(e,","):";".concat(t,"=");return s()(o=s()(a="".concat(l)).call(a,r,",")).call(o,u)}),"");if("form"===r)return u.reduce((function(e,t){var r,a,u,l,c=i(n[t]),p=e?s()(r="".concat(e)).call(r,o?"&":","):"",f=o?"=":",";return s()(a=s()(u=s()(l="".concat(p)).call(l,t)).call(u,f)).call(a,c)}),"");return}(e):function(e){var t,n=e.key,r=e.value,o=e.style,a=e.escape,i=function(e){return J(e,{escape:a})};if("simple"===o)return i(r);if("label"===o)return".".concat(i(r));if("matrix"===o)return s()(t=";".concat(n,"=")).call(t,i(r));if("form"===o)return i(r);if("deepObject"===o)return i(r,{},!0);return}(e)}const G=function(e,t){t.body=e};var Z={serializeRes:te,mergeInQueryOrForm:fe};function Y(e){return Q.apply(this,arguments)}function Q(){return Q=l()(p().mark((function e(t){var n,r,o,a,i,s=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:{},"object"===m()(t)&&(t=(n=t).url),n.headers=n.headers||{},Z.mergeInQueryOrForm(n),n.headers&&j()(n.headers).forEach((function(e){var t=n.headers[e];"string"==typeof t&&(n.headers[e]=t.replace(/\n+/g," "))})),!n.requestInterceptor){e.next=12;break}return e.next=8,n.requestInterceptor(n);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0=n;case 11:n=e.t0;case 12:return r=n.headers["content-type"]||n.headers["Content-Type"],/multipart\/form-data/i.test(r)&&n.body instanceof B&&(delete n.headers["content-type"],delete n.headers["Content-Type"]),e.prev=14,e.next=17,(n.userFetch||fetch)(n.url,n);case 17:return o=e.sent,e.next=20,Z.serializeRes(o,t,n);case 20:if(o=e.sent,!n.responseInterceptor){e.next=28;break}return e.next=24,n.responseInterceptor(o);case 24:if(e.t1=e.sent,e.t1){e.next=27;break}e.t1=o;case 27:o=e.t1;case 28:e.next=39;break;case 30:if(e.prev=30,e.t2=e.catch(14),o){e.next=34;break}throw e.t2;case 34:throw(a=new Error(o.statusText||"response status is ".concat(o.status))).status=o.status,a.statusCode=o.status,a.responseError=e.t2,a;case 39:if(o.ok){e.next=45;break}throw(i=new Error(o.statusText||"response status is ".concat(o.status))).status=o.status,i.statusCode=o.status,i.response=o,i;case 45:return e.abrupt("return",o);case 46:case"end":return e.stop()}}),e,null,[[14,30]])}))),Q.apply(this,arguments)}var X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(e)};function ee(e,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(e):D.ZP.load(e)}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.loadSpec,o=void 0!==r&&r,a={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:re(e.headers)},i=a.headers["content-type"],s=o||X(i),u=s?e.text:e.blob||e.buffer;return u.call(e).then((function(e){if(a.text=e,a.data=e,s)try{var t=ee(e,i);a.body=t,a.obj=t}catch(e){a.parseError=e}return a}))}function ne(e){return b()(e).call(e,", ")?e.split(", "):e}function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!=typeof E()(e)?{}:_()(E()(e).call(e)).reduce((function(e,t){var n=g()(t,2),r=n[0],o=n[1];return e[r]=ne(o),e}),{})}function oe(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!==m()(e)||"string"!=typeof e.uri):void 0!==z&&e instanceof z||(void 0!==F&&e instanceof F||(!!ArrayBuffer.isView(e)||null!==e&&"object"===m()(e)&&"function"==typeof e.pipe))}function ae(e,t){return Array.isArray(e)&&e.some((function(e){return oe(e,t)}))}var ie={form:",",spaceDelimited:"%20",pipeDelimited:"|"},se={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.collectionFormat,o=t.allowEmptyValue,a=t.serializationOption,i=t.encoding,s="object"!==m()(t)||Array.isArray(t)?t:t.value,u=n?function(e){return e.toString()}:function(e){return encodeURIComponent(e)},l=u(e);if(void 0===s&&o)return[[l,""]];if(oe(s)||ae(s))return[[l,s]];if(a)return le(e,s,n,a);if(i){if([m()(i.style),m()(i.explode),m()(i.allowReserved)].some((function(e){return"undefined"!==e}))){var c=i.style,p=i.explode,f=i.allowReserved;return le(e,s,n,{style:c,explode:p,allowReserved:f})}if(i.contentType){if("application/json"===i.contentType){var h="string"==typeof s?s:k()(s);return[[l,u(h)]]}return[[l,u(s.toString())]]}return"object"!==m()(s)?[[l,u(s)]]:Array.isArray(s)&&s.every((function(e){return"object"!==m()(e)}))?[[l,C()(s).call(s,u).join(",")]]:[[l,u(k()(s))]]}return"object"!==m()(s)?[[l,u(s)]]:Array.isArray(s)?"multi"===r?[[l,C()(s).call(s,u)]]:[[l,C()(s).call(s,u).join(se[r||"csv"])]]:[[l,""]]}function le(e,t,n,r){var o,a,i,u=r.style||"form",l=void 0===r.explode?"form"===u:r.explode,c=!n&&(r&&r.allowReserved?"unsafe":"reserved"),p=function(e){return J(e,{escape:c})},f=n?function(e){return e}:function(e){return J(e,{escape:c})};return"object"!==m()(t)?[[f(e),p(t)]]:Array.isArray(t)?l?[[f(e),C()(t).call(t,p)]]:[[f(e),C()(t).call(t,p).join(ie[u])]]:"deepObject"===u?C()(a=j()(t)).call(a,(function(n){var r;return[f(s()(r="".concat(e,"[")).call(r,n,"]")),p(t[n])]})):l?C()(i=j()(t)).call(i,(function(e){return[f(e),p(t[e])]})):[[f(e),C()(o=j()(t)).call(o,(function(e){var n;return[s()(n="".concat(f(e),",")).call(n,p(t[e]))]})).join(",")]]}function ce(e){return T()(e).reduce((function(e,t){var n,r=g()(t,2),o=r[0],a=r[1],i=h()(ue(o,a,!0));try{for(i.s();!(n=i.n()).done;){var s=g()(n.value,2),u=s[0],l=s[1];if(Array.isArray(l)){var c,p=h()(l);try{for(p.s();!(c=p.n()).done;){var f=c.value;if(ArrayBuffer.isView(f)){var d=new F([f]);e.append(u,d)}else e.append(u,f)}}catch(e){p.e(e)}finally{p.f()}}else if(ArrayBuffer.isView(l)){var m=new F([l]);e.append(u,m)}else e.append(u,l)}}catch(e){i.e(e)}finally{i.f()}return e}),new B)}function pe(e){var t=j()(e).reduce((function(t,n){var r,o=h()(ue(n,e[n]));try{for(o.s();!(r=o.n()).done;){var a=g()(r.value,2),i=a[0],s=a[1];t[i]=s}}catch(e){o.e(e)}finally{o.f()}return t}),{});return M().stringify(t,{encode:!1,indices:!1})||""}function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n=void 0===t?"":t,r=e.query,o=e.form,a=function(){for(var e=arguments.length,t=new Array(e),n=0;n=48&&t<=57))return!1;n++}return!0}function Re(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Me(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function De(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,n=e.length;t=c){if(n&&"add"===t.op&&f>u.length)throw new Fe("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,t,e);if(!1===(i=qe[t.op].call(t,u,f,e)).test)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}}else if(f&&-1!=f.indexOf("~")&&(f=Me(f)),l>=c){if(!1===(i=Ue[t.op].call(t,u,f,e)).test)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}u=u[f]}}function He(e,t,n,r,o){if(void 0===r&&(r=!0),void 0===o&&(o=!0),n&&!Array.isArray(t))throw new Fe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");r||(e=Ne(e));for(var a=new Array(t.length),i=0,s=t.length;i0)throw new Fe('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,n);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new Fe("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Fe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&De(e.value))throw new Fe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,n);if(n)if("add"==e.op){var o=e.path.split("/").length,a=r.split("/").length;if(o!==a+1&&o!==a)throw new Fe("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,n)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==r)throw new Fe("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,n)}else if("move"===e.op||"copy"===e.op){var i=Ke([{op:"_get",path:e.from,value:void 0}],n);if(i&&"OPERATION_PATH_UNRESOLVABLE"===i.name)throw new Fe("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,n)}}function Ke(e,t,n){try{if(!Array.isArray(e))throw new Fe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)He(Ne(t),Ne(e),n||!0);else{n=n||Je;for(var r=0;r0&&(e.patches=[],e.callback&&e.callback(r)),r}function nt(e,t,n,r,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=Te(t),i=Te(e),s=!1,u=i.length-1;u>=0;u--){var l=e[p=i[u]];if(!Ie(t,p)||void 0===t[p]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&n.push({op:"test",path:r+"/"+Re(p),value:Ne(l)}),n.push({op:"remove",path:r+"/"+Re(p)}),s=!0):(o&&n.push({op:"test",path:r,value:e}),n.push({op:"replace",path:r,value:t}),!0);else{var c=t[p];"object"==typeof l&&null!=l&&"object"==typeof c&&null!=c?nt(l,c,n,r+"/"+Re(p),o):l!==c&&(!0,o&&n.push({op:"test",path:r+"/"+Re(p),value:Ne(l)}),n.push({op:"replace",path:r+"/"+Re(p),value:Ne(c)}))}}if(s||a.length!=i.length)for(u=0;u0){var o=t(e,n[n.length-1],n);o&&(r=s()(r).call(r,o))}if(Array.isArray(e)){var a=C()(e).call(e,(function(e,r){return pt(e,t,s()(n).call(n,r))}));a&&(r=s()(r).call(r,a))}else if(mt(e)){var i,u=C()(i=j()(e)).call(i,(function(r){return pt(e[r],t,s()(n).call(n,r))}));u&&(r=s()(r).call(r,u))}return r=ht(r)}function ft(e){return Array.isArray(e)?e:[e]}function ht(e){var t;return s()(t=[]).apply(t,q()(C()(e).call(e,(function(e){return Array.isArray(e)?ht(e):e}))))}function dt(e){return P()(e).call(e,(function(e){return void 0!==e}))}function mt(e){return e&&"object"===m()(e)}function vt(e){return e&&"function"==typeof e}function gt(e){if(wt(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function yt(e){return gt(e)||wt(e)&&"mutation"===e.type}function bt(e){return yt(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function wt(e){return e&&"object"===m()(e)}function Et(e,t){try{return Ve(e,t)}catch(e){return console.error(e),{}}}var xt=n(52424),_t=n.n(xt),St=n(94435),kt=n.n(St),At=n(8575);function Ct(e,t){function n(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,n=new Array(e),r=0;r-1&&-1===Tt.indexOf(n)||Nt.indexOf(r)>-1||Pt.some((function(e){return r.indexOf(e)>-1}))}function Mt(e,t){var n,r=e.split("#"),o=g()(r,2),a=o[0],i=o[1],u=At.resolve(a||"",t||"");return i?s()(n="".concat(u,"#")).call(n,i):u}var Dt="application/json, application/yaml",Lt=/^([a-z]+:\/\/|\/\/)/i,Bt=Ct("JSONRefError",(function(e,t,n){this.originalError=n,Ee()(this,t||{})})),Ft={},zt=new(_t()),Ut=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],qt={key:"$ref",plugin:function(e,t,n,r){var o=r.getInstance(),a=W()(n).call(n,0,-1);if(!Rt(a)&&!function(e){return Ut.some((function(t){return t(e)}))}(a)){var i=r.getContext(n).baseDoc;if("string"!=typeof e)return new Bt("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:i,fullPath:n});var u,l,c,p=Jt(e),f=p[0],h=p[1]||"";try{u=i||f?Ht(f,i):null}catch(t){return $t(t,{pointer:h,$ref:e,basePath:u,fullPath:n})}if(function(e,t,n,r){var o,a,i=zt.get(r);i||(i={},zt.set(r,i));var u=function(e){if(0===e.length)return"";return"/".concat(C()(e).call(e,Xt).join("/"))}(n),l=s()(o="".concat(t||"","#")).call(o,e),c=u.replace(/allOf\/\d+\/?/g,""),p=r.contextTree.get([]).baseDoc;if(t===p&&en(c,e))return!0;var f="",h=n.some((function(e){var t;return f=s()(t="".concat(f,"/")).call(t,Xt(e)),i[f]&&i[f].some((function(e){return en(e,l)||en(l,e)}))}));if(h)return!0;return void(i[c]=s()(a=i[c]||[]).call(a,l))}(h,u,a,r)&&!o.useCircularStructures){var d=Mt(e,u);return e===d?null:it.replace(n,d)}if(null==u?(c=Yt(h),void 0===(l=r.get(c))&&(l=new Bt("Could not resolve reference: ".concat(e),{pointer:h,$ref:e,baseDoc:i,fullPath:n}))):l=null!=(l=Kt(u,h)).__value?l.__value:l.catch((function(t){throw $t(t,{pointer:h,$ref:e,baseDoc:i,fullPath:n})})),l instanceof Error)return[it.remove(n),l];var m=Mt(e,u),v=it.replace(a,l,{$$ref:m});if(u&&u!==i)return[v,it.context(a,{baseDoc:u})];try{if(!function(e,t){var n=[e];return t.path.reduce((function(e,t){return n.push(e[t]),e[t]}),e),r(t.value);function r(e){return it.isObject(e)&&(n.indexOf(e)>=0||j()(e).some((function(t){return r(e[t])})))}}(r.state,v)||o.useCircularStructures)return v}catch(e){return null}}}},Vt=Ee()(qt,{docCache:Ft,absoluteify:Ht,clearCache:function(e){void 0!==e?delete Ft[e]:j()(Ft).forEach((function(e){delete Ft[e]}))},JSONRefError:Bt,wrapError:$t,getDoc:Gt,split:Jt,extractFromDoc:Kt,fetchJSON:function(e){return fetch(e,{headers:{Accept:Dt},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return D.ZP.load(e)}))},extract:Zt,jsonPointerToArray:Yt,unescapeJsonPointerToken:Qt});const Wt=Vt;function Ht(e,t){if(!Lt.test(e)){var n;if(!t)throw new Bt(s()(n="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(n,t,"'"));return At.resolve(t,e)}return e}function $t(e,t){var n,r;e&&e.response&&e.response.body?n=s()(r="".concat(e.response.body.code," ")).call(r,e.response.body.message):n=e.message;return new Bt("Could not resolve reference: ".concat(n),t,e)}function Jt(e){return(e+"").split("#")}function Kt(e,t){var n=Ft[e];if(n&&!it.isPromise(n))try{var r=Zt(t,n);return Ee()(ke().resolve(r),{__value:r})}catch(e){return ke().reject(e)}return Gt(e).then((function(e){return Zt(t,e)}))}function Gt(e){var t=Ft[e];return t?it.isPromise(t)?t:ke().resolve(t):(Ft[e]=Vt.fetchJSON(e).then((function(t){return Ft[e]=t,t})),Ft[e])}function Zt(e,t){var n=Yt(e);if(n.length<1)return t;var r=it.getIn(t,n);if(void 0===r)throw new Bt("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return r}function Yt(e){var t;if("string"!=typeof e)throw new TypeError("Expected a string, got a ".concat(m()(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:C()(t=e.split("/")).call(t,Qt)}function Qt(e){return"string"!=typeof e?e:new(kt())("=".concat(e.replace(/~1/g,"/").replace(/~0/g,"~"))).get("")}function Xt(e){var t,n=new(kt())([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]);return W()(t=n.toString()).call(t,1)}function en(e,t){if(!(n=t)||"/"===n||"#"===n)return!0;var n,r=e.charAt(t.length),o=W()(t).call(t,-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==o}const tn={key:"allOf",plugin:function(e,t,n,r,o){if(!o.meta||!o.meta.$$ref){var a=W()(n).call(n,0,-1);if(!Rt(a)){if(!Array.isArray(e)){var i=new TypeError("allOf must be an array");return i.fullPath=n,i}var u=!1,l=o.value;if(a.forEach((function(e){l&&(l=l[e])})),l=me()({},l),0!==j()(l).length){delete l.allOf;var c,p,f=[];if(f.push(r.replace(a,{})),e.forEach((function(e,t){if(!r.isObject(e)){if(u)return null;u=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=n,f.push(o)}f.push(r.mergeDeep(a,e));var i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.specmap,o=n.getBaseUrlForNodePath,a=void 0===o?function(e){var n;return r.getContext(s()(n=[]).call(n,q()(t),q()(e))).baseDoc}:o,i=n.targetKeys,u=void 0===i?["$ref","$$ref"]:i,l=[];return jt()(e).forEach((function(){if(b()(u).call(u,this.key)&&"string"==typeof this.node){var e=this.path,n=s()(t).call(t,this.path),o=Mt(this.node,a(e));l.push(r.replace(n,o))}})),l}(e,W()(n).call(n,0,-1),{getBaseUrlForNodePath:function(e){var o;return r.getContext(s()(o=[]).call(o,q()(n),[t],q()(e))).baseDoc},specmap:r});f.push.apply(f,q()(i))})),l.example)f.push(r.remove(s()(c=[]).call(c,a,"example")));if(f.push(r.mergeDeep(a,l)),!l.$$ref)f.push(r.remove(s()(p=[]).call(p,a,"$$ref")));return f}}}}},nn={key:"parameters",plugin:function(e,t,n,r){if(Array.isArray(e)&&e.length){var o=Ee()([],e),a=W()(n).call(n,0,-1),i=me()({},it.getIn(r.spec,a));return e.forEach((function(e,t){try{o[t].default=r.parameterMacro(i,e)}catch(e){var a=new Error(e);return a.fullPath=n,a}})),it.replace(n,o)}return it.replace(n,e)}},rn={key:"properties",plugin:function(e,t,n,r){var o=me()({},e);for(var a in e)try{o[a].default=r.modelPropertyMacro(o[a])}catch(e){var i=new Error(e);return i.fullPath=n,i}return it.replace(n,o)}};var on=function(){function e(t){ge()(this,e),this.root=an(t||{})}return be()(e,[{key:"set",value:function(e,t){var n=this.getParent(e,!0);if(n){var r=e[e.length-1],o=n.children;o[r]?sn(o[r],t,n):o[r]=an(t,n)}else sn(this.root,t,null)}},{key:"get",value:function(e){if((e=e||[]).length<1)return this.root.value;for(var t,n,r=this.root,o=0;o1?n-1:0),o=1;o1?r-1:0),a=1;a0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return ke().race(C()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var n=this.constructor.getPluginName(e);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(t)}},{key:"updatePatches",value:function(e){var t=this;it.normalizeArray(e).forEach((function(e){if(e instanceof Error)t.errors.push(e);else try{if(!it.isObject(e))return void t.debug("updatePatches","Got a non-object patch",e);if(t.showDebug&&t.allPatches.push(e),it.isPromise(e.value))return t.promisedPatches.push(e),void t.promisedPatchThen(e);if(it.isContextPatch(e))return void t.setContext(e.path,e.value);if(it.isMutation(e))return void t.updateMutations(e)}catch(e){console.error(e),t.errors.push(e)}}))}},{key:"updateMutations",value:function(e){"object"===m()(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=me()({},e.value));var t=it.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,n=this.promisedPatches.indexOf(e);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):Ce()(t=this.promisedPatches).call(t,n,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(n){var r=me()(me()({},e),{},{value:n});t.removePromisedPatch(e),t.updatePatches(r)})).catch((function(n){t.removePromisedPatch(e),t.updatePatches(n)})),e.value}},{key:"getMutations",value:function(e,t){var n;return e=e||0,"number"!=typeof t&&(t=this.mutations.length),W()(n=this.mutations).call(n,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return it.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"dispatch",value:function(){var e,t=this,n=this,r=this.nextPlugin();if(!r){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var a={spec:this.state,errors:this.errors};return this.showDebug&&(a.patches=this.allPatches),ke().resolve(a)}if(n.pluginCount=n.pluginCount||{},n.pluginCount[r]=(n.pluginCount[r]||0)+1,n.pluginCount[r]>100)return ke().resolve({spec:n.state,errors:s()(e=n.errors).call(e,new Error("We've reached a hard limit of ".concat(100," plugin runs")))});if(r!==this.currentPlugin&&this.promisedPatches.length){var i,u=C()(i=this.promisedPatches).call(i,(function(e){return e.value}));return ke().all(C()(u).call(u,(function(e){return e.then(un,un)}))).then((function(){return t.dispatch()}))}return function(){n.currentPlugin=r;var e=n.getCurrentMutations(),t=n.mutations.length-1;try{if(r.isGenerator){var o,a=h()(r(e,n.getLib()));try{for(a.s();!(o=a.n()).done;){l(o.value)}}catch(e){a.e(e)}finally{a.f()}}else{l(r(e,n.getLib()))}}catch(e){console.error(e),l([Ee()(Object.create(e),{plugin:r})])}finally{n.updatePluginHistory(r,{mutationIndex:t})}return n.dispatch()}();function l(e){e&&(e=it.fullyNormalizeArray(e),n.updatePatches(e,r))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return P()(e).call(e,t)}}]),e}();var cn={refs:Wt,allOf:tn,parameters:nn,properties:rn},pn=n(89409);function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.requestInterceptor,r=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:n,responseInterceptor:r,headers:{Accept:Dt},credentials:o}).then((function(e){return e.body}))}}function hn(e){var t=e.fetch,n=e.spec,r=e.url,o=e.mode,a=e.allowMetaPatches,i=void 0===a||a,s=e.pathDiscriminator,u=e.modelPropertyMacro,c=e.parameterMacro,f=e.requestInterceptor,h=e.responseInterceptor,d=e.skipNormalization,m=e.useCircularStructures,v=e.http,g=e.baseDoc;return g=g||r,v=t||v||Y,n?y(n):fn(v,{requestInterceptor:f,responseInterceptor:h})(g).then(y);function y(e){g&&(cn.refs.docCache[g]=e),cn.refs.fetchJSON=fn(v,{requestInterceptor:f,responseInterceptor:h});var t,n=[cn.refs];return"function"==typeof c&&n.push(cn.parameters),"function"==typeof u&&n.push(cn.properties),"strict"!==o&&n.push(cn.allOf),(t={spec:e,context:{baseDoc:g},plugins:n,allowMetaPatches:i,pathDiscriminator:s,parameterMacro:c,modelPropertyMacro:u,useCircularStructures:m},new ln(t).dispatch()).then(d?function(){var e=l()(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():pn.K1)}}var dn=n(80122),mn=n.n(dn),vn=n(27361),gn=n.n(vn),yn=n(30006);function bn(e){return"[object Object]"===Object.prototype.toString.call(e)}function wn(e){var t,n;return!1!==bn(e)&&(void 0===(t=e.constructor)||!1!==bn(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}const En={body:function(e){var t=e.req,n=e.value;t.body=n},header:function(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{},void 0!==r&&(t.headers[n.name]=r)},query:function(e){var t=e.req,n=e.value,r=e.parameter;t.query=t.query||{},!1===n&&"boolean"===r.type&&(n="false");0===n&&["number","integer"].indexOf(r.type)>-1&&(n="0");if(n)t.query[r.name]={collectionFormat:r.collectionFormat,value:n};else if(r.allowEmptyValue&&void 0!==n){var o=r.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}},path:function(e){var t=e.req,n=e.value,r=e.parameter;t.url=t.url.split("{".concat(r.name,"}")).join(encodeURIComponent(n))},formData:function(e){var t=e.req,n=e.value,r=e.parameter;(n||r.allowEmptyValue)&&(t.form=t.form||{},t.form[r.name]={value:n,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}};function xn(e,t){return b()(t).call(t,"application/json")?"string"==typeof e?e:k()(e):e.toString()}function _n(e){var t=e.req,n=e.value,r=e.parameter,o=r.name,a=r.style,i=r.explode,s=r.content;if(s){var u=j()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(J(xn(n,u),{escape:!0}))}else{var l=K({key:r.name,value:n,style:a||"simple",explode:i||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(l)}}function Sn(e){var t=e.req,n=e.value,r=e.parameter;if(t.query=t.query||{},r.content){var o=j()(r.content)[0];t.query[r.name]=xn(n,o)}else if(!1===n&&(n="false"),0===n&&(n="0"),n){var a=r.style,i=r.explode,s=r.allowReserved;t.query[r.name]={value:n,serializationOption:{style:a,explode:i,allowReserved:s}}}else if(r.allowEmptyValue&&void 0!==n){var u=r.name;t.query[u]=t.query[u]||{},t.query[u].allowEmptyValue=!0}}var kn=["accept","authorization","content-type"];function An(e){var t=e.req,n=e.parameter,r=e.value;if(t.headers=t.headers||{},!(kn.indexOf(n.name.toLowerCase())>-1))if(n.content){var o=j()(n.content)[0];t.headers[n.name]=xn(r,o)}else void 0!==r&&(t.headers[n.name]=K({key:n.name,value:r,style:n.style||"simple",explode:void 0!==n.explode&&n.explode,escape:!1}))}function Cn(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{};var o=m()(r);if(n.content){var a,i=j()(n.content)[0];t.headers.Cookie=s()(a="".concat(n.name,"=")).call(a,xn(r,i))}else if("undefined"!==o){var u="object"===o&&!Array.isArray(r)&&n.explode?"":"".concat(n.name,"=");t.headers.Cookie=u+K({key:n.name,value:r,escape:!1,style:n.style||"form",explode:void 0!==n.explode&&n.explode})}}var On=n(50706),jn=n.n(On);function In(e,t){var n=e.operation,r=e.requestBody,o=e.securities,a=e.spec,i=e.attachContentTypeForEmptyPayload,u=e.requestContentType;t=function(e){var t=e.request,n=e.securities,r=void 0===n?{}:n,o=e.operation,a=void 0===o?{}:o,i=e.spec,u=me()({},t),l=r.authorized,c=void 0===l?{}:l,p=a.security||i.security||[],f=c&&!!j()(c).length,h=gn()(i,["components","securitySchemes"])||{};if(u.headers=u.headers||{},u.query=u.query||{},!j()(r).length||!f||!p||Array.isArray(a.security)&&!a.security.length)return t;return p.forEach((function(e){j()(e).forEach((function(e){var t=c[e],n=h[e];if(t){var r=t.value||t,o=n.type;if(t)if("apiKey"===o)"query"===n.in&&(u.query[n.name]=r),"header"===n.in&&(u.headers[n.name]=r),"cookie"===n.in&&(u.cookies[n.name]=r);else if("http"===o){if(/^basic$/i.test(n.scheme)){var a,i=r.username||"",l=r.password||"",p=jn()(s()(a="".concat(i,":")).call(a,l));u.headers.Authorization="Basic ".concat(p)}/^bearer$/i.test(n.scheme)&&(u.headers.Authorization="Bearer ".concat(r))}else if("oauth2"===o||"openIdConnect"===o){var f,d=t.token||{},m=d[n["x-tokenName"]||"access_token"],v=d.token_type;v&&"bearer"!==v.toLowerCase()||(v="Bearer"),u.headers.Authorization=s()(f="".concat(v," ")).call(f,m)}}}))})),u}({request:t,securities:o,operation:n,spec:a});var l=n.requestBody||{},c=j()(l.content||{}),p=u&&c.indexOf(u)>-1;if(r||i){if(u&&p)t.headers["Content-Type"]=u;else if(!u){var f=c[0];f&&(t.headers["Content-Type"]=f,u=f)}}else u&&p&&(t.headers["Content-Type"]=u);if(!e.responseContentType&&n.responses){var h,d=P()(h=T()(n.responses)).call(h,(function(e){var t=g()(e,2),n=t[0],r=t[1],o=parseInt(n,10);return o>=200&&o<300&&wn(r.content)})).reduce((function(e,t){var n=g()(t,2)[1];return s()(e).call(e,j()(n.content))}),[]);d.length>0&&(t.headers.accept=d.join(", "))}if(r)if(u){if(c.indexOf(u)>-1)if("application/x-www-form-urlencoded"===u||"multipart/form-data"===u)if("object"===m()(r)){var v=(l.content[u]||{}).encoding||{};t.form={},j()(r).forEach((function(e){t.form[e]={value:r[e],encoding:v[e]||{}}}))}else t.form=r;else t.body=r}else t.body=r;return t}function Tn(e,t){var n,r,o=e.spec,a=e.operation,i=e.securities,u=e.requestContentType,l=e.responseContentType,c=e.attachContentTypeForEmptyPayload;if(t=function(e){var t=e.request,n=e.securities,r=void 0===n?{}:n,o=e.operation,a=void 0===o?{}:o,i=e.spec,u=me()({},t),l=r.authorized,c=void 0===l?{}:l,p=r.specSecurity,f=void 0===p?[]:p,h=a.security||f,d=c&&!!j()(c).length,m=i.securityDefinitions;if(u.headers=u.headers||{},u.query=u.query||{},!j()(r).length||!d||!h||Array.isArray(a.security)&&!a.security.length)return t;return h.forEach((function(e){j()(e).forEach((function(e){var t=c[e];if(t){var n=t.token,r=t.value||t,o=m[e],a=o.type,i=o["x-tokenName"]||"access_token",l=n&&n[i],p=n&&n.token_type;if(t)if("apiKey"===a){var f="query"===o.in?"query":"headers";u[f]=u[f]||{},u[f][o.name]=r}else if("basic"===a)if(r.header)u.headers.authorization=r.header;else{var h,d=r.username||"",v=r.password||"";r.base64=jn()(s()(h="".concat(d,":")).call(h,v)),u.headers.authorization="Basic ".concat(r.base64)}else if("oauth2"===a&&l){var g;p=p&&"bearer"!==p.toLowerCase()?p:"Bearer",u.headers.authorization=s()(g="".concat(p," ")).call(g,l)}}}))})),u}({request:t,securities:i,operation:a,spec:o}),t.body||t.form||c)if(u)t.headers["Content-Type"]=u;else if(Array.isArray(a.consumes)){var p=g()(a.consumes,1);t.headers["Content-Type"]=p[0]}else if(Array.isArray(o.consumes)){var f=g()(o.consumes,1);t.headers["Content-Type"]=f[0]}else a.parameters&&P()(n=a.parameters).call(n,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":a.parameters&&P()(r=a.parameters).call(r,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(u){var h,d,m=a.parameters&&P()(h=a.parameters).call(h,(function(e){return"body"===e.in})).length>0,v=a.parameters&&P()(d=a.parameters).call(d,(function(e){return"formData"===e.in})).length>0;(m||v)&&(t.headers["Content-Type"]=u)}return!l&&Array.isArray(a.produces)&&a.produces.length>0&&(t.headers.accept=a.produces.join(", ")),t}var Nn=["http","fetch","spec","operationId","pathName","method","parameters","securities"],Pn=function(e){return Array.isArray(e)?e:[]},Rn=Ct("OperationNotFoundError",(function(e,t,n){this.originalError=n,Ee()(this,t||{})})),Mn={buildRequest:Ln};function Dn(e){var t=e.http,n=e.fetch,r=e.spec,o=e.operationId,a=e.pathName,i=e.method,s=e.parameters,u=e.securities,l=mn()(e,Nn),c=t||n||Y;a&&i&&!o&&(o=(0,pn.nc)(a,i));var p=Mn.buildRequest(me()({spec:r,operationId:o,parameters:s,securities:u,http:c},l));return p.body&&(wn(p.body)||Array.isArray(p.body))&&(p.body=k()(p.body)),c(p)}function Ln(e){var t,n,r=e.spec,o=e.operationId,i=e.responseContentType,u=e.scheme,l=e.requestInterceptor,c=e.responseInterceptor,p=e.contextUrl,f=e.userFetch,h=e.server,d=e.serverVariables,m=e.http,v=e.signal,y=e.parameters,b=e.parameterBuilders,w=(0,pn.z6)(r);b||(b=w?a:En);var E={url:"",credentials:m&&m.withCredentials?"include":"same-origin",headers:{},cookies:{}};v&&(E.signal=v),l&&(E.requestInterceptor=l),c&&(E.responseInterceptor=c),f&&(E.userFetch=f);var x=(0,pn.$r)(r,o);if(!x)throw new Rn("Operation ".concat(o," not found"));var _,S=x.operation,k=void 0===S?{}:S,A=x.method,O=x.pathName;if(E.url+=(_={spec:r,scheme:u,contextUrl:p,server:h,serverVariables:d,pathName:O,method:A},(0,pn.z6)(_.spec)?function(e){var t=e.spec,n=e.pathName,r=e.method,o=e.server,a=e.contextUrl,i=e.serverVariables,u=void 0===i?{}:i,l=gn()(t,["paths",n,(r||"").toLowerCase(),"servers"])||gn()(t,["paths",n,"servers"])||gn()(t,["servers"]),c="",p=null;if(o&&l&&l.length){var f=C()(l).call(l,(function(e){return e.url}));f.indexOf(o)>-1&&(c=o,p=l[f.indexOf(o)])}if(!c&&l&&l.length){c=l[0].url;var h=g()(l,1);p=h[0]}return c.indexOf("{")>-1&&function(e){for(var t,n=[],r=/{([^}]+)}/g;t=r.exec(e);)n.push(t[1]);return n}(c).forEach((function(e){if(p.variables&&p.variables[e]){var t=p.variables[e],n=u[e]||t.default,r=new RegExp("{".concat(e,"}"),"g");c=c.replace(r,n)}})),function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n&&r?At.parse(At.resolve(r,n)):At.parse(n),a=At.parse(r),i=Bn(o.protocol)||Bn(a.protocol)||"",u=o.host||a.host,l=o.pathname||"";return"/"===(e=i&&u?s()(t="".concat(i,"://")).call(t,u+l):l)[e.length-1]?W()(e).call(e,0,-1):e}(c,a)}(_):function(e){var t,n,r=e.spec,o=e.scheme,a=e.contextUrl,i=void 0===a?"":a,u=At.parse(i),l=Array.isArray(r.schemes)?r.schemes[0]:null,c=o||l||Bn(u.protocol)||"http",p=r.host||u.host||"",f=r.basePath||"";return"/"===(t=c&&p?s()(n="".concat(c,"://")).call(n,p+f):f)[t.length-1]?W()(t).call(t,0,-1):t}(_)),!o)return delete E.cookies,E;E.url+=O,E.method="".concat(A).toUpperCase(),y=y||{};var I=r.paths[O]||{};i&&(E.headers.accept=i);var T=function(e){var t={};e.forEach((function(e){t[e.in]||(t[e.in]={}),t[e.in][e.name]=e}));var n=[];return j()(t).forEach((function(e){j()(t[e]).forEach((function(r){n.push(t[e][r])}))})),n}(s()(t=s()(n=[]).call(n,Pn(k.parameters))).call(t,Pn(I.parameters)));T.forEach((function(e){var t,n,o=b[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=y),void 0===(t=e&&e.name&&y[e.name]))t=e&&e.name&&y[s()(n="".concat(e.in,".")).call(n,e.name)];else if(function(e,t){return P()(t).call(t,(function(t){return t.name===e}))}(e.name,T).length>1){var a;console.warn(s()(a="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(a,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if(void 0!==e.default&&void 0===t&&(t=e.default),void 0===t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(w&&e.schema&&"object"===e.schema.type&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:E,parameter:e,value:t,operation:k,spec:r})}}));var N=me()(me()({},e),{},{operation:k});if((E=w?In(N,E):Tn(N,E)).cookies&&j()(E.cookies).length){var R=j()(E.cookies).reduce((function(e,t){var n=E.cookies[t];return e+(e?"&":"")+yn.serialize(t,n)}),"");E.headers.Cookie=R}return E.cookies&&delete E.cookies,fe(E),E}var Bn=function(e){return e?e.replace(/\W/g,""):null};function Fn(e,t){return zn.apply(this,arguments)}function zn(){return zn=l()(p().mark((function e(t,n){var r,o,a,i,s,u,l,c,f,h,d,m,v=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=v.length>2&&void 0!==v[2]?v[2]:{},o=r.returnEntireTree,a=r.baseDoc,i=r.requestInterceptor,s=r.responseInterceptor,u=r.parameterMacro,l=r.modelPropertyMacro,c=r.useCircularStructures,f={pathDiscriminator:n,baseDoc:a,requestInterceptor:i,responseInterceptor:s,parameterMacro:u,modelPropertyMacro:l,useCircularStructures:c},h=(0,pn.K1)({spec:t}),d=h.spec,e.next=6,hn(me()(me()({},f),{},{spec:d,allowMetaPatches:!0,skipNormalization:!0}));case 6:return m=e.sent,!o&&Array.isArray(n)&&n.length&&(m.spec=gn()(m.spec,n)||null),e.abrupt("return",m);case 9:case"end":return e.stop()}}),e)}))),zn.apply(this,arguments)}var Un=n(34852);function qn(e){var t,n,r,o=e.configs,a=e.getConfigs;return{fn:{fetch:(t=Y,n=o.preFetch,r=o.postFetch,r=r||function(e){return e},n=n||function(e){return e},function(e){return"string"==typeof e&&(e={url:e}),Z.mergeInQueryOrForm(e),e=n(e),r(t(e))}),buildRequest:Ln,execute:Dn,resolve:hn,resolveSubtree:function(e,t,n){var r;if(void 0===n){var o=a();n={modelPropertyMacro:o.modelPropertyMacro,parameterMacro:o.parameterMacro,requestInterceptor:o.requestInterceptor,responseInterceptor:o.responseInterceptor}}for(var i=arguments.length,u=new Array(i>3?i-3:0),l=3;l{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(90242);function o(){return{fn:{shallowEqualKeys:r.be}}}},48347:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDisplayName:()=>r});var r=function(e){return e.displayName||e.name||"Component"}},73420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(59340),o=n.n(r),a=n(90242),i=n(55776),s=n(48347),u=n(60314);const l=function(e){var t,n=e.getComponents,r=e.getStore,l=e.getSystem,c=(t=(0,i.getComponent)(l,r,n),(0,a.HP)(t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{getComponent:()=>he,render:()=>fe,withMappedContainer:()=>pe});var r=n(23765),o=n.n(r),a=n(95945),i=n.n(a),s=n(5872),u=n.n(s),l=n(26394),c=n.n(l),p=n(69198),f=n.n(p),h=n(51379),d=n.n(h),m=n(10098),v=n.n(m),g=n(86902),y=n.n(g),b=n(67294),w=n(73935),E=n(97779),x=b.createContext(null);var _=function(e){e()},S=function(){return _},k={notify:function(){}};var A=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=k,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=S(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=k)},e}(),C="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?b.useLayoutEffect:b.useEffect;const O=function(e){var t=e.store,n=e.context,r=e.children,o=(0,b.useMemo)((function(){var e=new A(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),a=(0,b.useMemo)((function(){return t.getState()}),[t]);C((function(){var e=o.subscription;return e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,a]);var i=n||x;return b.createElement(i.Provider,{value:o},r)};var j=n(87462),I=n(63366),T=n(8679),N=n.n(T),P=n(72973),R=[],M=[null,null];function D(e,t){var n=e[1];return[t.payload,n+1]}function L(e,t,n){C((function(){return e.apply(void 0,t)}),n)}function B(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function F(e,t,n,r,o,a,i,s,u,l){if(e){var c=!1,p=null,f=function(){if(!c){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===a.current?i.current||u():(a.current=e,s.current=e,i.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var z=function(){return[null,0]};function U(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,a=n.methodName,i=void 0===a?"connectAdvanced":a,s=n.renderCountProp,u=void 0===s?void 0:s,l=n.shouldHandleStateChanges,c=void 0===l||l,p=n.storeKey,f=void 0===p?"store":p,h=(n.withRef,n.forwardRef),d=void 0!==h&&h,m=n.context,v=void 0===m?x:m,g=(0,I.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),y=v;return function(t){var n=t.displayName||t.name||"Component",r=o(n),a=(0,j.Z)({},g,{getDisplayName:o,methodName:i,renderCountProp:u,shouldHandleStateChanges:c,storeKey:f,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=g.pure;var l=s?b.useMemo:function(e){return e()};function p(n){var r=(0,b.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,I.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),o=r[0],i=r[1],s=r[2],u=(0,b.useMemo)((function(){return o&&o.Consumer&&(0,P.isContextConsumer)(b.createElement(o.Consumer,null))?o:y}),[o,y]),p=(0,b.useContext)(u),f=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var h=f?n.store:p.store,d=(0,b.useMemo)((function(){return function(t){return e(t.dispatch,a)}(h)}),[h]),m=(0,b.useMemo)((function(){if(!c)return M;var e=new A(h,f?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,f,p]),v=m[0],g=m[1],w=(0,b.useMemo)((function(){return f?p:(0,j.Z)({},p,{subscription:v})}),[f,p,v]),E=(0,b.useReducer)(D,R,z),x=E[0][0],_=E[1];if(x&&x.error)throw x.error;var S=(0,b.useRef)(),k=(0,b.useRef)(s),C=(0,b.useRef)(),O=(0,b.useRef)(!1),T=l((function(){return C.current&&s===k.current?C.current:d(h.getState(),s)}),[h,x,s]);L(B,[k,S,O,s,T,C,g]),L(F,[c,h,v,d,k,S,O,C,g,_],[h,v,d]);var N=(0,b.useMemo)((function(){return b.createElement(t,(0,j.Z)({},T,{ref:i}))}),[i,t,T]);return(0,b.useMemo)((function(){return c?b.createElement(u.Provider,{value:w},N):N}),[u,N,w])}var h=s?b.memo(p):p;if(h.WrappedComponent=t,h.displayName=p.displayName=r,d){var m=b.forwardRef((function(e,t){return b.createElement(h,(0,j.Z)({},e,{reactReduxForwardedRef:t}))}));return m.displayName=r,m.WrappedComponent=t,N()(m,t)}return N()(h,t)}}function q(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function V(e,t){if(q(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function te(e,t){return e===t}function ne(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?U:n,o=t.mapStateToPropsFactories,a=void 0===o?K:o,i=t.mapDispatchToPropsFactories,s=void 0===i?J:i,u=t.mergePropsFactories,l=void 0===u?Z:u,c=t.selectorFactory,p=void 0===c?X:c;return function(e,t,n,o){void 0===o&&(o={});var i=o,u=i.pure,c=void 0===u||u,f=i.areStatesEqual,h=void 0===f?te:f,d=i.areOwnPropsEqual,m=void 0===d?V:d,v=i.areStatePropsEqual,g=void 0===v?V:v,y=i.areMergedPropsEqual,b=void 0===y?V:y,w=(0,I.Z)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),E=ee(e,a,"mapStateToProps"),x=ee(t,s,"mapDispatchToProps"),_=ee(n,l,"mergeProps");return r(p,(0,j.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:x,initMergeProps:_,pure:c,areStatesEqual:h,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:b},w))}}const re=ne();var oe;oe=w.unstable_batchedUpdates,_=oe;var ae=n(57557),ie=n.n(ae),se=n(6557),ue=n.n(se),le=function(e,t,n){return(0,E.qC)(n?function(e,t){return function(n){var r=e().fn,o=function(e){d()(o,e);var r=v()(o);function o(){return c()(this,o),r.apply(this,arguments)}return f()(o,[{key:"render",value:function(){return b.createElement(O,{store:t},b.createElement(n,u()({},this.props,this.context)))}}]),o}(b.Component);return o.displayName="WithRoot(".concat(r.getDisplayName(n),")"),o}}(e,n):ue(),re((function(n,r){var o,a=i()(i()({},r),e()),s=(null===(o=t.prototype)||void 0===o?void 0:o.mapStateToProps)||function(e){return{state:e}};return s(n,a)})),function(e){return function(t){var n=e().fn,r=function(n){d()(o,n);var r=v()(o);function o(){return c()(this,o),r.apply(this,arguments)}return f()(o,[{key:"render",value:function(){return b.createElement(t,u()({},e(),this.props,this.context))}}]),o}(b.Component);return r.displayName="WithSystem(".concat(n.getDisplayName(t),")"),r}}(e))(t)},ce=function(e,t,n,r){for(var o in t){var a=t[o];"function"==typeof a&&a(n[o],r[o],e())}},pe=function(e,t,n){return function(t,r){var o=e().fn,a=n(t,"root"),i=function(t){d()(o,t);var n=v()(o);function o(t,a){var i;return c()(this,o),i=n.call(this,t,a),ce(e,r,t,{}),i}return f()(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){ce(e,r,t,this.props)}},{key:"render",value:function(){var e=ie()(this.props,r?y()(r):[]);return b.createElement(a,e)}}]),o}(b.Component);return i.displayName="WithMappedContainer(".concat(o.getDisplayName(a),")"),i}},fe=function(e,t,n,r){return function(o){var a=n(e,t,r)("App","root");w.render(b.createElement(a,null),o)}},he=function(e,t,n){return function(r,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"!=typeof r)throw new TypeError("Need a string, to fetch a component. Was given a "+o()(r));var s=n(r);return s?a?"root"===a?le(e,s,t()):le(e,s):s:(i.failSilently||e().log.warn("Could not find component:",r),null)}}},36581:(e,t,n)=>{"use strict";n.d(t,{d3:()=>N,C2:()=>Z});var r=n(86902),o=n.n(r),a=n(78580),i=n.n(a),s=n(63366);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),d[r]}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),o=m(r);return o.reduce((function(e,t){return p({},e,n[t])}),t)}function g(e){return e.join(" ")}function y(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,l=t.tagName,c=t.value;if("text"===u)return c;if(l){var d,m=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return y({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var b=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),w=s.className&&s.className.includes("token")?["token"]:[],E=s.className&&w.concat(s.className.filter((function(e){return!b.includes(e)})));d=p({},s,{className:g(E)||void 0,style:v(s.className,Object.assign({},s.style,o),n)})}else d=p({},s,{className:g(s.className)});var x=m(t.children);return f.createElement(l,(0,h.Z)({key:i},d),x)}}var b=/\n/g;function w(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,i=void 0===a?{}:a,s=e.startingLineNumber;return f.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return f.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function E(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function x(e,t,n){var r;return p({},{display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"==typeof e?e(t):e)}function _(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,u=e.className,l=void 0===u?[]:u,c=e.showLineNumbers,f=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=l,n&&a){var d=x(r,n,o);t.unshift(E(n,d))}return f&c&&(h.style=p({},h.style,{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function S(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return _({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:u})}function m(e,t){if(r&&t&&o){var n=x(s,t,i);e.unshift(E(t,n))}return e}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?d(e,n,r):m(e,n)}for(var g=function(){var e=c[h],t=e.children[0].value;if(t.match(b)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var u=v(c.slice(f+1,h).concat(_({children:[s],className:e.properties.className})),i);p.push(u)}else if(o===n.length-1){if(c[h+1]&&c[h+1].children&&c[h+1].children[0]){var l=_({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});c.splice(h+1,0,l)}else{var d=v([s],i,e.properties.className);p.push(d)}}else{var m=v([s],i,e.properties.className);p.push(m)}})),f=h}h++};h=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);U=U||O;var V=m?f.createElement(w,{containerStyle:E,codeStyle:l.style||{},numberStyle:_,startingLineNumber:b,codeString:z}):null,W=o.hljs||o['pre[class*="language-"]']||{backgroundColor:"#fff"},H=C(U)?"hljs":"prismjs",$=h?Object.assign({},q,{style:Object.assign({},W,i)}):Object.assign({},q,{className:q.className?"".concat(H," ").concat(q.className):H,style:Object.assign({},i)});if(!U)return f.createElement(D,$,V,f.createElement(B,l,z));(void 0===S&&R||T)&&(S=!0),R=R||A;var J=[{type:"text",value:z}],K=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(C(t)){var a=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:o,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(e){return{value:o}}}({astGenerator:U,language:t,code:z,defaultCodeValue:J});null===K.language&&(K.value=J);var G=k(K,S,P,m,g,b,K.value.length+b,_,T);return l.style=p({},l.style,T?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),f.createElement(D,$,f.createElement(B,l,!g&&V,R({rows:G,stylesheet:o,useInlineStyles:h})))});T.registerLanguage=I.registerLanguage;const N=T;var P=n(96344);const R=n.n(P)();var M=n(82026);const D=n.n(M)();var L=n(42157);const B=n.n(L)();var F=n(61519);const z=n.n(F)();var U=n(54587);const q=n.n(U)();var V=n(30786);const W=n.n(V)();var H=n(66336);const $=n.n(H)(),J={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}};N.registerLanguage("json",D),N.registerLanguage("js",R),N.registerLanguage("xml",B),N.registerLanguage("yaml",q),N.registerLanguage("http",W),N.registerLanguage("bash",z),N.registerLanguage("powershell",$),N.registerLanguage("javascript",R);var K={agate:J,arta:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},monokai:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},nord:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},G=o()(K),Z=function(e){return i()(G).call(G,e)?K[e]:(console.warn("Request style '".concat(e,"' is not available, returning default instead")),J)}},90242:(e,t,n)=>{"use strict";n.d(t,{mz:()=>be,oG:()=>we,AF:()=>Ee,LQ:()=>xe,Kn:()=>_e,Wl:()=>Se,kJ:()=>ke,HP:()=>Ae,Ay:()=>Ce,Q2:()=>Oe,_5:()=>je,iQ:()=>Ie,gp:()=>Te,DR:()=>Ne,Zl:()=>Pe,Ik:()=>Me,xi:()=>Ue,UG:()=>qe,r3:()=>Ve,wh:()=>We,GZ:()=>He,be:()=>$e,Nm:()=>Je,hW:()=>Ke,QG:()=>Ge,oJ:()=>Ze,J6:()=>Ye,nX:()=>Qe,po:()=>Xe,XV:()=>et,Pz:()=>tt,D$:()=>nt,V9:()=>rt,cz:()=>ot,Uj:()=>at,Xb:()=>it,O2:()=>ut});var r=n(59036),o=n.n(r),a=(n(18777),n(23765)),i=n.n(a),s=n(86418),u=n.n(s),l=n(41511),c=n.n(l),p=n(2991),f=n.n(p),h=n(72119),d=n.n(h),m=n(77766),v=n.n(m),g=n(78914),y=n.n(g),b=n(20116),w=n.n(b),E=n(86902),x=n.n(E),_=(n(54103),n(32366)),S=n.n(_),k=n(51942),A=n.n(k),C=n(47302),O=n.n(C),j=n(3649),I=n.n(j),T=n(77149),N=n.n(T),P=(n(78580),n(59340)),R=n.n(P),M=n(81643),D=n.n(M),L=n(94473),B=n.n(L),F=n(29828),z=n.n(F),U=n(25843),q=n.n(U),V=n(43393),W=n.n(V),H=n(17967),$=n(68929),J=n.n($),K=n(11700),G=n.n(K),Z=n(88306),Y=n.n(Z),Q=n(13311),X=n.n(Q),ee=n(59704),te=n.n(ee),ne=n(77813),re=n.n(ne),oe=n(23560),ae=n.n(oe),ie=n(57050),se=n(27504),ue=n(8269),le=n.n(ue),ce=n(19069),pe=n(92282),fe=n.n(pe),he=n(89072),de=n.n(he),me=n(1272),ve=n(48764).Buffer,ge="default",ye=function(e){return W().Iterable.isIterable(e)};function be(e){return _e(e)?ye(e)?e.toJS():e:{}}function we(e){var t,n;if(ye(e))return e;if(e instanceof se.Z.File)return e;if(!_e(e))return e;if(c()(e))return f()(n=W().Seq(e)).call(n,we).toList();if(ae()(d()(e))){var r,o=function(e){if(!ae()(d()(e)))return e;var t,n={},r="_**[]",o={},a=u()(d()(e).call(e));try{for(a.s();!(t=a.n()).done;){var i=t.value;if(n[i[0]]||o[i[0]]&&o[i[0]].containsMultiple){var s,l,c,p;if(!o[i[0]])o[i[0]]={containsMultiple:!0,length:1},n[v()(c=v()(p="".concat(i[0])).call(p,r)).call(c,o[i[0]].length)]=n[i[0]],delete n[i[0]];o[i[0]].length+=1,n[v()(s=v()(l="".concat(i[0])).call(l,r)).call(s,o[i[0]].length)]=i[1]}else n[i[0]]=i[1]}}catch(e){a.e(e)}finally{a.f()}return n}(e);return f()(r=W().OrderedMap(o)).call(r,we)}return f()(t=W().OrderedMap(e)).call(t,we)}function Ee(e){return c()(e)?e:[e]}function xe(e){return"function"==typeof e}function _e(e){return!!e&&"object"===i()(e)}function Se(e){return"function"==typeof e}function ke(e){return c()(e)}var Ae=Y();function Ce(e,t){var n;return S()(n=x()(e)).call(n,(function(n,r){return n[r]=t(e[r],r),n}),{})}function Oe(e,t){var n;return S()(n=x()(e)).call(n,(function(n,r){var o=t(e[r],r);return o&&"object"===i()(o)&&A()(n,o),n}),{})}function je(e){return function(t){t.dispatch,t.getState;return function(t){return function(n){return"function"==typeof n?n(e()):t(n)}}}}function Ie(e){var t,n=e.keySeq();return n.contains(ge)?ge:O()(t=w()(n).call(n,(function(e){return"2"===(e+"")[0]}))).call(t).first()}function Te(e,t){if(!W().Iterable.isIterable(e))return W().List();var n=e.getIn(c()(t)?t:[t]);return W().List.isList(n)?n:W().List()}function Ne(e){var t,n=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if(N()(n).call(n,(function(n){return null!==(t=n.exec(e))})),null!==t&&t.length>1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}function Pe(e){return t=e.replace(/\.[^./]*$/,""),G()(J()(t));var t}function Re(e,t,n,r,a){if(!t)return[];var s=[],u=t.get("nullable"),l=t.get("required"),p=t.get("maximum"),h=t.get("minimum"),d=t.get("type"),m=t.get("format"),g=t.get("maxLength"),b=t.get("minLength"),E=t.get("uniqueItems"),x=t.get("maxItems"),_=t.get("minItems"),S=t.get("pattern"),k=n||!0===l,A=null!=e;if(u&&null===e||!d||!(k||A&&"array"===d||!(!k&&!A)))return[];var C="string"===d&&e,O="array"===d&&c()(e)&&e.length,j="array"===d&&W().List.isList(e)&&e.count(),I=[C,O,j,"array"===d&&"string"==typeof e&&e,"file"===d&&e instanceof se.Z.File,"boolean"===d&&(e||!1===e),"number"===d&&(e||0===e),"integer"===d&&(e||0===e),"object"===d&&"object"===i()(e)&&null!==e,"object"===d&&"string"==typeof e&&e],T=N()(I).call(I,(function(e){return!!e}));if(k&&!T&&!r)return s.push("Required field is not provided"),s;if("object"===d&&(null===a||"application/json"===a)){var P,R=e;if("string"==typeof e)try{R=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}if(t&&t.has("required")&&Se(l.isList)&&l.isList()&&y()(l).call(l,(function(e){void 0===R[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties"))y()(P=t.get("properties")).call(P,(function(e,t){var n=Re(R[t],e,!1,r,a);s.push.apply(s,o()(f()(n).call(n,(function(e){return{propKey:t,error:e}}))))}))}if(S){var M=function(e,t){if(!new RegExp(t).test(e))return"Value must follow pattern "+t}(e,S);M&&s.push(M)}if(_&&"array"===d){var D=function(e,t){var n;if(!e&&t>=1||e&&e.lengtht)return v()(n="Array must not contain more then ".concat(t," item")).call(n,1===t?"":"s")}(e,x);L&&s.push({needRemove:!0,error:L})}if(E&&"array"===d){var B=function(e,t){if(e&&("true"===t||!0===t)){var n=(0,V.fromJS)(e),r=n.toSet();if(e.length>r.size){var o=(0,V.Set)();if(y()(n).call(n,(function(e,t){w()(n).call(n,(function(t){return Se(t.equals)?t.equals(e):t===e})).size>1&&(o=o.add(t))})),0!==o.size)return f()(o).call(o,(function(e){return{index:e,error:"No duplicates allowed."}})).toArray()}}}(e,E);B&&s.push.apply(s,o()(B))}if(g||0===g){var F=function(e,t){var n;if(e.length>t)return v()(n="Value must be no longer than ".concat(t," character")).call(n,1!==t?"s":"")}(e,g);F&&s.push(F)}if(b){var z=function(e,t){var n;if(e.lengtht)return"Value must be less than ".concat(t)}(e,p);U&&s.push(U)}if(h||0===h){var q=function(e,t){if(e2&&void 0!==arguments[2]?arguments[2]:{},r=n.isOAS3,o=void 0!==r&&r,a=n.bypassRequiredCheck,i=void 0!==a&&a,s=e.get("required"),u=(0,ce.Z)(e,{isOAS3:o}),l=u.schema,c=u.parameterContentMediaType;return Re(t,l,s,i,c)},De=function(e,t,n){if(e&&(!e.xml||!e.xml.name)){if(e.xml=e.xml||{},!e.$$ref)return e.type||e.items||e.properties||e.additionalProperties?'\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var r=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=r[1]}return(0,ie.memoizedCreateXMLExample)(e,t,n)},Le=[{when:/json/,shouldStringifyTypes:["string"]}],Be=["object"],Fe=function(e,t,n,r){var a=(0,ie.memoizedSampleFromSchema)(e,t,r),s=i()(a),u=S()(Le).call(Le,(function(e,t){var r;return t.when.test(n)?v()(r=[]).call(r,o()(e),o()(t.shouldStringifyTypes)):e}),Be);return te()(u,(function(e){return e===s}))?R()(a,null,2):a},ze=function(e,t,n,r){var o,a=Fe(e,t,n,r);try{"\n"===(o=me.ZP.dump(me.ZP.load(a),{lineWidth:-1}))[o.length-1]&&(o=I()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")},Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return e&&Se(e.toJS)&&(e=e.toJS()),r&&Se(r.toJS)&&(r=r.toJS()),/xml/.test(t)?De(e,n,r):/(yaml|yml)/.test(t)?ze(e,n,t,r):Fe(e,n,t,r)},qe=function(){var e={},t=se.Z.location.search;if(!t)return{};if(""!=t){var n=t.substr(1).split("&");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(r=n[r].split("="),e[decodeURIComponent(r[0])]=r[1]&&decodeURIComponent(r[1])||"")}return e},Ve=function(e){return(e instanceof ve?e:ve.from(e.toString(),"utf-8")).toString("base64")},We={operationsSorter:{alpha:function(e,t){return e.get("path").localeCompare(t.get("path"))},method:function(e,t){return e.get("method").localeCompare(t.get("method"))}},tagsSorter:{alpha:function(e,t){return e.localeCompare(t)}}},He=function(e){var t=[];for(var n in e){var r=e[n];void 0!==r&&""!==r&&t.push([n,"=",encodeURIComponent(r).replace(/%20/g,"+")].join(""))}return t.join("&")},$e=function(e,t,n){return!!X()(n,(function(n){return re()(e[n],t[n])}))};function Je(e){return"string"!=typeof e||""===e?"":(0,H.N)(e)}function Ke(e){return!(!e||D()(e).call(e,"localhost")>=0||D()(e).call(e,"127.0.0.1")>=0||"none"===e)}function Ge(e){if(!W().OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;var t=B()(e).call(e,(function(e,t){return z()(t).call(t,"2")&&x()(e.get("content")||{}).length>0})),n=e.get("default")||W().OrderedMap(),r=(n.get("content")||W().OrderedMap()).keySeq().toJS().length?n:null;return t||r}var Ze=function(e){return"string"==typeof e||e instanceof String?q()(e).call(e).replace(/\s/g,"%20"):""},Ye=function(e){return le()(Ze(e).replace(/%20/g,"_"))},Qe=function(e){return w()(e).call(e,(function(e,t){return/^x-/.test(t)}))},Xe=function(e){return w()(e).call(e,(function(e,t){return/^pattern|maxLength|minLength|maximum|minimum/.test(t)}))};function et(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==i()(e)||c()(e)||null===e||!t)return e;var o=A()({},e);return y()(n=x()(o)).call(n,(function(e){e===t&&r(o[e],e)?delete o[e]:o[e]=et(o[e],t,r)})),o}function tt(e){if("string"==typeof e)return e;if(e&&e.toJS&&(e=e.toJS()),"object"===i()(e)&&null!==e)try{return R()(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function nt(e){return"number"==typeof e?e.toString():e}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnAll,r=void 0!==n&&n,o=t.allowHashes,a=void 0===o||o;if(!W().Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var i,s,u,l=e.get("name"),c=e.get("in"),p=[];e&&e.hashCode&&c&&l&&a&&p.push(v()(i=v()(s="".concat(c,".")).call(s,l,".hash-")).call(i,e.hashCode()));c&&l&&p.push(v()(u="".concat(c,".")).call(u,l));return p.push(l),r?p:p[0]||""}function ot(e,t){var n,r=rt(e,{returnAll:!0});return w()(n=f()(r).call(r,(function(e){return t[e]}))).call(n,(function(e){return void 0!==e}))[0]}function at(){return st(fe()(32).toString("base64"))}function it(e){return st(de()("sha256").update(e).digest("base64"))}function st(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var ut=function(e){return!e||!(!ye(e)||!e.isEmpty())}},2518:(e,t,n)=>{"use strict";function r(e){return function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)?"json":null}n.d(t,{O:()=>r})},27504:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(){var e={location:{},history:{},open:function(){},close:function(){},File:function(){}};if("undefined"==typeof window)return e;try{e=window;for(var t=0,n=["File","Blob","FormData"];t{"use strict";n.d(t,{Z:()=>c});var r=n(20116),o=n.n(r),a=n(78580),i=n.n(a),s=n(43393),u=n.n(s),l=u().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isOAS3;if(!u().Map.isMap(e))return{schema:u().Map(),parameterContentMediaType:null};if(!n)return"body"===e.get("in")?{schema:e.get("schema",u().Map()),parameterContentMediaType:null}:{schema:o()(e).call(e,(function(e,t){return i()(l).call(l,t)})),parameterContentMediaType:null};if(e.get("content")){var r=e.get("content",u().Map({})).keySeq(),a=r.first();return{schema:e.getIn(["content",a,"schema"],u().Map()),parameterContentMediaType:a}}return{schema:e.get("schema",u().Map()),parameterContentMediaType:null}}},60314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(26394),o=n.n(r),a=n(69198),i=n.n(a),s=n(31474),u=n.n(s),l=n(66380),c=n.n(l),p=n(51379),f=n.n(p),h=n(10098),d=n.n(h),m=n(74803),v=n.n(m),g=n(41511),y=n.n(g),b=n(10062),w=n.n(b),E=n(66419),x=n.n(E),_=n(69301),S=n.n(_),k=n(94473),A=n.n(k),C=n(62462),O=n.n(C),j=n(39392),I=n.n(j),T=n(88306),N=n.n(T),P=function(e){return function(t){return y()(e)&&y()(t)&&e.length===t.length&&w()(e).call(e,(function(e,n){return e===t[n]}))}},R=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:R,n=N().Cache;N().Cache=M;var r=N()(e,t);return N().Cache=n,r}},79742:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,a=u(e),i=a[0],s=a[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,i,s)),c=0,p=s>0?i-4:i;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=16383,s=0,u=r-o;su?u:s+i));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=a.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,a,i=[],s=t;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},50706:(e,t,n)=>{var r=n(48764).Buffer;!function(){"use strict";e.exports=function(e){return(e instanceof r?e:r.from(e.toString(),"binary")).toString("base64")}}()},48764:(e,t,n)=>{"use strict";const r=n(79742),o=n(80645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const i=2147483647;function s(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(G(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const o=function(e){if(u.isBuffer(e)){const t=0|d(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Z(e.length)?s(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return c(e),s(e<0?0:0|d(e))}function f(e){const t=e.length<0?0:0|d(e.length),n=s(t);for(let r=0;r=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(o)return r?-1:$(e).length;t=(""+t).toLowerCase(),o=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Z(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){let a,i=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,u/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){let r=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){let n=!0;for(let r=0;ro&&(r=o):r=o;const a=t.length;let i;for(r>a/2&&(r=a/2),i=0;i>8,o=n%256,a.push(o),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o239?4:t>223?3:t>191?2:1;if(o+i<=n){let n,r,s,u;switch(i){case 1:t<128&&(a=t);break;case 2:n=e[o+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(a=u));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(a=u))}}null===a?(a=65533,i=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=i}return function(e){const t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,o){if(G(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let a=(o>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0);const s=Math.min(a,i),l=this.slice(r,o),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let a=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function O(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;or)&&(n=r);let o="";for(let r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,o,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function R(e,t,n,r,o){q(t,r,o,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,n}function M(e,t,n,r,o){q(t,r,o,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=i,i>>=8,e[n+2]=i,i>>=8,e[n+1]=i,i>>=8,e[n]=i,n+8}function D(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return t=+t,n>>>=0,a||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,a){return t=+t,n>>>=0,a||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,a=0;for(;++a>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,a=0;for(;++a=o&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=t,o=1,a=this[e+--r];for(;r>0&&(o*=256);)a+=this[e+--r]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Q((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){P(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){P(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Q((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Q((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}let o=0,a=1,i=0;for(this[t]=255&e;++o>0)-i&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}let o=n-1,a=1,i=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Q((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Q((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,o,a){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(a+1)}${r}`:`>= -(2${r} ** ${8*(a+1)-1}${r}) and < 2 ** ${8*(a+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){V(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||W(t,e.length-(n+1))}(r,o,a)}function V(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,n){if(Math.floor(e)!==e)throw V(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=U(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=U(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function $(e,t){let n;t=t||1/0;const r=e.length;let o=null;const a=[];for(let i=0;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function J(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Z(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function Q(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},21924:(e,t,n)=>{"use strict";var r=n(40210),o=n(55559),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},55559:(e,t,n)=>{"use strict";var r=n(58612),o=n(40210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(i,a),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(r,i,arguments);if(u&&l){var n=u(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var p=function(){return s(r,a,arguments)};l?l(e.exports,"apply",{value:p}):e.exports.apply=p},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,s,u,l,c=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),s=document.createRange(),u=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),l&&document.body.removeChild(l),i()}return c}},95299:(e,t,n)=>{var r=n(24848);e.exports=r},83450:(e,t,n)=>{var r=n(83363);e.exports=r},66820:(e,t,n)=>{var r=n(56243);e.exports=r},90093:(e,t,n)=>{var r=n(28196);e.exports=r},3688:(e,t,n)=>{var r=n(11955);e.exports=r},83838:(e,t,n)=>{var r=n(46279);e.exports=r},15684:(e,t,n)=>{var r=n(19373);e.exports=r},84234:(e,t,n)=>{var r=n(82073);e.exports=r},92182:(e,t,n)=>{var r=n(15868);e.exports=r},65362:(e,t,n)=>{var r=n(63383);e.exports=r},32271:(e,t,n)=>{var r=n(14471);e.exports=r},91254:(e,t,n)=>{var r=n(57396);e.exports=r},43536:(e,t,n)=>{var r=n(41910);e.exports=r},37331:(e,t,n)=>{var r=n(79427);e.exports=r},68522:(e,t,n)=>{var r=n(62857);e.exports=r},73151:(e,t,n)=>{var r=n(9534);e.exports=r},99565:(e,t,n)=>{var r=n(96507);e.exports=r},45012:(e,t,n)=>{var r=n(23059);e.exports=r},78690:(e,t,n)=>{var r=n(16670);e.exports=r},25626:(e,t,n)=>{var r=n(27460);e.exports=r},84670:(e,t,n)=>{var r=n(61895);e.exports=r},41285:(e,t,n)=>{var r=n(18254);e.exports=r},80281:(e,t,n)=>{var r=n(92547);e.exports=r},40031:(e,t,n)=>{var r=n(46509);e.exports=r},54493:(e,t,n)=>{n(77971),n(53242);var r=n(54058);e.exports=r.Array.from},24034:(e,t,n)=>{n(92737);var r=n(54058);e.exports=r.Array.isArray},15367:(e,t,n)=>{n(85906);var r=n(35703);e.exports=r("Array").concat},12710:(e,t,n)=>{n(66274),n(55967);var r=n(35703);e.exports=r("Array").entries},51459:(e,t,n)=>{n(48851);var r=n(35703);e.exports=r("Array").every},6172:(e,t,n)=>{n(80290);var r=n(35703);e.exports=r("Array").fill},62383:(e,t,n)=>{n(21501);var r=n(35703);e.exports=r("Array").filter},60009:(e,t,n)=>{n(44929);var r=n(35703);e.exports=r("Array").findIndex},17671:(e,t,n)=>{n(80833);var r=n(35703);e.exports=r("Array").find},99324:(e,t,n)=>{n(2437);var r=n(35703);e.exports=r("Array").forEach},80991:(e,t,n)=>{n(97690);var r=n(35703);e.exports=r("Array").includes},8700:(e,t,n)=>{n(99076);var r=n(35703);e.exports=r("Array").indexOf},95909:(e,t,n)=>{n(66274),n(55967);var r=n(35703);e.exports=r("Array").keys},6442:(e,t,n)=>{n(75915);var r=n(35703);e.exports=r("Array").lastIndexOf},23866:(e,t,n)=>{n(68787);var r=n(35703);e.exports=r("Array").map},52999:(e,t,n)=>{n(81876);var r=n(35703);e.exports=r("Array").reduce},24900:(e,t,n)=>{n(60186);var r=n(35703);e.exports=r("Array").slice},3824:(e,t,n)=>{n(36026);var r=n(35703);e.exports=r("Array").some},2948:(e,t,n)=>{n(4115);var r=n(35703);e.exports=r("Array").sort},78209:(e,t,n)=>{n(98611);var r=n(35703);e.exports=r("Array").splice},14423:(e,t,n)=>{n(66274),n(55967);var r=n(35703);e.exports=r("Array").values},81103:(e,t,n)=>{n(95160);var r=n(54058);e.exports=r.Date.now},27700:(e,t,n)=>{n(73381);var r=n(35703);e.exports=r("Function").bind},13830:(e,t,n)=>{n(66274),n(77971);var r=n(22902);e.exports=r},16246:(e,t,n)=>{var r=n(7046),o=n(27700),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||r(a,e)&&t===a.bind?o:t}},56043:(e,t,n)=>{var r=n(7046),o=n(15367),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||r(a,e)&&t===a.concat?o:t}},13160:(e,t,n)=>{var r=n(7046),o=n(51459),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||r(a,e)&&t===a.every?o:t}},80446:(e,t,n)=>{var r=n(7046),o=n(6172),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||r(a,e)&&t===a.fill?o:t}},2480:(e,t,n)=>{var r=n(7046),o=n(62383),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||r(a,e)&&t===a.filter?o:t}},7147:(e,t,n)=>{var r=n(7046),o=n(60009),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||r(a,e)&&t===a.findIndex?o:t}},32236:(e,t,n)=>{var r=n(7046),o=n(17671),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||r(a,e)&&t===a.find?o:t}},58557:(e,t,n)=>{var r=n(7046),o=n(80991),a=n(21631),i=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===i||r(i,e)&&t===i.includes?o:"string"==typeof e||e===s||r(s,e)&&t===s.includes?a:t}},34570:(e,t,n)=>{var r=n(7046),o=n(8700),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||r(a,e)&&t===a.indexOf?o:t}},57564:(e,t,n)=>{var r=n(7046),o=n(6442),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||r(a,e)&&t===a.lastIndexOf?o:t}},88287:(e,t,n)=>{var r=n(7046),o=n(23866),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||r(a,e)&&t===a.map?o:t}},68025:(e,t,n)=>{var r=n(7046),o=n(52999),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||r(a,e)&&t===a.reduce?o:t}},59257:(e,t,n)=>{var r=n(7046),o=n(80454),a=String.prototype;e.exports=function(e){var t=e.repeat;return"string"==typeof e||e===a||r(a,e)&&t===a.repeat?o:t}},69601:(e,t,n)=>{var r=n(7046),o=n(24900),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||r(a,e)&&t===a.slice?o:t}},28299:(e,t,n)=>{var r=n(7046),o=n(3824),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||r(a,e)&&t===a.some?o:t}},69355:(e,t,n)=>{var r=n(7046),o=n(2948),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||r(a,e)&&t===a.sort?o:t}},18339:(e,t,n)=>{var r=n(7046),o=n(78209),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||r(a,e)&&t===a.splice?o:t}},71611:(e,t,n)=>{var r=n(7046),o=n(3269),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||r(a,e)&&t===a.startsWith?o:t}},62774:(e,t,n)=>{var r=n(7046),o=n(13348),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||r(a,e)&&t===a.trim?o:t}},84426:(e,t,n)=>{n(32619);var r=n(54058),o=n(79730);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return o(r.JSON.stringify,null,arguments)}},91018:(e,t,n)=>{n(66274),n(37501),n(55967),n(77971);var r=n(54058);e.exports=r.Map},45999:(e,t,n)=>{n(49221);var r=n(54058);e.exports=r.Object.assign},35254:(e,t,n)=>{n(53882);var r=n(54058).Object;e.exports=function(e,t){return r.create(e,t)}},7702:(e,t,n)=>{n(74979);var r=n(54058).Object,o=e.exports=function(e,t){return r.defineProperties(e,t)};r.defineProperties.sham&&(o.sham=!0)},48171:(e,t,n)=>{n(86450);var r=n(54058).Object,o=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(o.sham=!0)},73081:(e,t,n)=>{n(94366);var r=n(54058);e.exports=r.Object.entries},286:(e,t,n)=>{n(46924);var r=n(54058).Object,o=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(o.sham=!0)},92766:(e,t,n)=>{n(88482);var r=n(54058);e.exports=r.Object.getOwnPropertyDescriptors},30498:(e,t,n)=>{n(35824);var r=n(54058);e.exports=r.Object.getOwnPropertySymbols},13966:(e,t,n)=>{n(17405);var r=n(54058);e.exports=r.Object.getPrototypeOf},48494:(e,t,n)=>{n(21724);var r=n(54058);e.exports=r.Object.keys},3065:(e,t,n)=>{n(90108);var r=n(54058);e.exports=r.Object.setPrototypeOf},98430:(e,t,n)=>{n(26614);var r=n(54058);e.exports=r.Object.values},52956:(e,t,n)=>{n(47627),n(66274),n(55967),n(98881),n(4560),n(91302),n(44349),n(77971);var r=n(54058);e.exports=r.Promise},14983:(e,t,n)=>{n(7453);var r=n(54058);e.exports=r.Reflect.construct},37095:(e,t,n)=>{n(42355);var r=n(54058);e.exports=r.Reflect.get},21631:(e,t,n)=>{n(11035);var r=n(35703);e.exports=r("String").includes},80454:(e,t,n)=>{n(60986);var r=n(35703);e.exports=r("String").repeat},3269:(e,t,n)=>{n(94761);var r=n(35703);e.exports=r("String").startsWith},13348:(e,t,n)=>{n(57398);var r=n(35703);e.exports=r("String").trim},57473:(e,t,n)=>{n(85906),n(55967),n(35824),n(8555),n(52615),n(21732),n(35903),n(1825),n(28394),n(45915),n(61766),n(62737),n(89911),n(74315),n(63131),n(64714),n(70659),n(69120),n(79413),n(1502);var r=n(54058);e.exports=r.Symbol},24227:(e,t,n)=>{n(66274),n(55967),n(77971),n(1825);var r=n(11477);e.exports=r.f("iterator")},32304:(e,t,n)=>{n(66274),n(55967),n(54334);var r=n(54058);e.exports=r.WeakMap},27385:(e,t,n)=>{var r=n(95299);e.exports=r},81522:(e,t,n)=>{var r=n(83450);e.exports=r},32209:(e,t,n)=>{var r=n(66820);e.exports=r},14122:(e,t,n)=>{var r=n(90093);e.exports=r},44442:(e,t,n)=>{var r=n(3688);e.exports=r},57152:(e,t,n)=>{var r=n(83838);e.exports=r},69447:(e,t,n)=>{var r=n(15684);e.exports=r},81493:(e,t,n)=>{var r=n(84234);e.exports=r},86672:(e,t,n)=>{var r=n(92182);n(52453),n(32523),n(66591),n(55121),n(14751),n(52407),n(48580),n(27281),n(36507),n(93647),n(47641),n(66306),n(27693),n(8),n(48514),n(8212),n(89642),n(78485),n(42256),n(68826),e.exports=r},60269:(e,t,n)=>{var r=n(65362);e.exports=r},76094:(e,t,n)=>{var r=n(32271);e.exports=r},70573:(e,t,n)=>{var r=n(91254);e.exports=r},73685:(e,t,n)=>{var r=n(43536);e.exports=r},27533:(e,t,n)=>{var r=n(37331);e.exports=r},39057:(e,t,n)=>{var r=n(68522);e.exports=r},84710:(e,t,n)=>{var r=n(73151);e.exports=r},74303:(e,t,n)=>{var r=n(99565);e.exports=r},93799:(e,t,n)=>{var r=n(45012);e.exports=r},55122:(e,t,n)=>{var r=n(78690);e.exports=r},29531:(e,t,n)=>{var r=n(25626);n(89731),n(55708),n(30014),n(88731),e.exports=r},10856:(e,t,n)=>{var r=n(84670);e.exports=r},31524:(e,t,n)=>{var r=n(41285);e.exports=r},86600:(e,t,n)=>{var r=n(80281);n(28783),n(43975),n(65799),n(45414),n(46774),n(80620),n(36172),e.exports=r},9759:(e,t,n)=>{var r=n(40031);e.exports=r},24883:(e,t,n)=>{var r=n(21899),o=n(57475),a=n(69826),i=r.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a function")}},174:(e,t,n)=>{var r=n(21899),o=n(24284),a=n(69826),i=r.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a constructor")}},11851:(e,t,n)=>{var r=n(21899),o=n(57475),a=r.String,i=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+a(e)+" as a prototype")}},18479:e=>{e.exports=function(){}},5743:(e,t,n)=>{var r=n(21899),o=n(7046),a=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw a("Incorrect invocation")}},96059:(e,t,n)=>{var r=n(21899),o=n(10941),a=r.String,i=r.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not an object")}},97135:(e,t,n)=>{var r=n(95981);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},91860:(e,t,n)=>{"use strict";var r=n(89678),o=n(59413),a=n(10623);e.exports=function(e){for(var t=r(this),n=a(t),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),u=i>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)t[s++]=e;return t}},56837:(e,t,n)=>{"use strict";var r=n(3610).forEach,o=n(34194)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},11354:(e,t,n)=>{"use strict";var r=n(21899),o=n(86843),a=n(78834),i=n(89678),s=n(75196),u=n(6782),l=n(24284),c=n(10623),p=n(55449),f=n(53476),h=n(22902),d=r.Array;e.exports=function(e){var t=i(e),n=l(this),r=arguments.length,m=r>1?arguments[1]:void 0,v=void 0!==m;v&&(m=o(m,r>2?arguments[2]:void 0));var g,y,b,w,E,x,_=h(t),S=0;if(!_||this==d&&u(_))for(g=c(t),y=n?new this(g):d(g);g>S;S++)x=v?m(t[S],S):t[S],p(y,S,x);else for(E=(w=f(t,_)).next,y=n?new this:[];!(b=a(E,w)).done;S++)x=v?s(w,m,[b.value,S],!0):b.value,p(y,S,x);return y.length=S,y}},31692:(e,t,n)=>{var r=n(74529),o=n(59413),a=n(10623),i=function(e){return function(t,n,i){var s,u=r(t),l=a(u),c=o(i,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3610:(e,t,n)=>{var r=n(86843),o=n(95329),a=n(37026),i=n(89678),s=n(10623),u=n(64692),l=o([].push),c=function(e){var t=1==e,n=2==e,o=3==e,c=4==e,p=6==e,f=7==e,h=5==e||p;return function(d,m,v,g){for(var y,b,w=i(d),E=a(w),x=r(m,v),_=s(E),S=0,k=g||u,A=t?k(d,_):n||f?k(d,0):void 0;_>S;S++)if((h||S in E)&&(b=x(y=E[S],S,w),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l(A,y)}else switch(e){case 4:return!1;case 7:l(A,y)}return p?-1:o||c?c:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},67145:(e,t,n)=>{"use strict";var r=n(79730),o=n(74529),a=n(62435),i=n(10623),s=n(34194),u=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,p=s("lastIndexOf"),f=c||!p;e.exports=f?function(e){if(c)return r(l,this,arguments)||0;var t=o(this),n=i(t),s=n-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:l},50568:(e,t,n)=>{var r=n(95981),o=n(99813),a=n(53385),i=o("species");e.exports=function(e){return a>=51||!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34194:(e,t,n)=>{"use strict";var r=n(95981);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},46499:(e,t,n)=>{var r=n(21899),o=n(24883),a=n(89678),i=n(37026),s=n(10623),u=r.TypeError,l=function(e){return function(t,n,r,l){o(n);var c=a(t),p=i(c),f=s(c),h=e?f-1:0,d=e?-1:1;if(r<2)for(;;){if(h in p){l=p[h],h+=d;break}if(h+=d,e?h<0:f<=h)throw u("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=d)h in p&&(l=n(l,p[h],h,c));return l}};e.exports={left:l(!1),right:l(!0)}},15790:(e,t,n)=>{var r=n(21899),o=n(59413),a=n(10623),i=n(55449),s=r.Array,u=Math.max;e.exports=function(e,t,n){for(var r=a(e),l=o(t,r),c=o(void 0===n?r:n,r),p=s(u(c-l,0)),f=0;l{var r=n(95329);e.exports=r([].slice)},61388:(e,t,n)=>{var r=n(15790),o=Math.floor,a=function(e,t){var n=e.length,u=o(n/2);return n<8?i(e,t):s(e,a(r(e,0,u),t),a(r(e,u),t),t)},i=function(e,t){for(var n,r,o=e.length,a=1;a0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var o=t.length,a=n.length,i=0,s=0;i{var r=n(21899),o=n(1052),a=n(24284),i=n(10941),s=n(99813)("species"),u=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(a(t)&&(t===u||o(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},64692:(e,t,n)=>{var r=n(5693);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},75196:(e,t,n)=>{var r=n(96059),o=n(7609);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},21385:(e,t,n)=>{var r=n(99813)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},82532:(e,t,n)=>{var r=n(95329),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},9697:(e,t,n)=>{var r=n(21899),o=n(22885),a=n(57475),i=n(82532),s=n(99813)("toStringTag"),u=r.Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?n:l?i(t):"Object"==(r=i(t))&&a(t.callee)?"Arguments":r}},38694:(e,t,n)=>{var r=n(95329)("".replace),o=String(Error("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,i=a.test(o);e.exports=function(e,t){if(i&&"string"==typeof e)for(;t--;)e=r(e,a,"");return e}},28984:(e,t,n)=>{"use strict";var r=n(78834),o=n(24883),a=n(96059);e.exports=function(){for(var e,t=a(this),n=o(t.delete),i=!0,s=0,u=arguments.length;s{"use strict";var r=n(86843),o=n(78834),a=n(24883),i=n(174),s=n(93091),u=[].push;e.exports=function(e){var t,n,l,c,p=arguments.length,f=p>1?arguments[1]:void 0;return i(this),(t=void 0!==f)&&a(f),null==e?new this:(n=[],t?(l=0,c=r(f,p>2?arguments[2]:void 0),s(e,(function(e){o(u,n,c(e,l++))}))):s(e,u,{that:n}),new this(n))}},45226:(e,t,n)=>{"use strict";var r=n(93765);e.exports=function(){return new this(r(arguments))}},85616:(e,t,n)=>{"use strict";var r=n(65988).f,o=n(29290),a=n(87524),i=n(86843),s=n(5743),u=n(93091),l=n(47771),c=n(94431),p=n(55746),f=n(21647).fastKey,h=n(45402),d=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,h),d(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),h=c.prototype,v=m(t),g=function(e,t,n){var r,o,a=v(e),i=y(e,t);return i?i.value=n:(a.last=i={index:o=f(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=i),r&&(r.next=i),p?a.size++:e.size++,"F"!==o&&(a.index[o]=i)),e},y=function(e,t){var n,r=v(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(h,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=y(t,e);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=i(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),a(h,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),p&&r(h,"size",{get:function(){return v(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),a=m(r);l(e,t,(function(e,t){d(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},8850:(e,t,n)=>{"use strict";var r=n(95329),o=n(87524),a=n(21647).getWeakData,i=n(96059),s=n(10941),u=n(5743),l=n(93091),c=n(3610),p=n(90953),f=n(45402),h=f.set,d=f.getterFor,m=c.find,v=c.findIndex,g=r([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},E=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&g(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var c=e((function(e,o){u(e,f),h(e,{type:t,id:y++,frozen:void 0}),null!=o&&l(o,e[r],{that:e,AS_ENTRIES:n})})),f=c.prototype,m=d(t),v=function(e,t,n){var r=m(e),o=a(i(t),!0);return!0===o?b(r).set(t,n):o[r.id]=n,e};return o(f,{delete:function(e){var t=m(this);if(!s(e))return!1;var n=a(e);return!0===n?b(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!s(e))return!1;var n=a(e);return!0===n?b(t).has(e):n&&p(n,t.id)}}),o(f,n?{get:function(e){var t=m(this);if(s(e)){var n=a(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),c}}},24683:(e,t,n)=>{"use strict";var r=n(76887),o=n(21899),a=n(21647),i=n(95981),s=n(32029),u=n(93091),l=n(5743),c=n(57475),p=n(10941),f=n(90904),h=n(65988).f,d=n(3610).forEach,m=n(55746),v=n(45402),g=v.set,y=v.getterFor;e.exports=function(e,t,n){var v,b=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),E=b?"set":"add",x=o[e],_=x&&x.prototype,S={};if(m&&c(x)&&(w||_.forEach&&!i((function(){(new x).entries().next()})))){var k=(v=t((function(t,n){g(l(t,k),{type:e,collection:new x}),null!=n&&u(n,t[E],{that:t,AS_ENTRIES:b})}))).prototype,A=y(e);d(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in _)||w&&"clear"==e||s(k,e,(function(n,r){var o=A(this).collection;if(!t&&w&&!p(n))return"get"==e&&void 0;var a=o[e](0===n?0:n,r);return t?this:a}))})),w||h(k,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else v=n.getConstructor(t,e,b,E),a.enable();return f(v,e,!1,!0),S[e]=v,r({global:!0,forced:!0},S),w||n.setStrong(v,e,b),v}},23489:(e,t,n)=>{var r=n(90953),o=n(31136),a=n(49677),i=n(65988);e.exports=function(e,t,n){for(var s=o(t),u=i.f,l=a.f,c=0;c{var r=n(99813)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},64160:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},31046:(e,t,n)=>{"use strict";var r=n(35143).IteratorPrototype,o=n(29290),a=n(31887),i=n(90904),s=n(12077),u=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=o(r,{next:a(+!l,n)}),i(e,c,!1,!0),s[c]=u,e}},32029:(e,t,n)=>{var r=n(55746),o=n(65988),a=n(31887);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},31887:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},55449:(e,t,n)=>{"use strict";var r=n(83894),o=n(65988),a=n(31887);e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},47771:(e,t,n)=>{"use strict";var r=n(76887),o=n(78834),a=n(82529),i=n(79417),s=n(57475),u=n(31046),l=n(249),c=n(88929),p=n(90904),f=n(32029),h=n(99754),d=n(99813),m=n(12077),v=n(35143),g=i.PROPER,y=i.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,E=d("iterator"),x="keys",_="values",S="entries",k=function(){return this};e.exports=function(e,t,n,i,d,v,A){u(n,t,i);var C,O,j,I=function(e){if(e===d&&M)return M;if(!w&&e in P)return P[e];switch(e){case x:case _:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",N=!1,P=e.prototype,R=P[E]||P["@@iterator"]||d&&P[d],M=!w&&R||I(d),D="Array"==t&&P.entries||R;if(D&&(C=l(D.call(new e)))!==Object.prototype&&C.next&&(a||l(C)===b||(c?c(C,b):s(C[E])||h(C,E,k)),p(C,T,!0,!0),a&&(m[T]=k)),g&&d==_&&R&&R.name!==_&&(!a&&y?f(P,"name",_):(N=!0,M=function(){return o(R,this)})),d)if(O={values:I(_),keys:v?M:I(x),entries:I(S)},A)for(j in O)(w||N||!(j in P))&&h(P,j,O[j]);else r({target:t,proto:!0,forced:w||N},O);return a&&!A||P[E]===M||h(P,E,M,{name:d}),m[t]=M,O}},66349:(e,t,n)=>{var r=n(54058),o=n(90953),a=n(11477),i=n(65988).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},55746:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},61333:(e,t,n)=>{var r=n(21899),o=n(10941),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},63281:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},34342:(e,t,n)=>{var r=n(2861).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},23321:e=>{e.exports="object"==typeof window},81046:(e,t,n)=>{var r=n(2861);e.exports=/MSIE|Trident/.test(r)},4470:(e,t,n)=>{var r=n(2861),o=n(21899);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},22749:(e,t,n)=>{var r=n(2861);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6049:(e,t,n)=>{var r=n(82532),o=n(21899);e.exports="process"==r(o.process)},58045:(e,t,n)=>{var r=n(2861);e.exports=/web0s(?!.*chrome)/i.test(r)},2861:(e,t,n)=>{var r=n(626);e.exports=r("navigator","userAgent")||""},53385:(e,t,n)=>{var r,o,a=n(21899),i=n(2861),s=a.process,u=a.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},18938:(e,t,n)=>{var r=n(2861).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},35703:(e,t,n)=>{var r=n(54058);e.exports=function(e){return r[e+"Prototype"]}},56759:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18780:(e,t,n)=>{var r=n(95981),o=n(31887);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},76887:(e,t,n)=>{"use strict";var r=n(21899),o=n(79730),a=n(95329),i=n(57475),s=n(49677).f,u=n(37252),l=n(54058),c=n(86843),p=n(32029),f=n(90953),h=function(e){var t=function(n,r,a){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,a)}return o(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,o,d,m,v,g,y,b,w=e.target,E=e.global,x=e.stat,_=e.proto,S=E?r:x?r[w]:(r[w]||{}).prototype,k=E?l:l[w]||p(l,w,{})[w],A=k.prototype;for(d in t)n=!u(E?d:w+(x?".":"#")+d,e.forced)&&S&&f(S,d),v=k[d],n&&(g=e.noTargetGet?(b=s(S,d))&&b.value:S[d]),m=n&&g?g:t[d],n&&typeof v==typeof m||(y=e.bind&&n?c(m,r):e.wrap&&n?h(m):_&&i(m)?a(m):m,(e.sham||m&&m.sham||v&&v.sham)&&p(y,"sham",!0),p(k,d,y),_&&(f(l,o=w+"Prototype")||p(l,o,{}),p(l[o],d,m),e.real&&A&&!A[d]&&p(A,d,m)))}},95981:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},45602:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},79730:(e,t,n)=>{var r=n(18285),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)})},86843:(e,t,n)=>{var r=n(95329),o=n(24883),a=n(18285),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},18285:(e,t,n)=>{var r=n(95981);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},98308:(e,t,n)=>{"use strict";var r=n(21899),o=n(95329),a=n(24883),i=n(10941),s=n(90953),u=n(93765),l=n(18285),c=r.Function,p=o([].concat),f=o([].join),h={},d=function(e,t,n){if(!s(h,t)){for(var r=[],o=0;o{var r=n(18285),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},79417:(e,t,n)=>{var r=n(55746),o=n(90953),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},95329:(e,t,n)=>{var r=n(18285),o=Function.prototype,a=o.bind,i=o.call,s=r&&a.bind(i,i);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},626:(e,t,n)=>{var r=n(54058),o=n(21899),a=n(57475),i=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},22902:(e,t,n)=>{var r=n(9697),o=n(14229),a=n(12077),i=n(99813)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[r(e)]}},53476:(e,t,n)=>{var r=n(21899),o=n(78834),a=n(24883),i=n(96059),s=n(69826),u=n(22902),l=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(a(n))return i(o(n,e));throw l(s(e)+" is not iterable")}},79993:(e,t,n)=>{var r=n(53476);e.exports=r},14229:(e,t,n)=>{var r=n(24883);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},21899:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},90953:(e,t,n)=>{var r=n(95329),o=n(89678),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},27748:e=>{e.exports={}},34845:(e,t,n)=>{var r=n(21899);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},15463:(e,t,n)=>{var r=n(626);e.exports=r("document","documentElement")},2840:(e,t,n)=>{var r=n(55746),o=n(95981),a=n(61333);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},37026:(e,t,n)=>{var r=n(21899),o=n(95329),a=n(95981),i=n(82532),s=r.Object,u=o("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?u(e,""):s(e)}:s},81302:(e,t,n)=>{var r=n(95329),o=n(57475),a=n(63030),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},53794:(e,t,n)=>{var r=n(10941),o=n(32029);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},21647:(e,t,n)=>{var r=n(76887),o=n(95329),a=n(27748),i=n(10941),s=n(90953),u=n(65988).f,l=n(10946),c=n(684),p=n(91584),f=n(99418),h=n(45602),d=!1,m=f("meta"),v=0,g=function(e){u(e,m,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},d=!0;var e=l.f,t=o([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),o=0,a=r.length;o{var r,o,a,i=n(38019),s=n(21899),u=n(95329),l=n(10941),c=n(32029),p=n(90953),f=n(63030),h=n(44262),d=n(27748),m="Object already initialized",v=s.TypeError,g=s.WeakMap;if(i||f.state){var y=f.state||(f.state=new g),b=u(y.get),w=u(y.has),E=u(y.set);r=function(e,t){if(w(y,e))throw new v(m);return t.facade=e,E(y,e,t),t},o=function(e){return b(y,e)||{}},a=function(e){return w(y,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){if(p(e,x))throw new v(m);return t.facade=e,c(e,x,t),t},o=function(e){return p(e,x)?e[x]:{}},a=function(e){return p(e,x)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},6782:(e,t,n)=>{var r=n(99813),o=n(12077),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},1052:(e,t,n)=>{var r=n(82532);e.exports=Array.isArray||function(e){return"Array"==r(e)}},57475:e=>{e.exports=function(e){return"function"==typeof e}},24284:(e,t,n)=>{var r=n(95329),o=n(95981),a=n(57475),i=n(9697),s=n(626),u=n(81302),l=function(){},c=[],p=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=r(f.exec),d=!f.exec(l),m=function(e){if(!a(e))return!1;try{return p(l,c,e),!0}catch(e){return!1}},v=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(f,u(e))}catch(e){return!0}};v.sham=!0,e.exports=!p||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},77040:(e,t,n)=>{var r=n(90953);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},37252:(e,t,n)=>{var r=n(95981),o=n(57475),a=/#|\.prototype\./,i=function(e,t){var n=u[s(e)];return n==c||n!=l&&(o(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},10941:(e,t,n)=>{var r=n(57475);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},82529:e=>{e.exports=!0},60685:(e,t,n)=>{var r=n(10941),o=n(82532),a=n(99813)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},56664:(e,t,n)=>{var r=n(21899),o=n(626),a=n(57475),i=n(7046),s=n(32302),u=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return a(t)&&i(t.prototype,u(e))}},93091:(e,t,n)=>{var r=n(21899),o=n(86843),a=n(78834),i=n(96059),s=n(69826),u=n(6782),l=n(10623),c=n(7046),p=n(53476),f=n(22902),h=n(7609),d=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},v=m.prototype;e.exports=function(e,t,n){var r,g,y,b,w,E,x,_=n&&n.that,S=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),C=o(t,_),O=function(e){return r&&h(r,"normal",e),new m(!0,e)},j=function(e){return S?(i(e),A?C(e[0],e[1],O):C(e[0],e[1])):A?C(e,O):C(e)};if(k)r=e;else{if(!(g=f(e)))throw d(s(e)+" is not iterable");if(u(g)){for(y=0,b=l(e);b>y;y++)if((w=j(e[y]))&&c(v,w))return w;return new m(!1)}r=p(e,g)}for(E=r.next;!(x=a(E,r)).done;){try{w=j(x.value)}catch(e){h(r,"throw",e)}if("object"==typeof w&&w&&c(v,w))return w}return new m(!1)}},7609:(e,t,n)=>{var r=n(78834),o=n(96059),a=n(14229);e.exports=function(e,t,n){var i,s;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw n;return n}i=r(i,e)}catch(e){s=!0,i=e}if("throw"===t)throw n;if(s)throw i;return o(i),n}},35143:(e,t,n)=>{"use strict";var r,o,a,i=n(95981),s=n(57475),u=n(29290),l=n(249),c=n(99754),p=n(99813),f=n(82529),h=p("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(o=l(l(a)))!==Object.prototype&&(r=o):d=!0),null==r||i((function(){var e={};return r[h].call(e)!==e}))?r={}:f&&(r=u(r)),s(r[h])||c(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},12077:e=>{e.exports={}},10623:(e,t,n)=>{var r=n(43057);e.exports=function(e){return r(e.length)}},48721:(e,t,n)=>{"use strict";var r=n(78834),o=n(24883),a=n(96059);e.exports=function(e,t){var n=a(this),i=o(n.get),s=o(n.has),u=o(n.set),l=r(s,n,e)&&"update"in t?t.update(r(i,n,e),e,n):t.insert(e,n);return r(u,n,e,l),l}},20716:(e,t,n)=>{"use strict";var r=n(21899),o=n(78834),a=n(24883),i=n(57475),s=n(96059),u=r.TypeError;e.exports=function(e,t){var n,r=s(this),l=a(r.get),c=a(r.has),p=a(r.set),f=arguments.length>2?arguments[2]:void 0;if(!i(t)&&!i(f))throw u("At least one callback required");return o(c,r,e)?(n=o(l,r,e),i(t)&&(n=t(n),o(p,r,e,n))):i(f)&&(n=f(),o(p,r,e,n)),n}},66132:(e,t,n)=>{var r,o,a,i,s,u,l,c,p=n(21899),f=n(86843),h=n(49677).f,d=n(42941).set,m=n(22749),v=n(4470),g=n(58045),y=n(6049),b=p.MutationObserver||p.WebKitMutationObserver,w=p.document,E=p.process,x=p.Promise,_=h(p,"queueMicrotask"),S=_&&_.value;S||(r=function(){var e,t;for(y&&(e=E.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},m||y||g||!b||!w?!v&&x&&x.resolve?((l=x.resolve(void 0)).constructor=x,c=f(l.then,l),i=function(){c(r)}):y?i=function(){E.nextTick(r)}:(d=f(d,p),i=function(){d(r)}):(s=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},19297:(e,t,n)=>{var r=n(21899);e.exports=r.Promise},72497:(e,t,n)=>{var r=n(53385),o=n(95981);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},28468:(e,t,n)=>{var r=n(95981),o=n(99813),a=n(82529),i=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},38019:(e,t,n)=>{var r=n(21899),o=n(57475),a=n(81302),i=r.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},69520:(e,t,n)=>{"use strict";var r=n(24883),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},14649:(e,t,n)=>{var r=n(85803);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},70344:(e,t,n)=>{var r=n(21899),o=n(60685),a=r.TypeError;e.exports=function(e){if(o(e))throw a("The method doesn't accept regular expressions");return e}},24420:(e,t,n)=>{"use strict";var r=n(55746),o=n(95329),a=n(78834),i=n(95981),s=n(14771),u=n(87857),l=n(36760),c=n(89678),p=n(37026),f=Object.assign,h=Object.defineProperty,d=o([].concat);e.exports=!f||i((function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,i=1,f=u.f,h=l.f;o>i;)for(var m,v=p(arguments[i++]),g=f?d(s(v),f(v)):s(v),y=g.length,b=0;y>b;)m=g[b++],r&&!a(h,v,m)||(n[m]=v[m]);return n}:f},29290:(e,t,n)=>{var r,o=n(96059),a=n(59938),i=n(56759),s=n(27748),u=n(15463),l=n(61333),c=n(44262),p=c("IE_PROTO"),f=function(){},h=function(e){return" + + + + + + +
      + +
      +
      +
      +

      All Classes and Interfaces

      +
      +
      +
      Classes
      +
      +
      Class
      +
      Description
      + +
       
      +
      +
      +
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/allpackages-index.html b/modules/swagger-parser/build/docs/javadoc/allpackages-index.html new file mode 100644 index 0000000000..8a44e41edb --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/allpackages-index.html @@ -0,0 +1,63 @@ + + + + +All Packages (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +
      +

      All Packages

      +
      +
      Package Summary
      +
      +
      Package
      +
      Description
      + +
       
      +
      +
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/copy.svg b/modules/swagger-parser/build/docs/javadoc/copy.svg new file mode 100644 index 0000000000..7c46ab15fe --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/modules/swagger-parser/build/docs/javadoc/element-list b/modules/swagger-parser/build/docs/javadoc/element-list new file mode 100644 index 0000000000..aa4efe7919 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/element-list @@ -0,0 +1 @@ +io.swagger.parser diff --git a/modules/swagger-parser/build/docs/javadoc/help-doc.html b/modules/swagger-parser/build/docs/javadoc/help-doc.html new file mode 100644 index 0000000000..b0c5f62178 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/help-doc.html @@ -0,0 +1,177 @@ + + + + +API Help (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +

      JavaDoc Help

      + +
      +
      +

      Navigation

      +Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
      +
      +
      +

      Kinds of Pages

      +The following sections describe the different kinds of pages in this collection. +
      +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

      +
        +
      • Interfaces
      • +
      • Classes
      • +
      • Enum Classes
      • +
      • Exception Classes
      • +
      • Annotation Interfaces
      • +
      +
      +
      +

      Class or Interface

      +

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

      +
        +
      • Class Inheritance Diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class or Interface Declaration
      • +
      • Class or Interface Description
      • +
      +
      +
        +
      • Nested Class Summary
      • +
      • Enum Constant Summary
      • +
      • Field Summary
      • +
      • Property Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      +
      +
        +
      • Enum Constant Details
      • +
      • Field Details
      • +
      • Property Details
      • +
      • Constructor Details
      • +
      • Method Details
      • +
      • Element Details
      • +
      +

      Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

      +

      The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
      +
      +

      Other Files

      +

      Packages and modules may contain pages with additional information related to the declarations nearby.

      +
      +
      +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
      • +
      +
      +
      +

      All Packages

      +

      The All Packages page contains an alphabetic index of all packages contained in the documentation.

      +
      +
      +

      All Classes and Interfaces

      +

      The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

      +
      +
      +

      Index

      +

      The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

      +
      +
      +
      +This help file applies to API documentation generated by the standard doclet.
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/index-all.html b/modules/swagger-parser/build/docs/javadoc/index-all.html new file mode 100644 index 0000000000..303048076b --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/index-all.html @@ -0,0 +1,76 @@ + + + + +Index (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +
      +

      Index

      +
      +I O R 
      All Classes and Interfaces|All Packages +

      I

      +
      +
      io.swagger.parser - package io.swagger.parser
      +
       
      +
      +

      O

      +
      +
      OpenAPIParser - Class in io.swagger.parser
      +
       
      +
      OpenAPIParser() - Constructor for class io.swagger.parser.OpenAPIParser
      +
       
      +
      +

      R

      +
      +
      readContents(String, List<AuthorizationValue>, ParseOptions) - Method in class io.swagger.parser.OpenAPIParser
      +
       
      +
      readLocation(String, List<AuthorizationValue>, ParseOptions) - Method in class io.swagger.parser.OpenAPIParser
      +
       
      +
      +I O R 
      All Classes and Interfaces|All Packages
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/index.html b/modules/swagger-parser/build/docs/javadoc/index.html new file mode 100644 index 0000000000..71a5a52eea --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/index.html @@ -0,0 +1,25 @@ + + + + +swagger-parser 2.1.13-SNAPSHOT API + + + + + + + + + + +
      + +

      io/swagger/parser/package-summary.html

      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/OpenAPIParser.html b/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/OpenAPIParser.html new file mode 100644 index 0000000000..5b07ee320b --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/OpenAPIParser.html @@ -0,0 +1,188 @@ + + + + +OpenAPIParser (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      + +
      + +

      Class OpenAPIParser

      +
      +
      java.lang.Object +
      io.swagger.parser.OpenAPIParser
      +
      +
      +
      +
      public class OpenAPIParser +extends Object
      +
      +
      +
        + +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        +
        +
      • + +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        io.swagger.v3.parser.core.models.SwaggerParseResult
        +
        readContents(String swaggerAsString, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
        +
         
        +
        io.swagger.v3.parser.core.models.SwaggerParseResult
        +
        readLocation(String url, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
        +
         
        +
        +
        +
        +
        +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        +
        +
      • +
      +
      +
      +
        + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          OpenAPIParser

          +
          public OpenAPIParser()
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Method Details

        +
          +
        • +
          +

          readLocation

          +
          public io.swagger.v3.parser.core.models.SwaggerParseResult readLocation(String url, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
          +
          +
        • +
        • +
          +

          readContents

          +
          public io.swagger.v3.parser.core.models.SwaggerParseResult readContents(String swaggerAsString, + List<io.swagger.v3.parser.core.models.AuthorizationValue> auth, + io.swagger.v3.parser.core.models.ParseOptions options)
          +
          +
        • +
        +
        +
      • +
      +
      + +
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/package-summary.html b/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/package-summary.html new file mode 100644 index 0000000000..a2ea008602 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/package-summary.html @@ -0,0 +1,90 @@ + + + + +io.swagger.parser (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +
      +

      Package io.swagger.parser

      +
      +
      +
      package io.swagger.parser
      +
      + +
      +
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/package-tree.html b/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/package-tree.html new file mode 100644 index 0000000000..512e84dd9e --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/io/swagger/parser/package-tree.html @@ -0,0 +1,66 @@ + + + + +io.swagger.parser Class Hierarchy (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +
      +

      Hierarchy For Package io.swagger.parser

      +
      +
      +

      Class Hierarchy

      + +
      +
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/jquery-ui.overrides.css b/modules/swagger-parser/build/docs/javadoc/jquery-ui.overrides.css new file mode 100644 index 0000000000..facf852c27 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/modules/swagger-parser/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO b/modules/swagger-parser/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000000..ff700cd09f --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/modules/swagger-parser/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION b/modules/swagger-parser/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000000..065b8d9023 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + http://openjdk.java.net/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/modules/swagger-parser/build/docs/javadoc/legal/LICENSE b/modules/swagger-parser/build/docs/javadoc/legal/LICENSE new file mode 100644 index 0000000000..8b400c7ab8 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/modules/swagger-parser/build/docs/javadoc/legal/jquery.md b/modules/swagger-parser/build/docs/javadoc/legal/jquery.md new file mode 100644 index 0000000000..f7b72e3fbe --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/legal/jquery.md @@ -0,0 +1,72 @@ +## jQuery v3.6.0 + +### jQuery License +``` +jQuery v 3.6.0 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************** + +The jQuery JavaScript Library v3.6.0 also includes Sizzle.js + +Sizzle.js includes the following license: + +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +********************* + +``` diff --git a/modules/swagger-parser/build/docs/javadoc/legal/jqueryUI.md b/modules/swagger-parser/build/docs/javadoc/legal/jqueryUI.md new file mode 100644 index 0000000000..9f4c9e951f --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.13.1 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/modules/swagger-parser/build/docs/javadoc/member-search-index.js b/modules/swagger-parser/build/docs/javadoc/member-search-index.js new file mode 100644 index 0000000000..148d5f275a --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"io.swagger.parser","c":"OpenAPIParser","l":"OpenAPIParser()","u":"%3Cinit%3E()"},{"p":"io.swagger.parser","c":"OpenAPIParser","l":"readContents(String, List, ParseOptions)","u":"readContents(java.lang.String,java.util.List,io.swagger.v3.parser.core.models.ParseOptions)"},{"p":"io.swagger.parser","c":"OpenAPIParser","l":"readLocation(String, List, ParseOptions)","u":"readLocation(java.lang.String,java.util.List,io.swagger.v3.parser.core.models.ParseOptions)"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser/build/docs/javadoc/module-search-index.js b/modules/swagger-parser/build/docs/javadoc/module-search-index.js new file mode 100644 index 0000000000..0d59754fc4 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser/build/docs/javadoc/overview-tree.html b/modules/swagger-parser/build/docs/javadoc/overview-tree.html new file mode 100644 index 0000000000..abd0bdf0ae --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/overview-tree.html @@ -0,0 +1,70 @@ + + + + +Class Hierarchy (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
      + +
      +
      +
      +

      Hierarchy For All Packages

      +Package Hierarchies: + +
      +
      +

      Class Hierarchy

      + +
      +
      +
      +
      + + diff --git a/modules/swagger-parser/build/docs/javadoc/package-search-index.js b/modules/swagger-parser/build/docs/javadoc/package-search-index.js new file mode 100644 index 0000000000..1abdf9f148 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"io.swagger.parser"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser/build/docs/javadoc/resources/glass.png b/modules/swagger-parser/build/docs/javadoc/resources/glass.png new file mode 100644 index 0000000000..a7f591f467 Binary files /dev/null and b/modules/swagger-parser/build/docs/javadoc/resources/glass.png differ diff --git a/modules/swagger-parser/build/docs/javadoc/resources/x.png b/modules/swagger-parser/build/docs/javadoc/resources/x.png new file mode 100644 index 0000000000..30548a756e Binary files /dev/null and b/modules/swagger-parser/build/docs/javadoc/resources/x.png differ diff --git a/modules/swagger-parser/build/docs/javadoc/script-dir/jquery-3.6.0.min.js b/modules/swagger-parser/build/docs/javadoc/script-dir/jquery-3.6.0.min.js new file mode 100644 index 0000000000..c4c6022f29 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/script-dir/jquery-3.6.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
      "],col:[2,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
      ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n
      "),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(E(s),E(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,l=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
        ").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)});s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
        ").text(i))},100))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("
        ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
        ").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}});x.ui.autocomplete}); \ No newline at end of file diff --git a/modules/swagger-parser/build/docs/javadoc/script.js b/modules/swagger-parser/build/docs/javadoc/script.js new file mode 100644 index 0000000000..62953632e9 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/script.js @@ -0,0 +1,266 @@ +/* + * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; + +var oddRowColor = "odd-row-color"; +var evenRowColor = "even-row-color"; +var sortAsc = "sort-asc"; +var sortDesc = "sort-desc"; +var tableTab = "table-tab"; +var activeTableTab = "active-table-tab"; + +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +// Helper for making content containing release names comparable lexicographically +function makeComparable(s) { + return s.toLowerCase().replace(/(\d+)/g, + function(n, m) { + return ("000" + m).slice(-4); + }); +} + +// Switches between two styles depending on a condition +function toggleStyle(classList, condition, trueStyle, falseStyle) { + if (condition) { + classList.remove(falseStyle); + classList.add(trueStyle); + } else { + classList.remove(trueStyle); + classList.add(falseStyle); + } +} + +// Sorts the rows in a table lexicographically by the content of a specific column +function sortTable(header, columnIndex, columns) { + var container = header.parentElement; + var descending = header.classList.contains(sortAsc); + container.querySelectorAll("div.table-header").forEach( + function(header) { + header.classList.remove(sortAsc); + header.classList.remove(sortDesc); + } + ) + var cells = container.children; + var rows = []; + for (var i = columns; i < cells.length; i += columns) { + rows.push(Array.prototype.slice.call(cells, i, i + columns)); + } + var comparator = function(a, b) { + var ka = makeComparable(a[columnIndex].textContent); + var kb = makeComparable(b[columnIndex].textContent); + if (ka < kb) + return descending ? 1 : -1; + if (ka > kb) + return descending ? -1 : 1; + return 0; + }; + var sorted = rows.sort(comparator); + var visible = 0; + sorted.forEach(function(row) { + if (row[0].style.display !== 'none') { + var isEvenRow = visible++ % 2 === 0; + } + row.forEach(function(cell) { + toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor); + container.appendChild(cell); + }) + }); + toggleStyle(header.classList, descending, sortDesc, sortAsc); +} + +// Toggles the visibility of a table category in all tables in a page +function toggleGlobal(checkbox, selected, columns) { + var display = checkbox.checked ? '' : 'none'; + document.querySelectorAll("div.table-tabs").forEach(function(t) { + var id = t.parentElement.getAttribute("id"); + var selectedClass = id + "-tab" + selected; + // if selected is empty string it selects all uncategorized entries + var selectUncategorized = !Boolean(selected); + var visible = 0; + document.querySelectorAll('div.' + id) + .forEach(function(elem) { + if (selectUncategorized) { + if (elem.className.indexOf(selectedClass) === -1) { + elem.style.display = display; + } + } else if (elem.classList.contains(selectedClass)) { + elem.style.display = display; + } + if (elem.style.display === '') { + var isEvenRow = visible++ % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + } + }); + t.parentElement.style.display = visible === 0 ? 'none' : ''; + }) +} + +// Shows the elements of a table belonging to a specific category +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.querySelector('div#' + tableId +' .summary-table') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} +// Copy the contents of the local snippet to the clipboard +function copySnippet(button) { + copyToClipboard(button.nextElementSibling.innerText); + switchCopyLabel(button.firstElementChild, button.parentElement); +} +// Copy the link to the adjacent header to the clipboard +function copyUrl(button) { + var id; + var header = button.parentElement; + if (header.hasAttribute("id")) { + id = header.getAttribute("id"); + } else if (header.parentElement.tagName === 'SECTION' && header.parentElement.hasAttribute("id")) { + id = header.parentElement.getAttribute("id"); + } else if (header.firstElementChild && header.firstElementChild.tagName === "A" + && header.firstElementChild.hasAttribute("id")) { + id = header.firstElementChild.getAttribute("id"); + } + var url = document.location.href; + if (url.indexOf("#") > -1) { + url = url.substring(0, url.indexOf("#")); + } + copyToClipboard(url + "#" + id); + switchCopyLabel(button.lastElementChild, button.parentElement); +} +function copyToClipboard(content) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = content; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); +} +function switchCopyLabel(span, parent) { + var copied = span.getAttribute("data-copied"); + if (span.innerHTML !== copied) { + var initialLabel = span.innerHTML; + span.innerHTML = copied; + parent.onmouseleave = parent.ontouchend = function() { + span.innerHTML = initialLabel; + }; + } +} +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + var timeoutId; + contentDiv.addEventListener("scroll", function(e) { + if (timeoutId) { + clearTimeout(timeoutId); + } + timeoutId = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + }, 100); + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/modules/swagger-parser/build/docs/javadoc/search-page.js b/modules/swagger-parser/build/docs/javadoc/search-page.js new file mode 100644 index 0000000000..d55f29e592 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/search-page.js @@ -0,0 +1,299 @@ +/* + * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +"use strict"; +$(function() { + var copy = $("#page-search-copy"); + var expand = $("#page-search-expand"); + var searchLink = $("span#page-search-link"); + var redirect = $("input#search-redirect"); + function setSearchUrlTemplate() { + var href = document.location.href.split(/[#?]/)[0]; + href += "?q=" + "%s"; + if (redirect.is(":checked")) { + href += "&r=1"; + } + searchLink.html(href); + copy[0].onmouseenter(); + } + function copyLink(e) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = this.previousSibling.innerText; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); + var span = this.lastElementChild; + var copied = span.getAttribute("data-copied"); + if (span.innerHTML !== copied) { + var initialLabel = span.innerHTML; + span.innerHTML = copied; + var parent = this.parentElement.parentElement; + parent.onmouseleave = parent.ontouchend = copy[0].onmouseenter = function() { + span.innerHTML = initialLabel; + }; + } + } + copy.click(copyLink); + copy[0].onmouseenter = function() {}; + redirect.click(setSearchUrlTemplate); + setSearchUrlTemplate(); + copy.prop("disabled", false); + redirect.prop("disabled", false); + expand.click(function (e) { + var searchInfo = $("div.page-search-info"); + if(this.parentElement.hasAttribute("open")) { + searchInfo.attr("style", "border-width: 0;"); + } else { + searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight")); + } + }); +}); +$(window).on("load", function() { + var input = $("#page-search-input"); + var reset = $("#page-search-reset"); + var notify = $("#page-search-notify"); + var resultSection = $("div#result-section"); + var resultContainer = $("div#result-container"); + var searchTerm = ""; + var activeTab = ""; + var fixedTab = false; + var visibleTabs = []; + var feelingLucky = false; + function renderResults(result) { + if (!result.length) { + notify.html(messages.noResult); + } else if (result.length === 1) { + notify.html(messages.oneResult); + } else { + notify.html(messages.manyResults.replace("{0}", result.length)); + } + resultContainer.empty(); + var r = { + "types": [], + "members": [], + "packages": [], + "modules": [], + "searchTags": [] + }; + for (var i in result) { + var item = result[i]; + var arr = r[item.category]; + arr.push(item); + } + if (!activeTab || r[activeTab].length === 0 || !fixedTab) { + Object.keys(r).reduce(function(prev, curr) { + if (r[curr].length > 0 && r[curr][0].score > prev) { + activeTab = curr; + return r[curr][0].score; + } + return prev; + }, 0); + } + if (feelingLucky && activeTab) { + notify.html(messages.redirecting) + var firstItem = r[activeTab][0]; + window.location = getURL(firstItem.indexItem, firstItem.category); + return; + } + if (result.length > 20) { + if (searchTerm[searchTerm.length - 1] === ".") { + if (activeTab === "types" && r["members"].length > r["types"].length) { + activeTab = "members"; + } else if (activeTab === "packages" && r["types"].length > r["packages"].length) { + activeTab = "types"; + } + } + } + var categoryCount = Object.keys(r).reduce(function(prev, curr) { + return prev + (r[curr].length > 0 ? 1 : 0); + }, 0); + visibleTabs = []; + var tabContainer = $("
        ").appendTo(resultContainer); + for (var key in r) { + var id = "#result-tab-" + key.replace("searchTags", "search_tags"); + if (r[key].length) { + var count = r[key].length >= 1000 ? "999+" : r[key].length; + if (result.length > 20 && categoryCount > 1) { + var button = $("").appendTo(tabContainer); + button.click(key, function(e) { + fixedTab = true; + renderResult(e.data, $(this)); + }); + visibleTabs.push(key); + } else { + $("" + categories[key] + + " (" + count + ")").appendTo(tabContainer); + renderTable(key, r[key]).appendTo(resultContainer); + tabContainer = $("
        ").appendTo(resultContainer); + + } + } + } + if (activeTab && result.length > 20 && categoryCount > 1) { + $("button#result-tab-" + activeTab).addClass("active-table-tab"); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + } + resultSection.show(); + function renderResult(category, button) { + activeTab = category; + setSearchUrl(); + resultContainer.find("div.summary-table").remove(); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + button.siblings().removeClass("active-table-tab"); + button.addClass("active-table-tab"); + } + } + function selectTab(category) { + $("button#result-tab-" + category).click(); + } + function renderTable(category, items) { + var table = $("
        ") + .addClass(category === "modules" + ? "one-column-search-results" + : "two-column-search-results"); + var col1, col2; + if (category === "modules") { + col1 = "Module"; + } else if (category === "packages") { + col1 = "Module"; + col2 = "Package"; + } else if (category === "types") { + col1 = "Package"; + col2 = "Class" + } else if (category === "members") { + col1 = "Class"; + col2 = "Member"; + } else if (category === "searchTags") { + col1 = "Location"; + col2 = "Name"; + } + $("
        " + col1 + "
        ").appendTo(table); + if (category !== "modules") { + $("
        " + col2 + "
        ").appendTo(table); + } + $.each(items, function(index, item) { + var rowColor = index % 2 ? "odd-row-color" : "even-row-color"; + renderItem(item, table, rowColor); + }); + return table; + } + function renderItem(item, table, rowColor) { + var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length); + var link = $("") + .attr("href", getURL(item.indexItem, item.category)) + .attr("tabindex", "0") + .addClass("search-result-link") + .html(label); + var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1); + if (item.category === "searchTags") { + container = item.indexItem.h || ""; + } + if (item.category !== "modules") { + $("
        ").html(container).addClass("col-plain").addClass(rowColor).appendTo(table); + } + $("
        ").html(link).addClass("col-last").addClass(rowColor).appendTo(table); + } + var timeout; + function schedulePageSearch() { + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(function () { + doPageSearch() + }, 100); + } + function doPageSearch() { + setSearchUrl(); + var term = searchTerm = input.val().trim(); + if (term === "") { + notify.html(messages.enterTerm); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + resultSection.hide(); + } else { + notify.html(messages.searching); + doSearch({ term: term, maxResults: 1200 }, renderResults); + } + } + function setSearchUrl() { + var query = input.val().trim(); + var url = document.location.pathname; + if (query) { + url += "?q=" + encodeURI(query); + if (activeTab && fixedTab) { + url += "&c=" + activeTab; + } + } + history.replaceState({query: query}, "", url); + } + input.on("input", function(e) { + feelingLucky = false; + schedulePageSearch(); + }); + $(document).keydown(function(e) { + if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) { + if (activeTab && visibleTabs.length > 1) { + var idx = visibleTabs.indexOf(activeTab); + idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1; + selectTab(visibleTabs[idx % visibleTabs.length]); + return false; + } + } + }); + reset.click(function() { + notify.html(messages.enterTerm); + resultSection.hide(); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + input.val('').focus(); + setSearchUrl(); + }); + input.prop("disabled", false); + reset.prop("disabled", false); + + var urlParams = new URLSearchParams(window.location.search); + if (urlParams.has("q")) { + input.val(urlParams.get("q")) + } + if (urlParams.has("c")) { + activeTab = urlParams.get("c"); + fixedTab = true; + } + if (urlParams.get("r")) { + feelingLucky = true; + } + if (input.val()) { + doPageSearch(); + } else { + notify.html(messages.enterTerm); + } + input.select().focus(); +}); diff --git a/modules/swagger-parser/build/docs/javadoc/search.html b/modules/swagger-parser/build/docs/javadoc/search.html new file mode 100644 index 0000000000..d1d503796a --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/search.html @@ -0,0 +1,71 @@ + + + + +Search (swagger-parser 2.1.13-SNAPSHOT API) + + + + + + + + + + + + + + +
        + +
        +
        +

        Search

        +
        + + +
        +Additional resources +
        +
        +
        +

        The help page provides an introduction to the scope and syntax of JavaDoc search.

        +

        You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.

        +

        The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.

        +link +

        + +

        +
        +

        Loading search index...

        + +
        +
        +
        + + diff --git a/modules/swagger-parser/build/docs/javadoc/search.js b/modules/swagger-parser/build/docs/javadoc/search.js new file mode 100644 index 0000000000..b2b3c9a1bb --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/search.js @@ -0,0 +1,465 @@ +/* + * Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +"use strict"; +const messages = { + enterTerm: "Enter a search term", + noResult: "No results found", + oneResult: "Found one result", + manyResults: "Found {0} results", + loading: "Loading search index...", + searching: "Searching...", + redirecting: "Redirecting to first result...", + copyUrl: "Copy URL", + urlCopied: "Copied!" +} +const categories = { + modules: "Modules", + packages: "Packages", + types: "Classes and Interfaces", + members: "Members", + searchTags: "Search Tags" +}; +const highlight = "$&"; +const NO_MATCH = {}; +const MAX_RESULTS = 500; +function checkUnnamed(name, separator) { + return name === "" || !name ? "" : name + separator; +} +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(str, boundaries, from, to) { + var start = from; + var text = ""; + for (var i = 0; i < boundaries.length; i += 2) { + var b0 = boundaries[i]; + var b1 = boundaries[i + 1]; + if (b0 >= to || b1 <= from) { + continue; + } + text += escapeHtml(str.slice(start, Math.max(start, b0))); + text += ""; + text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1))); + text += ""; + start = Math.min(to, b1); + } + text += escapeHtml(str.slice(start, to)); + return text; +} +function getURLPrefix(item, category) { + var urlPrefix = ""; + var slash = "/"; + if (category === "modules") { + return item.l + slash; + } else if (category === "packages" && item.m) { + return item.m + slash; + } else if (category === "types" || category === "members") { + if (item.m) { + urlPrefix = item.m + slash; + } else { + $.each(packageSearchIndex, function(index, it) { + if (it.m && item.p === it.l) { + urlPrefix = it.m + slash; + } + }); + } + } + return urlPrefix; +} +function getURL(item, category) { + if (item.url) { + return item.url; + } + var url = getURLPrefix(item, category); + if (category === "modules") { + url += "module-summary.html"; + } else if (category === "packages") { + if (item.u) { + url = item.u; + } else { + url += item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (category === "types") { + if (item.u) { + url = item.u; + } else { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html"; + } + } else if (category === "members") { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#"; + if (item.u) { + url += item.u; + } else { + url += item.l; + } + } else if (category === "searchTags") { + url += item.u; + } + item.url = url; + return url; +} +function createMatcher(term, camelCase) { + if (camelCase && !isUpperCase(term)) { + return null; // no need for camel-case matcher for lower case query + } + var pattern = ""; + var upperCase = []; + term.trim().split(/\s+/).forEach(function(w, index, array) { + var tokens = w.split(/(?=[A-Z,.()<>?[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + // ',' and '?' are the only delimiters commonly followed by space in java signatures + pattern += "(" + $.ui.autocomplete.escapeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")"; + upperCase.push(false); + var isWordToken = /\w$/.test(s); + if (isWordToken) { + if (i === tokens.length - 1 && index < array.length - 1) { + // space in query string matches all delimiters + pattern += "(.*?)"; + upperCase.push(isUpperCase(s[0])); + } else { + if (!camelCase && isUpperCase(s) && s.length === 1) { + pattern += "()"; + } else { + pattern += "([a-z0-9$<>?[\\]]*?)"; + } + upperCase.push(isUpperCase(s[0])); + } + } else { + pattern += "()"; + upperCase.push(false); + } + } + }); + var re = new RegExp(pattern, "gi"); + re.upperCase = upperCase; + return re; +} +function analyzeMatch(matcher, input, startOfName, category) { + var from = startOfName; + matcher.lastIndex = from; + var match = matcher.exec(input); + while (!match && from > 1) { + from = input.lastIndexOf(".", from - 2) + 1; + matcher.lastIndex = from; + match = matcher.exec(input); + } + if (!match) { + return NO_MATCH; + } + var boundaries = []; + var matchEnd = match.index + match[0].length; + var leftParen = input.indexOf("("); + // exclude peripheral matches + if (category !== "modules" && category !== "searchTags") { + if (leftParen > -1 && leftParen < match.index) { + return NO_MATCH; + } else if (startOfName - 1 >= matchEnd) { + return NO_MATCH; + } + } + var endOfName = leftParen > -1 ? leftParen : input.length; + var score = 5; + var start = match.index; + var prevEnd = -1; + for (var i = 1; i < match.length; i += 2) { + var isUpper = isUpperCase(input[start]); + var isMatcherUpper = matcher.upperCase[i]; + // capturing groups come in pairs, match and non-match + boundaries.push(start, start + match[i].length); + // make sure groups are anchored on a left word boundary + var prevChar = input[start - 1] || ""; + var nextChar = input[start + 1] || ""; + if (start !== 0 && !/[\W_]/.test(prevChar) && !/[\W_]/.test(input[start])) { + if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) { + score -= 0.1; + } else if (isMatcherUpper && start === prevEnd) { + score -= isUpper ? 0.1 : 1.0; + } else { + return NO_MATCH; + } + } + prevEnd = start + match[i].length; + start += match[i].length + match[i + 1].length; + + // lower score for parts of the name that are missing + if (match[i + 1] && prevEnd < endOfName) { + score -= rateNoise(match[i + 1]); + } + } + // lower score if a type name contains unmatched camel-case parts + if (input[matchEnd - 1] !== "." && endOfName > matchEnd) + score -= rateNoise(input.slice(matchEnd, endOfName)); + score -= rateNoise(input.slice(0, Math.max(startOfName, match.index))); + + if (score <= 0) { + return NO_MATCH; + } + return { + input: input, + score: score, + category: category, + boundaries: boundaries + }; +} +function isUpperCase(s) { + return s !== s.toLowerCase(); +} +function isLowerCase(s) { + return s !== s.toUpperCase(); +} +function rateNoise(str) { + return (str.match(/([.(])/g) || []).length / 5 + + (str.match(/([A-Z]+)/g) || []).length / 10 + + str.length / 20; +} +function doSearch(request, response) { + var term = request.term.trim(); + var maxResults = request.maxResults || MAX_RESULTS; + if (term.length === 0) { + return this.close(); + } + var matcher = { + plainMatcher: createMatcher(term, false), + camelCaseMatcher: createMatcher(term, true) + } + var indexLoaded = indexFilesLoaded(); + + function getPrefix(item, category) { + switch (category) { + case "packages": + return checkUnnamed(item.m, "/"); + case "types": + return checkUnnamed(item.p, "."); + case "members": + return checkUnnamed(item.p, ".") + item.c + "."; + default: + return ""; + } + } + function useQualifiedName(category) { + switch (category) { + case "packages": + return /[\s/]/.test(term); + case "types": + case "members": + return /[\s.]/.test(term); + default: + return false; + } + } + function searchIndex(indexArray, category) { + var matches = []; + if (!indexArray) { + if (!indexLoaded) { + matches.push({ l: messages.loading, category: category }); + } + return matches; + } + $.each(indexArray, function (i, item) { + var prefix = getPrefix(item, category); + var simpleName = item.l; + var qualifiedName = prefix + simpleName; + var useQualified = useQualifiedName(category); + var input = useQualified ? qualifiedName : simpleName; + var startOfName = useQualified ? prefix.length : 0; + var m = analyzeMatch(matcher.plainMatcher, input, startOfName, category); + if (m === NO_MATCH && matcher.camelCaseMatcher) { + m = analyzeMatch(matcher.camelCaseMatcher, input, startOfName, category); + } + if (m !== NO_MATCH) { + m.indexItem = item; + m.prefix = prefix; + if (!useQualified) { + m.input = qualifiedName; + m.boundaries = m.boundaries.map(function(b) { + return b + prefix.length; + }); + } + matches.push(m); + } + return matches.length < maxResults; + }); + return matches.sort(function(e1, e2) { + return e2.score - e1.score; + }); + } + + var result = searchIndex(moduleSearchIndex, "modules") + .concat(searchIndex(packageSearchIndex, "packages")) + .concat(searchIndex(typeSearchIndex, "types")) + .concat(searchIndex(memberSearchIndex, "members")) + .concat(searchIndex(tagSearchIndex, "searchTags")); + + if (!indexLoaded) { + updateSearchResults = function() { + doSearch(request, response); + } + } else { + updateSearchResults = function() {}; + } + response(result); +} +// JQuery search menu implementation +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> .result-item"); + // workaround for search result scrolling + this.menu._scrollIntoView = function _scrollIntoView( item ) { + var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; + if ( this._hasScroll() ) { + borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0; + paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0; + offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; + scroll = this.activeMenu.scrollTop(); + elementHeight = this.activeMenu.height() - 26; + itemHeight = item.outerHeight(); + + if ( offset < 0 ) { + this.activeMenu.scrollTop( scroll + offset ); + } else if ( offset + itemHeight > elementHeight ) { + this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight ); + } + } + }; + }, + _renderMenu: function(ul, items) { + var currentCategory = ""; + var widget = this; + widget.menu.bindings = $(); + $.each(items, function(index, item) { + if (item.category && item.category !== currentCategory) { + ul.append("
      • " + categories[item.category] + "
      • "); + currentCategory = item.category; + } + var li = widget._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", categories[item.category] + " : " + item.l); + } else { + li.attr("aria-label", item.l); + } + li.attr("class", "result-item"); + }); + ul.append(""); + }, + _renderItem: function(ul, item) { + var li = $("
      • ").appendTo(ul); + var div = $("
        ").appendTo(li); + var label = item.l + ? item.l + : getHighlightedText(item.input, item.boundaries, 0, item.input.length); + var idx = item.indexItem; + if (item.category === "searchTags" && idx.h) { + if (idx.d) { + div.html(label + " (" + idx.h + ")
        " + + idx.d + "
        "); + } else { + div.html(label + " (" + idx.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + var expanded = false; + var windowWidth; + function collapse() { + if (expanded) { + $("div#navbar-top").removeAttr("style"); + $("button#navbar-toggle-button") + .removeClass("expanded") + .attr("aria-expanded", "false"); + expanded = false; + } + } + $("button#navbar-toggle-button").click(function (e) { + if (expanded) { + collapse(); + } else { + var navbar = $("div#navbar-top"); + navbar.height(navbar.prop("scrollHeight")); + $("button#navbar-toggle-button") + .addClass("expanded") + .attr("aria-expanded", "true"); + expanded = true; + windowWidth = window.innerWidth; + } + }); + $("ul.sub-nav-list-small li a").click(collapse); + $("input#search-input").focus(collapse); + $("main").click(collapse); + $("section[id] > :header, :header[id], :header:has(a[id])").hover( + function () { + $(this).append($("")); + }, + function () { + $(this).find("button:last").remove(); + } + ); + $(window).on("orientationchange", collapse).on("resize", function(e) { + if (expanded && windowWidth !== window.innerWidth) collapse(); + }); + var search = $("#search-input"); + var reset = $("#reset-button"); + search.catcomplete({ + minLength: 1, + delay: 200, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push({ l: messages.noResult }); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.indexItem) { + var url = getURL(ui.item.indexItem, ui.item.category); + window.location.href = pathtoroot + url; + $("#search-input").focus(); + } + } + }); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + reset.click(function() { + search.val('').focus(); + }); + search.focus(); +}); diff --git a/modules/swagger-parser/build/docs/javadoc/stylesheet.css b/modules/swagger-parser/build/docs/javadoc/stylesheet.css new file mode 100644 index 0000000000..d3309916f9 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/stylesheet.css @@ -0,0 +1,1204 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; +} +h4 { + font-size:15px; +} +h5 { + font-size:14px; +} +h6 { + font-size:13px; +} +/* Disable font boosting for selected elements */ +h1, h2, h3, h4, h5, h6, div.member-signature { + max-height: 1000em; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +.summary-table dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 14px; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:11px; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +/* + * Styles for navigation bar. + */ +@media screen { + div.flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + header.flex-header { + flex: 0 0 auto; + } + div.flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + min-height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +button#navbar-toggle-button { + display:none; +} +ul.sub-nav-list-small { + display: none; +} +.sub-nav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.sub-nav div { + clear:left; + float:left; + padding:6px; + text-transform:uppercase; +} +.sub-nav .sub-nav-list { + padding-top:4px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0; + padding:6px; + clear:none; + text-align:right; + position:relative; +} +ul.sub-nav-list li { + list-style:none; + float:left; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:#ffffff; + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + color:#bb7a2a; +} +.nav-bar-cell1-rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header. + */ +.title { + color:#2c4557; + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.header ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.see-list, ul.see-list-long { + padding-left: 0; + list-style: none; +} +ul.see-list li { + display: inline; +} +ul.see-list li:not(:last-child):after, +ul.see-list-long li:not(:last-child):after { + content: ", "; + white-space: pre-wrap; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + clear:none; + overflow:hidden; + padding:0; + padding-top:10px; + padding-left:1px; + margin:0; +} +.caption a:link, .caption a:visited { + color:#1f389c; +} +.caption a:hover, +.caption a:active { + color:#FFFFFF; +} +.caption span { + font-weight:bold; + white-space:nowrap; + padding:5px 12px 7px 12px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:10px 0 0 0; +} +div.table-tabs > span { + background-color: #EEE; + color: #000; + border: none; + padding: 5px 12px 8px 12px; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 8px; +} +div.table-tabs > .active-table-tab { + background: #F8981D; + color: #253441; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.two-column-search-results { + display: grid; + grid-template-columns: minmax(400px, max-content) minmax(400px, auto); +} +div.checkboxes { + line-height: 2em; +} +div.checkboxes > span { + margin-left: 10px; +} +div.checkboxes > label { + margin-left: 8px; + white-space: nowrap; +} +div.checkboxes > label > input { + margin: 0 2px; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(25%, max-content) minmax(25%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto); +} +.three-column-release-summary { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +@media screen and (max-width: 800px) { + .two-column-search-results { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(40%, auto); + } + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-release-summary { + display: grid; + grid-template-columns: minmax(70%, max-content) minmax(30%, max-content) + } + .three-column-summary .col-last, + .three-column-release-summary .col-last{ + grid-column-end: span 2; + } +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; + overflow-x: auto; + scrollbar-width: thin; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:#dee3e9; + font-weight: bold; +} +/* Sortable table columns */ +.table-header[onclick] { + cursor: pointer; +} +.table-header[onclick]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + '); + background-size:100% 100%; + width:9px; + height:14px; + margin-left:4px; + margin-bottom:-3px; +} +.table-header[onclick].sort-asc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + +} +.table-header[onclick].sort-desc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +.col-first, .col-first { + font-size:13px; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:13px; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited { + font-weight:bold; +} +.even-row-color, .even-row-color .table-header { + background-color:#FFFFFF; +} +.odd-row-color, .odd-row-color .table-header { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + color:green; + padding:0 30px 0 0; +} +.block { + display:block; + margin:0 10px 5px 0; + color:#474747; +} +.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +details.invalid-tag, span.invalid-tag { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + background: #ffe6e6; + border: thin solid #000000; + border-radius:2px; + padding: 2px 4px; + display:inline-block; +} +details summary { + cursor: pointer; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:auto; + overflow-x:auto; + scrollbar-width: thin; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:1; + background-color: #FFFFFF; +} +ul.ui-autocomplete li { + float:left; + clear:both; + min-width:100%; +} +ul.ui-autocomplete li.ui-static-link { + position:sticky; + bottom:0; + left:0; + background: #dee3e9; + padding: 5px 0; + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 13px; + font-weight: bolder; + z-index: 2; +} +li.ui-static-link a, li.ui-static-link a:visited { + text-decoration:none; + color:#4A6782; + float:right; + margin-right:20px; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +.ui-autocomplete .result-highlight { + font-weight:bold; +} +#search-input, #page-search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + width: 250px; + margin: 0; +} +#search-input { + margin-left: 4px; +} +#reset-button { + background-color: transparent; + background-image:url('resources/x.png'); + background-repeat:no-repeat; + background-size:contain; + border:0; + border-radius:0; + width:12px; + height:12px; + position:absolute; + right:12px; + top:10px; + font-size:0; +} +::placeholder { + color:#909090; + opacity: 1; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:yellow; +} +details.page-search-details { + display: inline-block; +} +div#result-container { + font-size: 14px; +} +div#result-container a.search-result-link { + padding: 0; + margin: 4px 0; + width: 100%; +} +#result-container .result-highlight { + font-weight:bolder; +} +.page-search-info { + background-color: #f5f8ff; + border-radius: 3px; + border: 0 solid #b9c8d3; + padding: 0 8px; + overflow: hidden; + height: 0; + transition: all 0.2s ease; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.page-search-header { + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; + background-color:#4D7A97; + color:#ffffff; + display: inline-block; +} +button.page-search-header { + border: none; + cursor: pointer; +} +span#page-search-link { + text-decoration: underline; +} +.module-graph span { + display:none; + position:absolute; +} +.module-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0px 20px 5px 10px; + border: 1px solid #ededed; + background-color: #f8f8f8; +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +/* + * Styles for copy-to-clipboard buttons + */ +button.copy { + opacity: 80%; + border: none; + border-radius: 3px; + position: relative; + background:none; + transition: opacity 0.2s; + cursor: pointer; +} +button.copy:hover, +button.copy:active { + opacity: 100%; +} +button.copy img { + position: relative; + background: none; +} +button.copy span { + color: #303030; + position: relative; + top: -0.1em; + transition: all 0.1s; + font-size: 85%; + line-height: 1.2em; +} +/* header/section copy button */ +button.copy-header { + margin: 0 0.2em; + padding: 0 4px; + height: 1.35em; +} +button.copy-header img { + height: 1em; + top: 0.1em; +} +button.copy-header:active { + background-color: rgba(128, 128, 160, 0.2); +} +/* search page copy button */ +button#page-search-copy { + margin-left: 0.4em; + padding:0.3em; + top:0.13em; +} +button#page-search-copy img { + width: 1.2em; + height: 1.2em; + padding: 0.01em 0; + top: 0.15em; +} +button#page-search-copy span { + color: #000000; + content: attr(aria-label); + line-height: 1.2em; + padding: 0.2em; + top: -0.18em; + opacity: 0; +} +div.page-search-info:hover button#page-search-copy, +div.page-search-info:hover button#page-search-copy span { + opacity: 90%; +} +div.page-search-info button#page-search-copy:hover { + background-color: #dfe6f1; +} +div.page-search-info button#page-search-copy:active { + background-color: #cfdbee; +} +/* snippet copy button */ +button.snippet-copy { + position: absolute; + top: 6px; + right: 6px; + height: 1.7em; + opacity: 50%; + padding: 2px; +} +button.snippet-copy img { + width: 18px; + height: 18px; + padding: 0.05em 0; +} +button.snippet-copy span { + content: attr(aria-label); + line-height: 1.2em; + padding: 0.2em; + position: relative; + top: -0.5em; + display: none; +} +div.snippet-container:hover button.snippet-copy span { + display: inline; +} +div.snippet-container:hover button.snippet-copy { + opacity: 80%; +} +div.snippet-container button.snippet-copy:hover { + opacity: 100%; +} +button.snippet-copy:active { + background: #d3d3d3; +} +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak style for small screens. + */ +@media screen and (max-width: 920px) { + header.flex-header { + max-height: 100vh; + overflow-y: auto; + } + div#navbar-top { + height: 2.8em; + transition: height 0.35s ease; + } + ul.nav-list { + display: block; + width: 40%; + float:left; + clear: left; + margin: 10px 0 0 0; + padding: 0; + } + ul.nav-list li { + float: none; + padding: 6px; + margin-left: 10px; + margin-top: 2px; + } + ul.sub-nav-list-small { + display:block; + height: 100%; + width: 50%; + float: right; + clear: right; + background-color: #dee3e9; + color: #353833; + margin: 6px 0 0 0; + padding: 0; + } + ul.sub-nav-list-small ul { + padding-left: 20px; + } + ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited { + color:#4A6782; + } + ul.sub-nav-list-small a:hover { + color:#bb7a2a; + } + ul.sub-nav-list-small li { + list-style:none; + float:none; + padding: 6px; + margin-top: 1px; + text-transform:uppercase; + } + ul.sub-nav-list-small > li { + margin-left: 10px; + } + ul.sub-nav-list-small li p { + margin: 5px 0; + } + div#navbar-sub-list { + display: none; + } + .top-nav a:link, .top-nav a:active, .top-nav a:visited { + display: block; + } + button#navbar-toggle-button { + width: 3.4em; + height: 2.8em; + background-color: transparent; + display: block; + float: left; + border: 0; + margin: 0 10px; + cursor: pointer; + font-size: 10px; + } + button#navbar-toggle-button .nav-bar-toggle-icon { + display: block; + width: 24px; + height: 3px; + margin: 1px 0 4px 0; + border-radius: 2px; + transition: all 0.1s; + background-color: #ffffff; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) { + transform: rotate(45deg); + transform-origin: 10% 10%; + width: 26px; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) { + opacity: 0; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) { + transform: rotate(-45deg); + transform-origin: 10% 90%; + width: 26px; + } +} +@media screen and (max-width: 800px) { + .about-language { + padding-right: 16px; + } + ul.nav-list li { + margin-left: 5px; + } + ul.sub-nav-list-small > li { + margin-left: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 400px) { + .about-language { + font-size: 10px; + padding-right: 12px; + } +} +@media screen and (max-width: 400px) { + .nav-list-search { + width: 94%; + } + #search-input, #page-search-input { + width: 70%; + } +} +@media screen and (max-width: 320px) { + .nav-list-search > label { + display: none; + } + .nav-list-search { + width: 90%; + } + #search-input, #page-search-input { + width: 80%; + } +} + +pre.snippet { + background-color: #ebecee; + padding: 10px; + margin: 12px 0; + overflow: auto; + white-space: pre; +} +div.snippet-container { + position: relative; +} +@media screen and (max-width: 800px) { + pre.snippet { + padding-top: 26px; + } + button.snippet-copy { + top: 4px; + right: 4px; + } +} +pre.snippet .italic { + font-style: italic; +} +pre.snippet .bold { + font-weight: bold; +} +pre.snippet .highlighted { + background-color: #f7c590; + border-radius: 10%; +} diff --git a/modules/swagger-parser/build/docs/javadoc/tag-search-index.js b/modules/swagger-parser/build/docs/javadoc/tag-search-index.js new file mode 100644 index 0000000000..0367dae65d --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser/build/docs/javadoc/type-search-index.js b/modules/swagger-parser/build/docs/javadoc/type-search-index.js new file mode 100644 index 0000000000..30d38e7c28 --- /dev/null +++ b/modules/swagger-parser/build/docs/javadoc/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"io.swagger.parser","l":"OpenAPIParser"}];updateSearchResults(); \ No newline at end of file diff --git a/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT-javadoc.jar b/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT-javadoc.jar new file mode 100644 index 0000000000..270a73ad8c Binary files /dev/null and b/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT-javadoc.jar differ diff --git a/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT-sources.jar b/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT-sources.jar new file mode 100644 index 0000000000..acc46437af Binary files /dev/null and b/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT-sources.jar differ diff --git a/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT.jar b/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT.jar new file mode 100644 index 0000000000..2ee5608088 Binary files /dev/null and b/modules/swagger-parser/build/libs/swagger-parser-2.1.13-SNAPSHOT.jar differ diff --git a/modules/swagger-parser/build/reports/tests/test/classes/io.swagger.parser.OpenAPIParserTest.html b/modules/swagger-parser/build/reports/tests/test/classes/io.swagger.parser.OpenAPIParserTest.html new file mode 100644 index 0000000000..ba4bbe992e --- /dev/null +++ b/modules/swagger-parser/build/reports/tests/test/classes/io.swagger.parser.OpenAPIParserTest.html @@ -0,0 +1,101 @@ + + + + + +Test results - Class io.swagger.parser.OpenAPIParserTest + + + + + +
        +

        Class io.swagger.parser.OpenAPIParserTest

        + +
        + + + + + +
        +
        + + + + + + + +
        +
        +
        2
        +

        tests

        +
        +
        +
        +
        0
        +

        failures

        +
        +
        +
        +
        0
        +

        ignored

        +
        +
        +
        +
        0.228s
        +

        duration

        +
        +
        +
        +
        +
        +
        100%
        +

        successful

        +
        +
        +
        +
        + +
        +

        Tests

        + + + + + + + + + + + + + + + + + + +
        TestDurationResult
        testIssue15520.196spassed
        testIssue1552AdditionalProps0.032spassed
        +
        +
        + +
        + + diff --git a/modules/swagger-parser/build/reports/tests/test/css/base-style.css b/modules/swagger-parser/build/reports/tests/test/css/base-style.css new file mode 100644 index 0000000000..4afa73e3dd --- /dev/null +++ b/modules/swagger-parser/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/modules/swagger-parser/build/reports/tests/test/css/style.css b/modules/swagger-parser/build/reports/tests/test/css/style.css new file mode 100644 index 0000000000..3dc4913e7a --- /dev/null +++ b/modules/swagger-parser/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/modules/swagger-parser/build/reports/tests/test/index.html b/modules/swagger-parser/build/reports/tests/test/index.html new file mode 100644 index 0000000000..05b5bf2f60 --- /dev/null +++ b/modules/swagger-parser/build/reports/tests/test/index.html @@ -0,0 +1,133 @@ + + + + + +Test results - Test Summary + + + + + +
        +

        Test Summary

        +
        + + + + + +
        +
        + + + + + + + +
        +
        +
        2
        +

        tests

        +
        +
        +
        +
        0
        +

        failures

        +
        +
        +
        +
        0
        +

        ignored

        +
        +
        +
        +
        0.228s
        +

        duration

        +
        +
        +
        +
        +
        +
        100%
        +

        successful

        +
        +
        +
        +
        + +
        +

        Packages

        + + + + + + + + + + + + + + + + + + + + + +
        PackageTestsFailuresIgnoredDurationSuccess rate
        +io.swagger.parser +2000.228s100%
        +
        +
        +

        Classes

        + + + + + + + + + + + + + + + + + + + + + +
        ClassTestsFailuresIgnoredDurationSuccess rate
        +io.swagger.parser.OpenAPIParserTest +2000.228s100%
        +
        +
        + +
        + + diff --git a/modules/swagger-parser/build/reports/tests/test/js/report.js b/modules/swagger-parser/build/reports/tests/test/js/report.js new file mode 100644 index 0000000000..83bab4a19f --- /dev/null +++ b/modules/swagger-parser/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/modules/swagger-parser/build/reports/tests/test/packages/io.swagger.parser.html b/modules/swagger-parser/build/reports/tests/test/packages/io.swagger.parser.html new file mode 100644 index 0000000000..dffd98f835 --- /dev/null +++ b/modules/swagger-parser/build/reports/tests/test/packages/io.swagger.parser.html @@ -0,0 +1,103 @@ + + + + + +Test results - Package io.swagger.parser + + + + + +
        +

        Package io.swagger.parser

        + +
        + + + + + +
        +
        + + + + + + + +
        +
        +
        2
        +

        tests

        +
        +
        +
        +
        0
        +

        failures

        +
        +
        +
        +
        0
        +

        ignored

        +
        +
        +
        +
        0.228s
        +

        duration

        +
        +
        +
        +
        +
        +
        100%
        +

        successful

        +
        +
        +
        +
        + +
        +

        Classes

        + + + + + + + + + + + + + + + + + + + +
        ClassTestsFailuresIgnoredDurationSuccess rate
        +OpenAPIParserTest +2000.228s100%
        +
        +
        + +
        + + diff --git a/modules/swagger-parser/build/resources/test/Issue-783/issue-783-b.yaml b/modules/swagger-parser/build/resources/test/Issue-783/issue-783-b.yaml new file mode 100644 index 0000000000..f4ef1895c9 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/Issue-783/issue-783-b.yaml @@ -0,0 +1,27 @@ +common: + allOf: + - $ref: "#/core" + - type: object + properties: + attribute: + type: string + direct: + $ref: "#/core" + referenced: + type: array + items: + $ref: "#/core" + +core: + type: object + properties: + coreAttribute: + type: string + inner: + $ref: "#/innerCore" + +innerCore: + type: object + properties: + innerCoreAttribute: + type: string \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/Issue-783/issue-783.yaml b/modules/swagger-parser/build/resources/test/Issue-783/issue-783.yaml new file mode 100644 index 0000000000..e16cffb5a4 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/Issue-783/issue-783.yaml @@ -0,0 +1,29 @@ +swagger: 2.0 +info: + version: 0.0.1 + title: API +paths: + /: + post: + summary: Create + name: user + in: body + description: user to add to the system + required: true + schema: + $ref: '#/definitions/create' + responses: + '200': + description: Successful response +definitions: + create: + type: object + properties: + attribute: + type: string + direct: + $ref: "./issue-783-b.yaml#/common" + referenced: + type: array + items: + $ref: "./issue-783-b.yaml#/common" \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/apiWithMultipleTags.json b/modules/swagger-parser/build/resources/test/apiWithMultipleTags.json new file mode 100644 index 0000000000..b0d1e676eb --- /dev/null +++ b/modules/swagger-parser/build/resources/test/apiWithMultipleTags.json @@ -0,0 +1,142 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Sample API", + "description": "Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.", + "version": "0.1.9" + }, + "servers": [ + { + "url": "http://localhost:5555/rest/RestNativeService", + "description": "a service that accepts anything" + } + ], + "tags":[ + {"name":"sample"}, + {"name":"sample"} + ], + "paths": { + "/getTimeAfterJson/{time}": { + "post": { + + "security" : [{"OpenID":["read"]}], + "parameters": [ + { + "in": "path", + "name": "time", + "content": { + "application/json": { + "schema": { + "type": "integer" + + } + } + } + }, + + { + "in": "cookie", + "name": "debug", + "schema": { + "type": "integer", + "enum": [ + 0, + 1 + ], + "default": 0 + }, + "required":true + }, + { + "in": "cookie", + "name": "csrftoken", + "schema": { + "type": "string" + }, + "required":true + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/temp" + }, + { + "$ref": "#/components/schemas/temp1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Updated" + } + } + } + } + }, + "components": { + "securitySchemes":{ + "BasicAuth": { + "type": "http", + "scheme": "basic" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer" + }, + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "name": "X-API-Key" + }, + "OAuth2": { + "type": "oauth2", + "flows": { + "authorizationCode": { + "refreshUrl":"http://localhost:555", + "authorizationUrl": "https://example.com/oauth/authorize", + "tokenUrl": "https://example.com/oauth/token", + "scopes": { + "read": "Grants read access", + "write": "Grants write access", + "admin": "Grants access to admin operations" + } + } + } + } + }, + "schemas": { + "temp": { + "type": "object", + "properties": { + "bool1": { + "type": "boolean" + }, + "timetype": { + "type": "string", + "enum": [ + "nanoseconds", + "milliseconds" + ] + } + }, + "required":["bool1","timetype"] + }, + "temp1": { + "properties":{ + "int":{ + "type": "integer" + } + } + + } + } + + } + } \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/definitions.yaml b/modules/swagger-parser/build/resources/test/definitions.yaml new file mode 100644 index 0000000000..51efd7cbe0 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/definitions.yaml @@ -0,0 +1,37 @@ +definitions: + pet: + type: object + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + newPet: + type: object + required: + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + errorModel: + type: object + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/duplicateOperationId.json b/modules/swagger-parser/build/resources/test/duplicateOperationId.json new file mode 100644 index 0000000000..1b20850353 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/duplicateOperationId.json @@ -0,0 +1,36 @@ +{ + "openapi": "3.0.1", + "info": { + "version": "1.0.9-abcd", + "title": "Duplicate operationID" + }, + "paths": { + "/pets/{id}": { + "parameters" : [ + { + "in": "path", + "name": "id", + "schema": { + "type": "string" + } + } + ], + "get": { + "operationId": "getPetsById", + "responses": { + "default": { + "description": "error payload" + } + } + }, + "post": { + "operationId": "getPetsById", + "responses": { + "default": { + "description": "error payload" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/confirmMessageType_v01.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/confirmMessageType_v01.json new file mode 100755 index 0000000000..6ef9e78d2c --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/confirmMessageType_v01.json @@ -0,0 +1,50 @@ +{ + "description": "", + "type": "object", + "properties": { + "confirmMessageID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "processID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "processStatus": { + "description": "", + "type": "string", + "enum": [ + "success", "partial-failure", "failure" + ] + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resourceID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "resourceReference": { + "description": "", + "type": "string" + }, + "resourceStatus": { + "description": "", + "type": "string", + "enum": [ + "success", "partial-failure", "failure" + ] + } + } + } + }, + "links": { + "type": "array", + "items": { + "$ref": "./linkType_v01.json" + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/confirmMessageType_v02.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/confirmMessageType_v02.json new file mode 100755 index 0000000000..763be74cdb --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/confirmMessageType_v02.json @@ -0,0 +1,50 @@ +{ + "description": "", + "type": "object", + "properties": { + "confirmMessageID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "processID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "processStatus": { + "description": "", + "type": "string", + "enum": [ + "success", "partial-failure", "failure" + ] + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resourceID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "resourceReference": { + "description": "", + "type": "string" + }, + "resourceStatus": { + "description": "", + "type": "string", + "enum": [ + "success", "partial-failure", "failure" + ] + } + } + } + }, + "links": { + "type": "array", + "items": { + "$ref": "./linkType_v01.json" + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/dateType_v01.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/dateType_v01.json new file mode 100755 index 0000000000..fa4c46203d --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/dateType_v01.json @@ -0,0 +1,6 @@ +{ + "title": "date", + "description": "", + "type": "string", + "format": "date" +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/linkType_v01.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/linkType_v01.json new file mode 100755 index 0000000000..187e9589b0 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/linkType_v01.json @@ -0,0 +1,64 @@ +{ + "title": "link", + "description": "", + "type": "object", + "properties": { + "href": { + "$ref": "./simpleIDType_v01.json" + }, + "mediaType": { + "description": "", + "type": "string", + "enum": [ + "application/gzip", + "application/json", + "application/msword", + "application/pdf", + "application/postscript", + "application/vnd.ms-excel", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application/vnd.openxmlformats-officedocument.wordprocessingml.document", + "application/xml", + "application/x-www-form-urlencoded", + "image/gif", + "image/jpeg", + "image/png", + "image/tiff", + "multipart/mixed", + "text/html", + "text/plain", + "application/vnd.visio", + "image/bmp", + "application/vnd.openxmlformats-officedocument.presentationml.presentation", + "application/vnd.ms-powerpoint", + "video/mp4", + "audio/mpeg", + "video/x-msvideo", + "video/x-ms-wmv", + "application/rtf", + "application/vnd.ms-outlook", + "text/csv", + "video/quicktime", + "application/zip", + "application/illustrator", + "text/xml" + ] + }, + "payloadArguments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "argumentPath": { + "description": "", + "type": "string" + }, + "argumentValue": { + "description": "", + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/simpleIDType_v01.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/simpleIDType_v01.json new file mode 100755 index 0000000000..6f61cd5515 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/common/simpleIDType_v01.json @@ -0,0 +1,6 @@ +{ + "title": "simpleID", + "description": "", + "type": "string", + "pattern": "^[a-zA-Z0-9.$-_\/]+$" +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/issue1553.yaml b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/issue1553.yaml new file mode 100644 index 0000000000..d864915a62 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/issue1553.yaml @@ -0,0 +1,33 @@ +openapi: 3.0.2 +info: + title: Sample API + description: A small example to demonstrate individual problems + version: 0.1.9 +servers: + - url: /api/customer1/v1 + description: Server +paths: + /pets: + patch: + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Pet' + responses: + '200': + description: Updated +components: + schemas: + Pet: + type: object + required: + - pet_type + properties: + pet_type: + type: string + name: + type: string + birth_date: + type: string + format: date \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v01.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v01.json new file mode 100755 index 0000000000..c35ea040d2 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v01.json @@ -0,0 +1,28 @@ +{ + "description": "", + "type": "object", + "properties": { + "testingApi": { + "type": "array", + "items": { + "title": "testingApi", + "type": "object", + "properties": { + "itemID": { + "$ref": "../../../../common/simpleIDType_v01.json" + }, + "testLink": { + "type": "array", + "items": { + "$ref": "../../../../common/linkType_v01.json" + } + } + }, + "additionalProperties": false + } + }, + "_confirmMessage": { + "$ref": "../../../../common/confirmMessageType_v01.json" + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v02.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v02.json new file mode 100755 index 0000000000..2e6841eda3 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v02.json @@ -0,0 +1,28 @@ +{ + "description": "", + "type": "object", + "properties": { + "testingApi": { + "type": "array", + "items": { + "title": "testingApi", + "type": "object", + "properties": { + "itemID": { + "$ref": "../../../../common/simpleIDType_v01.json" + }, + "testLink": { + "type": "array", + "items": { + "$ref": "../../../../common/linkType_v01.json" + } + } + }, + "additionalProperties": false + } + }, + "_confirmMessage": { + "$ref": "../../../../common/confirmMessageType_v02.json" + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/test-api-swagger_v1.json b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/test-api-swagger_v1.json new file mode 100755 index 0000000000..ae1bb95283 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/exampleSpecs/specs/my-domain/test-api/v1/test-api-swagger_v1.json @@ -0,0 +1,95 @@ +{ + "openapi": "3.0.5", + "servers": [ + { + "url": "https://__host__/" + } + ], + "info": { + "description": "APIs to retrieve some data", + "version": "1.0", + "title": "TEST A NEW API", + "contact": { + "name": "mine", + "email": "mine@me.com" + } + }, + "tags": [ + { + "name": "Test", + "description": "APIs to retrieve some data" + } + ], + "paths": { + "/my-domain/v1/test-system": { + "get": { + "description": "Retrieve relevant data", + "tags": [ + "Test" + ], + "summary": "Retrieve relevant data", + "responses": { + "200": { + "description": "Request was successful", + "headers": { + }, + "content": { + "*/*": { + "schema": { + "$ref": "./schemas/test-api-schema_v02.json" + } + } + } + }, + "400": { + "$ref": "#/components/responses/400" + } + } + } + } + }, + "components": { + "schemas": { + }, + "responses": { + "200": { + "description": "OK", + "headers": { + } + }, + "400": { + "description": "Bad Request", + "headers": { + }, + "content": { + "*/*": { + "schema": { + "$ref": "../../../common/confirmMessageType_v01.json" + } + } + } + } + }, + "parameters": { + "asOfDate": { + "name": "asOfDate", + "in": "query", + "description": "", + "required": false, + "schema": { + "$ref": "../../../common/dateType_v01.json" + }, + "example": "2017-01-01" + }, + "header_Accept-Language": { + "name": "Accept-Language", + "in": "header", + "description": "Accept-Language", + "required": false, + "schema": { + "type": "string" + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue-1143.json b/modules/swagger-parser/build/resources/test/issue-1143.json new file mode 100644 index 0000000000..36e72656b9 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue-1143.json @@ -0,0 +1,1404 @@ +{ + "swagger": "2.0", + "info": { + "title": "RedisManagementClient", + "description": "REST API for Azure Redis Cache Service.", + "version": "2018-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Cache/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available REST API operations of the Microsoft.Cache provider.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success. The response describes the list of operations.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_CheckNameAvailability", + "x-ms-examples": { + "RedisCacheList": { + "$ref": "./examples/RedisCacheCheckNameAvailability.json" + } + }, + "description": "Checks that the redis cache name is valid and is not already in use.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" + }, + "description": "Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Name is available" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listUpgradeNotifications": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListUpgradeNotifications", + "x-ms-examples": { + "RedisCacheGet": { + "$ref": "./examples/RedisCacheListUpgradeNotifications.json" + } + }, + "description": "Gets any upgrade notifications for a Redis cache.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "history", + "in": "query", + "required": true, + "type": "number", + "format": "double", + "description": "how many minutes in past to look for upgrade notifications" + } + ], + "responses": { + "200": { + "description": "All upgrade notifications in given time range", + "schema": { + "$ref": "#/definitions/NotificationListResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}": { + "put": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Create", + "x-ms-examples": { + "RedisCacheCreate": { + "$ref": "./examples/RedisCacheCreate.json" + } + }, + "description": "Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisCreateParameters" + }, + "description": "Parameters supplied to the Create Redis operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "The new redis cache was successfully created. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + }, + "200": { + "description": "The existing redis cache was successfully updated. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + } + } + }, + "patch": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Update", + "x-ms-examples": { + "RedisCacheUpdate": { + "$ref": "./examples/RedisCacheUpdate.json" + } + }, + "description": "Update an existing Redis cache.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisUpdateParameters" + }, + "description": "Parameters supplied to the Update Redis operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The existing redis cache was successfully updated. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + } + } + }, + "delete": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Delete", + "x-ms-examples": { + "RedisCacheDelete": { + "$ref": "./examples/RedisCacheDelete.json" + } + }, + "description": "Deletes a Redis cache.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The redis cache was successfully deleted." + }, + "202": { + "description": "The redis cache 'delete' operation was successfully enqueued; follow the Location header to poll for final outcome." + }, + "204": { + "description": "The redis cache was successfully deleted." + } + } + }, + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Get", + "x-ms-examples": { + "RedisCacheGet": { + "$ref": "./examples/RedisCacheGet.json" + } + }, + "description": "Gets a Redis cache (resource description).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The redis cache was successfully found.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListByResourceGroup", + "x-ms-examples": { + "RedisCacheListByResourceGroup": { + "$ref": "./examples/RedisCacheListByResourceGroup.json" + } + }, + "description": "Lists all Redis caches in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/RedisListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/Redis": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_List", + "x-ms-examples": { + "RedisCacheList": { + "$ref": "./examples/RedisCacheList.json" + } + }, + "description": "Gets all Redis caches in the specified subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/RedisListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listKeys": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListKeys", + "x-ms-examples": { + "RedisCacheListKeys": { + "$ref": "./examples/RedisCacheListKeys.json" + } + }, + "description": "Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists the keys for the specified Redis cache.", + "schema": { + "$ref": "#/definitions/RedisAccessKeys" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/regenerateKey": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_RegenerateKey", + "x-ms-examples": { + "RedisCacheRegenerateKey": { + "$ref": "./examples/RedisCacheRegenerateKey.json" + } + }, + "description": "Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisRegenerateKeyParameters" + }, + "description": "Specifies which key to regenerate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists the regenerated keys for Redis Cache", + "schema": { + "$ref": "#/definitions/RedisAccessKeys" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/forceReboot": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ForceReboot", + "x-ms-examples": { + "RedisCacheForceReboot": { + "$ref": "./examples/RedisCacheForceReboot.json" + } + }, + "description": "Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisRebootParameters" + }, + "description": "Specifies which Redis node(s) to reboot." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Reboot operation successfully enqueued", + "schema": { + "$ref": "#/definitions/RedisForceRebootResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/import": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ImportData", + "x-ms-examples": { + "RedisCacheImport": { + "$ref": "./examples/RedisCacheImport.json" + } + }, + "x-ms-long-running-operation": true, + "description": "Import data into Redis cache.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportRDBParameters" + }, + "description": "Parameters for Redis import operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Import operation successfully enqueued; follow the Location header to poll for final outcome." + }, + "200": { + "description": "Import operation succeeded." + }, + "204": { + "description": "Import operation succeeded." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/export": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ExportData", + "x-ms-examples": { + "RedisCacheExport": { + "$ref": "./examples/RedisCacheExport.json" + } + }, + "x-ms-long-running-operation": true, + "description": "Export data from the redis cache to blobs in a container.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportRDBParameters" + }, + "description": "Parameters for Redis export operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Export operation successfully enqueued; follow the Location header to poll for final outcome." + }, + "200": { + "description": "Export operation succeeded." + }, + "204": { + "description": "Export operation succeeded." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules": { + "get": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_ListByRedisResource", + "description": "Gets all firewall rules in the specified redis cache.", + "x-ms-examples": { + "RedisCacheFirewallRulesList": { + "$ref": "./examples/RedisCacheFirewallRulesList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "cacheName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + } + ], + "responses": { + "200": { + "description": "Successfully got the current rules", + "schema": { + "$ref": "#/definitions/RedisFirewallRuleListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}": { + "put": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_CreateOrUpdate", + "description": "Create or update a redis cache firewall rule", + "x-ms-examples": { + "RedisCacheFirewallRuleCreate": { + "$ref": "./examples/RedisCacheFirewallRuleCreate.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "cacheName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the firewall rule." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisFirewallRuleCreateParameters" + }, + "description": "Parameters supplied to the create or update redis firewall rule operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Resource was successfully updated", + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + } + }, + "201": { + "description": "Resource was successfully created", + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + } + } + } + }, + "get": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_Get", + "description": "Gets a single firewall rule in a specified redis cache.", + "x-ms-examples": { + "RedisCacheFirewallRuleGet": { + "$ref": "./examples/RedisCacheFirewallRuleGet.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "cacheName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the firewall rule." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully found the rule", + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + } + } + } + }, + "delete": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_Delete", + "description": "Deletes a single firewall rule in a specified redis cache.", + "x-ms-examples": { + "RedisCacheFirewallRuleDelete": { + "$ref": "./examples/RedisCacheFirewallRuleDelete.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "cacheName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the firewall rule." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the rule" + }, + "204": { + "description": "Successfully deleted the rule" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/patchSchedules": { + "get": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_ListByRedisResource", + "description": "Gets all patch schedules in the specified redis cache (there is only one).", + "x-ms-examples": { + "RedisCachePatchSchedulesList": { + "$ref": "./examples/RedisCachePatchSchedulesList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "cacheName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + } + ], + "responses": { + "200": { + "description": "Successfully got the current patch schedules", + "schema": { + "$ref": "#/definitions/RedisPatchScheduleListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}": { + "put": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_CreateOrUpdate", + "x-ms-examples": { + "RedisCachePatchSchedulesCreateOrUpdate": { + "$ref": "./examples/RedisCachePatchSchedulesCreateOrUpdate.json" + } + }, + "description": "Create or replace the patching schedule for Redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "default", + "in": "path", + "required": true, + "type": "string", + "description": "Default string modeled as parameter for auto generation to work correctly.", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "defaultName", + "modelAsString": true + } + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + }, + "description": "Parameters to set the patching schedule for Redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The patch schedule was successfully updated.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + }, + "201": { + "description": "The patch schedule was successfully created.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + } + } + }, + "delete": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_Delete", + "x-ms-examples": { + "RedisCachePatchSchedulesDelete": { + "$ref": "./examples/RedisCachePatchSchedulesDelete.json" + } + }, + "description": "Deletes the patching schedule of a redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "default", + "in": "path", + "required": true, + "type": "string", + "description": "Default string modeled as parameter for auto generation to work correctly.", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "defaultName", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "204": { + "description": "Success." + } + } + }, + "get": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_Get", + "x-ms-examples": { + "RedisCachePatchSchedulesGet": { + "$ref": "./examples/RedisCachePatchSchedulesGet.json" + } + }, + "description": "Gets the patching schedule of a redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "default", + "in": "path", + "required": true, + "type": "string", + "description": "Default string modeled as parameter for auto generation to work correctly.", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "defaultName", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get patch schedules.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}": { + "put": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_Create", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "LinkedServer_Create": { + "$ref": "./examples/RedisCacheLinkedServer_Create.json" + } + }, + "description": "Adds a linked server to the Redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "linkedServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisLinkedServerCreateParameters" + }, + "description": "Parameters supplied to the Create Linked server operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The linked server was successfully added.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + } + }, + "201": { + "description": "The linked server was successfully added.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + } + } + } + }, + "delete": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_Delete", + "x-ms-examples": { + "LinkedServerDelete": { + "$ref": "./examples/RedisCacheLinkedServer_Delete.json" + } + }, + "description": "Deletes the linked server from a redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "linkedServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Linked server was successfully deleted." + } + } + }, + "get": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_Get", + "x-ms-examples": { + "LinkedServer_Get": { + "$ref": "./examples/RedisCacheLinkedServer_Get.json" + } + }, + "description": "Gets the detailed information about a linked server of a redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "linkedServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the linked server." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get linked server.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_List", + "x-ms-examples": { + "LinkedServer_List": { + "$ref": "./examples/RedisCacheLinkedServer_List.json" + } + }, + "description": "Gets the list of linked servers associated with this redis cache (requires Premium SKU).", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get linked servers.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithPropertiesList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "identificacion_usuario_aplicacion": { + "allOf": [ + { + "$ref": "#/definitions/identificacion_usuario" + } + ], + "properties": { + "aplicacion": { + "type": "string", + "description": "some description", + "example": "some example value" + } + } + }, + "RedisResource": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisProperties", + "description": "Redis cache properties." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "A single Redis item in List or Get Operation." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue-901/CDK-Global-Int/Domain-Service/2.0.0.yaml b/modules/swagger-parser/build/resources/test/issue-901/CDK-Global-Int/Domain-Service/2.0.0.yaml new file mode 100644 index 0000000000..5f6e971099 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue-901/CDK-Global-Int/Domain-Service/2.0.0.yaml @@ -0,0 +1,721 @@ +### Service Domain + +info: + description: "CDK Open Platform Domain : Service" + version: "2.0.0" + title: 'CDK Open Platform Domain : Service' + +definitions: + RepairOrder.RepairOrderJobDetails: + description: RepairOrderJobDetails use for Create and Get RepairOrderJob + type: object + properties: + jobId: + description: Job Id + type: string + jobType: + description: Job type + enum: + - SCHEDULED_MAINTENANCE + - GOVERNMENT_INSPECTION + - REPAIR + - OTHER + type: string + jobSource: + description: Job Source + enum: + - WORKSHOP + - VHC + - CUSTOMER_REQUEST + - MANUFACTURER + - OTHER + type: string + description: + description: Description + type: string + menus: + description: Menus + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderMenu + laborItems: + description: Labor Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderLabor + partItems: + description: Part Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderPart + textItems: + description: Text Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderText + feeItems: + description: Fee Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderFee + metadata: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Metadata' + description: Gets or Sets metadata + RepairOrder.RepairOrderMenu: + type: object + properties: + menuCode: + description: Menu code + type: string + brandCode: + description: Brand code of who has issued the menu + type: string + partItems: + description: PartItems belonging to this menu + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderPart + laborItems: + description: LaborItems belonging to this menu + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderLabor + textItems: + description: TextItems belonging to this menu + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderText + feeItems: + description: FeeItems belonging to this menu + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderFee + listPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + #$ref: '#/definitions/Common.Price' + description: Menu list price excluding all discounts + itemId: + description: Unique item (line) id in question among all repair order lines + type: string + sequenceNumber: + format: int32 + description: Sequence number of the item in the order of all items. + type: integer + description: + description: Description + type: string + discountedPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + description: Item discounted price including all discounts. + notes: + description: General notes and comments for this line + type: string + linePayer: + description: "Who is paying the line in question.\r\nNote. Price is shown only if the payer is CUSTOMER." + enum: + - CUSTOMER + - DEALER + - WARRANTY + - CONTRACT + - OTHER + type: string + RepairOrder.RepairOrderLabor: + type: object + properties: + laborCode: + description: Labor code + type: string + brandCode: + description: Brand code of who has issued the labor + type: string + allowedTimeInMinutes: + format: int32 + description: "Flat rate labor allowance (standard time) time in minutes issued by the provider.\r\nThis is the time how long (in average) it should take to perform the labor operation." + type: integer + listPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + description: "Item list price excluding all discounts.\r\nNote. If the labor is part of menu then the specific labor line might not have any price set." + itemId: + description: Unique item (line) id in question among all repair order lines + type: string + sequenceNumber: + format: int32 + description: Sequence number of the item in the order of all items. + type: integer + description: + description: Description + type: string + discountedPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + description: Item discounted price including all discounts. + notes: + description: General notes and comments for this line + type: string + linePayer: + description: "Who is paying the line in question.\r\nNote. Price is shown only if the payer is CUSTOMER." + enum: + - CUSTOMER + - DEALER + - WARRANTY + - CONTRACT + - OTHER + type: string + RepairOrder.RepairOrderPart: + type: object + properties: + partId: + description: "Unique DMS part reference. This is the identifier used later on in the order process (for instance invoicing).\r\nWhen used in adding a part this field is optional.\r\nIf not given the brandCode+partCode is used to resolve the unique part.\r\nIf multiple parts are found DMS will pick one." + type: string + partCode: + description: Manufacturer part code + type: string + brandCode: + description: Brand code + type: string + unitOfMeasure: + description: Unit of measurement used for the part + enum: + - OTHER + - LITERS + - METER + - KG + - SQUAREMETERS + - PIECE + type: string + quantity: + format: double + description: Quantity of the part used on service + type: number + listPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + description: Item list price excluding all discounts. + itemId: + description: Unique item (line) id in question among all repair order lines + type: string + sequenceNumber: + format: int32 + description: Sequence number of the item in the order of all items. + type: integer + description: + description: Description + type: string + discountedPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + description: Item discounted price including all discounts. + notes: + description: General notes and comments for this line + type: string + linePayer: + description: "Who is paying the line in question.\r\nNote. Price is shown only if the payer is CUSTOMER." + enum: + - CUSTOMER + - DEALER + - WARRANTY + - CONTRACT + - OTHER + type: string + RepairOrder.RepairOrderText: + type: object + properties: + itemId: + description: >- + Unique item (line) id for the Text in question among all repair order + lines + type: string + sequenceNumber: + format: int32 + description: Sequence number of the item in the order of all items. + type: integer + notes: + description: General notes and comments + type: string + RepairOrder.RepairOrderFee: + type: object + properties: + code: + description: Code for fee (if any available) + type: string + itemId: + description: Unique item (line) id in question among all repair order lines + type: string + sequenceNumber: + format: int32 + description: Sequence number of the item in the order of all items. + type: integer + description: + description: Description + type: string + discountedPrice: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Price' + description: Item discounted price including all discounts. + notes: + description: General notes and comments for this line + type: string + linePayer: + description: "Who is paying the line in question.\r\nNote. Price is shown only if the payer is CUSTOMER." + enum: + - CUSTOMER + - DEALER + - WARRANTY + - CONTRACT + - OTHER + type: string + RepairOrder.RepairOrderJobResponse201: + description: RepairOrderJobResponse201 + type: object + properties: + jobId: + type: string + RepairOrder.RepairOrderJobResponse200: + description: RepairOrderJobResponse200 + type: object + properties: + jobId: + description: JobId + type: string + jobType: + description: JobType + enum: + - SCHEDULED_MAINTENANCE + - GOVERNMENT_INSPECTION + - REPAIR + - OTHER + type: string + jobSource: + description: JobSource + enum: + - WORKSHOP + - VHC + - CUSTOMER_REQUEST + - MANUFACTURER + - OTHER + type: string + description: + description: Description + type: string + menus: + description: Menus + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderMenu + laborItems: + description: Labor Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderLabor + partItems: + description: Part Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderPart + textItems: + description: Text Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderText + feeItems: + description: Fee Items + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderFee + links: + description: Links to related objects + uniqueItems: false + type: array + items: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Links' + RepairOrder.RepairOrderResponse200: + description: '' + type: object + properties: + repairOrderId: + description: The id of the vehicle assigned to the repair order + type: string + status: + description: The current status of the repair order. + enum: + - CREATED + - ONHOLD + - CHECKEDIN + - WORKSTARTED + - WORKCOMPLETED + - CHECKEDOUT + - CLOSED + type: string + details: + $ref: >- + #/definitions/RepairOrder.RepairOrderDetails + description: Basic information about the repair order + vehicle: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Vehicle.VehicleBaseModel' + description: Vehicle information + customer: + $ref: >- + #/definitions/RepairOrder.OrderCustomer + description: Customer information + company: + $ref: >- + #/definitions/RepairOrder.OrderCompany + description: Company information + contact: + $ref: >- + #/definitions/RepairOrder.OrderContact + description: Contact information for the customer/company representative + resources: + $ref: >- + #/definitions/RepairOrder.RepairOrderResources + description: >- + The human resources (service advisor, etc) associated with the repair + order. + appointment: + $ref: >- + #/definitions/RepairOrder.RepairOrderAppointment + description: >- + Information about the workshop planning and appointment aspects of the + repair-order. + planning: + $ref: >- + #/definitions/RepairOrder.RepairOrderPlanning + description: Planning information related to the service. + jobs: + description: Collection of job that are performed to the vehicle. + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderJob + links: + description: Links to related objects + uniqueItems: false + type: array + items: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Links' + RepairOrder.RepairOrderDetails: + type: object + properties: + notes: + description: Repair order notes/comments information. + type: string + checkInDateTime: + format: date-time + description: Date and time when the vehicle was checked in. + type: string + checkOutDateTime: + format: date-time + description: Date and time when the vehicle was checked out + type: string + checkInMileage: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Vehicle.VehicleMileage' + description: Mileage when the vehicle was checked in + checkOutMileage: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Vehicle.VehicleMileage' + description: Mileage when the vehicle was checked out + onHoldReason: + description: Reason why the repair-order is on hold + type: string + + RepairOrder.OrderCustomer: + type: object + properties: + customerId: + description: Unique customer id in DMS + type: string + names: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Customer.CustomerNames' + description: Customer names + addresses: + $ref: >- + ../Domain-Common/1.0.0.yaml#/definitions/Customer.CustomerAddresses + description: Customer addresses + communication: + $ref: >- + ../Domain-Common/1.0.0.yaml#/definitions/Customer.CustomerCommunication + description: Customer communication methods + RepairOrder.OrderCompany: + type: object + properties: + companyId: + description: The unique id for the company + type: string + identification: + $ref: >- + ../Domain-Common/1.0.0.yaml#/definitions/Company.CompanyIdentification + description: Company identification + addresses: + $ref: >- + ../Domain-Common/1.0.0.yaml#/definitions/Company.CompanyAddresses + description: Company addresses + communication: + $ref: >- + ../Domain-Common/1.0.0.yaml#/definitions/Company.CompanyCommunication + description: Company communication + RepairOrder.OrderContact: + type: object + properties: + name: + description: Contact name + type: string + phone: + description: Contact phone number + type: string + email: + description: Contact e-mail address + type: string + address: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/AddressPhysical' + description: Contact address + RepairOrder.RepairOrderResources: + type: object + properties: + assignedAdvisor: + $ref: >- + #/definitions/RepairOrder.RepairOrderServiceAdvisor + description: Service advisor to whom the order is currently assigned + contactAdvisor: + $ref: >- + #/definitions/RepairOrder.RepairOrderServiceAdvisor + description: Service advisor who is handling the communication with customer + RepairOrder.RepairOrderAppointment: + type: object + properties: + notes: + description: General notes and comments for the appointment + type: string + bookingOptions: + $ref: >- + #/definitions/RepairOrder.RepairOrderBookingOptions + description: Booking options + dueInDateTime: + format: date-time + description: >- + Date and time when the customer is supposed to be bringing in the + vehicle. + type: string + dueOutDateTime: + format: date-time + description: >- + Date and time when the customer is supposed to be taking out the + vehicle. + type: string + RepairOrder.RepairOrderPlanning: + type: object + properties: + plannedIn: + format: date-time + description: >- + The date and time when the complete work is planned in the workshop + planning. + type: string + plannedOut: + format: date-time + description: >- + The date and time when the complete work is planned to be finished in + the workshop planning. + type: string + RepairOrder.RepairOrderJob: + description: RepairOrderJob use for RepairOrder + type: object + properties: + jobId: + description: Job Id + type: string + jobType: + description: Job type + enum: + - SCHEDULED_MAINTENANCE + - GOVERNMENT_INSPECTION + - REPAIR + - OTHER + type: string + jobSource: + description: Job Source + enum: + - WORKSHOP + - VHC + - CUSTOMER_REQUEST + - MANUFACTURER + - OTHER + type: string + description: + description: Description + type: string + RepairOrder.RepairOrderServiceAdvisor: + type: object + properties: + serviceAdvisorId: + description: Service advisor id + type: string + name: + description: Service advisor name + type: string + RepairOrder.RepairOrderBookingOptions: + type: object + properties: + type: + description: Type of booking option required by the customer. + enum: + - NONE + - WAITER + - SHUTTLE + - REPLACEMENT_TRANSPORT + - COLLECT_DELIVER + type: string + RepairOrder.RepairOrderSearchResponse200: + description: '' + type: object + properties: + totalItems: + format: int32 + description: >- + Used to indicate the total number of items in the full result list, + not just this page + type: integer + totalPages: + format: int32 + description: 'Used to indicate how many pages are available, in total' + type: integer + repairOrders: + description: Search results + uniqueItems: false + type: array + items: + $ref: >- + #/definitions/RepairOrder.RepairOrderSearchResults + links: + description: Gets or Sets Links + uniqueItems: false + type: array + items: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Links' + RepairOrder.RepairOrderSearchResults: + type: object + properties: + repairOrderId: + description: The id of the repair order + type: string + status: + description: The status of the repair order + enum: + - CREATED + - ONHOLD + - CHECKEDIN + - WORKSTARTED + - WORKCOMPLETED + - CHECKEDOUT + - CLOSED + type: string + vehicle: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Vehicle.VehicleBaseModel' + description: The vehicle of the repair order + customer: + $ref: >- + #/definitions/RepairOrder.OrderCustomer + description: The customer of the repair order + company: + $ref: >- + #/definitions/RepairOrder.OrderCompany + description: The company of the repair order + details: + $ref: >- + #/definitions/RepairOrder.RepairOrderDetails + description: The details of the repair order + planning: + $ref: >- + #/definitions/RepairOrder.RepairOrderPlanning + description: The planning of the repair order + contact: + $ref: >- + #/definitions/RepairOrder.OrderContact + description: The contact of the repair order + Vehicle.InspectionsUpdatePayload: + type: object + properties: + vehicleInspection: + $ref: >- + #/definitions/Vehicle.InspectionUpdate + metadata: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Metadata' + Vehicle.InspectionUpdate: + type: object + properties: + dueDate: + format: date-time + description: The DueDate for the vehicle inspection + type: string + Vehicle.VehicleNextServicePayload: + type: object + properties: + nextService: + $ref: >- + #/definitions/Vehicle.VehicleNextService + metadata: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Metadata' + Vehicle.VehicleNextService: + type: object + properties: + description: + type: string + dueDate: + format: date-time + type: string + dueMileage: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Vehicle.VehicleMileage' + Vehicle.InspectionsResponse200: + type: object + properties: + inspections: + $ref: '#/definitions/Vehicle.Inspections' + description: The inspections related value + links: + description: Links to related objects + uniqueItems: false + type: array + items: + $ref: '../Domain-Common/1.0.0.yaml#/definitions/Links' + Vehicle.Inspections: + type: object + properties: + vehicleInspection: + $ref: '#/definitions/Vehicle.Inspection' + description: Gets or Sets VehicleInspection + Vehicle.Inspection: + type: object + properties: + lastDate: + format: date-time + description: The date of the last mot of the vehicle + type: string + dueDate: + format: date-time + description: The date of the mot due of the vehicle + type: string + +#end of spec \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue-934.yaml b/modules/swagger-parser/build/resources/test/issue-934.yaml new file mode 100644 index 0000000000..8bf28934ad --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue-934.yaml @@ -0,0 +1,109 @@ +openapi: "3.0.1" +info: + version: 1.0.0 + title: Swagger Petstore + license: + name: MIT +servers: + - url: http://petstore.swagger.io/v1 +paths: + /pets: + get: + summary: List all pets + operationId: listPets + tags: + - pets + parameters: + - name: limit + in: query + description: How many items to return at one time (max 100) + required: false + schema: + type: integer + format: int32 + responses: + 200: + description: An paged array of pets + headers: + x-next: + description: A link to the next page of responses + schema: + type: string + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + post: + summary: Create a pet + operationId: createPets + tags: + - pets + responses: + 201: + description: Null response + default: + description: unexpected error + content: + application/json: + schema: + $ref: "#/components/schemas/Pets" + /pets/{petId}: + get: + summary: Info for a specific pet + operationId: showPetById + tags: + - pets + parameters: + - name: petId + in: path + required: true + description: The id of the pet to retrieve + schema: + type: string + responses: + 200: + description: Expected response to a valid request + content: + application/json: + schema: + $ref: "#/components/schemas/APIResponses" + default: + description: unexpected error + content: + application/json: + schema: + $ref: './issue749-reference.yaml#/SomeId' +components: + schemas: + Pet: + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + Pets: + type: array + items: + $ref: "#/components/schemas/Pet" + Error: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue1070.yaml b/modules/swagger-parser/build/resources/test/issue1070.yaml new file mode 100644 index 0000000000..3a3050b661 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue1070.yaml @@ -0,0 +1,52 @@ +openapi: 3.0.0 +info: + version: 0.0.0 + title: "test" +components: + schemas: + AmountAndCurrency: + additionalProperties: false + description: >- + Amount with a currency. + properties: + Amount: + $ref: '#/components/schemas/AssessCandidate' + Currency: + description: >- + Representation of currencies and funds". + pattern: '^[A-Z]{3,3}$' + type: string + required: + - Amount + - Currency + type: object + AssessCandidate: + type: object + properties: + candidate: + type: object + properties: + id: + type: string + required: + - id + test_results: + type: object + properties: + id: + type: string + status: + type: string + score: + type: number + multipleOf: 1 + date: + type: string + format: date + comment: + type: string + result_url: + type: string + required: + - candidate + - test_results diff --git a/modules/swagger-parser/build/resources/test/issue1086.yaml b/modules/swagger-parser/build/resources/test/issue1086.yaml new file mode 100644 index 0000000000..bcf1b34a89 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue1086.yaml @@ -0,0 +1,36 @@ +openapi: 3.0.0 +info: + version: 0.0.0 + title: "test" +components: + schemas: + AssessCandidate: + type: object + properties: + candidate: + type: object + properties: + id: + type: string + required: + - id + test_results: + type: object + properties: + id: + type: string + status: + type: string + score: + type: number + multipleOf: 1 + date: + type: string + format: date + comment: + type: string + result_url: + type: string + required: + - candidate + - test_results diff --git a/modules/swagger-parser/build/resources/test/issue1608.json b/modules/swagger-parser/build/resources/test/issue1608.json new file mode 100644 index 0000000000..c2ff11fecb --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue1608.json @@ -0,0 +1,76 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", + "version": "1.0.5", + "title": "Swagger Petstore", + "termsOfService": "http://swagger.io/terms/", + "contact": { + "email": "apiteam@swagger.io" + }, + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + } + }, + "host": "petstore.swagger.io", + "basePath": "/v2", + "schemes": [ + "https", + "http" + ], + "paths": { + "/pet": { + "put": { + "summary": "Update an existing pet", + "description": "", + "operationId": "updatePet", + "consumes": [ + "application/json", + "application/xml" + ], + "produces": [ + "application/json", + "application/xml" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Pet object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Pet" + } + } + ], + "responses": { + "400": { + "description": "Invalid ID supplied" + } + } + } + } + }, + "definitions": { + "Pet": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "example": "doggie" + } + }, + "xml": { + "name": "Pet" + } + } + }, + "externalDocs": { + "description": "Find out more about Swagger", + "url": "http://swagger.io" + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue1685.json b/modules/swagger-parser/build/resources/test/issue1685.json new file mode 100644 index 0000000000..c82fa40fe0 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue1685.json @@ -0,0 +1,76 @@ +{ + "notswagger": "x.0", + "info": { + "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", + "version": "1.0.5", + "title": "Swagger Petstore", + "termsOfService": "http://swagger.io/terms/", + "contact": { + "email": "apiteam@swagger.io" + }, + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + } + }, + "host": "petstore.swagger.io", + "basePath": "/v2", + "schemes": [ + "https", + "http" + ], + "paths": { + "/pet": { + "put": { + "summary": "Update an existing pet", + "description": "", + "operationId": "updatePet", + "consumes": [ + "application/json", + "application/xml" + ], + "produces": [ + "application/json", + "application/xml" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Pet object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Pet" + } + } + ], + "responses": { + "400": { + "description": "Invalid ID supplied" + } + } + } + } + }, + "definitions": { + "Pet": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "example": "doggie" + } + }, + "xml": { + "name": "Pet" + } + } + }, + "externalDocs": { + "description": "Find out more about Swagger", + "url": "http://swagger.io" + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue749-main.yaml b/modules/swagger-parser/build/resources/test/issue749-main.yaml new file mode 100644 index 0000000000..0b907bc334 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue749-main.yaml @@ -0,0 +1,22 @@ +openapi: 3.0.1 +info: + title: ping test + version: '1.0' +servers: + - url: 'http://localhost:8000/' +paths: + /some/ping: + get: + operationId: pingGet + parameters: + - name: i + in: query + description: Test + required: true + schema: + $ref: './issue749-reference.yaml#/SomeId' + responses: + '201': + description: OK +components: + schemas: {} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue749-reference.yaml b/modules/swagger-parser/build/resources/test/issue749-reference.yaml new file mode 100644 index 0000000000..8b9563818b --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue749-reference.yaml @@ -0,0 +1,5 @@ +SomeId: + type: integer + format: int32 + description: My value 123 + example: 123 \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue768-main.yaml b/modules/swagger-parser/build/resources/test/issue768-main.yaml new file mode 100644 index 0000000000..26458e5389 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue768-main.yaml @@ -0,0 +1,19 @@ +openapi: 3.0.0 +info: + title: ref test + version: '1.0' +servers: + - url: 'http://localhost:8000/' +paths: + /user/login: + post: + summary: Login + operationId: loginUser + requestBody: + required: true + content: + application/json: + schema: + $ref: "issue768-reference.yaml#/User" +components: + schemas: {} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue768-reference.yaml b/modules/swagger-parser/build/resources/test/issue768-reference.yaml new file mode 100644 index 0000000000..7fa83ee598 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue768-reference.yaml @@ -0,0 +1,8 @@ +User: + type: "object" + properties: + Name: + type: "string" + Password: + type: "string" + format: "password" \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue799.json b/modules/swagger-parser/build/resources/test/issue799.json new file mode 100644 index 0000000000..eb874ab3c7 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue799.json @@ -0,0 +1,316 @@ +{ + "swaggerVersion": "1.2", + "apiVersion": "v1beta3", + "basePath": "https://127.0.0.1:6443", + "resourcePath": "/api/v1beta3", + "apis": [ + { + "path": "/api/v1beta3/namespaces/{namespaces}/bindings", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Binding", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Binding", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Binding" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/componentstatuses", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ComponentStatusList", + "method": "GET", + "summary": "list objects of kind ComponentStatus", + "nickname": "listComponentStatus", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "a selector to restrict the list of returned objects by their fields; defaults to everything", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "a selector to restrict the list of returned objects by their labels; defaults to everything", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ComponentStatusList" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/componentstatuses/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ComponentStatus", + "method": "GET", + "summary": "read the specified ComponentStatus", + "nickname": "readComponentStatus", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ComponentStatus", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ComponentStatus" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + } + ], + "models": { + "v1beta3.ComponentStatus": { + "id": "v1beta3.ComponentStatus", + "properties": { + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "conditions": { + "type": "array", + "items": { + "$ref": "v1beta3.ObjectReference" + }, + "description": "list of component conditions observed" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "metadata": { + "$ref": "v1beta3.ObjectMeta", + "description": "standard object metadata; see http://docs.k8s.io/api-conventions.md#metadata" + } + } + }, + "v1beta3.ComponentStatusList": { + "id": "v1beta3.ComponentStatusList", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "items": { + "type": "array", + "items": { + "$ref": "v1beta3.ComponentStatus" + }, + "description": "list of component status objects" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "metadata": { + "$ref": "v1beta3.ObjectMeta", + "description": "standard list metadata; see http://docs.k8s.io/api-conventions.md#metadata" + } + } + }, + "v1beta3.Binding": { + "id": "v1beta3.Binding", + "required": [ + "target" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "metadata": { + "$ref": "v1beta3.ObjectMeta", + "description": "standard object metadata; see http://docs.k8s.io/api-conventions.md#metadata" + }, + "target": { + "$ref": "v1beta3.ObjectReference", + "description": "an object to bind to" + } + } + }, + "v1beta3.ObjectReference": { + "id": "v1beta3.ObjectReference", + "properties": { + "apiVersion": { + "type": "string", + "description": "API version of the referent" + }, + "fieldPath": { + "type": "string", + "description": "if referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]" + }, + "kind": { + "type": "string", + "description": "kind of the referent" + }, + "name": { + "type": "string", + "description": "name of the referent" + }, + "namespace": { + "type": "string", + "description": "namespace of the referent" + }, + "resourceVersion": { + "type": "string", + "description": "specific resourceVersion to which this reference is made, if any: http://docs.k8s.io/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": "string", + "description": "uid of the referent" + } + } + }, + "v1beta3.ObjectMeta": { + "id": "v1beta3.ObjectMeta", + "properties": { + "annotations": { + "type": "any", + "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" + }, + "creationTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" + }, + "deletionTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" + }, + "generateName": { + "type": "string", + "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" + }, + "labels": { + "type": "any", + "description": "map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services" + }, + "name": { + "type": "string", + "description": "string that identifies an object. Must be unique within a namespace; cannot be updated" + }, + "namespace": { + "type": "string", + "description": "namespace of the object; cannot be updated" + }, + "resourceVersion": { + "type": "string", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: http://docs.k8s.io/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "uid": { + "type": "string", + "description": "unique UUID across space and time; populated by the system; read-only" + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue892-main.yaml b/modules/swagger-parser/build/resources/test/issue892-main.yaml new file mode 100644 index 0000000000..6c847ff757 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue892-main.yaml @@ -0,0 +1,22 @@ +openapi: 3.0.1 +info: + title: ping test + version: '1.0' +servers: + - url: 'http://localhost:8000/' +paths: + some/ping: + get: + operationId: pingGet + parameters: + - name: i + in: query + description: Test + required: true + schema: + $ref: './issue749-reference.yaml#/SomeId' + responses: + '201': + description: OK +components: + schemas: {} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue895.yaml b/modules/swagger-parser/build/resources/test/issue895.yaml new file mode 100644 index 0000000000..aa1f875a1f --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue895.yaml @@ -0,0 +1,186 @@ +{ + "openapi": "3.0.0", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore", + "contact": { + "name": "API Support", + "url": "test", + "email": "support@example.com" + }, + "license": { + "name": "Apache 2.0", + "url": "test1" + } + }, + "servers": [ + { + "url": "http://petstore.swagger.io/v1" + } + ], + "tags" : [ + {"name":"pet" , + "description":"+ data" + } + ], + "paths": { + "/pets": { + "get": { + "summary": "List all pets", + "operationId": "listPets", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "A paged array of pets", + "headers": { + "x-next": { + "description": "A link to the next page of responses", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a pet", + "operationId": "createPets", + "tags": [ + "pets" + ], + "responses": { + "201": { + "description": "Null response" + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/pets/{petId}": { + "get": { + "summary": "Info for a specific pet", + "operationId": "showPetById", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "required": true, + "description": "The id of the pet to retrieve", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Expected response to a valid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Pet": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "Pets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pet" + } + }, + "Error": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue959.json b/modules/swagger-parser/build/resources/test/issue959.json new file mode 100644 index 0000000000..f5ad745a3b --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue959.json @@ -0,0 +1,228 @@ +{ + "openapi": "3.0.1", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore", + "license": { + "name": "MIT" + } + }, + "servers": [ + { + "url": "http://petstore.swagger.io/v1" + } + ], + "tags" : [ + {"name":"pet" , + "description":"+ data" + } + ], + "paths": { + "/pets": { + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "get": { + "summary": "List all pets", + "operationId": "listPets", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "A paged array of pets", + "headers": { + "x-next": { + "description": "A link to the next page of responses", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a pet", + "operationId": "createPets", + "tags": [ + "pets" + ], + "responses": { + "201": { + "description": "Null response" + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/pets/{petId}": { + "get": { + "summary": "Info for a specific pet", + "operationId": "showPetById", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "required": true, + "description": "The id of the pet to retrieve", + "schema": { + "type": "string" + } + }, + { + "name":"petId", + "in":"path", + "required": true, + "schema": { + "type": "integer" + } + + } + ], + "responses": { + "200": { + "description": "Expected response to a valid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Pet": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "Pets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pet" + } + }, + "Error": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + }, + "parameters": { + "offsetParam": { + "name": "offset", + "in": "query", + "description": "Number of items to skip before returning the results.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 0, + "default": 0 + } + }, + "limitParam": { + "name": "offset", + "in": "query", + "description": "Maximum number of items to return.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 100, + "default": 20 + } + } + } + } +} diff --git a/modules/swagger-parser/build/resources/test/issue959PathLevelDuplication.json b/modules/swagger-parser/build/resources/test/issue959PathLevelDuplication.json new file mode 100644 index 0000000000..e058e1cd45 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue959PathLevelDuplication.json @@ -0,0 +1,217 @@ +{ + "openapi": "3.0.1", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore", + "license": { + "name": "MIT" + } + }, + "servers": [ + { + "url": "http://petstore.swagger.io/v1" + } + ], + "tags" : [ + {"name":"pet" , + "description":"+ data" + } + ], + "paths": { + "/pets": { + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "get": { + "summary": "List all pets", + "operationId": "listPets", + "tags": [ + "pets" + ], + "responses": { + "200": { + "description": "A paged array of pets", + "headers": { + "x-next": { + "description": "A link to the next page of responses", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a pet", + "operationId": "createPets", + "tags": [ + "pets" + ], + "responses": { + "201": { + "description": "Null response" + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/pets/{petId}": { + "get": { + "summary": "Info for a specific pet", + "operationId": "showPetById", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "required": true, + "description": "The id of the pet to retrieve", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Expected response to a valid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Pet": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "Pets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pet" + } + }, + "Error": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + }, + "parameters": { + "offsetParam": { + "name": "offset", + "in": "query", + "description": "Number of items to skip before returning the results.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 0, + "default": 0 + } + }, + "limitParam": { + "name": "offset", + "in": "query", + "description": "Maximum number of items to return.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 100, + "default": 20 + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue_1433-resolve-schema-without-type.yaml b/modules/swagger-parser/build/resources/test/issue_1433-resolve-schema-without-type.yaml new file mode 100644 index 0000000000..436754ec39 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue_1433-resolve-schema-without-type.yaml @@ -0,0 +1,28 @@ +openapi: 3.0.0 +info: + title: no type resolution + version: 1.0.0 +paths: + /foo: + post: + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/FooInput' + responses: + '200': + description: subscription successfully created +components: + schemas: + FooInput: + properties: + bar: + type: string + input: + $ref: '#/components/schemas/BazInput' + BazInput: + properties: + baz: + type: string \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/issue_879.yaml b/modules/swagger-parser/build/resources/test/issue_879.yaml new file mode 100644 index 0000000000..103c9a180e --- /dev/null +++ b/modules/swagger-parser/build/resources/test/issue_879.yaml @@ -0,0 +1,59 @@ +openapi: 3.0.0 +info: + title: Callback with ref Example + version: 1.0.0 +paths: + /register: + post: + summary: Subscribe to a webhook + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + callbackUrl: # Callback URL + type: string + format: uri + example: https://myserver.com/send/callback/here + required: + - callbackUrl + responses: + '200': + description: subscription successfully created + content: + application/json: + schema: + type: object + description: subscription information + required: + - subscriptionId + properties: + subscriptionId: + description: unique identifier + type: string + example: 2531329f-fb09-4ef7-887e-84e648214436 + callbacks: + myEvent: + $ref: '#/components/callbacks/callbackEvent' +components: + callbacks: + callbackEvent: + '{$request.body#/callbackUrl}': + post: + requestBody: # Contents of the callback message + required: true + content: + application/json: + schema: + type: object + properties: + message: + type: string + example: Some event happened + required: + - message + responses: + '200': + description: ok \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/petstore.yaml b/modules/swagger-parser/build/resources/test/petstore.yaml new file mode 100644 index 0000000000..f09056f6a4 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/petstore.yaml @@ -0,0 +1,180 @@ +{ + "openapi": "3.0.1", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore", + "license": { + "name": "MIT" + } + }, + "servers": [ + { + "url": "http://petstore.swagger.io/v1" + } + ], + "tags" : [ + {"name":"pet" , + "description":"+ data" + } + ], + "paths": { + "/pets": { + "get": { + "summary": "List all pets", + "operationId": "listPets", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "How many items to return at one time (max 100)", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "A paged array of pets", + "headers": { + "x-next": { + "description": "A link to the next page of responses", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a pet", + "operationId": "createPets", + "tags": [ + "pets" + ], + "responses": { + "201": { + "description": "Null response" + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/pets/{petId}": { + "get": { + "summary": "Info for a specific pet", + "operationId": "showPetById", + "tags": [ + "pets" + ], + "parameters": [ + { + "name": "petId", + "in": "path", + "required": true, + "description": "The id of the pet to retrieve", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Expected response to a valid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pets" + } + } + } + }, + "default": { + "description": "unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Pet": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "Pets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pet" + } + }, + "Error": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/reusableParametersWithExternalRef.json b/modules/swagger-parser/build/resources/test/reusableParametersWithExternalRef.json new file mode 100644 index 0000000000..dc63918fa5 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/reusableParametersWithExternalRef.json @@ -0,0 +1,27 @@ +{ + "openapi": "3.0.1", + "info": { + "version": "1.0.9-abcd", + "title": "Swagger Sample API Reusable Parameters" + }, + "paths": { + "/pets/{id}": { + "get": { + "description": "Returns pets based on ID", + "summary": "Find pets by ID", + "operationId": "getPetsById", + "parameters": [ + { "$ref": "http://docs.baikalplatform.com/common/v2.0/common.json#/parameters/x-correlator" } + ], + "responses": { + "200": { + "description": "pet response" + }, + "default": { + "description": "error payload" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/spec.yaml b/modules/swagger-parser/build/resources/test/spec.yaml new file mode 100644 index 0000000000..d56d1d6131 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/spec.yaml @@ -0,0 +1,120 @@ +swagger: '2.0' +info: + version: '1.0.0' + title: Swagger Petstore (Simple) + description: A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification + termsOfService: http://helloreverb.com/terms/ + contact: + name: Swagger API team + email: foo@example.com + url: http://swagger.io + license: + name: MIT + url: http://opensource.org/licenses/MIT +host: petstore.swagger.io +basePath: /api +schemes: + - http +consumes: + - application/json +produces: + - application/json +paths: + /pets: + get: + description: Returns all pets from the system that the user has access to + operationId: findPets + produces: + - application/json + - application/xml + - text/xml + - text/html + parameters: + - name: tags + in: query + description: tags to filter by + required: false + type: array + items: + type: string + collectionFormat: csv + - name: limit + in: query + description: maximum number of results to return + required: false + type: integer + format: int32 + responses: + '200': + description: pet response + schema: + type: array + items: + $ref: '/definitions.yaml#/definitions/pet' + default: + description: unexpected error + schema: + $ref: '/definitions.yaml#/definitions/errorModel' + post: + description: Creates a new pet in the store. Duplicates are allowed + operationId: addPet + produces: + - application/json + parameters: + - name: pet + in: body + description: Pet to add to the store + required: true + schema: + $ref: '/definitions.yaml#/definitions/newPet' + responses: + '200': + description: pet response + schema: + $ref: '/definitions.yaml#/definitions/pet' + default: + description: unexpected error + schema: + $ref: '/definitions.yaml#/definitions/errorModel' + /pets/{id}: + get: + description: Returns a user based on a single ID, if the user does not have access to the pet + operationId: findPetById + produces: + - application/json + - application/xml + - text/xml + - text/html + parameters: + - name: id + in: path + description: ID of pet to fetch + required: true + type: integer + format: int64 + responses: + '200': + description: pet response + schema: + $ref: '/definitions.yaml#/definitions/pet' + default: + description: unexpected error + schema: + $ref: '/definitions.yaml#/definitions/errorModel' + delete: + description: deletes a single pet based on the ID supplied + operationId: deletePet + parameters: + - name: id + in: path + description: ID of pet to delete + required: true + type: integer + format: int64 + responses: + '204': + description: pet deleted + default: + description: unexpected error + schema: + $ref: '/definitions.yaml#/definitions/errorModel' \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/specs2/common/confirmMessageType_v01.json b/modules/swagger-parser/build/resources/test/specs2/common/confirmMessageType_v01.json new file mode 100644 index 0000000000..2dfe5cceb6 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/specs2/common/confirmMessageType_v01.json @@ -0,0 +1,50 @@ +{ + "description": "", + "type": "object", + "properties": { + "confirmMessageID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "processID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "processStatus": { + "description":"", + "type": "string", + "enum": [ + "success", "partial-failure", "failure" + ] + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resourceID": { + "description": "", + "$ref": "./simpleIDType_v01.json" + }, + "resourceReference": { + "description": "", + "type": "string" + }, + "resourceStatus": { + "description": "", + "type": "string", + "enum": [ + "success", "partial-failure", "failure" + ] + } + } + } + }, + "links": { + "type": "array", + "items": { + "$ref": "./linkType_v01.json" + } + } + } +} diff --git a/modules/swagger-parser/build/resources/test/specs2/common/dateType_v01.json b/modules/swagger-parser/build/resources/test/specs2/common/dateType_v01.json new file mode 100644 index 0000000000..fa4c46203d --- /dev/null +++ b/modules/swagger-parser/build/resources/test/specs2/common/dateType_v01.json @@ -0,0 +1,6 @@ +{ + "title": "date", + "description": "", + "type": "string", + "format": "date" +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/specs2/common/linkType_v01.json b/modules/swagger-parser/build/resources/test/specs2/common/linkType_v01.json new file mode 100644 index 0000000000..187e9589b0 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/specs2/common/linkType_v01.json @@ -0,0 +1,64 @@ +{ + "title": "link", + "description": "", + "type": "object", + "properties": { + "href": { + "$ref": "./simpleIDType_v01.json" + }, + "mediaType": { + "description": "", + "type": "string", + "enum": [ + "application/gzip", + "application/json", + "application/msword", + "application/pdf", + "application/postscript", + "application/vnd.ms-excel", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application/vnd.openxmlformats-officedocument.wordprocessingml.document", + "application/xml", + "application/x-www-form-urlencoded", + "image/gif", + "image/jpeg", + "image/png", + "image/tiff", + "multipart/mixed", + "text/html", + "text/plain", + "application/vnd.visio", + "image/bmp", + "application/vnd.openxmlformats-officedocument.presentationml.presentation", + "application/vnd.ms-powerpoint", + "video/mp4", + "audio/mpeg", + "video/x-msvideo", + "video/x-ms-wmv", + "application/rtf", + "application/vnd.ms-outlook", + "text/csv", + "video/quicktime", + "application/zip", + "application/illustrator", + "text/xml" + ] + }, + "payloadArguments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "argumentPath": { + "description": "", + "type": "string" + }, + "argumentValue": { + "description": "", + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/specs2/common/simpleIDType_v01.json b/modules/swagger-parser/build/resources/test/specs2/common/simpleIDType_v01.json new file mode 100644 index 0000000000..6f61cd5515 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/specs2/common/simpleIDType_v01.json @@ -0,0 +1,6 @@ +{ + "title": "simpleID", + "description": "", + "type": "string", + "pattern": "^[a-zA-Z0-9.$-_\/]+$" +} \ No newline at end of file diff --git a/modules/swagger-parser/build/resources/test/specs2/my-domain/test-api/v1/schemas/test-api-schema_v01.json b/modules/swagger-parser/build/resources/test/specs2/my-domain/test-api/v1/schemas/test-api-schema_v01.json new file mode 100644 index 0000000000..b70b4fa2ba --- /dev/null +++ b/modules/swagger-parser/build/resources/test/specs2/my-domain/test-api/v1/schemas/test-api-schema_v01.json @@ -0,0 +1,29 @@ +{ + "description": "", + "type": "object", + "properties": { + "testingApi": { + "type": "array", + "items": { + "title": "testingApi", + "type": "object", + "properties": { + "itemID": { + "$ref": "../../../../common/simpleIDType_v01.json" + }, + "testLink": { + "type": "array", + "items": { + "$ref": "../../../../common/linkType_v01.json" + } + } + }, + "additionalProperties": false + } + }, + "_confirmMessage": { + "$ref": "../../../../common/confirmMessageType_v01.json" + } + }, + "additionalProperties": false +} diff --git a/modules/swagger-parser/build/resources/test/specs2/my-domain/test-api/v1/test-api-swagger_v1.json b/modules/swagger-parser/build/resources/test/specs2/my-domain/test-api/v1/test-api-swagger_v1.json new file mode 100644 index 0000000000..b73b0e1f76 --- /dev/null +++ b/modules/swagger-parser/build/resources/test/specs2/my-domain/test-api/v1/test-api-swagger_v1.json @@ -0,0 +1,112 @@ +{ + "openapi": "3.0.5", + "servers": [ + { + "url": "https://__host__/" + } + ], + "info": { + "description": "APIs to retrieve some data", + "version": "1.0", + "title": "TEST A NEW API", + "contact": { + "name": "mine", + "email": "mine@me.com" + } + }, + "tags": [ + { + "name": "Test", + "description": "APIs to retrieve some data" + } + ], + "paths": { + "/my-domain/v1/test-system": { + "get": { + "description": "Retrieve relevant data", + "tags": [ + "Test" + ], + "summary": "Retrieve relevant data", + "responses": { + "200": { + "description": "Request was successful", + "headers": { + }, + "content": { + "*/*": { + "schema": { + "$ref": "./schemas/test-api-schema_v01.json" + } + } + } + }, + "204": { + "$ref": "#/components/responses/204" + }, + "400": { + "$ref": "#/components/responses/400" + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/address" + } + ] + } + } + }, + "components": { + "schemas": { + }, + "responses": { + "200": { + "description": "OK", + "headers": { + } + }, + "400": { + "description": "Bad Request", + "headers": { + }, + "content": { + "*/*": { + "schema": { + "$ref": "../../../common/confirmMessageType_v01.json" + } + } + } + } + }, + "parameters": { + "address": { + "name": "address", + "in": "query", + "description": "address", + "required": false, + "schema": { + "type" : "string" + } + }, + "asOfDate": { + "name": "asOfDate", + "in": "query", + "description": "", + "required": false, + "schema": { + "$ref": "../../../common/dateType_v01.json" + }, + "example": "2017-01-01" + }, + "header_Accept-Language": { + "name": "Accept-Language", + "in": "header", + "description": "Accept-Language", + "required": false, + "schema": { + "type": "string" + } + } + } + } +} diff --git a/modules/swagger-parser/build/test-results/test/TEST-io.swagger.parser.OpenAPIParserTest.xml b/modules/swagger-parser/build/test-results/test/TEST-io.swagger.parser.OpenAPIParserTest.xml new file mode 100644 index 0000000000..6e4230c9bc --- /dev/null +++ b/modules/swagger-parser/build/test-results/test/TEST-io.swagger.parser.OpenAPIParserTest.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/modules/swagger-parser/build/test-results/test/binary/output.bin b/modules/swagger-parser/build/test-results/test/binary/output.bin new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/swagger-parser/build/test-results/test/binary/output.bin.idx b/modules/swagger-parser/build/test-results/test/binary/output.bin.idx new file mode 100644 index 0000000000..f76dd238ad Binary files /dev/null and b/modules/swagger-parser/build/test-results/test/binary/output.bin.idx differ diff --git a/modules/swagger-parser/build/test-results/test/binary/results.bin b/modules/swagger-parser/build/test-results/test/binary/results.bin new file mode 100644 index 0000000000..7cb0723290 Binary files /dev/null and b/modules/swagger-parser/build/test-results/test/binary/results.bin differ diff --git a/modules/swagger-parser/build/tmp/compileJava/previous-compilation-data.bin b/modules/swagger-parser/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000000..e31dd0d1ff Binary files /dev/null and b/modules/swagger-parser/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/modules/swagger-parser/build/tmp/compileTestJava/previous-compilation-data.bin b/modules/swagger-parser/build/tmp/compileTestJava/previous-compilation-data.bin new file mode 100644 index 0000000000..6b106feb4f Binary files /dev/null and b/modules/swagger-parser/build/tmp/compileTestJava/previous-compilation-data.bin differ diff --git a/modules/swagger-parser/build/tmp/jar/MANIFEST.MF b/modules/swagger-parser/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser/build/tmp/javadoc/javadoc.options b/modules/swagger-parser/build/tmp/javadoc/javadoc.options new file mode 100644 index 0000000000..605b8d65d5 --- /dev/null +++ b/modules/swagger-parser/build/tmp/javadoc/javadoc.options @@ -0,0 +1,8 @@ +-classpath '/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser/build/classes/java/main:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser/build/resources/main:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v2-converter/build/classes/java/main:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-v3/build/classes/java/main:/Users/prom1/.m2/repository/io/swagger/swagger-compat-spec-parser/1.0.64/swagger-compat-spec-parser-1.0.64.jar:/Users/prom1/.m2/repository/io/swagger/swagger-parser/1.0.64/swagger-parser-1.0.64.jar:/Users/prom1/.m2/repository/io/swagger/swagger-core/1.6.9/swagger-core-1.6.9.jar:/Users/prom1/.m2/repository/io/swagger/core/v3/swagger-core/2.2.8/swagger-core-2.2.8.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.14.0/jackson-dataformat-yaml-2.14.0.jar:/Users/prom1/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar:/Users/prom1/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/prom1/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/json-patch/1.13/json-patch-1.13.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.14.0/jackson-datatype-jsr310-2.14.0.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/json-schema-validator/2.2.14/json-schema-validator-2.2.14.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/json-schema-core/1.2.14/json-schema-core-1.2.14.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.14.0/jackson-databind-2.14.0.jar:/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser-core/build/classes/java/main:/Users/prom1/.m2/repository/io/swagger/core/v3/swagger-models/2.2.8/swagger-models-2.2.8.jar:/Users/prom1/.m2/repository/io/swagger/swagger-models/1.6.9/swagger-models-1.6.9.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.14.0/jackson-annotations-2.14.0.jar:/Users/prom1/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.14.0/jackson-core-2.14.0.jar:/Users/prom1/.m2/repository/org/slf4j/slf4j-api/1.7.35/slf4j-api-1.7.35.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/uri-template/0.10/uri-template-0.10.jar:/Users/prom1/.m2/repository/com/google/guava/guava/31.0.1-android/guava-31.0.1-android.jar:/Users/prom1/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/Users/prom1/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar:/Users/prom1/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar:/Users/prom1/.m2/repository/io/swagger/core/v3/swagger-annotations/2.2.8/swagger-annotations-2.2.8.jar:/Users/prom1/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/Users/prom1/.m2/repository/io/swagger/swagger-annotations/1.6.9/swagger-annotations-1.6.9.jar:/Users/prom1/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users/prom1/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/msg-simple/1.2/msg-simple-1.2.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/btf/1.3/btf-1.3.jar:/Users/prom1/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/prom1/.m2/repository/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar:/Users/prom1/.m2/repository/org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar:/Users/prom1/.m2/repository/com/google/errorprone/error_prone_annotations/2.7.1/error_prone_annotations-2.7.1.jar:/Users/prom1/.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/jackson-coreutils-equivalence/1.0/jackson-coreutils-equivalence-1.0.jar:/Users/prom1/.m2/repository/com/sun/mail/mailapi/1.6.2/mailapi-1.6.2.jar:/Users/prom1/.m2/repository/joda-time/joda-time/2.10.5/joda-time-2.10.5.jar:/Users/prom1/.m2/repository/com/googlecode/libphonenumber/libphonenumber/8.11.1/libphonenumber-8.11.1.jar:/Users/prom1/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:/Users/prom1/.m2/repository/com/github/java-json-tools/jackson-coreutils/2.0/jackson-coreutils-2.0.jar:/Users/prom1/.m2/repository/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar:/Users/prom1/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/prom1/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar:/Users/prom1/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar:/Users/prom1/.m2/repository/org/mozilla/rhino/1.7.7.2/rhino-1.7.7.2.jar' +-d '/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser/build/docs/javadoc' +-doctitle 'swagger-parser 2.1.13-SNAPSHOT API' +-encoding 'UTF-8' +-notimestamp +-quiet +-windowtitle 'swagger-parser 2.1.13-SNAPSHOT API' +'/Users/prom1/IdeaProjects/swagger-parser/modules/swagger-parser/src/main/java/io/swagger/parser/OpenAPIParser.java' diff --git a/modules/swagger-parser/build/tmp/javadocJar/MANIFEST.MF b/modules/swagger-parser/build/tmp/javadocJar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser/build/tmp/javadocJar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/modules/swagger-parser/build/tmp/sourcesJar/MANIFEST.MF b/modules/swagger-parser/build/tmp/sourcesJar/MANIFEST.MF new file mode 100644 index 0000000000..58630c02ef --- /dev/null +++ b/modules/swagger-parser/build/tmp/sourcesJar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/pom.xml b/pom.xml index 8875231041..28cb03c4aa 100644 --- a/pom.xml +++ b/pom.xml @@ -400,6 +400,16 @@ true + + maven-wiremock + https://maven-public.wiremock.io + + true + + + false + + 1.33 diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000000..aa64121bf6 --- /dev/null +++ b/settings.gradle @@ -0,0 +1,17 @@ +/* + * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. + */ + +rootProject.name = 'swagger-parser-project' +include(':swagger-parser') +include(':swagger-parser-v3') +include(':swagger-parser-cli') +include(':swagger-parser-core') +include(':swagger-parser-v2-converter') +project(":swagger-parser").projectDir = file('modules/swagger-parser') +project(":swagger-parser-v3").projectDir = file('modules/swagger-parser-v3') +project(":swagger-parser-cli").projectDir = file('modules/swagger-parser-cli') +project(":swagger-parser-core").projectDir = file('modules/swagger-parser-core') +project(":swagger-parser-v2-converter").projectDir = file('modules/swagger-parser-v2-converter')