From 9a73c0faef887e8580a1dad91793435dafa5619d Mon Sep 17 00:00:00 2001 From: Cliffano Subagio Date: Tue, 5 Nov 2024 10:40:18 +1100 Subject: [PATCH] Regenerate all clients. --- .../generated/.openapi-generator/VERSION | 2 +- .../generated/src/model/-models.adb | 2 +- .../generated/src/model/-models.ads | 2 +- .../generated/src/server/-skeletons.adb | 2 +- .../generated/src/server/-skeletons.ads | 2 +- .../generated/web/swagger/openapi.json | 2 +- .../ada/generated/.openapi-generator/VERSION | 2 +- clients/ada/generated/src/client/-clients.adb | 2 +- clients/ada/generated/src/client/-clients.ads | 2 +- clients/ada/generated/src/model/-models.adb | 2 +- clients/ada/generated/src/model/-models.ads | 2 +- .../generated/.openapi-generator/FILES | 1 + .../generated/.openapi-generator/VERSION | 2 +- clients/android/generated/build.gradle | 94 +- clients/android/generated/docs/DefaultApi.md | 4 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- clients/android/generated/settings.gradle | 17 + .../openapitools/client/api/DefaultApi.java | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../apex/generated/.openapi-generator/VERSION | 2 +- .../main/default/classes/OASDefaultApi.cls | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/asciidoc/generated/index.adoc | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../aspnetcore/generated/Org.OpenAPITools.sln | 10 +- clients/aspnetcore/generated/README.md | 2 +- .../Controllers/DefaultApi.cs | 2 +- .../generated/src/Org.OpenAPITools/Dockerfile | 4 +- .../src/Org.OpenAPITools/Models/Cycle.cs | 8 +- .../Org.OpenAPITools/Org.OpenAPITools.csproj | 8 +- .../generated/src/Org.OpenAPITools/Startup.cs | 4 +- .../wwwroot/openapi-original.json | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../bash/generated/.openapi-generator/VERSION | 2 +- clients/bash/generated/_client.sh | 4 +- clients/bash/generated/client.sh | 4 +- .../bash/generated/client.sh.bash-completion | 2 +- clients/bash/generated/docs/DefaultApi.md | 2 +- .../c/generated/.openapi-generator/VERSION | 2 +- clients/c/generated/README.md | 2 +- clients/c/generated/docs/DefaultAPI.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/DefaultApi.cpp | 21 +- .../generated/api/DefaultApi.h | 16 +- .../generated/model/Helpers.h | 11 +- .../generated/.openapi-generator/VERSION | 2 +- clients/cpp-qt-client/generated/README.md | 2 +- .../generated/client/OAIDefaultApi.cpp | 27 +- .../generated/client/OAIDefaultApi.h | 7 +- .../generated/client/OAIHttpFileElement.cpp | 8 - .../generated/client/OAIHttpRequest.cpp | 19 +- .../generated/client/OAIHttpRequest.h | 7 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/server/README.MD | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/DefaultApi.cpp | 2 +- .../generated/api/DefaultApi.h | 2 +- .../generated/model/Cycle.cpp | 2 +- .../generated/model/Cycle.h | 2 +- .../generated/model/Cycle_cycle.cpp | 2 +- .../generated/model/Cycle_cycle.h | 2 +- .../generated/model/Cycle_discontinued.cpp | 2 +- .../generated/model/Cycle_discontinued.h | 2 +- .../generated/model/Cycle_eol.cpp | 2 +- .../generated/model/Cycle_eol.h | 2 +- .../generated/model/Cycle_lts.cpp | 2 +- .../generated/model/Cycle_lts.h | 2 +- .../generated/model/Cycle_support.cpp | 2 +- .../generated/model/Cycle_support.h | 2 +- .../generated/model/helpers.h | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/cpp-restsdk/generated/CMakeLists.txt | 25 +- clients/cpp-restsdk/generated/README.md | 2 +- .../include/CppRestOpenAPIClient/AnyType.h | 2 +- .../include/CppRestOpenAPIClient/ApiClient.h | 2 +- .../CppRestOpenAPIClient/ApiConfiguration.h | 2 +- .../CppRestOpenAPIClient/ApiException.h | 2 +- .../CppRestOpenAPIClient/HttpContent.h | 2 +- .../include/CppRestOpenAPIClient/IHttpBody.h | 2 +- .../include/CppRestOpenAPIClient/JsonBody.h | 2 +- .../include/CppRestOpenAPIClient/ModelBase.h | 141 +- .../CppRestOpenAPIClient/MultipartFormData.h | 2 +- .../include/CppRestOpenAPIClient/Object.h | 2 +- .../CppRestOpenAPIClient/api/DefaultApi.h | 4 +- .../CppRestOpenAPIClient/model/Cycle.h | 3 +- .../CppRestOpenAPIClient/model/Cycle_cycle.h | 3 +- .../model/Cycle_discontinued.h | 3 +- .../CppRestOpenAPIClient/model/Cycle_eol.h | 3 +- .../CppRestOpenAPIClient/model/Cycle_lts.h | 3 +- .../model/Cycle_support.h | 3 +- clients/cpp-restsdk/generated/src/AnyType.cpp | 2 +- .../cpp-restsdk/generated/src/ApiClient.cpp | 2 +- .../generated/src/ApiConfiguration.cpp | 2 +- .../generated/src/ApiException.cpp | 2 +- .../cpp-restsdk/generated/src/HttpContent.cpp | 2 +- .../cpp-restsdk/generated/src/JsonBody.cpp | 2 +- .../cpp-restsdk/generated/src/ModelBase.cpp | 2 +- .../generated/src/MultipartFormData.cpp | 2 +- clients/cpp-restsdk/generated/src/Object.cpp | 2 +- .../generated/src/api/DefaultApi.cpp | 14 +- .../cpp-restsdk/generated/src/model/Cycle.cpp | 2 +- .../generated/src/model/Cycle_cycle.cpp | 2 +- .../src/model/Cycle_discontinued.cpp | 2 +- .../generated/src/model/Cycle_eol.cpp | 2 +- .../generated/src/model/Cycle_lts.cpp | 2 +- .../generated/src/model/Cycle_support.cpp | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../cpp-tizen/generated/src/DefaultManager.h | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../Public/OpenAPIDefaultApiOperations.h | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/crystal/generated/.travis.yml | 2 +- clients/crystal/generated/README.md | 2 +- clients/crystal/generated/shard.yml | 4 +- .../generated/spec/api/default_api_spec.cr | 4 +- .../generated/spec/models/cycle_cycle_spec.cr | 2 +- .../spec/models/cycle_discontinued_spec.cr | 2 +- .../generated/spec/models/cycle_eol_spec.cr | 2 +- .../generated/spec/models/cycle_lts_spec.cr | 2 +- .../generated/spec/models/cycle_spec.cr | 2 +- .../spec/models/cycle_support_spec.cr | 2 +- clients/crystal/generated/spec/spec_helper.cr | 2 +- .../crystal/generated/src/openapi_client.cr | 2 +- .../src/openapi_client/api/default_api.cr | 6 +- .../src/openapi_client/api_client.cr | 2 +- .../generated/src/openapi_client/api_error.cr | 4 +- .../src/openapi_client/configuration.cr | 2 +- .../src/openapi_client/models/cycle.cr | 2 +- .../src/openapi_client/models/cycle_cycle.cr | 2 +- .../models/cycle_discontinued.cr | 2 +- .../src/openapi_client/models/cycle_eol.cr | 2 +- .../src/openapi_client/models/cycle_lts.cr | 2 +- .../openapi_client/models/cycle_support.cr | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/csharp/generated/Org.OpenAPITools.sln | 10 +- clients/csharp/generated/README.md | 4 +- clients/csharp/generated/api/openapi.yaml | 4 +- clients/csharp/generated/docs/DefaultApi.md | 4 +- .../Org.OpenAPITools.Test.csproj | 6 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 40 +- .../src/Org.OpenAPITools/Client/ApiClient.cs | 213 +- .../Org.OpenAPITools/Client/ClientUtils.cs | 8 +- .../Org.OpenAPITools/Client/Configuration.cs | 4 +- .../Client/IAsynchronousClient.cs | 14 +- .../src/Org.OpenAPITools/Model/Cycle.cs | 11 +- .../src/Org.OpenAPITools/Model/CycleCycle.cs | 24 +- .../Model/CycleDiscontinued.cs | 24 +- .../src/Org.OpenAPITools/Model/CycleEol.cs | 24 +- .../src/Org.OpenAPITools/Model/CycleLts.cs | 24 +- .../Org.OpenAPITools/Model/CycleSupport.cs | 24 +- .../Org.OpenAPITools/Org.OpenAPITools.csproj | 5 +- .../generated/.openapi-generator/VERSION | 2 +- clients/cwiki/generated/confluence-markup.txt | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/dart-dio/generated/README.md | 2 +- clients/dart/generated/.gitignore | 4 +- .../dart/generated/.openapi-generator/VERSION | 2 +- clients/dart/generated/README.md | 2 +- clients/dart/generated/pubspec.yaml | 6 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/docs/operations/DefaultApi.html | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/eiffel/generated/README.md | 2 +- clients/eiffel/generated/api_client.ecf | 2 +- clients/eiffel/generated/docs/DEFAULT_API.md | 2 +- .../eiffel/generated/src/api/default_api.e | 2 +- clients/eiffel/generated/test/api_test.ecf | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/elixir/generated/README.md | 2 +- clients/elixir/generated/mix.exs | 2 +- .../elm/generated/.openapi-generator/VERSION | 2 +- clients/elm/generated/README.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/FILES | 2 - .../generated/.openapi-generator/VERSION | 2 +- clients/erlang-server/generated/README.md | 59 +- .../erlang-server/generated/priv/openapi.json | 2 +- clients/erlang-server/generated/rebar.config | 17 +- .../generated/src/openapi.app.src | 30 +- .../generated/src/openapi_api.erl | 550 ++-- .../generated/src/openapi_auth.erl | 57 +- .../generated/src/openapi_default_handler.erl | 312 +-- .../src/openapi_default_logic_handler.erl | 20 - .../generated/src/openapi_logic_handler.erl | 91 +- .../generated/src/openapi_router.erl | 105 +- .../generated/src/openapi_server.erl | 71 +- .../generated/src/openapi_utils.erl | 173 -- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.docs/api/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/go-echo-server/generated/README.md | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../go-gin-server/generated/api/openapi.yaml | 4 +- clients/go-gin-server/generated/go/README.md | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/go-server/generated/README.md | 7 +- clients/go-server/generated/api/openapi.yaml | 4 +- clients/go-server/generated/go/api.go | 8 +- clients/go-server/generated/go/api_default.go | 36 +- .../generated/go/api_default_service.go | 24 +- .../go/generated/.openapi-generator/VERSION | 2 +- clients/go/generated/README.md | 2 +- clients/go/generated/api/openapi.yaml | 4 +- clients/go/generated/api_default.go | 2 +- clients/go/generated/client.go | 28 +- clients/go/generated/docs/DefaultAPI.md | 4 +- clients/go/generated/model_cycle_cycle.go | 42 +- .../go/generated/model_cycle_discontinued.go | 42 +- clients/go/generated/model_cycle_eol.go | 42 +- clients/go/generated/model_cycle_lts.go | 42 +- clients/go/generated/model_cycle_support.go | 42 +- clients/go/generated/utils.go | 14 + .../generated/.openapi-generator/VERSION | 2 +- .../api/default_api.graphql | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../openapi2graphql/api/default_api.graphql | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/groovy/generated/README.md | 4 +- clients/groovy/generated/build.gradle | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/endoflife.date.cabal | 2 +- .../generated/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/src/Handler/Default.hs | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../haskell/generated/endoflife.date.cabal | 1 + .../html/generated/.openapi-generator/VERSION | 2 +- clients/html/generated/index.html | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/html2/generated/index.html | 20 +- .../generated/.openapi-generator/VERSION | 2 +- .../org/openapitools/RestConfiguration.java | 2 +- .../java/org/openapitools/api/DefaultApi.java | 4 +- .../java/org/openapitools/model/Cycle.java | 18 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../openapitools/controllers/StringUtil.java | 2 +- .../java/org/openapitools/model/Cycle.java | 2 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../controllers/ApiController.java | 2 +- .../generated/src/main/openapi/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/docs/apis/DefaultApi.md | 2 +- .../java/org/openapitools/api/DefaultApi.java | 4 +- .../java/org/openapitools/model/Cycle.java | 18 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../docs/controllers/DefaultController.md | 2 +- .../controller/DefaultController.java | 6 +- .../java/org/openapitools/model/Cycle.java | 18 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../controller/DefaultControllerTest.java | 6 +- .../generated/.openapi-generator/VERSION | 2 +- clients/java-msf4j/generated/pom.xml | 2 +- .../gen/java/org/openapitools/api/ApiApi.java | 4 +- .../org/openapitools/api/ApiApiService.java | 2 +- .../org/openapitools/api/ApiException.java | 2 +- .../org/openapitools/api/ApiOriginFilter.java | 2 +- .../openapitools/api/ApiResponseMessage.java | 2 +- .../openapitools/api/NotFoundException.java | 2 +- .../java/org/openapitools/api/StringUtil.java | 2 +- .../java/org/openapitools/model/Cycle.java | 2 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../api/impl/ApiApiServiceImpl.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../prokarma/pkmst/controller/DefaultApi.java | 6 +- .../controller/DefaultApiController.java | 4 +- .../java/com/prokarma/pkmst/model/Cycle.java | 34 +- .../com/prokarma/pkmst/model/CycleCycle.java | 2 +- .../pkmst/model/CycleDiscontinued.java | 2 +- .../com/prokarma/pkmst/model/CycleEol.java | 2 +- .../com/prokarma/pkmst/model/CycleLts.java | 2 +- .../prokarma/pkmst/model/CycleSupport.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/app/apimodels/Cycle.java | 2 +- .../generated/app/apimodels/CycleCycle.java | 2 +- .../app/apimodels/CycleDiscontinued.java | 2 +- .../generated/app/apimodels/CycleEol.java | 2 +- .../generated/app/apimodels/CycleLts.java | 2 +- .../generated/app/apimodels/CycleSupport.java | 2 +- .../app/controllers/DefaultApiController.java | 2 +- .../controllers/DefaultApiControllerImp.java | 2 +- .../generated/public/openapi.json | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../java-undertow-server/generated/pom.xml | 2 +- .../handler/PathHandlerInterface.java | 2 +- .../java/org/openapitools/model/Cycle.java | 2 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../src/main/resources/config/openapi.json | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/java-vertx-web/generated/README.md | 4 +- clients/java-vertx-web/generated/pom.xml | 2 +- .../generated/src/main/resources/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/java-vertx/generated/README.md | 4 +- clients/java-vertx/generated/pom.xml | 2 +- .../generated/src/main/resources/openapi.json | 2 +- .../java/generated/.openapi-generator/VERSION | 2 +- clients/java/generated/README.md | 6 +- clients/java/generated/api/openapi.yaml | 4 +- clients/java/generated/build.gradle | 7 +- clients/java/generated/build.sbt | 5 +- clients/java/generated/docs/DefaultApi.md | 4 +- clients/java/generated/pom.xml | 18 +- .../oapicf/endoflifedate/ApiClient.java | 34 +- .../oapicf/endoflifedate/ApiException.java | 2 +- .../oapicf/endoflifedate/Configuration.java | 2 +- .../com/github/oapicf/endoflifedate/JSON.java | 19 +- .../com/github/oapicf/endoflifedate/Pair.java | 2 +- .../endoflifedate/ServerConfiguration.java | 15 +- .../oapicf/endoflifedate/ServerVariable.java | 15 +- .../oapicf/endoflifedate/StringUtil.java | 2 +- .../oapicf/endoflifedate/api/DefaultApi.java | 8 +- .../oapicf/endoflifedate/auth/ApiKeyAuth.java | 2 +- .../endoflifedate/auth/HttpBasicAuth.java | 2 - .../endoflifedate/auth/HttpBearerAuth.java | 2 +- .../model/AbstractOpenApiSchema.java | 2 +- .../oapicf/endoflifedate/model/Cycle.java | 71 +- .../endoflifedate/model/CycleCycle.java | 2 +- .../model/CycleDiscontinued.java | 2 +- .../oapicf/endoflifedate/model/CycleEol.java | 2 +- .../oapicf/endoflifedate/model/CycleLts.java | 2 +- .../endoflifedate/model/CycleSupport.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/API/Client/DefaultApi.js | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/javascript/generated/README.md | 2 +- .../javascript/generated/docs/DefaultApi.md | 4 +- .../javascript/generated/package-lock.json | 2251 +++++++++-------- .../generated/src/api/DefaultApi.js | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../gen/java/org/openapitools/api/ApiApi.java | 4 +- .../org/openapitools/api/ApiApiService.java | 2 +- .../api/impl/ApiApiServiceImpl.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/jaxrs-cxf-client/generated/pom.xml | 17 +- .../generated/.openapi-generator/VERSION | 2 +- clients/jaxrs-cxf-extended/generated/pom.xml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/jaxrs-cxf/generated/pom.xml | 17 +- .../generated/.openapi-generator/VERSION | 2 +- clients/jaxrs-jersey/generated/pom.xml | 2 +- .../gen/java/org/openapitools/api/ApiApi.java | 6 +- .../org/openapitools/api/ApiApiService.java | 2 +- .../org/openapitools/api/ApiException.java | 2 +- .../org/openapitools/api/ApiOriginFilter.java | 2 +- .../openapitools/api/ApiResponseMessage.java | 2 +- .../openapitools/api/NotFoundException.java | 2 +- .../java/org/openapitools/api/StringUtil.java | 2 +- .../java/org/openapitools/model/Cycle.java | 2 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../api/factories/ApiApiServiceFactory.java | 2 +- .../api/impl/ApiApiServiceImpl.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../gen/java/org/openapitools/api/ApiApi.java | 2 +- .../java/org/openapitools/model/Cycle.java | 2 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../api/impl/ApiApiServiceImpl.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/jaxrs-resteasy/generated/pom.xml | 2 +- .../gen/java/org/openapitools/api/ApiApi.java | 2 +- .../org/openapitools/api/ApiApiService.java | 2 +- .../org/openapitools/api/ApiException.java | 2 +- .../org/openapitools/api/ApiOriginFilter.java | 2 +- .../openapitools/api/ApiResponseMessage.java | 2 +- .../openapitools/api/NotFoundException.java | 2 +- .../java/org/openapitools/api/StringUtil.java | 2 +- .../java/org/openapitools/model/Cycle.java | 3 +- .../org/openapitools/model/CycleCycle.java | 3 +- .../openapitools/model/CycleDiscontinued.java | 3 +- .../java/org/openapitools/model/CycleEol.java | 3 +- .../java/org/openapitools/model/CycleLts.java | 3 +- .../org/openapitools/model/CycleSupport.java | 3 +- .../api/impl/ApiApiServiceImpl.java | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/jaxrs-spec/generated/pom.xml | 2 +- .../gen/java/org/openapitools/api/ApiApi.java | 4 +- .../java/org/openapitools/model/Cycle.java | 2 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../generated/src/main/openapi/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../k6/generated/.openapi-generator/VERSION | 2 +- clients/k6/generated/script.js | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/kotlin-server/generated/README.md | 2 +- .../kotlin/org/openapitools/server/Paths.kt | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../kotlin-spring/generated/build.gradle.kts | 5 +- clients/kotlin-spring/generated/pom.xml | 12 +- .../org/openapitools/api/ApiApiController.kt | 2 +- .../kotlin/org/openapitools/api/Exceptions.kt | 3 +- .../kotlin/org/openapitools/model/Cycle.kt | 2 +- .../org/openapitools/model/CycleCycle.kt | 2 +- .../openapitools/model/CycleDiscontinued.kt | 2 +- .../kotlin/org/openapitools/model/CycleEol.kt | 2 +- .../kotlin/org/openapitools/model/CycleLts.kt | 2 +- .../org/openapitools/model/CycleSupport.kt | 2 +- .../generated/src/main/resources/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/kotlin-vertx/generated/pom.xml | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/kotlin/generated/README.md | 12 +- clients/kotlin/generated/docs/Cycle.md | 20 +- clients/kotlin/generated/docs/CycleCycle.md | 4 +- .../generated/docs/CycleDiscontinued.md | 4 +- clients/kotlin/generated/docs/CycleEol.md | 4 +- clients/kotlin/generated/docs/CycleLts.md | 4 +- clients/kotlin/generated/docs/CycleSupport.md | 4 +- clients/kotlin/generated/docs/DefaultApi.md | 28 +- clients/kotlin/generated/gradlew.bat | 338 +-- .../openapitools/client/apis/DefaultApi.kt | 10 +- .../client/infrastructure/ApiClient.kt | 110 +- .../org/openapitools/client/models/Cycle.kt | 5 +- .../openapitools/client/models/CycleCycle.kt | 7 +- .../client/models/CycleDiscontinued.kt | 7 +- .../openapitools/client/models/CycleEol.kt | 7 +- .../openapitools/client/models/CycleLts.kt | 7 +- .../client/models/CycleSupport.kt | 7 +- .../client/apis/DefaultApiTest.kt | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../lua/generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/markdown/generated/Apis/DefaultApi.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../nim/generated/.openapi-generator/VERSION | 2 +- clients/nim/generated/README.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/openapi.yaml | 4 +- .../generated/services/DefaultService.js | 2 +- .../objc/generated/.openapi-generator/VERSION | 2 +- .../OpenAPIClient/Api/OAIDefaultApi.h | 2 +- .../OpenAPIClient/Api/OAIDefaultApi.m | 2 +- clients/objc/generated/README.md | 2 +- clients/objc/generated/docs/OAIDefaultApi.md | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/ocaml/generated/README.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/openapi/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/openapi/generated/openapi.json | 2 +- .../perl/generated/.openapi-generator/VERSION | 2 +- clients/perl/generated/README.md | 2 +- clients/perl/generated/docs/DefaultApi.md | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../GetApiProductCycleJsonParameterData.php | 4 +- .../DTO/GetApiProductJsonParameterData.php | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.github/workflows/main.yml | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/Api/DefaultApiInterface.php | 2 +- clients/php-symfony/generated/Model/Cycle.php | 184 +- clients/php-symfony/generated/README.md | 2 +- .../generated/Service/JmsSerializer.php | 6 +- clients/php-symfony/generated/composer.json | 1 + .../generated/docs/Api/DefaultApiInterface.md | 2 +- .../php/generated/.openapi-generator/VERSION | 2 +- clients/php/generated/README.md | 2 +- clients/php/generated/docs/Api/DefaultApi.md | 4 +- .../php/generated/test/Api/DefaultApiTest.php | 2 +- .../generated/test/Model/CycleCycleTest.php | 2 +- .../test/Model/CycleDiscontinuedTest.php | 2 +- .../php/generated/test/Model/CycleEolTest.php | 2 +- .../php/generated/test/Model/CycleLtsTest.php | 2 +- .../generated/test/Model/CycleSupportTest.php | 2 +- .../php/generated/test/Model/CycleTest.php | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/powershell/generated/Build.ps1 | 2 +- clients/powershell/generated/README.md | 2 +- .../powershell/generated/docs/DefaultApi.md | 4 +- .../src/PSOpenAPITools/Api/DefaultApi.ps1 | 2 +- .../src/PSOpenAPITools/Private/ApiClient.ps1 | 4 +- .../en-US/about_PSOpenAPITools.help.txt | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/protobuf-schema/generated/README.md | 2 +- .../generated/services/default_service.proto | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../controllers/default_controller.py | 2 +- .../openapi_server/openapi/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../controllers/default_controller.py | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/python-fastapi/generated/README.md | 2 +- clients/python-fastapi/generated/openapi.yaml | 4 +- .../python-fastapi/generated/requirements.txt | 10 +- .../src/openapi_server/apis/default_api.py | 15 +- .../openapi_server/apis/default_api_base.py | 6 +- .../src/openapi_server/models/cycle_cycle.py | 3 +- .../models/cycle_discontinued.py | 3 +- .../src/openapi_server/models/cycle_eol.py | 3 +- .../src/openapi_server/models/cycle_lts.py | 3 +- .../openapi_server/models/cycle_support.py | 3 +- .../generated/.openapi-generator/VERSION | 2 +- .../controllers/default_controller.py | 2 +- .../openapi_server/openapi/openapi.yaml | 4 +- .../generated/.github/workflows/python.yml | 17 +- clients/python/generated/.gitlab-ci.yml | 6 +- .../generated/.openapi-generator/VERSION | 2 +- clients/python/generated/.travis.yml | 4 +- clients/python/generated/README.md | 2 +- clients/python/generated/docs/DefaultApi.md | 4 +- .../endoflifedate/api/default_api.py | 57 +- .../generated/endoflifedate/api_client.py | 47 +- .../generated/endoflifedate/configuration.py | 18 +- .../python/generated/endoflifedate/rest.py | 2 +- clients/python/generated/pyproject.toml | 21 +- clients/python/generated/requirements.txt | 5 +- clients/python/generated/setup.py | 6 +- .../python/generated/test-requirements.txt | 11 +- clients/python/generated/test/test_cycle.py | 2 +- .../python/generated/test/test_cycle_cycle.py | 2 +- .../generated/test/test_cycle_discontinued.py | 2 +- .../python/generated/test/test_cycle_eol.py | 2 +- .../python/generated/test/test_cycle_lts.py | 2 +- .../generated/test/test_cycle_support.py | 2 +- .../r/generated/.openapi-generator/VERSION | 2 +- clients/r/generated/R/api_client.R | 30 +- clients/r/generated/R/api_response.R | 8 +- clients/r/generated/R/cycle.R | 41 +- clients/r/generated/R/cycle_cycle.R | 35 +- clients/r/generated/R/cycle_discontinued.R | 35 +- clients/r/generated/R/cycle_eol.R | 35 +- clients/r/generated/R/cycle_lts.R | 35 +- clients/r/generated/R/cycle_support.R | 35 +- clients/r/generated/R/default_api.R | 95 +- clients/r/generated/README.md | 2 +- clients/r/generated/docs/DefaultApi.md | 4 +- .../tests/testthat/test_default_api.R | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../ruby-sinatra/generated/api/default_api.rb | 2 +- clients/ruby-sinatra/generated/openapi.yaml | 4 +- .../ruby/generated/.openapi-generator/VERSION | 2 +- clients/ruby/generated/Gemfile.lock | 14 +- clients/ruby/generated/README.md | 2 +- clients/ruby/generated/docs/DefaultApi.md | 4 +- clients/ruby/generated/endoflife_date.gemspec | 2 +- .../generated/spec/api/default_api_spec.rb | 4 +- .../generated/spec/models/cycle_cycle_spec.rb | 2 +- .../spec/models/cycle_discontinued_spec.rb | 2 +- .../generated/spec/models/cycle_eol_spec.rb | 2 +- .../generated/spec/models/cycle_lts_spec.rb | 2 +- .../ruby/generated/spec/models/cycle_spec.rb | 2 +- .../spec/models/cycle_support_spec.rb | 2 +- clients/ruby/generated/spec/spec_helper.rb | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/rust-axum/generated/README.md | 4 +- clients/rust-axum/generated/src/models.rs | 2 +- clients/rust-axum/generated/src/server/mod.rs | 21 +- clients/rust-axum/generated/src/types.rs | 4 +- .../generated/.openapi-generator/FILES | 5 + .../generated/.openapi-generator/VERSION | 2 +- clients/rust-server/generated/Cargo.toml | 30 +- clients/rust-server/generated/README.md | 37 +- .../rust-server/generated/api/openapi.yaml | 4 +- clients/rust-server/generated/bin/cli.rs | 207 ++ clients/rust-server/generated/docs/Cycle.md | 2 +- .../rust-server/generated/docs/default_api.md | 24 +- .../generated/examples/client/client_auth.rs | 17 + .../generated/examples/client/main.rs | 58 +- .../generated/examples/server/main.rs | 3 + .../generated/examples/server/server.rs | 34 +- .../generated/examples/server/server_auth.rs | 127 + clients/rust-server/generated/src/auth.rs | 62 + .../rust-server/generated/src/client/mod.rs | 48 +- clients/rust-server/generated/src/context.rs | 5 +- clients/rust-server/generated/src/lib.rs | 62 +- clients/rust-server/generated/src/models.rs | 664 +++-- .../rust-server/generated/src/server/mod.rs | 135 +- .../generated/src/server/server_auth.rs | 28 + .../rust/generated/.openapi-generator/VERSION | 2 +- clients/rust/generated/Cargo.toml | 1 + clients/rust/generated/README.md | 2 +- clients/rust/generated/docs/DefaultApi.md | 2 +- .../rust/generated/src/apis/configuration.rs | 2 - clients/rust/generated/src/lib.rs | 1 + .../generated/.openapi-generator/VERSION | 2 +- .../generated/README.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/scala-akka/generated/README.md | 2 +- .../scala-akka/generated/docs/DefaultApi.md | 4 +- .../openapitools/client/api/DefaultApi.scala | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../io/swagger/client/api/DefaultApi.scala | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/scala-play-server/generated/README.md | 2 +- .../generated/app/api/DefaultApi.scala | 4 +- .../app/api/DefaultApiController.scala | 4 +- .../generated/app/api/DefaultApiImpl.scala | 2 +- .../generated/app/model/Cycle.scala | 2 +- .../generated/app/model/CycleCycle.scala | 2 +- .../app/model/CycleDiscontinued.scala | 2 +- .../generated/app/model/CycleEol.scala | 2 +- .../generated/app/model/CycleLts.scala | 2 +- .../generated/app/model/CycleSupport.scala | 2 +- .../app/org/openapitools/Module.scala | 2 +- .../generated/public/openapi.json | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/scala-sttp/generated/README.md | 2 +- .../openapitools/client/api/DefaultApi.scala | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../java/org/openapitools/api/ApiApi.java | 8 +- .../openapitools/api/ApiApiController.java | 2 +- .../java/org/openapitools/model/Cycle.java | 18 +- .../org/openapitools/model/CycleCycle.java | 2 +- .../openapitools/model/CycleDiscontinued.java | 2 +- .../java/org/openapitools/model/CycleEol.java | 2 +- .../java/org/openapitools/model/CycleLts.java | 2 +- .../org/openapitools/model/CycleSupport.java | 2 +- .../generated/src/main/resources/openapi.yaml | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../Classes/OpenAPIs/APIHelper.swift | 2 + .../Classes/OpenAPIs/APIs/DefaultAPI.swift | 4 +- .../Classes/OpenAPIs/Extensions.swift | 9 +- .../Classes/OpenAPIs/Models.swift | 2 +- .../OpenAPIs/SynchronizedDictionary.swift | 24 +- .../OpenAPIs/URLSessionImplementations.swift | 2 +- .../Classes/OpenAPIs/Validation.swift | 35 + clients/swift5/generated/README.md | 2 +- clients/swift5/generated/docs/DefaultAPI.md | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../typescript-angular/generated/README.md | 4 + .../generated/api/default.service.ts | 4 +- .../generated/model/cycle.ts | 2 - .../generated/model/cycleCycle.ts | 2 - .../generated/model/cycleDiscontinued.ts | 2 - .../generated/model/cycleEol.ts | 2 - .../generated/model/cycleLts.ts | 2 - .../generated/model/cycleSupport.ts | 2 - .../generated/.openapi-generator/VERSION | 2 +- .../generated/DefaultApi.ts | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/typescript-axios/generated/api.ts | 14 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/models/Cycle.ts | 14 +- .../generated/models/CycleCycle.ts | 6 +- .../generated/models/CycleDiscontinued.ts | 6 +- .../generated/models/CycleEol.ts | 6 +- .../generated/models/CycleLts.ts | 6 +- .../generated/models/CycleSupport.ts | 6 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/default.service.ts | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/DefaultApi.ts | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/default.service.ts | 7 +- .../generated/configuration.ts | 4 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/api/defaultApi.ts | 2 +- .../typescript-node/generated/model/models.ts | 63 +- .../generated/.openapi-generator/VERSION | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/typescript/generated/.gitattributes | 8 + .../generated/.openapi-generator/FILES | 1 + .../generated/.openapi-generator/VERSION | 2 +- clients/typescript/generated/DefaultApi.md | 52 +- .../typescript/generated/apis/DefaultApi.ts | 2 +- clients/typescript/generated/http/http.ts | 18 +- clients/typescript/generated/index.ts | 4 +- clients/typescript/generated/models/Cycle.ts | 3 +- .../typescript/generated/models/CycleCycle.ts | 3 +- .../generated/models/CycleDiscontinued.ts | 3 +- .../typescript/generated/models/CycleEol.ts | 3 +- .../typescript/generated/models/CycleLts.ts | 3 +- .../generated/models/CycleSupport.ts | 3 +- .../generated/models/ObjectSerializer.ts | 62 +- clients/typescript/generated/package.json | 3 + .../generated/types/ObjectParamAPI.ts | 5 +- .../generated/types/ObservableAPI.ts | 16 +- .../typescript/generated/types/PromiseAPI.ts | 4 +- .../generated/.openapi-generator/VERSION | 2 +- clients/wsdl-schema/generated/service.wsdl | 2 +- .../generated/.openapi-generator/VERSION | 2 +- .../OpenAPIClient/APIs/DefaultApi.xojo_code | 2 +- clients/xojo-client/generated/README.md | 2 +- .../generated/.openapi-generator/VERSION | 2 +- clients/zapier/generated/apis/DefaultApi.js | 17 +- clients/zapier/generated/index.js | 3 +- .../zapier/generated/operations/actions.js | 7 +- clients/zapier/generated/utils/utils.js | 39 +- 727 files changed, 5336 insertions(+), 4647 deletions(-) create mode 100644 clients/android/generated/settings.gradle delete mode 100644 clients/erlang-server/generated/src/openapi_default_logic_handler.erl delete mode 100644 clients/erlang-server/generated/src/openapi_utils.erl create mode 100644 clients/rust-server/generated/bin/cli.rs create mode 100644 clients/rust-server/generated/examples/client/client_auth.rs create mode 100644 clients/rust-server/generated/examples/server/server_auth.rs create mode 100644 clients/rust-server/generated/src/auth.rs create mode 100644 clients/rust-server/generated/src/server/server_auth.rs create mode 100644 clients/typescript/generated/.gitattributes diff --git a/clients/ada-server/generated/.openapi-generator/VERSION b/clients/ada-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ada-server/generated/.openapi-generator/VERSION +++ b/clients/ada-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/ada-server/generated/src/model/-models.adb b/clients/ada-server/generated/src/model/-models.adb index e883599..1156fff 100644 --- a/clients/ada-server/generated/src/model/-models.adb +++ b/clients/ada-server/generated/src/model/-models.adb @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada-server/generated/src/model/-models.ads b/clients/ada-server/generated/src/model/-models.ads index 8dcc5cc..65b0df7 100644 --- a/clients/ada-server/generated/src/model/-models.ads +++ b/clients/ada-server/generated/src/model/-models.ads @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada-server/generated/src/server/-skeletons.adb b/clients/ada-server/generated/src/server/-skeletons.adb index 7681d08..f5a7787 100644 --- a/clients/ada-server/generated/src/server/-skeletons.adb +++ b/clients/ada-server/generated/src/server/-skeletons.adb @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada-server/generated/src/server/-skeletons.ads b/clients/ada-server/generated/src/server/-skeletons.ads index ded9cb7..966e04c 100644 --- a/clients/ada-server/generated/src/server/-skeletons.ads +++ b/clients/ada-server/generated/src/server/-skeletons.ads @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada-server/generated/web/swagger/openapi.json b/clients/ada-server/generated/web/swagger/openapi.json index 5af8745..5d2d05b 100644 --- a/clients/ada-server/generated/web/swagger/openapi.json +++ b/clients/ada-server/generated/web/swagger/openapi.json @@ -104,7 +104,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/ada/generated/.openapi-generator/VERSION b/clients/ada/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ada/generated/.openapi-generator/VERSION +++ b/clients/ada/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/ada/generated/src/client/-clients.adb b/clients/ada/generated/src/client/-clients.adb index df97a51..9035a4a 100644 --- a/clients/ada/generated/src/client/-clients.adb +++ b/clients/ada/generated/src/client/-clients.adb @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada/generated/src/client/-clients.ads b/clients/ada/generated/src/client/-clients.ads index 23b10e1..81d7cdc 100644 --- a/clients/ada/generated/src/client/-clients.ads +++ b/clients/ada/generated/src/client/-clients.ads @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada/generated/src/model/-models.adb b/clients/ada/generated/src/model/-models.adb index e883599..1156fff 100644 --- a/clients/ada/generated/src/model/-models.adb +++ b/clients/ada/generated/src/model/-models.adb @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/ada/generated/src/model/-models.ads b/clients/ada/generated/src/model/-models.ads index 8dcc5cc..65b0df7 100644 --- a/clients/ada/generated/src/model/-models.ads +++ b/clients/ada/generated/src/model/-models.ads @@ -4,7 +4,7 @@ -- The version of the OpenAPI document: 0.0.1 -- Contact: blah+oapicf@cliffano.com -- --- NOTE: This package is auto generated by OpenAPI-Generator 7.6.0. +-- NOTE: This package is auto generated by OpenAPI-Generator 7.9.0. -- https://openapi-generator.tech -- Do not edit the class manually. diff --git a/clients/android/generated/.openapi-generator/FILES b/clients/android/generated/.openapi-generator/FILES index 6ff8eb5..a35ea41 100644 --- a/clients/android/generated/.openapi-generator/FILES +++ b/clients/android/generated/.openapi-generator/FILES @@ -15,6 +15,7 @@ gradle/wrapper/gradle-wrapper.properties gradlew gradlew.bat pom.xml +settings.gradle src/main/AndroidManifest.xml src/main/java/org/openapitools/client/ApiException.java src/main/java/org/openapitools/client/ApiInvoker.java diff --git a/clients/android/generated/.openapi-generator/VERSION b/clients/android/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/android/generated/.openapi-generator/VERSION +++ b/clients/android/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/android/generated/build.gradle b/clients/android/generated/build.gradle index 600c9a8..9ac4922 100644 --- a/clients/android/generated/build.gradle +++ b/clients/android/generated/build.gradle @@ -1,38 +1,15 @@ -group = 'org.openapitools' -project.version = '1.0.0' - -buildscript { - repositories { - mavenLocal() - google() - maven { - url 'https://dl.google.com/dl/android/maven2' - } - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:3.2.+' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' - } -} - -allprojects { - repositories { - google() - jcenter() - } +plugins { + id 'com.android.library' version '8.0.0' + id 'maven-publish' } - -apply plugin: 'com.android.library' -apply plugin: 'com.github.dcendents.android-maven' - android { - compileSdkVersion 26 - buildToolsVersion '28.0.3' + namespace "org.openapitools.client" + compileSdkVersion 33 + buildToolsVersion '34.0.0' defaultConfig { minSdkVersion 14 - targetSdkVersion 26 + targetSdkVersion 33 } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -41,58 +18,51 @@ android { lintOptions { abortOnError false } - - // Rename the aar correctly - libraryVariants.all { variant -> - variant.outputs.all { output -> - if (outputFile != null && outputFileName.endsWith('.aar')) { - outputFileName = "${archivesBaseName}-${version}.aar" - } - } + packagingOptions { + resources.excludes += "META-INF/DEPENDENCIES" } - testOptions { unitTests.returnDefaultValues = true } + publishing { + singleVariant('release') { + withSourcesJar() + } + } } ext { swagger_annotations_version = "1.6.6" gson_version = "2.10.1" + httpcore_version = "4.4.16" httpmime_version = "4.5.14" volley_version = "1.2.1" junit_version = "4.13.2" - robolectric_version = "4.5.1" - concurrent_unit_version = "0.4.6" } dependencies { implementation "io.swagger:swagger-annotations:$swagger_annotations_version" implementation "com.google.code.gson:gson:$gson_version" - implementation "org.apache.httpcomponents:httpmime:$httpmime_version" + implementation ("org.apache.httpcomponents:httpcore:$httpcore_version") { + exclude(group: "org.apache.httpcomponents", module: "httpclient") + } + implementation ("org.apache.httpcomponents:httpmime:$httpmime_version") { + exclude(group: "org.apache.httpcomponents", module: "httpclient") + } implementation "com.android.volley:volley:${volley_version}" testImplementation "junit:junit:$junit_version" - testImplementation "org.robolectric:robolectric:${robolectric_version}" - testImplementation "net.jodah:concurrentunit:${concurrent_unit_version}" -} - -afterEvaluate { - android.libraryVariants.all { variant -> - def task = project.tasks.create "jar${variant.name.capitalize()}", Jar - task.description = "Create jar artifact for ${variant.name}" - task.dependsOn variant.javaCompile - task.from variant.javaCompile.destinationDirectory - task.destinationDirectory = project.file("${project.buildDir}/outputs/jar") - task.archiveFileName = "${project.name}-${variant.baseName}-${version}.jar" - artifacts.add('archives', task); - } } -task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' -} +publishing { + publications { + release(MavenPublication) { + groupId = 'org.openapitools' + artifactId = 'openapi-android-client' + version = '1.0.0' -artifacts { - archives sourcesJar + afterEvaluate { + from components.release + } + } + } } diff --git a/clients/android/generated/docs/DefaultApi.md b/clients/android/generated/docs/DefaultApi.md index 952c998..30ad33b 100644 --- a/clients/android/generated/docs/DefaultApi.md +++ b/clients/android/generated/docs/DefaultApi.md @@ -68,7 +68,7 @@ Gets details of a single cycle DefaultApi apiInstance = new DefaultApi(); String product = null; // String | Product URL as per the canonical URL on the endofife.date website -String cycle = null; // String | Release Cycle for which the details must be fetched +String cycle = null; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { Cycle result = apiInstance.getApiProductCycleJson(product, cycle); System.out.println(result); @@ -84,7 +84,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **String**| Product URL as per the canonical URL on the endofife.date website | [default to null] - **cycle** | **String**| Release Cycle for which the details must be fetched | [default to null] + **cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | [default to null] ### Return type diff --git a/clients/android/generated/gradle/wrapper/gradle-wrapper.properties b/clients/android/generated/gradle/wrapper/gradle-wrapper.properties index 4d9ca16..d951fac 100644 --- a/clients/android/generated/gradle/wrapper/gradle-wrapper.properties +++ b/clients/android/generated/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/clients/android/generated/settings.gradle b/clients/android/generated/settings.gradle new file mode 100644 index 0000000..3bd3fb6 --- /dev/null +++ b/clients/android/generated/settings.gradle @@ -0,0 +1,17 @@ +pluginManagement { + repositories { + gradlePluginPortal() + google() + mavenCentral() + } +} + +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + } +} + +rootProject.name = "openapi-android-client" diff --git a/clients/android/generated/src/main/java/org/openapitools/client/api/DefaultApi.java b/clients/android/generated/src/main/java/org/openapitools/client/api/DefaultApi.java index 75d35f9..33c8efc 100644 --- a/clients/android/generated/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/clients/android/generated/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -176,7 +176,7 @@ public void onErrorResponse(VolleyError error) { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @return Cycle */ public Cycle getApiProductCycleJson (String product, String cycle) throws TimeoutException, ExecutionException, InterruptedException, ApiException { @@ -243,7 +243,7 @@ public Cycle getApiProductCycleJson (String product, String cycle) throws Timeou /** * Single cycle details * Gets details of a single cycle - * @param product Product URL as per the canonical URL on the endofife.date website * @param cycle Release Cycle for which the details must be fetched + * @param product Product URL as per the canonical URL on the endofife.date website * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ public void getApiProductCycleJson (String product, String cycle, final Response.Listener responseListener, final Response.ErrorListener errorListener) { Object postBody = null; diff --git a/clients/apache2/generated/.openapi-generator/VERSION b/clients/apache2/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/apache2/generated/.openapi-generator/VERSION +++ b/clients/apache2/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/apex/generated/.openapi-generator/VERSION b/clients/apex/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/apex/generated/.openapi-generator/VERSION +++ b/clients/apex/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/apex/generated/force-app/main/default/classes/OASDefaultApi.cls b/clients/apex/generated/force-app/main/default/classes/OASDefaultApi.cls index 650836e..eaa3ff4 100644 --- a/clients/apex/generated/force-app/main/default/classes/OASDefaultApi.cls +++ b/clients/apex/generated/force-app/main/default/classes/OASDefaultApi.cls @@ -50,7 +50,7 @@ public class OASDefaultApi { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. (required) * @return OASCycle * @throws OAS.ApiException if fails to make API call */ diff --git a/clients/asciidoc/generated/.openapi-generator/VERSION b/clients/asciidoc/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/asciidoc/generated/.openapi-generator/VERSION +++ b/clients/asciidoc/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/asciidoc/generated/index.adoc b/clients/asciidoc/generated/index.adoc index dfce81d..10299d0 100644 --- a/clients/asciidoc/generated/index.adoc +++ b/clients/asciidoc/generated/index.adoc @@ -211,7 +211,7 @@ Gets details of a single cycle | | cycle -| Release Cycle for which the details must be fetched +| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | X | null | diff --git a/clients/aspnetcore/generated/.openapi-generator/VERSION b/clients/aspnetcore/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/aspnetcore/generated/.openapi-generator/VERSION +++ b/clients/aspnetcore/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/aspnetcore/generated/Org.OpenAPITools.sln b/clients/aspnetcore/generated/Org.OpenAPITools.sln index 952d6d6..c22c2d4 100644 --- a/clients/aspnetcore/generated/Org.OpenAPITools.sln +++ b/clients/aspnetcore/generated/Org.OpenAPITools.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27428.2043 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{87BB20BD-7280-4AD9-8D2D-DED49A83BF86}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{D67D162A-7966-43CF-9884-77D6884AE12F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,10 +11,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {87BB20BD-7280-4AD9-8D2D-DED49A83BF86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {87BB20BD-7280-4AD9-8D2D-DED49A83BF86}.Debug|Any CPU.Build.0 = Debug|Any CPU - {87BB20BD-7280-4AD9-8D2D-DED49A83BF86}.Release|Any CPU.ActiveCfg = Release|Any CPU - {87BB20BD-7280-4AD9-8D2D-DED49A83BF86}.Release|Any CPU.Build.0 = Release|Any CPU + {D67D162A-7966-43CF-9884-77D6884AE12F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D67D162A-7966-43CF-9884-77D6884AE12F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D67D162A-7966-43CF-9884-77D6884AE12F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D67D162A-7966-43CF-9884-77D6884AE12F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/clients/aspnetcore/generated/README.md b/clients/aspnetcore/generated/README.md index 0b60109..e45d693 100644 --- a/clients/aspnetcore/generated/README.md +++ b/clients/aspnetcore/generated/README.md @@ -1,4 +1,4 @@ -# Org.OpenAPITools - ASP.NET Core 3.1 Server +# Org.OpenAPITools - ASP.NET Core 8.0 Server Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) diff --git a/clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/DefaultApi.cs b/clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/DefaultApi.cs index 1e5c778..a972e8f 100644 --- a/clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/DefaultApi.cs +++ b/clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/DefaultApi.cs @@ -58,7 +58,7 @@ public virtual IActionResult GetApiAllJson() /// /// Gets details of a single cycle /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// OK [HttpGet] [Route("/api/{product}/{cycle}.json")] diff --git a/clients/aspnetcore/generated/src/Org.OpenAPITools/Dockerfile b/clients/aspnetcore/generated/src/Org.OpenAPITools/Dockerfile index 9fe18ee..c24f45d 100644 --- a/clients/aspnetcore/generated/src/Org.OpenAPITools/Dockerfile +++ b/clients/aspnetcore/generated/src/Org.OpenAPITools/Dockerfile @@ -1,13 +1,13 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. # Container we use for final publish -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base +FROM mcr.microsoft.com/dotnet/core/aspnet:8.0-buster-slim AS base WORKDIR /app EXPOSE 80 EXPOSE 443 # Build container -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build +FROM mcr.microsoft.com/dotnet/core/sdk:8.0-buster AS build # Copy the code into the container WORKDIR /src diff --git a/clients/aspnetcore/generated/src/Org.OpenAPITools/Models/Cycle.cs b/clients/aspnetcore/generated/src/Org.OpenAPITools/Models/Cycle.cs index 960135e..733625a 100644 --- a/clients/aspnetcore/generated/src/Org.OpenAPITools/Models/Cycle.cs +++ b/clients/aspnetcore/generated/src/Org.OpenAPITools/Models/Cycle.cs @@ -37,8 +37,8 @@ public partial class Cycle : IEquatable /// /// Release Date for the first release in this cycle [StringLength(10, MinimumLength=10)] - [DataMember(Name="releaseDate", EmitDefaultValue=false)] - public DateTime ReleaseDate { get; set; } + [DataMember(Name="releaseDate", EmitDefaultValue=true)] + public DateOnly ReleaseDate { get; set; } /// /// Gets or Sets Eol @@ -139,7 +139,7 @@ public bool Equals(Cycle other) ) && ( ReleaseDate == other.ReleaseDate || - ReleaseDate != null && + ReleaseDate.Equals(other.ReleaseDate) ) && ( @@ -186,7 +186,7 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (VarCycle != null) hashCode = hashCode * 59 + VarCycle.GetHashCode(); - if (ReleaseDate != null) + hashCode = hashCode * 59 + ReleaseDate.GetHashCode(); if (Eol != null) hashCode = hashCode * 59 + Eol.GetHashCode(); diff --git a/clients/aspnetcore/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj b/clients/aspnetcore/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj index 2f0dea7..6507223 100644 --- a/clients/aspnetcore/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj +++ b/clients/aspnetcore/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj @@ -3,18 +3,18 @@ A library generated from a OpenAPI doc No Copyright OpenAPI - netcoreapp3.1 + net8.0 true true 1.0.0 Org.OpenAPITools Org.OpenAPITools - 68a2797c-70d4-4b60-9505-90929e3d09f2 + afc848ed-ef5c-44a2-aa0a-7be1d51b1c9a Linux ..\.. - + @@ -22,6 +22,6 @@ - + diff --git a/clients/aspnetcore/generated/src/Org.OpenAPITools/Startup.cs b/clients/aspnetcore/generated/src/Org.OpenAPITools/Startup.cs index fd7ac82..cbc2ba8 100644 --- a/clients/aspnetcore/generated/src/Org.OpenAPITools/Startup.cs +++ b/clients/aspnetcore/generated/src/Org.OpenAPITools/Startup.cs @@ -75,7 +75,7 @@ public void ConfigureServices(IServiceCollection services) c.SwaggerDoc("0.0.1", new OpenApiInfo { Title = "endoflife.date", - Description = "endoflife.date (ASP.NET Core 3.1)", + Description = "endoflife.date (ASP.NET Core 8.0)", TermsOfService = new Uri("https://github.com/openapitools/openapi-generator"), Contact = new OpenApiContact { @@ -91,7 +91,7 @@ public void ConfigureServices(IServiceCollection services) Version = "0.0.1", }); c.CustomSchemaIds(type => type.FriendlyId(true)); - c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml"); + c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml"); // Include DataAnnotation attributes on Controller Action parameters as OpenAPI validation rules (e.g required, pattern, ..) // Use [ValidateModelState] on Actions to actually validate it in C# as well! diff --git a/clients/aspnetcore/generated/src/Org.OpenAPITools/wwwroot/openapi-original.json b/clients/aspnetcore/generated/src/Org.OpenAPITools/wwwroot/openapi-original.json index 178935c..c76302a 100644 --- a/clients/aspnetcore/generated/src/Org.OpenAPITools/wwwroot/openapi-original.json +++ b/clients/aspnetcore/generated/src/Org.OpenAPITools/wwwroot/openapi-original.json @@ -104,7 +104,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/avro-schema/generated/.openapi-generator/VERSION b/clients/avro-schema/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/avro-schema/generated/.openapi-generator/VERSION +++ b/clients/avro-schema/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/bash/generated/.openapi-generator/VERSION b/clients/bash/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/bash/generated/.openapi-generator/VERSION +++ b/clients/bash/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/bash/generated/_client.sh b/clients/bash/generated/_client.sh index d60b976..10a36cf 100644 --- a/clients/bash/generated/_client.sh +++ b/clients/bash/generated/_client.sh @@ -10,7 +10,7 @@ # ! # ! Based on: https://github.com/Valodim/zsh-curl-completion/blob/master/_curl # ! -# ! Generator version: 7.6.0 +# ! Generator version: 7.9.0 # ! # ! # ! Installation: @@ -317,7 +317,7 @@ case $state in local -a _op_arguments _op_arguments=( "product=:[PATH] Product URL as per the canonical URL on the endofife.date website" -"cycle=:[PATH] Release Cycle for which the details must be fetched" +"cycle=:[PATH] Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0." ) _describe -t actions 'operations' _op_arguments -S '' && ret=0 ;; diff --git a/clients/bash/generated/client.sh b/clients/bash/generated/client.sh index 1884c46..1c91367 100644 --- a/clients/bash/generated/client.sh +++ b/clients/bash/generated/client.sh @@ -8,7 +8,7 @@ # ! openapi-generator (https://openapi-generator.tech) # ! FROM OPENAPI SPECIFICATION IN JSON. # ! -# ! Generator version: 7.6.0 +# ! Generator version: 7.9.0 # ! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -591,7 +591,7 @@ print_getApiProductCycleJson_help() { echo -e "" echo -e "${BOLD}${WHITE}Parameters${OFF}" echo -e " * ${GREEN}product${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - Product URL as per the canonical URL on the endofife.date website ${YELLOW}Specify as: product=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' - echo -e " * ${GREEN}cycle${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - Release Cycle for which the details must be fetched ${YELLOW}Specify as: cycle=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' + echo -e " * ${GREEN}cycle${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. ${YELLOW}Specify as: cycle=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' echo "" echo -e "${BOLD}${WHITE}Responses${OFF}" code=200 diff --git a/clients/bash/generated/client.sh.bash-completion b/clients/bash/generated/client.sh.bash-completion index b0c2306..3590d9a 100644 --- a/clients/bash/generated/client.sh.bash-completion +++ b/clients/bash/generated/client.sh.bash-completion @@ -8,7 +8,7 @@ # ! openapi-generator (https://openapi-generator.tech) # ! FROM OPENAPI SPECIFICATION IN JSON. # ! -# ! Generator version: 7.6.0 +# ! Generator version: 7.9.0 # ! # ! # ! System wide installation: diff --git a/clients/bash/generated/docs/DefaultApi.md b/clients/bash/generated/docs/DefaultApi.md index 7eee17d..ea5a942 100644 --- a/clients/bash/generated/docs/DefaultApi.md +++ b/clients/bash/generated/docs/DefaultApi.md @@ -60,7 +60,7 @@ Gets details of a single cycle Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **string** | Product URL as per the canonical URL on the endofife.date website | [default to null] - **cycle** | **string** | Release Cycle for which the details must be fetched | [default to null] + **cycle** | **string** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | [default to null] ### Return type diff --git a/clients/c/generated/.openapi-generator/VERSION b/clients/c/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/c/generated/.openapi-generator/VERSION +++ b/clients/c/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/c/generated/README.md b/clients/c/generated/README.md index 0ab7024..bfddba1 100644 --- a/clients/c/generated/README.md +++ b/clients/c/generated/README.md @@ -5,7 +5,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.CLibcurlClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/c/generated/docs/DefaultAPI.md b/clients/c/generated/docs/DefaultAPI.md index f822334..995ca0b 100644 --- a/clients/c/generated/docs/DefaultAPI.md +++ b/clients/c/generated/docs/DefaultAPI.md @@ -56,7 +56,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **product** | **char \*** | Product URL as per the canonical URL on the endofife.date website | -**cycle** | **char \*** | Release Cycle for which the details must be fetched | +**cycle** | **char \*** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/clojure/generated/.openapi-generator/VERSION b/clients/clojure/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/clojure/generated/.openapi-generator/VERSION +++ b/clients/clojure/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-pistache-server/generated/.openapi-generator/VERSION b/clients/cpp-pistache-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-pistache-server/generated/.openapi-generator/VERSION +++ b/clients/cpp-pistache-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-pistache-server/generated/api/DefaultApi.cpp b/clients/cpp-pistache-server/generated/api/DefaultApi.cpp index 1fd9730..fea8638 100644 --- a/clients/cpp-pistache-server/generated/api/DefaultApi.cpp +++ b/clients/cpp-pistache-server/generated/api/DefaultApi.cpp @@ -41,6 +41,12 @@ void DefaultApi::setupRoutes() { router->addCustomHandler(Routes::bind(&DefaultApi::default_api_default_handler, this)); } +void DefaultApi::handleParsingException(const std::exception& ex, Pistache::Http::ResponseWriter &response) const noexcept +{ + std::pair codeAndError = handleParsingException(ex); + response.send(codeAndError.first, codeAndError.second); +} + std::pair DefaultApi::handleParsingException(const std::exception& ex) const noexcept { try { @@ -54,6 +60,12 @@ std::pair DefaultApi::handleParsingException( } } +void DefaultApi::handleOperationException(const std::exception& ex, Pistache::Http::ResponseWriter &response) const noexcept +{ + std::pair codeAndError = handleOperationException(ex); + response.send(codeAndError.first, codeAndError.second); +} + std::pair DefaultApi::handleOperationException(const std::exception& ex) const noexcept { return std::make_pair(Pistache::Http::Code::Internal_Server_Error, ex.what()); @@ -69,8 +81,7 @@ void DefaultApi::get_api_all_json_handler(const Pistache::Rest::Request &, Pista response.send(static_cast(e.code()), e.what()); return; } catch (std::exception &e) { - const std::pair errorInfo = this->handleOperationException(e); - response.send(errorInfo.first, errorInfo.second); + this->handleOperationException(e, response); return; } @@ -92,8 +103,7 @@ void DefaultApi::get_api_product_cycle_json_handler(const Pistache::Rest::Reques response.send(static_cast(e.code()), e.what()); return; } catch (std::exception &e) { - const std::pair errorInfo = this->handleOperationException(e); - response.send(errorInfo.first, errorInfo.second); + this->handleOperationException(e, response); return; } @@ -114,8 +124,7 @@ void DefaultApi::get_api_product_json_handler(const Pistache::Rest::Request &req response.send(static_cast(e.code()), e.what()); return; } catch (std::exception &e) { - const std::pair errorInfo = this->handleOperationException(e); - response.send(errorInfo.first, errorInfo.second); + this->handleOperationException(e, response); return; } diff --git a/clients/cpp-pistache-server/generated/api/DefaultApi.h b/clients/cpp-pistache-server/generated/api/DefaultApi.h index 65aac75..a1de198 100644 --- a/clients/cpp-pistache-server/generated/api/DefaultApi.h +++ b/clients/cpp-pistache-server/generated/api/DefaultApi.h @@ -51,6 +51,13 @@ class DefaultApi : public ApiBase { void get_api_product_json_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response); void default_api_default_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response); + /// + /// Helper function to handle unexpected Exceptions during Parameter parsing and validation. + /// May be overridden to return custom error formats. This is called inside a catch block. + /// Important: When overriding, do not call `throw ex;`, but instead use `throw;`. + /// + virtual void handleParsingException(const std::exception& ex, Pistache::Http::ResponseWriter &response) const noexcept; + /// /// Helper function to handle unexpected Exceptions during Parameter parsing and validation. /// May be overridden to return custom error formats. This is called inside a catch block. @@ -58,6 +65,13 @@ class DefaultApi : public ApiBase { /// virtual std::pair handleParsingException(const std::exception& ex) const noexcept; + /// + /// Helper function to handle unexpected Exceptions during processing of the request in handler functions. + /// May be overridden to return custom error formats. This is called inside a catch block. + /// Important: When overriding, do not call `throw ex;`, but instead use `throw;`. + /// + virtual void handleOperationException(const std::exception& ex, Pistache::Http::ResponseWriter &response) const noexcept; + /// /// Helper function to handle unexpected Exceptions during processing of the request in handler functions. /// May be overridden to return custom error formats. This is called inside a catch block. @@ -79,7 +93,7 @@ class DefaultApi : public ApiBase { /// Gets details of a single cycle /// /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. virtual void get_api_product_cycle_json(const std::string &product, const std::string &cycle, Pistache::Http::ResponseWriter &response) = 0; /// /// Get All Details diff --git a/clients/cpp-pistache-server/generated/model/Helpers.h b/clients/cpp-pistache-server/generated/model/Helpers.h index bbf71a0..ef35645 100644 --- a/clients/cpp-pistache-server/generated/model/Helpers.h +++ b/clients/cpp-pistache-server/generated/model/Helpers.h @@ -18,12 +18,13 @@ #ifndef Helpers_H_ #define Helpers_H_ +#include #include -#include -#include -#include #include #include +#include +#include +#include namespace org::openapitools::server::helpers { @@ -94,10 +95,10 @@ namespace org::openapitools::server::helpers } /// - /// Determine if the given vector only has unique elements. T must provide the == operator. + /// Determine if the given set only has unique elements. /// template - bool hasOnlyUniqueItems(const std::set& set) + bool hasOnlyUniqueItems(const std::set&) { return true; } diff --git a/clients/cpp-qt-client/generated/.openapi-generator/VERSION b/clients/cpp-qt-client/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-qt-client/generated/.openapi-generator/VERSION +++ b/clients/cpp-qt-client/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-qt-client/generated/README.md b/clients/cpp-qt-client/generated/README.md index 99a7878..3c7233d 100644 --- a/clients/cpp-qt-client/generated/README.md +++ b/clients/cpp-qt-client/generated/README.md @@ -5,7 +5,7 @@ endoflife.date - API version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) diff --git a/clients/cpp-qt-client/generated/client/OAIDefaultApi.cpp b/clients/cpp-qt-client/generated/client/OAIDefaultApi.cpp index 0b57929..70bb310 100644 --- a/clients/cpp-qt-client/generated/client/OAIDefaultApi.cpp +++ b/clients/cpp-qt-client/generated/client/OAIDefaultApi.cpp @@ -117,15 +117,9 @@ int OAIDefaultApi::addServerConfiguration(const QString &operation, const QUrl & * @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template. */ void OAIDefaultApi::setNewServerForAllOperations(const QUrl &url, const QString &description, const QMap &variables) { -#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) for (auto keyIt = _serverIndices.keyBegin(); keyIt != _serverIndices.keyEnd(); keyIt++) { setServerIndex(*keyIt, addServerConfiguration(*keyIt, url, description, variables)); } -#else - for (auto &e : _serverIndices.keys()) { - setServerIndex(e, addServerConfiguration(e, url, description, variables)); - } -#endif } /** @@ -226,15 +220,10 @@ void OAIDefaultApi::getApiAll_json() { OAIHttpRequestInput input(fullPath, "GET"); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) for (auto keyValueIt = _defaultHeaders.keyValueBegin(); keyValueIt != _defaultHeaders.keyValueEnd(); keyValueIt++) { input.headers.insert(keyValueIt->first, keyValueIt->second); } -#else - for (auto key : _defaultHeaders.keys()) { - input.headers.insert(key, _defaultHeaders[key]); - } -#endif + connect(worker, &OAIHttpRequestWorker::on_execution_finished, this, &OAIDefaultApi::getApiAll_jsonCallback); connect(this, &OAIDefaultApi::abortRequestsSignal, worker, &QObject::deleteLater); @@ -338,15 +327,10 @@ void OAIDefaultApi::getApiProductCycle_json(const QString &product, const QStrin OAIHttpRequestInput input(fullPath, "GET"); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) for (auto keyValueIt = _defaultHeaders.keyValueBegin(); keyValueIt != _defaultHeaders.keyValueEnd(); keyValueIt++) { input.headers.insert(keyValueIt->first, keyValueIt->second); } -#else - for (auto key : _defaultHeaders.keys()) { - input.headers.insert(key, _defaultHeaders[key]); - } -#endif + connect(worker, &OAIHttpRequestWorker::on_execution_finished, this, &OAIDefaultApi::getApiProductCycle_jsonCallback); connect(this, &OAIDefaultApi::abortRequestsSignal, worker, &QObject::deleteLater); @@ -427,15 +411,10 @@ void OAIDefaultApi::getApiProduct_json(const QString &product) { OAIHttpRequestInput input(fullPath, "GET"); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) for (auto keyValueIt = _defaultHeaders.keyValueBegin(); keyValueIt != _defaultHeaders.keyValueEnd(); keyValueIt++) { input.headers.insert(keyValueIt->first, keyValueIt->second); } -#else - for (auto key : _defaultHeaders.keys()) { - input.headers.insert(key, _defaultHeaders[key]); - } -#endif + connect(worker, &OAIHttpRequestWorker::on_execution_finished, this, &OAIDefaultApi::getApiProduct_jsonCallback); connect(this, &OAIDefaultApi::abortRequestsSignal, worker, &QObject::deleteLater); diff --git a/clients/cpp-qt-client/generated/client/OAIDefaultApi.h b/clients/cpp-qt-client/generated/client/OAIDefaultApi.h index fc39fe3..792b0e0 100644 --- a/clients/cpp-qt-client/generated/client/OAIDefaultApi.h +++ b/clients/cpp-qt-client/generated/client/OAIDefaultApi.h @@ -58,18 +58,18 @@ class OAIDefaultApi : public QObject { QString getParamStyleDelimiter(const QString &style, const QString &name, bool isExplode); - void getApiAll_json(); + virtual void getApiAll_json(); /** * @param[in] product QString [required] * @param[in] cycle QString [required] */ - void getApiProductCycle_json(const QString &product, const QString &cycle); + virtual void getApiProductCycle_json(const QString &product, const QString &cycle); /** * @param[in] product QString [required] */ - void getApiProduct_json(const QString &product); + virtual void getApiProduct_json(const QString &product); private: @@ -104,6 +104,7 @@ class OAIDefaultApi : public QObject { void getApiProductCycle_jsonSignal(OAICycle summary); void getApiProduct_jsonSignal(QList summary); + void getApiAll_jsonSignalFull(OAIHttpRequestWorker *worker, QList summary); void getApiProductCycle_jsonSignalFull(OAIHttpRequestWorker *worker, OAICycle summary); void getApiProduct_jsonSignalFull(OAIHttpRequestWorker *worker, QList summary); diff --git a/clients/cpp-qt-client/generated/client/OAIHttpFileElement.cpp b/clients/cpp-qt-client/generated/client/OAIHttpFileElement.cpp index f575996..18e9f3b 100644 --- a/clients/cpp-qt-client/generated/client/OAIHttpFileElement.cpp +++ b/clients/cpp-qt-client/generated/client/OAIHttpFileElement.cpp @@ -66,11 +66,7 @@ QJsonValue OAIHttpFileElement::asJsonValue() const { if (!result) { qDebug() << "Error opening file " << local_filename; } -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) return QJsonDocument::fromJson(bArray.data()).object(); -#else - return QJsonDocument::fromBinaryData(bArray.data()).object(); -#endif } bool OAIHttpFileElement::fromStringValue(const QString &instr) { @@ -95,11 +91,7 @@ bool OAIHttpFileElement::fromJsonValue(const QJsonValue &jval) { file.remove(); } result = file.open(QIODevice::WriteOnly); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) file.write(QJsonDocument(jval.toObject()).toJson()); -#else - file.write(QJsonDocument(jval.toObject()).toBinaryData()); -#endif file.close(); if (!result) { qDebug() << "Error creating file " << local_filename; diff --git a/clients/cpp-qt-client/generated/client/OAIHttpRequest.cpp b/clients/cpp-qt-client/generated/client/OAIHttpRequest.cpp index 151ef14..03a49a8 100644 --- a/clients/cpp-qt-client/generated/client/OAIHttpRequest.cpp +++ b/clients/cpp-qt-client/generated/client/OAIHttpRequest.cpp @@ -18,11 +18,7 @@ #include #include #include -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) - #define SKIP_EMPTY_PARTS Qt::SkipEmptyParts -#else - #define SKIP_EMPTY_PARTS QString::SkipEmptyParts -#endif + #include "OAIHttpRequest.h" @@ -384,6 +380,7 @@ void OAIHttpRequestWorker::execute(OAIHttpRequestInput *input) { } if (reply != nullptr) { reply->setParent(this); + connect(reply, &QNetworkReply::downloadProgress, this, &OAIHttpRequestWorker::downloadProgress); connect(reply, &QNetworkReply::finished, [this, reply] { on_reply_finished(reply); }); @@ -448,14 +445,14 @@ void OAIHttpRequestWorker::process_response(QNetworkReply *reply) { } if (!contentDispositionHdr.isEmpty()) { - auto contentDisposition = contentDispositionHdr.split(QString(";"), SKIP_EMPTY_PARTS); + auto contentDisposition = contentDispositionHdr.split(QString(";"), Qt::SkipEmptyParts); auto contentType = - !contentTypeHdr.isEmpty() ? contentTypeHdr.split(QString(";"), SKIP_EMPTY_PARTS).first() : QString(); + !contentTypeHdr.isEmpty() ? contentTypeHdr.split(QString(";"), Qt::SkipEmptyParts).first() : QString(); if ((contentDisposition.count() > 0) && (contentDisposition.first() == QString("attachment"))) { QString filename = QUuid::createUuid().toString(); for (const auto &file : contentDisposition) { if (file.contains(QString("filename"))) { - filename = file.split(QString("="), SKIP_EMPTY_PARTS).at(1); + filename = file.split(QString("="), Qt::SkipEmptyParts).at(1); break; } } @@ -465,14 +462,14 @@ void OAIHttpRequestWorker::process_response(QNetworkReply *reply) { } } else if (!contentTypeHdr.isEmpty()) { - auto contentType = contentTypeHdr.split(QString(";"), SKIP_EMPTY_PARTS); + auto contentType = contentTypeHdr.split(QString(";"), Qt::SkipEmptyParts); if ((contentType.count() > 0) && (contentType.first() == QString("multipart/form-data"))) { // TODO : Handle Multipart responses } else { if(!contentEncodingHdr.isEmpty()){ - auto encoding = contentEncodingHdr.split(QString(";"), SKIP_EMPTY_PARTS); + auto encoding = contentEncodingHdr.split(QString(";"), Qt::SkipEmptyParts); if(encoding.count() > 0){ - auto compressionTypes = encoding.first().split(',', SKIP_EMPTY_PARTS); + auto compressionTypes = encoding.first().split(',', Qt::SkipEmptyParts); if(compressionTypes.contains("gzip", Qt::CaseInsensitive) || compressionTypes.contains("deflate", Qt::CaseInsensitive)){ response = decompress(reply->readAll()); } else if(compressionTypes.contains("identity", Qt::CaseInsensitive)){ diff --git a/clients/cpp-qt-client/generated/client/OAIHttpRequest.h b/clients/cpp-qt-client/generated/client/OAIHttpRequest.h index 4eb3c78..4a0e862 100644 --- a/clients/cpp-qt-client/generated/client/OAIHttpRequest.h +++ b/clients/cpp-qt-client/generated/client/OAIHttpRequest.h @@ -25,9 +25,7 @@ #include #include #include -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) - #include -#endif +#include #include "OAIHttpFileElement.h" @@ -83,6 +81,7 @@ class OAIHttpRequestWorker : public QObject { Q_SIGNALS: void on_execution_finished(OAIHttpRequestWorker *worker); + void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); private: enum OAICompressionType{ @@ -98,9 +97,7 @@ class OAIHttpRequestWorker : public QObject { bool isResponseCompressionEnabled; bool isRequestCompressionEnabled; int httpResponseCode; -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) QRandomGenerator randomGenerator; -#endif void on_reply_timeout(QNetworkReply *reply); void on_reply_finished(QNetworkReply *reply); diff --git a/clients/cpp-qt-qhttpengine-server/generated/.openapi-generator/VERSION b/clients/cpp-qt-qhttpengine-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-qt-qhttpengine-server/generated/.openapi-generator/VERSION +++ b/clients/cpp-qt-qhttpengine-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-qt-qhttpengine-server/generated/server/README.MD b/clients/cpp-qt-qhttpengine-server/generated/server/README.MD index e96b8b9..f5e7853 100644 --- a/clients/cpp-qt-qhttpengine-server/generated/server/README.MD +++ b/clients/cpp-qt-qhttpengine-server/generated/server/README.MD @@ -10,7 +10,7 @@ To see how to make this your own, look here: [README]((https://openapi-generator.tech)) - API version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) ## QHTTPEngine diff --git a/clients/cpp-restbed-server/generated/.openapi-generator/VERSION b/clients/cpp-restbed-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-restbed-server/generated/.openapi-generator/VERSION +++ b/clients/cpp-restbed-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-restbed-server/generated/api/DefaultApi.cpp b/clients/cpp-restbed-server/generated/api/DefaultApi.cpp index 1a44b29..8f3eb6d 100644 --- a/clients/cpp-restbed-server/generated/api/DefaultApi.cpp +++ b/clients/cpp-restbed-server/generated/api/DefaultApi.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/api/DefaultApi.h b/clients/cpp-restbed-server/generated/api/DefaultApi.h index c0a5943..a3c5c15 100644 --- a/clients/cpp-restbed-server/generated/api/DefaultApi.h +++ b/clients/cpp-restbed-server/generated/api/DefaultApi.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle.cpp b/clients/cpp-restbed-server/generated/model/Cycle.cpp index 0a85982..686485c 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle.cpp +++ b/clients/cpp-restbed-server/generated/model/Cycle.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle.h b/clients/cpp-restbed-server/generated/model/Cycle.h index 5576b45..05b6f05 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle.h +++ b/clients/cpp-restbed-server/generated/model/Cycle.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_cycle.cpp b/clients/cpp-restbed-server/generated/model/Cycle_cycle.cpp index 474f5e4..053ac11 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_cycle.cpp +++ b/clients/cpp-restbed-server/generated/model/Cycle_cycle.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_cycle.h b/clients/cpp-restbed-server/generated/model/Cycle_cycle.h index 6d56128..a2cd43e 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_cycle.h +++ b/clients/cpp-restbed-server/generated/model/Cycle_cycle.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_discontinued.cpp b/clients/cpp-restbed-server/generated/model/Cycle_discontinued.cpp index 548f6c9..d8d233a 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_discontinued.cpp +++ b/clients/cpp-restbed-server/generated/model/Cycle_discontinued.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_discontinued.h b/clients/cpp-restbed-server/generated/model/Cycle_discontinued.h index 4d6775b..9cbadf9 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_discontinued.h +++ b/clients/cpp-restbed-server/generated/model/Cycle_discontinued.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_eol.cpp b/clients/cpp-restbed-server/generated/model/Cycle_eol.cpp index 84200a9..a6842b0 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_eol.cpp +++ b/clients/cpp-restbed-server/generated/model/Cycle_eol.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_eol.h b/clients/cpp-restbed-server/generated/model/Cycle_eol.h index 7b287b8..2f54e42 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_eol.h +++ b/clients/cpp-restbed-server/generated/model/Cycle_eol.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_lts.cpp b/clients/cpp-restbed-server/generated/model/Cycle_lts.cpp index 84ebc18..fd7a869 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_lts.cpp +++ b/clients/cpp-restbed-server/generated/model/Cycle_lts.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_lts.h b/clients/cpp-restbed-server/generated/model/Cycle_lts.h index f13e53c..fbab7ff 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_lts.h +++ b/clients/cpp-restbed-server/generated/model/Cycle_lts.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_support.cpp b/clients/cpp-restbed-server/generated/model/Cycle_support.cpp index 87dec22..82d4e36 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_support.cpp +++ b/clients/cpp-restbed-server/generated/model/Cycle_support.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/Cycle_support.h b/clients/cpp-restbed-server/generated/model/Cycle_support.h index 59f3d6a..95d83d7 100644 --- a/clients/cpp-restbed-server/generated/model/Cycle_support.h +++ b/clients/cpp-restbed-server/generated/model/Cycle_support.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restbed-server/generated/model/helpers.h b/clients/cpp-restbed-server/generated/model/helpers.h index 7d32ff3..8c7bb0f 100644 --- a/clients/cpp-restbed-server/generated/model/helpers.h +++ b/clients/cpp-restbed-server/generated/model/helpers.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/.openapi-generator/VERSION b/clients/cpp-restsdk/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-restsdk/generated/.openapi-generator/VERSION +++ b/clients/cpp-restsdk/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-restsdk/generated/CMakeLists.txt b/clients/cpp-restsdk/generated/CMakeLists.txt index 42b1927..1265706 100644 --- a/clients/cpp-restsdk/generated/CMakeLists.txt +++ b/clients/cpp-restsdk/generated/CMakeLists.txt @@ -8,16 +8,27 @@ # # NOTE: Auto generated by OpenAPI Generator (https://openapi-generator.tech). -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.5) -project(CppRestOpenAPIClient) +project(CppRestOpenAPIClient CXX) # Force -fPIC even if the project is configured for building a static library. set(CMAKE_POSITION_INDEPENDENT_CODE ON) -set(CXX_STANDARD_REQUIRED ON) +set(CXX_STANDARD_REQUIRED ON) if(NOT CMAKE_CXX_STANDARD) - set(CMAKE_CXX_STANDARD 14) + if(DEFINED CMAKE_CXX20_STANDARD_COMPILE_OPTION OR + DEFINED CMAKE_CXX20_EXTENSION_COMPILE_OPTION) + set(CMAKE_CXX_STANDARD 20) + elseif(DEFINED CMAKE_CXX17_STANDARD_COMPILE_OPTION OR + DEFINED CMAKE_CXX17_EXTENSION_COMPILE_OPTION) + set(CMAKE_CXX_STANDARD 17) + elseif(DEFINED CMAKE_CXX14_STANDARD_COMPILE_OPTION OR + DEFINED CMAKE_CXX14_EXTENSION_COMPILE_OPTION) + set(CMAKE_CXX_STANDARD 14) + else() + set(CMAKE_CXX_STANDARD 11) + endif() endif() if(NOT CMAKE_BUILD_TYPE) @@ -38,12 +49,12 @@ add_library(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES}) target_compile_options(${PROJECT_NAME} PRIVATE $<$,$,$>: - -Wall -Wno-unused-variable> + -Wall -Wno-unused-variable -Wno-unused-lambda-capture> ) target_include_directories(${PROJECT_NAME} PUBLIC - $ + $ $ ) @@ -90,4 +101,4 @@ install( install( EXPORT ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} -) \ No newline at end of file +) diff --git a/clients/cpp-restsdk/generated/README.md b/clients/cpp-restsdk/generated/README.md index 599ec49..833105b 100644 --- a/clients/cpp-restsdk/generated/README.md +++ b/clients/cpp-restsdk/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.CppRestSdkClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/AnyType.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/AnyType.h index fa0da26..e3d3d6c 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/AnyType.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/AnyType.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiClient.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiClient.h index d4e014b..b4afe41 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiClient.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiClient.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiConfiguration.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiConfiguration.h index fcf7519..47870a4 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiConfiguration.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiConfiguration.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiException.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiException.h index ed0a866..b4c9dc8 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiException.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ApiException.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/HttpContent.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/HttpContent.h index f71145b..032aa00 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/HttpContent.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/HttpContent.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/IHttpBody.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/IHttpBody.h index e687ad3..19ff6ef 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/IHttpBody.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/IHttpBody.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/JsonBody.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/JsonBody.h index 807c682..e4f84bb 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/JsonBody.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/JsonBody.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ModelBase.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ModelBase.h index 1904656..44ffe90 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ModelBase.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/ModelBase.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -267,7 +267,7 @@ bool ModelBase::fromString( const utility::string_t& val, std::shared_ptr& ou bool ok = false; if(outVal == nullptr) { - outVal = std::shared_ptr(new T()); + outVal = std::make_shared(); } if( outVal != nullptr ) { @@ -276,12 +276,78 @@ bool ModelBase::fromString( const utility::string_t& val, std::shared_ptr& ou return ok; } template +bool ModelBase::fromString(const utility::string_t& val, std::vector& outVal ) +{ + bool ok = true; + web::json::value jsonValue = web::json::value::parse(val); + if (jsonValue.is_array()) + { + for (const web::json::value& jitem : jsonValue.as_array()) + { + T item; + ok &= fromJson(jitem, item); + outVal.push_back(item); + } + } + else + { + T item; + ok = fromJson(jsonValue, item); + outVal.push_back(item); + } + return ok; +} +template +bool ModelBase::fromString(const utility::string_t& val, std::set& outVal ) +{ + bool ok = true; + web::json::value jsonValue = web::json::value::parse(val); + if (jsonValue.is_array()) + { + for (const web::json::value& jitem : jsonValue.as_array()) + { + T item; + ok &= fromJson(jitem, item); + outVal.insert(item); + } + } + else + { + T item; + ok = fromJson(jsonValue, item); + outVal.insert(item); + } + return ok; +} +template +bool ModelBase::fromString(const utility::string_t& val, std::map& outVal ) +{ + bool ok = false; + web::json::value jsonValue = web::json::value::parse(val); + if (jsonValue.is_array()) + { + for (const web::json::value& jitem : jsonValue.as_array()) + { + T item; + ok &= fromJson(jitem, item); + outVal.insert({ val, item }); + } + } + else + { + T item; + ok = fromJson(jsonValue, item); + outVal.insert({ val, item }); + } + return ok; +} +template bool ModelBase::fromJson( const web::json::value& val, std::shared_ptr &outVal ) { bool ok = false; if(outVal == nullptr) { - outVal = std::shared_ptr(new T()); + outVal = std::make_shared(); } if( outVal != nullptr ) { @@ -309,6 +375,27 @@ bool ModelBase::fromJson( const web::json::value& val, std::vector &outVal ) return ok; } template +bool ModelBase::fromJson(const web::json::value& val, std::set& outVal ) +{ + bool ok = true; + if (val.is_array()) + { + for (const web::json::value& jitem : val.as_array()) + { + T item; + ok &= fromJson(jitem, item); + outVal.insert(item); + } + } + else + { + T item; + ok = fromJson(val, item); + outVal.insert(item); + } + return ok; +} +template bool ModelBase::fromJson( const web::json::value& jval, std::map &outVal ) { bool ok = true; @@ -331,13 +418,13 @@ bool ModelBase::fromJson( const web::json::value& jval, std::map std::shared_ptr ModelBase::toHttpContent(const utility::string_t& name, const std::shared_ptr& value , const utility::string_t& contentType ) { - std::shared_ptr content( new HttpContent ); + std::shared_ptr content = std::make_shared(); if (value != nullptr ) { content->setName( name ); content->setContentDisposition( utility::conversions::to_string_t("form-data") ); content->setContentType( contentType ); - content->setData( std::shared_ptr( new std::stringstream( utility::conversions::to_utf8string( value->toJson().serialize() ) ) ) ); + content->setData( std::make_shared( utility::conversions::to_utf8string(value->toJson().serialize()) ) ); } return content; } @@ -346,23 +433,33 @@ template std::shared_ptr ModelBase::toHttpContent( const utility::string_t& name, const std::vector& value, const utility::string_t& contentType ) { web::json::value json_array = ModelBase::toJson(value); - std::shared_ptr content( new HttpContent ); + std::shared_ptr content = std::make_shared(); content->setName( name ); content->setContentDisposition( utility::conversions::to_string_t("form-data") ); content->setContentType( contentType ); - content->setData( std::shared_ptr( new std::stringstream( utility::conversions::to_utf8string(json_array.serialize()) ) ) ); + content->setData( std::make_shared( utility::conversions::to_utf8string(json_array.serialize()) ) ); + return content; +} +template +std::shared_ptr ModelBase::toHttpContent( const utility::string_t& name, const std::set& value, const utility::string_t& contentType ) +{ + web::json::value json_array = ModelBase::toJson(value); + std::shared_ptr content = std::make_shared(); + content->setName(name); + content->setContentDisposition(utility::conversions::to_string_t("form-data")); + content->setContentType(contentType); + content->setData( std::make_shared( utility::conversions::to_utf8string(json_array.serialize()) ) ); return content; } - template std::shared_ptr ModelBase::toHttpContent( const utility::string_t& name, const std::map& value, const utility::string_t& contentType ) { web::json::value jobj = ModelBase::toJson(value); - std::shared_ptr content( new HttpContent ); + std::shared_ptr content = std::make_shared(); content->setName( name ); content->setContentDisposition( utility::conversions::to_string_t("form-data") ); content->setContentType( contentType ); - content->setData( std::shared_ptr( new std::stringstream( utility::conversions::to_utf8string(jobj.serialize()) ) ) ); + content->setData( std::make_shared( utility::conversions::to_utf8string(jobj.serialize()) ) ); return content; } template @@ -372,20 +469,34 @@ bool ModelBase::fromHttpContent( std::shared_ptr val, std::shared_ if(val == nullptr) return false; if( outVal == nullptr ) { - outVal = std::shared_ptr(new T()); + outVal = std::make_shared(); } ModelBase::fromHttpContent(val, str); return fromString(str, outVal); } template -bool ModelBase::fromHttpContent( std::shared_ptr val, std::vector & ) +bool ModelBase::fromHttpContent( std::shared_ptr val, std::vector & outVal ) { - return true; + utility::string_t str; + if (val == nullptr) return false; + ModelBase::fromHttpContent(val, str); + return fromString(str, outVal); } template -bool ModelBase::fromHttpContent( std::shared_ptr val, std::map & ) +bool ModelBase::fromHttpContent(std::shared_ptr val, std::set& outVal ) { - return true; + utility::string_t str; + if (val == nullptr) return false; + ModelBase::fromHttpContent(val, str); + return fromString(str, outVal); +} +template +bool ModelBase::fromHttpContent( std::shared_ptr val, std::map & outVal ) +{ + utility::string_t str; + if (val == nullptr) return false; + ModelBase::fromHttpContent(val, str); + return fromString(str, outVal); } } } diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/MultipartFormData.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/MultipartFormData.h index 5b87127..c3b9c01 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/MultipartFormData.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/MultipartFormData.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/Object.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/Object.h index 28e9dbd..d78a4fa 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/Object.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/Object.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/api/DefaultApi.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/api/DefaultApi.h index 8100e6d..a999e26 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/api/DefaultApi.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/api/DefaultApi.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -60,7 +60,7 @@ class DefaultApi /// Gets details of a single cycle /// /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. pplx::task> getApiProductCycle_json( utility::string_t product, utility::string_t cycle diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle.h index 7482e81..b6ecfb5 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -35,6 +35,7 @@ namespace client { namespace model { + /// /// Details of a single release cycle of a given product. There might be some slight variations to this depending on the product. /// diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_cycle.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_cycle.h index 80b6449..8035aa8 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_cycle.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_cycle.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -29,6 +29,7 @@ namespace client { namespace model { + /// /// Release Cycle /// diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_discontinued.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_discontinued.h index e651dd5..4f5d483 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_discontinued.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_discontinued.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -29,6 +29,7 @@ namespace client { namespace model { + /// /// Whether this cycle is now discontinued. /// diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_eol.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_eol.h index 7b96320..c3d5fff 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_eol.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_eol.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -29,6 +29,7 @@ namespace client { namespace model { + /// /// End of Life Date for this release cycle /// diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_lts.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_lts.h index fc1b437..59556a7 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_lts.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_lts.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -29,6 +29,7 @@ namespace client { namespace model { + /// /// Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. /// diff --git a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_support.h b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_support.h index ea42a39..ca1f863 100644 --- a/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_support.h +++ b/clients/cpp-restsdk/generated/include/CppRestOpenAPIClient/model/Cycle_support.h @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -29,6 +29,7 @@ namespace client { namespace model { + /// /// Whether this release cycle has active support /// diff --git a/clients/cpp-restsdk/generated/src/AnyType.cpp b/clients/cpp-restsdk/generated/src/AnyType.cpp index 76e225f..da50978 100644 --- a/clients/cpp-restsdk/generated/src/AnyType.cpp +++ b/clients/cpp-restsdk/generated/src/AnyType.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/ApiClient.cpp b/clients/cpp-restsdk/generated/src/ApiClient.cpp index ab6626c..902b656 100644 --- a/clients/cpp-restsdk/generated/src/ApiClient.cpp +++ b/clients/cpp-restsdk/generated/src/ApiClient.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/ApiConfiguration.cpp b/clients/cpp-restsdk/generated/src/ApiConfiguration.cpp index 580ef4a..54a2788 100644 --- a/clients/cpp-restsdk/generated/src/ApiConfiguration.cpp +++ b/clients/cpp-restsdk/generated/src/ApiConfiguration.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/ApiException.cpp b/clients/cpp-restsdk/generated/src/ApiException.cpp index 9f8a7f9..c749cdb 100644 --- a/clients/cpp-restsdk/generated/src/ApiException.cpp +++ b/clients/cpp-restsdk/generated/src/ApiException.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/HttpContent.cpp b/clients/cpp-restsdk/generated/src/HttpContent.cpp index 137571b..8b93b1d 100644 --- a/clients/cpp-restsdk/generated/src/HttpContent.cpp +++ b/clients/cpp-restsdk/generated/src/HttpContent.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/JsonBody.cpp b/clients/cpp-restsdk/generated/src/JsonBody.cpp index d63336a..83d57c5 100644 --- a/clients/cpp-restsdk/generated/src/JsonBody.cpp +++ b/clients/cpp-restsdk/generated/src/JsonBody.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/ModelBase.cpp b/clients/cpp-restsdk/generated/src/ModelBase.cpp index 5a4331a..e683f48 100644 --- a/clients/cpp-restsdk/generated/src/ModelBase.cpp +++ b/clients/cpp-restsdk/generated/src/ModelBase.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/MultipartFormData.cpp b/clients/cpp-restsdk/generated/src/MultipartFormData.cpp index 3ae6ac1..a2ae3bc 100644 --- a/clients/cpp-restsdk/generated/src/MultipartFormData.cpp +++ b/clients/cpp-restsdk/generated/src/MultipartFormData.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/Object.cpp b/clients/cpp-restsdk/generated/src/Object.cpp index cd32bff..35ddaf1 100644 --- a/clients/cpp-restsdk/generated/src/Object.cpp +++ b/clients/cpp-restsdk/generated/src/Object.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/api/DefaultApi.cpp b/clients/cpp-restsdk/generated/src/api/DefaultApi.cpp index d986202..357fb7a 100644 --- a/clients/cpp-restsdk/generated/src/api/DefaultApi.cpp +++ b/clients/cpp-restsdk/generated/src/api/DefaultApi.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ @@ -102,7 +102,7 @@ pplx::task> DefaultApi::getApiAll_json() const return m_ApiClient->callApi(localVarPath, utility::conversions::to_string_t("GET"), localVarQueryParams, localVarHttpBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarRequestHttpContentType) - .then([=](web::http::http_response localVarResponse) + .then([=, this](web::http::http_response localVarResponse) { if (m_ApiClient->getResponseHandler()) { @@ -135,7 +135,7 @@ pplx::task> DefaultApi::getApiAll_json() const return localVarResponse.extract_string(); }) - .then([=](utility::string_t localVarResponse) + .then([=, this](utility::string_t localVarResponse) { std::vector localVarResult; @@ -230,7 +230,7 @@ pplx::task> DefaultApi::getApiProductCycle_json(utility:: return m_ApiClient->callApi(localVarPath, utility::conversions::to_string_t("GET"), localVarQueryParams, localVarHttpBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarRequestHttpContentType) - .then([=](web::http::http_response localVarResponse) + .then([=, this](web::http::http_response localVarResponse) { if (m_ApiClient->getResponseHandler()) { @@ -263,7 +263,7 @@ pplx::task> DefaultApi::getApiProductCycle_json(utility:: return localVarResponse.extract_string(); }) - .then([=](utility::string_t localVarResponse) + .then([=, this](utility::string_t localVarResponse) { std::shared_ptr localVarResult(new Cycle()); @@ -353,7 +353,7 @@ pplx::task>> DefaultApi::getApiProduct_json(u return m_ApiClient->callApi(localVarPath, utility::conversions::to_string_t("GET"), localVarQueryParams, localVarHttpBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarRequestHttpContentType) - .then([=](web::http::http_response localVarResponse) + .then([=, this](web::http::http_response localVarResponse) { if (m_ApiClient->getResponseHandler()) { @@ -386,7 +386,7 @@ pplx::task>> DefaultApi::getApiProduct_json(u return localVarResponse.extract_string(); }) - .then([=](utility::string_t localVarResponse) + .then([=, this](utility::string_t localVarResponse) { std::vector> localVarResult; diff --git a/clients/cpp-restsdk/generated/src/model/Cycle.cpp b/clients/cpp-restsdk/generated/src/model/Cycle.cpp index f8effa5..1920c22 100644 --- a/clients/cpp-restsdk/generated/src/model/Cycle.cpp +++ b/clients/cpp-restsdk/generated/src/model/Cycle.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/model/Cycle_cycle.cpp b/clients/cpp-restsdk/generated/src/model/Cycle_cycle.cpp index 4acf6fe..0cc796a 100644 --- a/clients/cpp-restsdk/generated/src/model/Cycle_cycle.cpp +++ b/clients/cpp-restsdk/generated/src/model/Cycle_cycle.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/model/Cycle_discontinued.cpp b/clients/cpp-restsdk/generated/src/model/Cycle_discontinued.cpp index e95eba4..e4c3cb3 100644 --- a/clients/cpp-restsdk/generated/src/model/Cycle_discontinued.cpp +++ b/clients/cpp-restsdk/generated/src/model/Cycle_discontinued.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/model/Cycle_eol.cpp b/clients/cpp-restsdk/generated/src/model/Cycle_eol.cpp index 27ededd..d5a99be 100644 --- a/clients/cpp-restsdk/generated/src/model/Cycle_eol.cpp +++ b/clients/cpp-restsdk/generated/src/model/Cycle_eol.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/model/Cycle_lts.cpp b/clients/cpp-restsdk/generated/src/model/Cycle_lts.cpp index f31cd90..bb3da42 100644 --- a/clients/cpp-restsdk/generated/src/model/Cycle_lts.cpp +++ b/clients/cpp-restsdk/generated/src/model/Cycle_lts.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-restsdk/generated/src/model/Cycle_support.cpp b/clients/cpp-restsdk/generated/src/model/Cycle_support.cpp index 0a92394..9bfd39e 100644 --- a/clients/cpp-restsdk/generated/src/model/Cycle_support.cpp +++ b/clients/cpp-restsdk/generated/src/model/Cycle_support.cpp @@ -5,7 +5,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * - * NOTE: This class is auto generated by OpenAPI-Generator 7.6.0. + * NOTE: This class is auto generated by OpenAPI-Generator 7.9.0. * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/cpp-tiny/generated/.openapi-generator/VERSION b/clients/cpp-tiny/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-tiny/generated/.openapi-generator/VERSION +++ b/clients/cpp-tiny/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-tizen/generated/.openapi-generator/VERSION b/clients/cpp-tizen/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-tizen/generated/.openapi-generator/VERSION +++ b/clients/cpp-tizen/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-tizen/generated/src/DefaultManager.h b/clients/cpp-tizen/generated/src/DefaultManager.h index 5889d63..35e920f 100644 --- a/clients/cpp-tizen/generated/src/DefaultManager.h +++ b/clients/cpp-tizen/generated/src/DefaultManager.h @@ -54,7 +54,7 @@ bool getApiAllJsonAsync(char * accessToken, * * Gets details of a single cycle * \param product Product URL as per the canonical URL on the endofife.date website *Required* - * \param cycle Release Cycle for which the details must be fetched *Required* + * \param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. *Required* * \param handler The callback function to be invoked on completion. *Required* * \param accessToken The Authorization token. *Required* * \param userData The user data to be passed to the callback function. @@ -68,7 +68,7 @@ bool getApiProductCycleJsonSync(char * accessToken, * * Gets details of a single cycle * \param product Product URL as per the canonical URL on the endofife.date website *Required* - * \param cycle Release Cycle for which the details must be fetched *Required* + * \param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. *Required* * \param handler The callback function to be invoked on completion. *Required* * \param accessToken The Authorization token. *Required* * \param userData The user data to be passed to the callback function. diff --git a/clients/cpp-ue4/generated/.openapi-generator/VERSION b/clients/cpp-ue4/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cpp-ue4/generated/.openapi-generator/VERSION +++ b/clients/cpp-ue4/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cpp-ue4/generated/Public/OpenAPIDefaultApiOperations.h b/clients/cpp-ue4/generated/Public/OpenAPIDefaultApiOperations.h index 2fd809b..031c4cc 100644 --- a/clients/cpp-ue4/generated/Public/OpenAPIDefaultApiOperations.h +++ b/clients/cpp-ue4/generated/Public/OpenAPIDefaultApiOperations.h @@ -56,7 +56,7 @@ class OPENAPI_API OpenAPIDefaultApi::GetApiProductCycleJsonRequest : public Requ /* Product URL as per the canonical URL on the endofife.date website */ FString Product; - /* Release Cycle for which the details must be fetched */ + /* Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ FString Cycle; }; diff --git a/clients/crystal/generated/.openapi-generator/VERSION b/clients/crystal/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/crystal/generated/.openapi-generator/VERSION +++ b/clients/crystal/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/crystal/generated/.travis.yml b/clients/crystal/generated/.travis.yml index a1d6a34..2af5c71 100644 --- a/clients/crystal/generated/.travis.yml +++ b/clients/crystal/generated/.travis.yml @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # language: crystal diff --git a/clients/crystal/generated/README.md b/clients/crystal/generated/README.md index d82cf4c..3e24e1d 100644 --- a/clients/crystal/generated/README.md +++ b/clients/crystal/generated/README.md @@ -8,7 +8,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g - API version: 0.0.1 - Package version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.CrystalClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/crystal/generated/shard.yml b/clients/crystal/generated/shard.yml index fb0f3ba..4911f1d 100644 --- a/clients/crystal/generated/shard.yml +++ b/clients/crystal/generated/shard.yml @@ -8,12 +8,12 @@ crystal: ">= 0.35.1" dependencies: crest: github: mamantoha/crest - version: ~> 0.26.0 + version: ~> 1.3.13 development_dependencies: kemal: github: kemalcr/kemal - version: ~>0.27.0 + version: ~>1.5.0 ameba: github: crystal-ameba/ameba diff --git a/clients/crystal/generated/spec/api/default_api_spec.cr b/clients/crystal/generated/spec/api/default_api_spec.cr index 6df6bc1..2f915e6 100644 --- a/clients/crystal/generated/spec/api/default_api_spec.cr +++ b/clients/crystal/generated/spec/api/default_api_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" @@ -38,7 +38,7 @@ describe "DefaultApi" do # Single cycle details # Gets details of a single cycle # @param product Product URL as per the canonical URL on the endofife.date website - # @param cycle Release Cycle for which the details must be fetched + # @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. # @param [Hash] opts the optional parameters # @return [Cycle] describe "get_api_product_cycle_json test" do diff --git a/clients/crystal/generated/spec/models/cycle_cycle_spec.cr b/clients/crystal/generated/spec/models/cycle_cycle_spec.cr index 30ad3f7..e7352e4 100644 --- a/clients/crystal/generated/spec/models/cycle_cycle_spec.cr +++ b/clients/crystal/generated/spec/models/cycle_cycle_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" diff --git a/clients/crystal/generated/spec/models/cycle_discontinued_spec.cr b/clients/crystal/generated/spec/models/cycle_discontinued_spec.cr index b2ba95c..09e1367 100644 --- a/clients/crystal/generated/spec/models/cycle_discontinued_spec.cr +++ b/clients/crystal/generated/spec/models/cycle_discontinued_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" diff --git a/clients/crystal/generated/spec/models/cycle_eol_spec.cr b/clients/crystal/generated/spec/models/cycle_eol_spec.cr index fdc32d0..b6acdac 100644 --- a/clients/crystal/generated/spec/models/cycle_eol_spec.cr +++ b/clients/crystal/generated/spec/models/cycle_eol_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" diff --git a/clients/crystal/generated/spec/models/cycle_lts_spec.cr b/clients/crystal/generated/spec/models/cycle_lts_spec.cr index 530b258..623042b 100644 --- a/clients/crystal/generated/spec/models/cycle_lts_spec.cr +++ b/clients/crystal/generated/spec/models/cycle_lts_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" diff --git a/clients/crystal/generated/spec/models/cycle_spec.cr b/clients/crystal/generated/spec/models/cycle_spec.cr index 4f6eca8..153edcf 100644 --- a/clients/crystal/generated/spec/models/cycle_spec.cr +++ b/clients/crystal/generated/spec/models/cycle_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" diff --git a/clients/crystal/generated/spec/models/cycle_support_spec.cr b/clients/crystal/generated/spec/models/cycle_support_spec.cr index bf8df81..5b76171 100644 --- a/clients/crystal/generated/spec/models/cycle_support_spec.cr +++ b/clients/crystal/generated/spec/models/cycle_support_spec.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "../spec_helper" diff --git a/clients/crystal/generated/spec/spec_helper.cr b/clients/crystal/generated/spec/spec_helper.cr index 7d8bbe5..c1ae2d1 100644 --- a/clients/crystal/generated/spec/spec_helper.cr +++ b/clients/crystal/generated/spec/spec_helper.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # # load modules diff --git a/clients/crystal/generated/src/openapi_client.cr b/clients/crystal/generated/src/openapi_client.cr index b609075..ceecf21 100644 --- a/clients/crystal/generated/src/openapi_client.cr +++ b/clients/crystal/generated/src/openapi_client.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # # Dependencies diff --git a/clients/crystal/generated/src/openapi_client/api/default_api.cr b/clients/crystal/generated/src/openapi_client/api/default_api.cr index 2417d26..34fac7f 100644 --- a/clients/crystal/generated/src/openapi_client/api/default_api.cr +++ b/clients/crystal/generated/src/openapi_client/api/default_api.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "uri" @@ -73,7 +73,7 @@ module OpenAPIClient # Single cycle details # Gets details of a single cycle # @param product [String] Product URL as per the canonical URL on the endofife.date website - # @param cycle [String] Release Cycle for which the details must be fetched + # @param cycle [String] Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. # @return [Cycle] def get_api_product_cycle_json(product : String, cycle : String) data, _status_code, _headers = get_api_product_cycle_json_with_http_info(product, cycle) @@ -83,7 +83,7 @@ module OpenAPIClient # Single cycle details # Gets details of a single cycle # @param product [String] Product URL as per the canonical URL on the endofife.date website - # @param cycle [String] Release Cycle for which the details must be fetched + # @param cycle [String] Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. # @return [Array<(Cycle, Integer, Hash)>] Cycle data, response status code and response headers def get_api_product_cycle_json_with_http_info(product : String, cycle : String) if @api_client.config.debugging diff --git a/clients/crystal/generated/src/openapi_client/api_client.cr b/clients/crystal/generated/src/openapi_client/api_client.cr index 1d8ccf2..0226190 100644 --- a/clients/crystal/generated/src/openapi_client/api_client.cr +++ b/clients/crystal/generated/src/openapi_client/api_client.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "json" diff --git a/clients/crystal/generated/src/openapi_client/api_error.cr b/clients/crystal/generated/src/openapi_client/api_error.cr index 1b637d8..98b103a 100644 --- a/clients/crystal/generated/src/openapi_client/api_error.cr +++ b/clients/crystal/generated/src/openapi_client/api_error.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # module OpenAPIClient @@ -29,7 +29,7 @@ module OpenAPIClient msg = "" msg = msg + "\nHTTP status code: #{code}" if @code msg = msg + "\nResponse headers: #{response_headers}" if @response_headers - if @message.nil? || @message.empty? + if @message.try &.empty? msg = msg + "\nError message: the server returns an error but the HTTP response body is empty." else msg = msg + "\nResponse body: #{@message}" diff --git a/clients/crystal/generated/src/openapi_client/configuration.cr b/clients/crystal/generated/src/openapi_client/configuration.cr index 1e27224..1a3c0dc 100644 --- a/clients/crystal/generated/src/openapi_client/configuration.cr +++ b/clients/crystal/generated/src/openapi_client/configuration.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "log" diff --git a/clients/crystal/generated/src/openapi_client/models/cycle.cr b/clients/crystal/generated/src/openapi_client/models/cycle.cr index 840c142..2fe6c35 100644 --- a/clients/crystal/generated/src/openapi_client/models/cycle.cr +++ b/clients/crystal/generated/src/openapi_client/models/cycle.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "big" diff --git a/clients/crystal/generated/src/openapi_client/models/cycle_cycle.cr b/clients/crystal/generated/src/openapi_client/models/cycle_cycle.cr index 4b9c3ab..d069252 100644 --- a/clients/crystal/generated/src/openapi_client/models/cycle_cycle.cr +++ b/clients/crystal/generated/src/openapi_client/models/cycle_cycle.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "big" diff --git a/clients/crystal/generated/src/openapi_client/models/cycle_discontinued.cr b/clients/crystal/generated/src/openapi_client/models/cycle_discontinued.cr index 2ff09a1..8e3fa4c 100644 --- a/clients/crystal/generated/src/openapi_client/models/cycle_discontinued.cr +++ b/clients/crystal/generated/src/openapi_client/models/cycle_discontinued.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "big" diff --git a/clients/crystal/generated/src/openapi_client/models/cycle_eol.cr b/clients/crystal/generated/src/openapi_client/models/cycle_eol.cr index 4f8c4af..e5f5af0 100644 --- a/clients/crystal/generated/src/openapi_client/models/cycle_eol.cr +++ b/clients/crystal/generated/src/openapi_client/models/cycle_eol.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "big" diff --git a/clients/crystal/generated/src/openapi_client/models/cycle_lts.cr b/clients/crystal/generated/src/openapi_client/models/cycle_lts.cr index c518d51..807d38c 100644 --- a/clients/crystal/generated/src/openapi_client/models/cycle_lts.cr +++ b/clients/crystal/generated/src/openapi_client/models/cycle_lts.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "big" diff --git a/clients/crystal/generated/src/openapi_client/models/cycle_support.cr b/clients/crystal/generated/src/openapi_client/models/cycle_support.cr index b16348a..1b61a71 100644 --- a/clients/crystal/generated/src/openapi_client/models/cycle_support.cr +++ b/clients/crystal/generated/src/openapi_client/models/cycle_support.cr @@ -5,7 +5,7 @@ #The version of the OpenAPI document: 0.0.1 #Contact: blah+oapicf@cliffano.com #Generated by: https://openapi-generator.tech -#Generator version: 7.6.0 +#Generator version: 7.9.0 # require "big" diff --git a/clients/csharp/generated/.openapi-generator/VERSION b/clients/csharp/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/csharp/generated/.openapi-generator/VERSION +++ b/clients/csharp/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/csharp/generated/Org.OpenAPITools.sln b/clients/csharp/generated/Org.OpenAPITools.sln index b70b5d4..34e8e06 100644 --- a/clients/csharp/generated/Org.OpenAPITools.sln +++ b/clients/csharp/generated/Org.OpenAPITools.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{341E116A-79C9-485A-BF93-C2788E5C55C8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{947D0960-145C-4B4F-87DE-1B3E47F80680}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools.Test", "src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {341E116A-79C9-485A-BF93-C2788E5C55C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {341E116A-79C9-485A-BF93-C2788E5C55C8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {341E116A-79C9-485A-BF93-C2788E5C55C8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {341E116A-79C9-485A-BF93-C2788E5C55C8}.Release|Any CPU.Build.0 = Release|Any CPU + {947D0960-145C-4B4F-87DE-1B3E47F80680}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {947D0960-145C-4B4F-87DE-1B3E47F80680}.Debug|Any CPU.Build.0 = Debug|Any CPU + {947D0960-145C-4B4F-87DE-1B3E47F80680}.Release|Any CPU.ActiveCfg = Release|Any CPU + {947D0960-145C-4B4F-87DE-1B3E47F80680}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/clients/csharp/generated/README.md b/clients/csharp/generated/README.md index 03a3bc9..b4b3162 100644 --- a/clients/csharp/generated/README.md +++ b/clients/csharp/generated/README.md @@ -6,7 +6,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - API version: 0.0.1 - SDK version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.CSharpClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) @@ -16,7 +16,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap ## Dependencies -- [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later +- [RestSharp](https://www.nuget.org/packages/RestSharp) - 112.0.0 or later - [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.2 or later - [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.8.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 5.0.0 or later diff --git a/clients/csharp/generated/api/openapi.yaml b/clients/csharp/generated/api/openapi.yaml index 3a90018..4bb03bb 100644 --- a/clients/csharp/generated/api/openapi.yaml +++ b/clients/csharp/generated/api/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/csharp/generated/docs/DefaultApi.md b/clients/csharp/generated/docs/DefaultApi.md index 6ef8f82..456370d 100644 --- a/clients/csharp/generated/docs/DefaultApi.md +++ b/clients/csharp/generated/docs/DefaultApi.md @@ -120,7 +120,7 @@ namespace Example config.BasePath = "https://endoflife.date"; var apiInstance = new DefaultApi(config); var product = "product_example"; // string | Product URL as per the canonical URL on the endofife.date website - var cycle = "cycle_example"; // string | Release Cycle for which the details must be fetched + var cycle = "cycle_example"; // string | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { @@ -164,7 +164,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **product** | **string** | Product URL as per the canonical URL on the endofife.date website | | -| **cycle** | **string** | Release Cycle for which the details must be fetched | | +| **cycle** | **string** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | | ### Return type diff --git a/clients/csharp/generated/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj b/clients/csharp/generated/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj index 9e82d9d..74144ec 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj +++ b/clients/csharp/generated/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj @@ -9,9 +9,9 @@ - - - + + + diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Api/DefaultApi.cs b/clients/csharp/generated/src/Org.OpenAPITools/Api/DefaultApi.cs index 11eaaf7..12961ee 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -56,7 +56,7 @@ public interface IDefaultApiSync : IApiAccessor /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// Cycle Cycle GetApiProductCycleJson(string product, string cycle, int operationIndex = 0); @@ -69,7 +69,7 @@ public interface IDefaultApiSync : IApiAccessor /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// ApiResponse of Cycle ApiResponse GetApiProductCycleJsonWithHttpInfo(string product, string cycle, int operationIndex = 0); @@ -115,7 +115,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<string> - System.Threading.Tasks.Task> GetApiAllJsonAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetApiAllJsonAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// All Products @@ -127,7 +127,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - System.Threading.Tasks.Task>> GetApiAllJsonWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> GetApiAllJsonWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single cycle details /// @@ -136,11 +136,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Cycle - System.Threading.Tasks.Task GetApiProductCycleJsonAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetApiProductCycleJsonAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single cycle details @@ -150,11 +150,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Cycle) - System.Threading.Tasks.Task> GetApiProductCycleJsonWithHttpInfoAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetApiProductCycleJsonWithHttpInfoAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get All Details /// @@ -166,7 +166,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Cycle> - System.Threading.Tasks.Task> GetApiProductJsonAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetApiProductJsonAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get All Details @@ -179,7 +179,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Cycle>) - System.Threading.Tasks.Task>> GetApiProductJsonWithHttpInfoAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> GetApiProductJsonWithHttpInfoAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -368,7 +368,7 @@ public Org.OpenAPITools.Client.ApiResponse> GetApiAllJsonWithHttpIn /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<string> - public async System.Threading.Tasks.Task> GetApiAllJsonAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetApiAllJsonAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetApiAllJsonWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -381,7 +381,7 @@ public Org.OpenAPITools.Client.ApiResponse> GetApiAllJsonWithHttpIn /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> GetApiAllJsonWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetApiAllJsonWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -431,7 +431,7 @@ public Org.OpenAPITools.Client.ApiResponse> GetApiAllJsonWithHttpIn /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// Cycle public Cycle GetApiProductCycleJson(string product, string cycle, int operationIndex = 0) @@ -445,7 +445,7 @@ public Cycle GetApiProductCycleJson(string product, string cycle, int operationI /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// ApiResponse of Cycle public Org.OpenAPITools.Client.ApiResponse GetApiProductCycleJsonWithHttpInfo(string product, string cycle, int operationIndex = 0) @@ -510,11 +510,11 @@ public Org.OpenAPITools.Client.ApiResponse GetApiProductCycleJsonWithHttp /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Cycle - public async System.Threading.Tasks.Task GetApiProductCycleJsonAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetApiProductCycleJsonAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetApiProductCycleJsonWithHttpInfoAsync(product, cycle, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -525,11 +525,11 @@ public Org.OpenAPITools.Client.ApiResponse GetApiProductCycleJsonWithHttp /// /// Thrown when fails to make API call /// Product URL as per the canonical URL on the endofife.date website - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Cycle) - public async System.Threading.Tasks.Task> GetApiProductCycleJsonWithHttpInfoAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetApiProductCycleJsonWithHttpInfoAsync(string product, string cycle, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'product' is set if (product == null) @@ -666,7 +666,7 @@ public Org.OpenAPITools.Client.ApiResponse> GetApiProductJsonWithHtt /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Cycle> - public async System.Threading.Tasks.Task> GetApiProductJsonAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetApiProductJsonAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetApiProductJsonWithHttpInfoAsync(product, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -680,7 +680,7 @@ public Org.OpenAPITools.Client.ApiResponse> GetApiProductJsonWithHtt /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Cycle>) - public async System.Threading.Tasks.Task>> GetApiProductJsonWithHttpInfoAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetApiProductJsonWithHttpInfoAsync(string product, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'product' is set if (product == null) diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Client/ApiClient.cs b/clients/csharp/generated/src/Org.OpenAPITools/Client/ApiClient.cs index da5c361..9a4e16c 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Client/ApiClient.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Client/ApiClient.cs @@ -23,13 +23,14 @@ using System.Threading; using System.Text.RegularExpressions; using System.Threading.Tasks; -using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using RestSharp; using RestSharp.Serializers; using RestSharpMethod = RestSharp.Method; +using FileIO = System.IO.File; using Polly; +using Org.OpenAPITools.Model; namespace Org.OpenAPITools.Client { @@ -70,10 +71,10 @@ public CustomJsonCodec(JsonSerializerSettings serializerSettings, IReadableConfi /// A JSON string. public string Serialize(object obj) { - if (obj != null && obj is Org.OpenAPITools.Model.AbstractOpenAPISchema) + if (obj != null && obj is AbstractOpenAPISchema) { // the object to be serialized is an oneOf/anyOf schema - return ((Org.OpenAPITools.Model.AbstractOpenAPISchema)obj).ToJson(); + return ((AbstractOpenAPISchema)obj).ToJson(); } else { @@ -118,7 +119,7 @@ internal object Deserialize(RestResponse response, Type type) if (match.Success) { string fileName = filePath + ClientUtils.SanitizeFilename(match.Groups[1].Value.Replace("\"", "").Replace("'", "")); - File.WriteAllBytes(fileName, bytes); + FileIO.WriteAllBytes(fileName, bytes); return new FileStream(fileName, FileMode.Open); } } @@ -129,7 +130,7 @@ internal object Deserialize(RestResponse response, Type type) if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object { - return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); + return DateTime.Parse(response.Content, null, DateTimeStyles.RoundtripKind); } if (type == typeof(string) || type.Name.StartsWith("System.Nullable")) // return primitive type @@ -151,13 +152,13 @@ internal object Deserialize(RestResponse response, Type type) public ISerializer Serializer => this; public IDeserializer Deserializer => this; - public string[] AcceptedContentTypes => RestSharp.ContentType.JsonAccept; + public string[] AcceptedContentTypes => ContentType.JsonAccept; public SupportsContentType SupportsContentType => contentType => contentType.Value.EndsWith("json", StringComparison.InvariantCultureIgnoreCase) || contentType.Value.EndsWith("javascript", StringComparison.InvariantCultureIgnoreCase); - public ContentType ContentType { get; set; } = RestSharp.ContentType.Json; + public ContentType ContentType { get; set; } = ContentType.Json; public DataFormat DataFormat => DataFormat.Json; } @@ -204,7 +205,7 @@ public partial class ApiClient : ISynchronousClient, IAsynchronousClient /// public ApiClient() { - _baseUrl = Org.OpenAPITools.Client.GlobalConfiguration.Instance.BasePath; + _baseUrl = GlobalConfiguration.Instance.BasePath; } /// @@ -261,14 +262,14 @@ private RestSharpMethod Method(HttpMethod method) /// /// Provides all logic for constructing a new RestSharp . - /// At this point, all information for querying the service is known. Here, it is simply - /// mapped into the RestSharp request. + /// At this point, all information for querying the service is known. + /// Here, it is simply mapped into the RestSharp request. /// /// The http verb. /// The target path (or resource). /// The additional request options. - /// A per-request configuration object. It is assumed that any merge with - /// GlobalConfiguration has been done before calling this method. + /// A per-request configuration object. + /// It is assumed that any merge with GlobalConfiguration has been done before calling this method. /// [private] A new RestRequest instance. /// private RestRequest NewRequest( @@ -376,7 +377,7 @@ private RestRequest NewRequest( var bytes = ClientUtils.ReadAsBytes(file); var fileStream = file as FileStream; if (fileStream != null) - request.AddFile(fileParam.Key, bytes, System.IO.Path.GetFileName(fileStream.Name)); + request.AddFile(fileParam.Key, bytes, Path.GetFileName(fileStream.Name)); else request.AddFile(fileParam.Key, bytes, "no_file_name_provided"); } @@ -386,6 +387,13 @@ private RestRequest NewRequest( return request; } + /// + /// Transforms a RestResponse instance into a new ApiResponse instance. + /// At this point, we have a concrete http response from the service. + /// Here, it is simply mapped into the [public] ApiResponse object. + /// + /// The RestSharp response object + /// A new ApiResponse instance. private ApiResponse ToApiResponse(RestResponse response) { T result = response.Data; @@ -430,57 +438,44 @@ private ApiResponse ToApiResponse(RestResponse response) return transformed; } - private ApiResponse Exec(RestRequest request, RequestOptions options, IReadableConfiguration configuration) + /// + /// Executes the HTTP request for the current service. + /// Based on functions received it can be async or sync. + /// + /// Local function that executes http request and returns http response. + /// Local function to specify options for the service. + /// The RestSharp request object + /// The RestSharp options object + /// A per-request configuration object. + /// It is assumed that any merge with GlobalConfiguration has been done before calling this method. + /// A new ApiResponse instance. + private async Task> ExecClientAsync(Func>> getResponse, Action setOptions, RestRequest request, RequestOptions options, IReadableConfiguration configuration) { var baseUrl = configuration.GetOperationServerUrl(options.Operation, options.OperationIndex) ?? _baseUrl; - - var cookies = new CookieContainer(); - - if (options.Cookies != null && options.Cookies.Count > 0) - { - foreach (var cookie in options.Cookies) - { - cookies.Add(new Cookie(cookie.Name, cookie.Value)); - } - } - var clientOptions = new RestClientOptions(baseUrl) { ClientCertificates = configuration.ClientCertificates, - CookieContainer = cookies, MaxTimeout = configuration.Timeout, Proxy = configuration.Proxy, UserAgent = configuration.UserAgent, UseDefaultCredentials = configuration.UseDefaultCredentials, RemoteCertificateValidationCallback = configuration.RemoteCertificateValidationCallback }; - + setOptions(clientOptions); + using (RestClient client = new RestClient(clientOptions, configureSerialization: serializerConfig => serializerConfig.UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration)))) { InterceptRequest(request); - RestResponse response; - if (RetryConfiguration.RetryPolicy != null) - { - var policy = RetryConfiguration.RetryPolicy; - var policyResult = policy.ExecuteAndCapture(() => client.Execute(request)); - response = (policyResult.Outcome == OutcomeType.Successful) ? client.Deserialize(policyResult.Result) : new RestResponse(request) - { - ErrorException = policyResult.FinalException - }; - } - else - { - response = client.Execute(request); - } + RestResponse response = await getResponse(client); // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(Org.OpenAPITools.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + if (typeof(AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { try { - response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); + response.Data = (T)typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } catch (Exception ex) { @@ -538,90 +533,76 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea } } - private async Task> ExecAsync(RestRequest request, RequestOptions options, IReadableConfiguration configuration, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + private RestResponse DeserializeRestResponseFromPolicy(RestClient client, RestRequest request, PolicyResult policyResult) { - var baseUrl = configuration.GetOperationServerUrl(options.Operation, options.OperationIndex) ?? _baseUrl; - - var clientOptions = new RestClientOptions(baseUrl) + if (policyResult.Outcome == OutcomeType.Successful) { - ClientCertificates = configuration.ClientCertificates, - MaxTimeout = configuration.Timeout, - Proxy = configuration.Proxy, - UserAgent = configuration.UserAgent, - UseDefaultCredentials = configuration.UseDefaultCredentials, - RemoteCertificateValidationCallback = configuration.RemoteCertificateValidationCallback - }; - - using (RestClient client = new RestClient(clientOptions, - configureSerialization: serializerConfig => serializerConfig.UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration)))) + return client.Deserialize(policyResult.Result); + } + else { - InterceptRequest(request); + return new RestResponse(request) + { + ErrorException = policyResult.FinalException + }; + } + } + + private ApiResponse Exec(RestRequest request, RequestOptions options, IReadableConfiguration configuration) + { + Action setOptions = (clientOptions) => + { + var cookies = new CookieContainer(); - RestResponse response; - if (RetryConfiguration.AsyncRetryPolicy != null) + if (options.Cookies != null && options.Cookies.Count > 0) { - var policy = RetryConfiguration.AsyncRetryPolicy; - var policyResult = await policy.ExecuteAndCaptureAsync((ct) => client.ExecuteAsync(request, ct), cancellationToken).ConfigureAwait(false); - response = (policyResult.Outcome == OutcomeType.Successful) ? client.Deserialize(policyResult.Result) : new RestResponse(request) + foreach (var cookie in options.Cookies) { - ErrorException = policyResult.FinalException - }; - } - else - { - response = await client.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + cookies.Add(new Cookie(cookie.Name, cookie.Value)); + } } + clientOptions.CookieContainer = cookies; + }; - // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(Org.OpenAPITools.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) - { - response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); - } - else if (typeof(T).Name == "Stream") // for binary response + Func>> getResponse = (client) => + { + if (RetryConfiguration.RetryPolicy != null) { - response.Data = (T)(object)new MemoryStream(response.RawBytes); + var policy = RetryConfiguration.RetryPolicy; + var policyResult = policy.ExecuteAndCapture(() => client.Execute(request)); + return Task.FromResult(DeserializeRestResponseFromPolicy(client, request, policyResult)); } - else if (typeof(T).Name == "Byte[]") // for byte response + else { - response.Data = (T)(object)response.RawBytes; + return Task.FromResult(client.Execute(request)); } + }; - InterceptResponse(request, response); + return ExecClientAsync(getResponse, setOptions, request, options, configuration).GetAwaiter().GetResult(); + } - var result = ToApiResponse(response); - if (response.ErrorMessage != null) + private Task> ExecAsync(RestRequest request, RequestOptions options, IReadableConfiguration configuration, CancellationToken cancellationToken = default(CancellationToken)) + { + Action setOptions = (clientOptions) => + { + //no extra options + }; + + Func>> getResponse = async (client) => + { + if (RetryConfiguration.AsyncRetryPolicy != null) { - result.ErrorText = response.ErrorMessage; + var policy = RetryConfiguration.AsyncRetryPolicy; + var policyResult = await policy.ExecuteAndCaptureAsync((ct) => client.ExecuteAsync(request, ct), cancellationToken).ConfigureAwait(false); + return DeserializeRestResponseFromPolicy(client, request, policyResult); } - - if (response.Cookies != null && response.Cookies.Count > 0) + else { - if (result.Cookies == null) result.Cookies = new List(); - foreach (var restResponseCookie in response.Cookies.Cast()) - { - var cookie = new Cookie( - restResponseCookie.Name, - restResponseCookie.Value, - restResponseCookie.Path, - restResponseCookie.Domain - ) - { - Comment = restResponseCookie.Comment, - CommentUri = restResponseCookie.CommentUri, - Discard = restResponseCookie.Discard, - Expired = restResponseCookie.Expired, - Expires = restResponseCookie.Expires, - HttpOnly = restResponseCookie.HttpOnly, - Port = restResponseCookie.Port, - Secure = restResponseCookie.Secure, - Version = restResponseCookie.Version - }; - - result.Cookies.Add(cookie); - } + return await client.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); } - return result; - } + }; + + return ExecClientAsync(getResponse, setOptions, request, options, configuration); } #region IAsynchronousClient @@ -634,7 +615,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> GetAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> GetAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Get, path, options, config), options, config, cancellationToken); @@ -649,7 +630,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> PostAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> PostAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Post, path, options, config), options, config, cancellationToken); @@ -664,7 +645,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> PutAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> PutAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Put, path, options, config), options, config, cancellationToken); @@ -679,7 +660,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> DeleteAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> DeleteAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Delete, path, options, config), options, config, cancellationToken); @@ -694,7 +675,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> HeadAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> HeadAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Head, path, options, config), options, config, cancellationToken); @@ -709,7 +690,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> OptionsAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> OptionsAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Options, path, options, config), options, config, cancellationToken); @@ -724,7 +705,7 @@ private ApiResponse Exec(RestRequest request, RequestOptions options, IRea /// GlobalConfiguration has been done before calling this method. /// Token that enables callers to cancel the request. /// A Task containing ApiResponse - public Task> PatchAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public Task> PatchAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) { var config = configuration ?? GlobalConfiguration.Instance; return ExecAsync(NewRequest(HttpMethod.Patch, path, options, config), options, config, cancellationToken); diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Client/ClientUtils.cs b/clients/csharp/generated/src/Org.OpenAPITools/Client/ClientUtils.cs index 7f344bb..d869690 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Client/ClientUtils.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Client/ClientUtils.cs @@ -101,6 +101,12 @@ public static string ParameterToString(object obj, IReadableConfiguration config // https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 // For example: 2009-06-15T13:45:30.0000000 return dateTimeOffset.ToString((configuration ?? GlobalConfiguration.Instance).DateTimeFormat); + if (obj is DateOnly dateOnly) + // Return a formatted date string - Can be customized with Configuration.DateTimeFormat + // Defaults to an ISO 8601, using the known as a Round-trip date/time pattern ("o") + // https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 + // For example: 2009-06-15 + return dateOnly.ToString((configuration ?? GlobalConfiguration.Instance).DateTimeFormat); if (obj is bool boolean) return boolean ? "true" : "false"; if (obj is ICollection collection) { @@ -132,7 +138,7 @@ public static string Serialize(object obj) /// Encoded string. public static string Base64Encode(string text) { - return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(text)); + return Convert.ToBase64String(global::System.Text.Encoding.UTF8.GetBytes(text)); } /// diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Client/Configuration.cs b/clients/csharp/generated/src/Org.OpenAPITools/Client/Configuration.cs index bd6cc88..c7e95ea 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Client/Configuration.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Client/Configuration.cs @@ -114,7 +114,7 @@ public class Configuration : IReadableConfiguration /// /// Initializes a new instance of the class /// - [System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] public Configuration() { Proxy = null; @@ -143,7 +143,7 @@ public Configuration() /// /// Initializes a new instance of the class /// - [System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] public Configuration( IDictionary defaultHeaders, IDictionary apiKey, diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Client/IAsynchronousClient.cs b/clients/csharp/generated/src/Org.OpenAPITools/Client/IAsynchronousClient.cs index 7dd03eb..798f746 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Client/IAsynchronousClient.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Client/IAsynchronousClient.cs @@ -30,7 +30,7 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> GetAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> GetAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Executes a non-blocking call to some using the POST http verb. @@ -41,7 +41,7 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> PostAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> PostAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Executes a non-blocking call to some using the PUT http verb. @@ -52,7 +52,7 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> PutAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> PutAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Executes a non-blocking call to some using the DELETE http verb. @@ -63,7 +63,7 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> DeleteAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> DeleteAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Executes a non-blocking call to some using the HEAD http verb. @@ -74,7 +74,7 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> HeadAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> HeadAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Executes a non-blocking call to some using the OPTIONS http verb. @@ -85,7 +85,7 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> OptionsAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> OptionsAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Executes a non-blocking call to some using the PATCH http verb. @@ -96,6 +96,6 @@ public interface IAsynchronousClient /// Cancellation Token to cancel the request. /// The return type. /// A task eventually representing the response data, decorated with - Task> PatchAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + Task> PatchAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); } } diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Model/Cycle.cs b/clients/csharp/generated/src/Org.OpenAPITools/Model/Cycle.cs index a9558ac..d853746 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Model/Cycle.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Model/Cycle.cs @@ -66,7 +66,6 @@ public partial class Cycle : IValidatableObject /// /// Release Date for the first release in this cycle [DataMember(Name = "releaseDate", EmitDefaultValue = false)] - [JsonConverter(typeof(OpenAPIDateConverter))] public DateOnly ReleaseDate { get; set; } /// @@ -141,30 +140,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // ReleaseDate (DateOnly) maxLength if (this.ReleaseDate != null && this.ReleaseDate.Length > 10) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ReleaseDate, length must be less than 10.", new [] { "ReleaseDate" }); + yield return new ValidationResult("Invalid value for ReleaseDate, length must be less than 10.", new [] { "ReleaseDate" }); } // ReleaseDate (DateOnly) minLength if (this.ReleaseDate != null && this.ReleaseDate.Length < 10) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ReleaseDate, length must be greater than 10.", new [] { "ReleaseDate" }); + yield return new ValidationResult("Invalid value for ReleaseDate, length must be greater than 10.", new [] { "ReleaseDate" }); } // Latest (string) minLength if (this.Latest != null && this.Latest.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Latest, length must be greater than 1.", new [] { "Latest" }); + yield return new ValidationResult("Invalid value for Latest, length must be greater than 1.", new [] { "Latest" }); } // Link (string) minLength if (this.Link != null && this.Link.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); + yield return new ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); } yield break; diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleCycle.cs b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleCycle.cs index 5ba8793..31900ce 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleCycle.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleCycle.cs @@ -41,9 +41,9 @@ public partial class CycleCycle : AbstractOpenAPISchema, IValidatableObject /// An instance of decimal. public CycleCycle(decimal actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance; + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance; } /// @@ -53,9 +53,9 @@ public CycleCycle(decimal actualInstance) /// An instance of string. public CycleCycle(string actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); } @@ -74,11 +74,11 @@ public override Object ActualInstance { if (value.GetType() == typeof(decimal)) { - this._actualInstance = value; + _actualInstance = value; } else if (value.GetType() == typeof(string)) { - this._actualInstance = value; + _actualInstance = value; } else { @@ -94,7 +94,7 @@ public override Object ActualInstance /// An instance of decimal public decimal GetDecimal() { - return (decimal)this.ActualInstance; + return (decimal)ActualInstance; } /// @@ -104,7 +104,7 @@ public decimal GetDecimal() /// An instance of string public string GetString() { - return (string)this.ActualInstance; + return (string)ActualInstance; } /// @@ -115,7 +115,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CycleCycle {\n"); - sb.Append(" ActualInstance: ").Append(this.ActualInstance).Append("\n"); + sb.Append(" ActualInstance: ").Append(ActualInstance).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -126,7 +126,7 @@ public override string ToString() /// JSON string presentation of the object public override string ToJson() { - return JsonConvert.SerializeObject(this.ActualInstance, CycleCycle.SerializerSettings); + return JsonConvert.SerializeObject(ActualInstance, CycleCycle.SerializerSettings); } /// diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleDiscontinued.cs b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleDiscontinued.cs index 0b7bf86..a9a21da 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleDiscontinued.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleDiscontinued.cs @@ -41,9 +41,9 @@ public partial class CycleDiscontinued : AbstractOpenAPISchema, IValidatableObje /// An instance of string. public CycleDiscontinued(string actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); } /// @@ -53,9 +53,9 @@ public CycleDiscontinued(string actualInstance) /// An instance of bool. public CycleDiscontinued(bool actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance; + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance; } @@ -74,11 +74,11 @@ public override Object ActualInstance { if (value.GetType() == typeof(bool)) { - this._actualInstance = value; + _actualInstance = value; } else if (value.GetType() == typeof(string)) { - this._actualInstance = value; + _actualInstance = value; } else { @@ -94,7 +94,7 @@ public override Object ActualInstance /// An instance of string public string GetString() { - return (string)this.ActualInstance; + return (string)ActualInstance; } /// @@ -104,7 +104,7 @@ public string GetString() /// An instance of bool public bool GetBool() { - return (bool)this.ActualInstance; + return (bool)ActualInstance; } /// @@ -115,7 +115,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CycleDiscontinued {\n"); - sb.Append(" ActualInstance: ").Append(this.ActualInstance).Append("\n"); + sb.Append(" ActualInstance: ").Append(ActualInstance).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -126,7 +126,7 @@ public override string ToString() /// JSON string presentation of the object public override string ToJson() { - return JsonConvert.SerializeObject(this.ActualInstance, CycleDiscontinued.SerializerSettings); + return JsonConvert.SerializeObject(ActualInstance, CycleDiscontinued.SerializerSettings); } /// diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleEol.cs b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleEol.cs index 3392947..1c56a2e 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleEol.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleEol.cs @@ -41,9 +41,9 @@ public partial class CycleEol : AbstractOpenAPISchema, IValidatableObject /// An instance of string. public CycleEol(string actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); } /// @@ -53,9 +53,9 @@ public CycleEol(string actualInstance) /// An instance of bool. public CycleEol(bool actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance; + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance; } @@ -74,11 +74,11 @@ public override Object ActualInstance { if (value.GetType() == typeof(bool)) { - this._actualInstance = value; + _actualInstance = value; } else if (value.GetType() == typeof(string)) { - this._actualInstance = value; + _actualInstance = value; } else { @@ -94,7 +94,7 @@ public override Object ActualInstance /// An instance of string public string GetString() { - return (string)this.ActualInstance; + return (string)ActualInstance; } /// @@ -104,7 +104,7 @@ public string GetString() /// An instance of bool public bool GetBool() { - return (bool)this.ActualInstance; + return (bool)ActualInstance; } /// @@ -115,7 +115,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CycleEol {\n"); - sb.Append(" ActualInstance: ").Append(this.ActualInstance).Append("\n"); + sb.Append(" ActualInstance: ").Append(ActualInstance).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -126,7 +126,7 @@ public override string ToString() /// JSON string presentation of the object public override string ToJson() { - return JsonConvert.SerializeObject(this.ActualInstance, CycleEol.SerializerSettings); + return JsonConvert.SerializeObject(ActualInstance, CycleEol.SerializerSettings); } /// diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleLts.cs b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleLts.cs index 1873557..dbcbf9b 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleLts.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleLts.cs @@ -41,9 +41,9 @@ public partial class CycleLts : AbstractOpenAPISchema, IValidatableObject /// An instance of bool. public CycleLts(bool actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance; + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance; } /// @@ -53,9 +53,9 @@ public CycleLts(bool actualInstance) /// An instance of string. public CycleLts(string actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); } @@ -74,11 +74,11 @@ public override Object ActualInstance { if (value.GetType() == typeof(bool)) { - this._actualInstance = value; + _actualInstance = value; } else if (value.GetType() == typeof(string)) { - this._actualInstance = value; + _actualInstance = value; } else { @@ -94,7 +94,7 @@ public override Object ActualInstance /// An instance of bool public bool GetBool() { - return (bool)this.ActualInstance; + return (bool)ActualInstance; } /// @@ -104,7 +104,7 @@ public bool GetBool() /// An instance of string public string GetString() { - return (string)this.ActualInstance; + return (string)ActualInstance; } /// @@ -115,7 +115,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CycleLts {\n"); - sb.Append(" ActualInstance: ").Append(this.ActualInstance).Append("\n"); + sb.Append(" ActualInstance: ").Append(ActualInstance).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -126,7 +126,7 @@ public override string ToString() /// JSON string presentation of the object public override string ToJson() { - return JsonConvert.SerializeObject(this.ActualInstance, CycleLts.SerializerSettings); + return JsonConvert.SerializeObject(ActualInstance, CycleLts.SerializerSettings); } /// diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleSupport.cs b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleSupport.cs index 8ebd8d7..d8bab21 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleSupport.cs +++ b/clients/csharp/generated/src/Org.OpenAPITools/Model/CycleSupport.cs @@ -41,9 +41,9 @@ public partial class CycleSupport : AbstractOpenAPISchema, IValidatableObject /// An instance of string. public CycleSupport(string actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); } /// @@ -53,9 +53,9 @@ public CycleSupport(string actualInstance) /// An instance of bool. public CycleSupport(bool actualInstance) { - this.IsNullable = false; - this.SchemaType= "anyOf"; - this.ActualInstance = actualInstance; + IsNullable = false; + SchemaType= "anyOf"; + ActualInstance = actualInstance; } @@ -74,11 +74,11 @@ public override Object ActualInstance { if (value.GetType() == typeof(bool)) { - this._actualInstance = value; + _actualInstance = value; } else if (value.GetType() == typeof(string)) { - this._actualInstance = value; + _actualInstance = value; } else { @@ -94,7 +94,7 @@ public override Object ActualInstance /// An instance of string public string GetString() { - return (string)this.ActualInstance; + return (string)ActualInstance; } /// @@ -104,7 +104,7 @@ public string GetString() /// An instance of bool public bool GetBool() { - return (bool)this.ActualInstance; + return (bool)ActualInstance; } /// @@ -115,7 +115,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CycleSupport {\n"); - sb.Append(" ActualInstance: ").Append(this.ActualInstance).Append("\n"); + sb.Append(" ActualInstance: ").Append(ActualInstance).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -126,7 +126,7 @@ public override string ToString() /// JSON string presentation of the object public override string ToJson() { - return JsonConvert.SerializeObject(this.ActualInstance, CycleSupport.SerializerSettings); + return JsonConvert.SerializeObject(ActualInstance, CycleSupport.SerializerSettings); } /// diff --git a/clients/csharp/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj b/clients/csharp/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj index 53e4de4..dffa297 100644 --- a/clients/csharp/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj +++ b/clients/csharp/generated/src/Org.OpenAPITools/Org.OpenAPITools.csproj @@ -18,19 +18,18 @@ git Minor update annotations + false - + - - diff --git a/clients/cwiki/generated/.openapi-generator/VERSION b/clients/cwiki/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/cwiki/generated/.openapi-generator/VERSION +++ b/clients/cwiki/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/cwiki/generated/confluence-markup.txt b/clients/cwiki/generated/confluence-markup.txt index 0a5f1a0..baf158e 100644 --- a/clients/cwiki/generated/confluence-markup.txt +++ b/clients/cwiki/generated/confluence-markup.txt @@ -154,7 +154,7 @@ h3. getApiProductCycle.json h4. Parameters h5. Path Parameters ||Name||Description||Type||Required||Default||Pattern||Enum||Example|| - |product |Product URL as per the canonical URL on the endofife.date website | String | (/) |null | | ||cycle |Release Cycle for which the details must be fetched | String | (/) |null | | | + |product |Product URL as per the canonical URL on the endofife.date website | String | (/) |null | | ||cycle |Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | String | (/) |null | | | diff --git a/clients/dart-dio/generated/.openapi-generator/VERSION b/clients/dart-dio/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/dart-dio/generated/.openapi-generator/VERSION +++ b/clients/dart-dio/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/dart-dio/generated/README.md b/clients/dart-dio/generated/README.md index b059355..4d7af69 100644 --- a/clients/dart-dio/generated/README.md +++ b/clients/dart-dio/generated/README.md @@ -4,7 +4,7 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additio This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/dart/generated/.gitignore b/clients/dart/generated/.gitignore index 1be28ce..0f74d29 100644 --- a/clients/dart/generated/.gitignore +++ b/clients/dart/generated/.gitignore @@ -3,7 +3,9 @@ .dart_tool/ .packages build/ -pubspec.lock # Except for application packages + +# Except for application packages +pubspec.lock doc/api/ diff --git a/clients/dart/generated/.openapi-generator/VERSION b/clients/dart/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/dart/generated/.openapi-generator/VERSION +++ b/clients/dart/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/dart/generated/README.md b/clients/dart/generated/README.md index 0b3a8d5..e1a1088 100644 --- a/clients/dart/generated/README.md +++ b/clients/dart/generated/README.md @@ -4,7 +4,7 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additio This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/dart/generated/pubspec.yaml b/clients/dart/generated/pubspec.yaml index 72a2cdd..8a72109 100644 --- a/clients/dart/generated/pubspec.yaml +++ b/clients/dart/generated/pubspec.yaml @@ -9,9 +9,9 @@ homepage: 'homepage' environment: sdk: '>=2.12.0 <4.0.0' dependencies: - collection: '^1.17.0' - http: '>=0.13.0 <0.14.0' + collection: '>=1.17.0 <2.0.0' + http: '>=0.13.0 <2.0.0' intl: any - meta: '^1.1.8' + meta: '>=1.1.8 <2.0.0' dev_dependencies: test: '>=1.21.6 <1.22.0' diff --git a/clients/dynamic-html/generated/.openapi-generator/VERSION b/clients/dynamic-html/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/dynamic-html/generated/.openapi-generator/VERSION +++ b/clients/dynamic-html/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/dynamic-html/generated/docs/operations/DefaultApi.html b/clients/dynamic-html/generated/docs/operations/DefaultApi.html index c023ab8..cb8925c 100644 --- a/clients/dynamic-html/generated/docs/operations/DefaultApi.html +++ b/clients/dynamic-html/generated/docs/operations/DefaultApi.html @@ -71,7 +71,7 @@

Parameters

cycle String -

Release Cycle for which the details must be fetched

+

Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.

diff --git a/clients/eiffel/generated/.openapi-generator/VERSION b/clients/eiffel/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/eiffel/generated/.openapi-generator/VERSION +++ b/clients/eiffel/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/eiffel/generated/README.md b/clients/eiffel/generated/README.md index 4f28b42..4977f20 100644 --- a/clients/eiffel/generated/README.md +++ b/clients/eiffel/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.EiffelClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/eiffel/generated/api_client.ecf b/clients/eiffel/generated/api_client.ecf index b449067..c2fe45c 100644 --- a/clients/eiffel/generated/api_client.ecf +++ b/clients/eiffel/generated/api_client.ecf @@ -1,5 +1,5 @@ - + diff --git a/clients/eiffel/generated/docs/DEFAULT_API.md b/clients/eiffel/generated/docs/DEFAULT_API.md index 90f1803..518be31 100644 --- a/clients/eiffel/generated/docs/DEFAULT_API.md +++ b/clients/eiffel/generated/docs/DEFAULT_API.md @@ -50,7 +50,7 @@ Gets details of a single cycle Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **STRING_32**| Product URL as per the canonical URL on the endofife.date website | [default to null] - **cycle** | **STRING_32**| Release Cycle for which the details must be fetched | [default to null] + **cycle** | **STRING_32**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | [default to null] ### Return type diff --git a/clients/eiffel/generated/src/api/default_api.e b/clients/eiffel/generated/src/api/default_api.e index 2762dff..eb0d671 100644 --- a/clients/eiffel/generated/src/api/default_api.e +++ b/clients/eiffel/generated/src/api/default_api.e @@ -63,7 +63,7 @@ feature -- API Access -- -- argument: product Product URL as per the canonical URL on the endofife.date website (required) -- - -- argument: cycle Release Cycle for which the details must be fetched (required) + -- argument: cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) -- -- -- Result CYCLE diff --git a/clients/eiffel/generated/test/api_test.ecf b/clients/eiffel/generated/test/api_test.ecf index 305fa12..a13969a 100644 --- a/clients/eiffel/generated/test/api_test.ecf +++ b/clients/eiffel/generated/test/api_test.ecf @@ -1,5 +1,5 @@ - + diff --git a/clients/elixir/generated/.openapi-generator/VERSION b/clients/elixir/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/elixir/generated/.openapi-generator/VERSION +++ b/clients/elixir/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/elixir/generated/README.md b/clients/elixir/generated/README.md index e5f8c8f..cafe02e 100644 --- a/clients/elixir/generated/README.md +++ b/clients/elixir/generated/README.md @@ -18,7 +18,7 @@ your list of dependencies in `mix.exs`: ```elixir def deps do - [{:endoflife_date, "~> 0.0.1"}] + [{:endoflife_date, "~> 1.0.0"}] end ``` diff --git a/clients/elixir/generated/mix.exs b/clients/elixir/generated/mix.exs index 3a42e63..a6bb38b 100644 --- a/clients/elixir/generated/mix.exs +++ b/clients/elixir/generated/mix.exs @@ -4,7 +4,7 @@ defmodule EndoflifeDate.Mixfile do def project do [ app: :endoflife_date, - version: "0.0.1", + version: "1.0.0", elixir: "~> 1.10", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, diff --git a/clients/elm/generated/.openapi-generator/VERSION b/clients/elm/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/elm/generated/.openapi-generator/VERSION +++ b/clients/elm/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/elm/generated/README.md b/clients/elm/generated/README.md index b66301a..35f9137 100644 --- a/clients/elm/generated/README.md +++ b/clients/elm/generated/README.md @@ -7,6 +7,6 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.ElmClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/erlang-client/generated/.openapi-generator/VERSION b/clients/erlang-client/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/erlang-client/generated/.openapi-generator/VERSION +++ b/clients/erlang-client/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/erlang-proper/generated/.openapi-generator/VERSION b/clients/erlang-proper/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/erlang-proper/generated/.openapi-generator/VERSION +++ b/clients/erlang-proper/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/erlang-server/generated/.openapi-generator/FILES b/clients/erlang-server/generated/.openapi-generator/FILES index 7676ee6..84d44a9 100644 --- a/clients/erlang-server/generated/.openapi-generator/FILES +++ b/clients/erlang-server/generated/.openapi-generator/FILES @@ -6,8 +6,6 @@ src/openapi.app.src src/openapi_api.erl src/openapi_auth.erl src/openapi_default_handler.erl -src/openapi_default_logic_handler.erl src/openapi_logic_handler.erl src/openapi_router.erl src/openapi_server.erl -src/openapi_utils.erl diff --git a/clients/erlang-server/generated/.openapi-generator/VERSION b/clients/erlang-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/erlang-server/generated/.openapi-generator/VERSION +++ b/clients/erlang-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/erlang-server/generated/README.md b/clients/erlang-server/generated/README.md index 5d36ca0..887f730 100644 --- a/clients/erlang-server/generated/README.md +++ b/clients/erlang-server/generated/README.md @@ -4,54 +4,33 @@ An Erlang server stub generated by [OpenAPI Generator](https://openapi-generator.tech) given an OpenAPI spec. -Dependency: [Cowboy](https://github.com/ninenines/cowboy) +Dependencies: Erlang OTP/27 and rebar3. Also: +- [Cowboy](https://hex.pm/packages/cowboy) +- [Ranch](https://hex.pm/packages/ranch) +- [Jesse](https://hex.pm/packages/jesse) ## Prerequisites -TODO - ## Getting started -Use erlang-server with erlang.mk - - 1, Create an application by using erlang.mk - $ mkdir http_server - $ cd http_server - $ wget https://erlang.mk/erlang.mk - $ make -f erlang.mk bootstrap bootstrap-rel - $ make run - - 2, Modify the Makefile in the http_server directory to the following to introduce the dependency library: - PROJECT = http_server - PROJECT_DESCRIPTION = New project - PROJECT_VERSION = 0.1.0 - - DEPS = cowboy jesse jsx - dep_cowboy_commit = 2.5.0 - dep_jesse_commit = 1.5.2 - dep_jsx_commit = 2.9.0 - DEP_PLUGINS = cowboy jesse jsx - - PACKAGES += rfc3339 - pkg_rfc3339_name = rfc3339 - pkg_rfc3339_description = an erlang/elixir rfc3339 lib - pkg_rfc3339_homepage = https://github.com/talentdeficit/rfc3339 - pkg_rfc3339_fetch = git - pkg_rfc3339_repo = https://github.com/talentdeficit/rfc3339 - pkg_rfc3339_commit = master - - include erlang.mk - - 3, Generate erlang-server project using openapi-generator +Use erlang-server with rebar3 + + 1, Create an application by using rebar3 + $ rebar3 new app http_server + + 2, Generate erlang-server project using openapi-generator https://github.com/OpenAPITools/openapi-generator#2---getting-started - 4, Copy erlang-server file to http_server project,Don't forget the 'priv' folder. + 3, Copy erlang-server file to http_server project, and don't forget the 'priv' folder. - 5, Start in the http_server project: + 4, Start in the http_server project: 1, Introduce the following line in the http_server_app:start(_Type, _Args) function - openapi_server:start(http_server, #{ip=>{127,0,0,1}, port=>8080, net_opts=>[]}) - 2, Compilation http_server project - $ make + openapi_server:start(http_server, #{ip => {127,0,0,1}, port => 8080}) + 2, Compile your http_server project + $ rebar3 compile 3, Start erlang virtual machine - $erl -pa ./deps/cowboy/ebin -pa ./deps/cowlib/ebin -pa ./deps/ranch/ebin -pa ./deps/jsx/ebin -pa ./deps/jesse/ebin -pa ./deps/rfc3339/ebin -pa ./ebin + $ rebar3 shell 4, Start project application:ensure_all_started(http_server). + +To implement your own business logic, create a module called `http_server_logic` that implements the +behaviour `openapi_logic_handler`. Refer to `openapi_logic_handler` documentation for details. diff --git a/clients/erlang-server/generated/priv/openapi.json b/clients/erlang-server/generated/priv/openapi.json index 178935c..c76302a 100644 --- a/clients/erlang-server/generated/priv/openapi.json +++ b/clients/erlang-server/generated/priv/openapi.json @@ -104,7 +104,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/erlang-server/generated/rebar.config b/clients/erlang-server/generated/rebar.config index 743b108..50cd482 100644 --- a/clients/erlang-server/generated/rebar.config +++ b/clients/erlang-server/generated/rebar.config @@ -1,6 +1,15 @@ +{minimum_otp_vsn, "27"}. + {deps, [ - {cowboy, {git, "https://github.com/ninenines/cowboy.git", {tag, "2.8.0"}}}, - {rfc3339, {git, "https://github.com/talentdeficit/rfc3339.git", {tag, "master"}}}, - {jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "v3.1.0"}}}, - {jesse, {git, "https://github.com/for-GET/jesse.git", {tag, "1.5.6"}}} + {cowboy, "2.12.0"}, + {ranch, "2.1.0"}, + {jesse, "1.8.1"} ]}. + +{dialyzer, + [{plt_extra_apps, [cowboy, cowlib, ranch, jesse]}, + {warnings, [missing_return, unknown]} +]}. + +{xref_checks, + [undefined_function_calls, deprecated_function_calls, deprecated_functions]}. diff --git a/clients/erlang-server/generated/src/openapi.app.src b/clients/erlang-server/generated/src/openapi.app.src index 0be2d2a..1256e89 100644 --- a/clients/erlang-server/generated/src/openapi.app.src +++ b/clients/erlang-server/generated/src/openapi.app.src @@ -1,19 +1,11 @@ -{application, openapi, [ - {description, "Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)"}, - {vsn, "1.0.0"}, - {registered, []}, - {applications, [ - kernel, - stdlib, - ssl, - inets, - jsx, - jesse, - cowboy - ]}, - {env, [ - ]}, - {modules, []}, - {licenses, ["MIT"]}, - {links, ["https://github.com/oapicf/endoflife.date-api-clients"]} -]}. +{application, + openapi, + [{description, + "Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)"}, + {vsn, "1.0.0"}, + {registered, []}, + {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy]}, + {env, []}, + {modules, []}, + {licenses, ["MIT"]}, + {links, ["https://github.com/oapicf/endoflife.date-api-clients"]}]}. diff --git a/clients/erlang-server/generated/src/openapi_api.erl b/clients/erlang-server/generated/src/openapi_api.erl index 6c1ce09..94d0a21 100644 --- a/clients/erlang-server/generated/src/openapi_api.erl +++ b/clients/erlang-server/generated/src/openapi_api.erl @@ -1,46 +1,73 @@ -module(openapi_api). +-moduledoc """ +This module offers an API for JSON schema validation, using `jesse` under the hood. + +If validation is desired, a jesse state can be loaded using `prepare_validator/1`, +and request and response can be validated using `populate_request/3` +and `validate_response/4` respectively. + +For example, the user-defined `Module:accept_callback/4` can be implemented as follows: +``` +-spec accept_callback( + Class :: openapi_api:class(), + OperationID :: openapi_api:operation_id(), + Req :: cowboy_req:req(), + Context :: openapi_logic_handler:context()) -> + {openapi_logic_handler:accept_callback_return(), + cowboy_req:req(), + openapi_logic_handler:context()}. +accept_callback(Class, OperationID, Req0, Context0) -> + ValidatorState = openapi_api:prepare_validator(), + case openapi_api:populate_request(OperationID, Req0, ValidatorState) of + {ok, Model, Req1} -> + Context1 = maps:merge(Context0, Model), + case do_accept_callback(Class, OperationID, Req1, Context1) of + {false, Req2, Context2} -> + {false, Req2, Context2}; + {{true, Code, Body}, Req2, Context2} -> + case validate_response(OperationID, Code, Body, ValidatorState) of + ok -> + process_response({ok, Code, Body}, Req2, Context2); + {error, Reason} -> + process_response({error, Reason}, Req2, Context2) + end + end; + {error, Reason, Req1} -> + process_response({error, Reason}, Req1, Context0) + end. +``` +""". --export([request_params/1]). --export([request_param_info/2]). --export([populate_request/3]). --export([validate_response/4]). -%% exported to silence openapi complains --export([get_value/3, validate_response_body/4]). +-export([prepare_validator/0, prepare_validator/1, prepare_validator/2]). +-export([populate_request/3, validate_response/4]). --type operation_id() :: atom(). --type request_param() :: atom(). +-ignore_xref([populate_request/3, validate_response/4]). +-ignore_xref([prepare_validator/0, prepare_validator/1, prepare_validator/2]). --export_type([operation_id/0]). +-type class() :: + 'default'. --spec request_params(OperationID :: operation_id()) -> [Param :: request_param()]. +-type operation_id() :: + 'get-api-all.json' | %% All Products + 'get-api-:product-:cycle.json' | %% Single cycle details + 'get-api-:product.json' | %% Get All Details + {error, unknown_operation}. -request_params('GetApiAllJson') -> - [ - ]; - -request_params('GetApiProductCycleJson') -> - [ - 'product', - 'cycle' - ]; +-type request_param() :: atom(). -request_params('GetApiProductJson') -> - [ - 'product' - ]; +-export_type([class/0, operation_id/0]). -request_params(_) -> - error(unknown_operation). +-dialyzer({nowarn_function, [validate_response_body/4]}). -type rule() :: - {type, 'binary'} | - {type, 'integer'} | - {type, 'float'} | - {type, 'binary'} | - {type, 'boolean'} | - {type, 'date'} | - {type, 'datetime'} | + {type, binary} | + {type, byte} | + {type, integer} | + {type, float} | + {type, boolean} | + {type, date} | + {type, datetime} | {enum, [atom()]} | {max, Max :: number()} | {exclusive_max, Max :: number()} | @@ -49,231 +76,238 @@ request_params(_) -> {max_length, MaxLength :: integer()} | {min_length, MaxLength :: integer()} | {pattern, Pattern :: string()} | + {schema, object | list, binary()} | schema | required | not_required. --spec request_param_info(OperationID :: operation_id(), Name :: request_param()) -> #{ - source => qs_val | binding | header | body, - rules => [rule()] -}. +-doc #{equiv => prepare_validator/2}. +-spec prepare_validator() -> jesse_state:state(). +prepare_validator() -> + prepare_validator(<<"http://json-schema.org/draft-06/schema#">>). + +-doc #{equiv => prepare_validator/2}. +-spec prepare_validator(binary()) -> jesse_state:state(). +prepare_validator(SchemaVer) -> + prepare_validator(get_openapi_path(), SchemaVer). + +-doc """ +Loads the JSON schema and the desired validation draft into a `t:jesse_state:state()`. +""". +-spec prepare_validator(file:name_all(), binary()) -> jesse_state:state(). +prepare_validator(OpenApiPath, SchemaVer) -> + {ok, FileContents} = file:read_file(OpenApiPath), + R = json:decode(FileContents), + jesse_state:new(R, [{default_schema_ver, SchemaVer}]). + +-doc """ +Automatically loads the entire body from the cowboy req +and validates the JSON body against the schema. +""". +-spec populate_request( + OperationID :: operation_id(), + Req :: cowboy_req:req(), + ValidatorState :: jesse_state:state()) -> + {ok, Model :: #{}, Req :: cowboy_req:req()} | + {error, Reason :: any(), Req :: cowboy_req:req()}. +populate_request(OperationID, Req, ValidatorState) -> + Params = request_params(OperationID), + populate_request_params(OperationID, Params, Req, ValidatorState, #{}). +-doc """ +Validates that the provided `Code` and `Body` comply with the `ValidatorState` schema +for the `OperationID` operation. +""". +-spec validate_response( + OperationID :: operation_id(), + Code :: 200..599, + Body :: jesse:json_term(), + ValidatorState :: jesse_state:state()) -> + ok | {ok, term()} | [ok | {ok, term()}] | no_return(). +validate_response('get-api-all.json', 200, Body, ValidatorState) -> + validate_response_body('list', 'string', Body, ValidatorState); +validate_response('get-api-:product-:cycle.json', 200, Body, ValidatorState) -> + validate_response_body('cycle', 'cycle', Body, ValidatorState); +validate_response('get-api-:product.json', 200, Body, ValidatorState) -> + validate_response_body('list', 'cycle', Body, ValidatorState); +validate_response(_OperationID, _Code, _Body, _ValidatorState) -> + ok. +%%% +-spec request_params(OperationID :: operation_id()) -> [Param :: request_param()]. +request_params('get-api-all.json') -> + [ + ]; +request_params('get-api-:product-:cycle.json') -> + [ + 'product', + 'cycle' + ]; +request_params('get-api-:product.json') -> + [ + 'product' + ]; +request_params(_) -> + error(unknown_operation). -request_param_info('GetApiProductCycleJson', 'product') -> +-spec request_param_info(OperationID :: operation_id(), Name :: request_param()) -> + #{source => qs_val | binding | header | body, rules => [rule()]}. +request_param_info('get-api-:product-:cycle.json', 'product') -> #{ - source => binding , + source => binding, rules => [ - {type, 'binary'}, + {type, binary}, required ] }; - -request_param_info('GetApiProductCycleJson', 'cycle') -> +request_param_info('get-api-:product-:cycle.json', 'cycle') -> #{ - source => binding , + source => binding, rules => [ - {type, 'binary'}, + {type, binary}, required ] }; - -request_param_info('GetApiProductJson', 'product') -> +request_param_info('get-api-:product.json', 'product') -> #{ - source => binding , + source => binding, rules => [ - {type, 'binary'}, + {type, binary}, required ] }; - request_param_info(OperationID, Name) -> error({unknown_param, OperationID, Name}). --spec populate_request( - OperationID :: operation_id(), - Req :: cowboy_req:req(), - ValidatorState :: jesse_state:state() -) -> - {ok, Model :: #{}, Req :: cowboy_req:req()} | - {error, Reason :: any(), Req :: cowboy_req:req()}. - -populate_request(OperationID, Req, ValidatorState) -> - Params = request_params(OperationID), - populate_request_params(OperationID, Params, Req, ValidatorState, #{}). - +-spec populate_request_params( + operation_id(), [request_param()], cowboy_req:req(), jesse_state:state(), map()) -> + {ok, map(), cowboy_req:req()} | {error, _, cowboy_req:req()}. populate_request_params(_, [], Req, _, Model) -> {ok, Model, Req}; - -populate_request_params(OperationID, [FieldParams | T], Req0, ValidatorState, Model) -> - case populate_request_param(OperationID, FieldParams, Req0, ValidatorState) of - {ok, K, V, Req} -> - populate_request_params(OperationID, T, Req, ValidatorState, maps:put(K, V, Model)); +populate_request_params(OperationID, [ReqParamName | T], Req0, ValidatorState, Model0) -> + case populate_request_param(OperationID, ReqParamName, Req0, ValidatorState) of + {ok, V, Req} -> + Model = maps:put(ReqParamName, V, Model0), + populate_request_params(OperationID, T, Req, ValidatorState, Model); Error -> Error end. -populate_request_param(OperationID, Name, Req0, ValidatorState) -> - #{rules := Rules, source := Source} = request_param_info(OperationID, Name), - case get_value(Source, Name, Req0) of +-spec populate_request_param( + operation_id(), request_param(), cowboy_req:req(), jesse_state:state()) -> + {ok, term(), cowboy_req:req()} | {error, term(), cowboy_req:req()}. +populate_request_param(OperationID, ReqParamName, Req0, ValidatorState) -> + #{rules := Rules, source := Source} = request_param_info(OperationID, ReqParamName), + case get_value(Source, ReqParamName, Req0) of {error, Reason, Req} -> {error, Reason, Req}; {Value, Req} -> - case prepare_param(Rules, Name, Value, ValidatorState) of - {ok, Result} -> {ok, Name, Result, Req}; + case prepare_param(Rules, ReqParamName, Value, ValidatorState) of + {ok, Result} -> {ok, Result, Req}; {error, Reason} -> {error, Reason, Req} end end. --spec validate_response( - OperationID :: operation_id(), - Code :: 200..599, - Body :: jesse:json_term(), - ValidatorState :: jesse_state:state() -) -> ok | no_return(). - - -validate_response('GetApiAllJson', 200, Body, ValidatorState) -> - validate_response_body('list', 'string', Body, ValidatorState); - -validate_response('GetApiProductCycleJson', 200, Body, ValidatorState) -> - validate_response_body('cycle', 'cycle', Body, ValidatorState); - -validate_response('GetApiProductJson', 200, Body, ValidatorState) -> - validate_response_body('list', 'cycle', Body, ValidatorState); - - -validate_response(_OperationID, _Code, _Body, _ValidatorState) -> - ok. - -validate_response_body('list', ReturnBaseType, Body, ValidatorState) -> +validate_response_body(list, ReturnBaseType, Body, ValidatorState) -> [ - validate(schema, ReturnBaseType, Item, ValidatorState) + validate(schema, Item, ReturnBaseType, ValidatorState) || Item <- Body]; validate_response_body(_, ReturnBaseType, Body, ValidatorState) -> - validate(schema, ReturnBaseType, Body, ValidatorState). + validate(schema, Body, ReturnBaseType, ValidatorState). -%%% -validate(Rule = required, Name, Value, _ValidatorState) -> - case Value of - undefined -> validation_error(Rule, Name); - _ -> ok - end; - -validate(not_required, _Name, _Value, _ValidatorState) -> +-spec validate(rule(), term(), request_param(), jesse_state:state()) -> + ok | {ok, term()}. +validate(required, undefined, ReqParamName, _) -> + validation_error(required, ReqParamName, undefined); +validate(required, _Value, _, _) -> ok; - -validate(_, _Name, undefined, _ValidatorState) -> +validate(not_required, _Value, _, _) -> ok; - -validate(Rule = {type, 'integer'}, Name, Value, _ValidatorState) -> - try - {ok, openapi_utils:to_int(Value)} - catch - error:badarg -> - validation_error(Rule, Name) +validate(_, undefined, _, _) -> + ok; +validate({type, boolean}, Value, _, _) when is_boolean(Value) -> + ok; +validate({type, integer}, Value, _, _) when is_integer(Value) -> + ok; +validate({type, float}, Value, _, _) when is_float(Value) -> + ok; +validate({type, binary}, Value, _, _) when is_binary(Value) -> + ok; +validate({max, Max}, Value, _, _) when Value =< Max -> + ok; +validate({min, Min}, Value, _, _) when Min =< Value -> + ok; +validate({exclusive_max, Max}, Value, _, _) when Value < Max -> + ok; +validate({exclusive_min, Min}, Value, _, _) when Min < Value -> + ok; +validate({max_length, MaxLength}, Value, _, _) when is_binary(Value), byte_size(Value) =< MaxLength -> + ok; +validate({min_length, MinLength}, Value, _, _) when is_binary(Value), MinLength =< byte_size(Value) -> + ok; +validate(Rule = {type, byte}, Value, ReqParamName, _) when is_binary(Value) -> + try base64:decode(Value) of + Decoded -> {ok, Decoded} + catch error:_Error -> validation_error(Rule, ReqParamName, Value) end; - -validate(Rule = {type, 'float'}, Name, Value, _ValidatorState) -> +validate(Rule = {type, boolean}, Value, ReqParamName, _) when is_binary(Value) -> + case to_binary(string:lowercase(Value)) of + <<"true">> -> {ok, true}; + <<"false">> -> {ok, false}; + _ -> validation_error(Rule, ReqParamName, Value) + end; +validate(Rule = {type, integer}, Value, ReqParamName, _) when is_binary(Value) -> try - {ok, openapi_utils:to_float(Value)} + {ok, binary_to_integer(Value)} catch error:badarg -> - validation_error(Rule, Name) - end; - -validate(Rule = {type, 'binary'}, Name, Value, _ValidatorState) -> - case is_binary(Value) of - true -> ok; - false -> validation_error(Rule, Name) + validation_error(Rule, ReqParamName, Value) end; - -validate(_Rule = {type, 'boolean'}, _Name, Value, _ValidatorState) when is_boolean(Value) -> - {ok, Value}; - -validate(Rule = {type, 'boolean'}, Name, Value, _ValidatorState) -> - V = binary_to_lower(Value), +validate(Rule = {type, float}, Value, ReqParamName, _) when is_binary(Value) -> try - case binary_to_existing_atom(V, utf8) of - B when is_boolean(B) -> {ok, B}; - _ -> validation_error(Rule, Name) - end + {ok, binary_to_float(Value)} catch error:badarg -> - validation_error(Rule, Name) + validation_error(Rule, ReqParamName, Value) end; - -validate(Rule = {type, 'date'}, Name, Value, _ValidatorState) -> +validate(Rule = {type, date}, Value, ReqParamName, _) -> case is_binary(Value) of true -> ok; - false -> validation_error(Rule, Name) + false -> validation_error(Rule, ReqParamName, Value) end; - -validate(Rule = {type, 'datetime'}, Name, Value, _ValidatorState) -> - case is_binary(Value) of - true -> ok; - false -> validation_error(Rule, Name) +validate(Rule = {type, datetime}, Value, ReqParamName, _) -> + try calendar:rfc3339_to_system_time(binary_to_list(Value)) of + _ -> ok + catch error:_Error -> validation_error(Rule, ReqParamName, Value) end; - -validate(Rule = {enum, Values}, Name, Value, _ValidatorState) -> +validate(Rule = {enum, Values}, Value, ReqParamName, _) -> try FormattedValue = erlang:binary_to_existing_atom(Value, utf8), case lists:member(FormattedValue, Values) of true -> {ok, FormattedValue}; - false -> validation_error(Rule, Name) + false -> validation_error(Rule, ReqParamName, Value) end catch error:badarg -> - validation_error(Rule, Name) - end; - -validate(Rule = {max, Max}, Name, Value, _ValidatorState) -> - case Value =< Max of - true -> ok; - false -> validation_error(Rule, Name) - end; - -validate(Rule = {exclusive_max, ExclusiveMax}, Name, Value, _ValidatorState) -> - case Value > ExclusiveMax of - true -> ok; - false -> validation_error(Rule, Name) - end; - -validate(Rule = {min, Min}, Name, Value, _ValidatorState) -> - case Value >= Min of - true -> ok; - false -> validation_error(Rule, Name) - end; - -validate(Rule = {exclusive_min, ExclusiveMin}, Name, Value, _ValidatorState) -> - case Value =< ExclusiveMin of - true -> ok; - false -> validation_error(Rule, Name) - end; - -validate(Rule = {max_length, MaxLength}, Name, Value, _ValidatorState) -> - case size(Value) =< MaxLength of - true -> ok; - false -> validation_error(Rule, Name) - end; - -validate(Rule = {min_length, MinLength}, Name, Value, _ValidatorState) -> - case size(Value) >= MinLength of - true -> ok; - false -> validation_error(Rule, Name) + validation_error(Rule, ReqParamName, Value) end; - -validate(Rule = {pattern, Pattern}, Name, Value, _ValidatorState) -> +validate(Rule = {pattern, Pattern}, Value, ReqParamName, _) -> {ok, MP} = re:compile(Pattern), case re:run(Value, MP) of {match, _} -> ok; - _ -> validation_error(Rule, Name) + _ -> validation_error(Rule, ReqParamName, Value) end; - -validate(Rule = schema, Name, Value, ValidatorState) -> - Definition = list_to_binary("#/components/schemas/" ++ openapi_utils:to_list(Name)), +validate(schema, Value, ReqParamName, ValidatorState) -> + Definition = iolist_to_binary(["#/components/schemas/", atom_to_binary(ReqParamName, utf8)]), + validate({schema, object, Definition}, Value, ReqParamName, ValidatorState); +validate({schema, list, Definition}, Value, ReqParamName, ValidatorState) -> + lists:foreach( + fun(Item) -> + validate({schema, object, Definition}, Item, ReqParamName, ValidatorState) + end, Value); +validate(Rule = {schema, object, Definition}, Value, ReqParamName, ValidatorState) -> try _ = validate_with_schema(Value, Definition, ValidatorState), ok @@ -283,7 +317,7 @@ validate(Rule = schema, Name, Value, ValidatorState) -> type => schema_invalid, error => Error }, - validation_error(Rule, Name, Info); + validation_error(Rule, ReqParamName, Value, Info); throw:[{data_invalid, Schema, Error, _, Path} | _] -> Info = #{ type => data_invalid, @@ -291,59 +325,63 @@ validate(Rule = schema, Name, Value, ValidatorState) -> schema => Schema, path => Path }, - validation_error(Rule, Name, Info) + validation_error(Rule, ReqParamName, Value, Info) end; +validate(Rule, Value, ReqParamName, _) -> + validation_error(Rule, ReqParamName, Value). -validate(Rule, Name, _Value, _ValidatorState) -> - error_logger:info_msg("Can't validate ~p with ~p", [Name, Rule]), - error({unknown_validation_rule, Rule}). - --spec validation_error(Rule :: any(), Name :: any()) -> no_return(). - -validation_error(ViolatedRule, Name) -> - validation_error(ViolatedRule, Name, #{}). +-spec validation_error(rule(), request_param(), term()) -> no_return(). +validation_error(ViolatedRule, Name, Value) -> + validation_error(ViolatedRule, Name, Value, #{}). --spec validation_error(Rule :: any(), Name :: any(), Info :: #{}) -> no_return(). +-spec validation_error(rule(), request_param(), term(), Info :: #{_ := _}) -> no_return(). +validation_error(ViolatedRule, Name, Value, Info) -> + throw({wrong_param, Name, Value, ViolatedRule, Info}). -validation_error(ViolatedRule, Name, Info) -> - throw({wrong_param, Name, ViolatedRule, Info}). - --spec get_value(body | qs_val | header | binding, Name :: any(), Req0 :: cowboy_req:req()) -> - {Value :: any(), Req :: cowboy_req:req()} | - {error, Reason :: any(), Req :: cowboy_req:req()}. +-spec get_value(body | qs_val | header | binding, request_param(), cowboy_req:req()) -> + {any(), cowboy_req:req()} | + {error, any(), cowboy_req:req()}. get_value(body, _Name, Req0) -> - {ok, Body, Req} = cowboy_req:read_body(Req0), + {ok, Body, Req} = read_entire_body(Req0), case prepare_body(Body) of {error, Reason} -> {error, Reason, Req}; Value -> {Value, Req} end; - get_value(qs_val, Name, Req) -> QS = cowboy_req:parse_qs(Req), - Value = openapi_utils:get_opt(openapi_utils:to_qs(Name), QS), + Value = get_opt(to_qs(Name), QS), {Value, Req}; - get_value(header, Name, Req) -> Headers = cowboy_req:headers(Req), - Value = maps:get(openapi_utils:to_header(Name), Headers, undefined), + Value = maps:get(to_header(Name), Headers, undefined), {Value, Req}; - get_value(binding, Name, Req) -> - Value = cowboy_req:binding(openapi_utils:to_binding(Name), Req), + Value = cowboy_req:binding(Name, Req), {Value, Req}. +-spec read_entire_body(cowboy_req:req()) -> {ok, binary(), cowboy_req:req()}. +read_entire_body(Req) -> + read_entire_body(Req, []). + +-spec read_entire_body(cowboy_req:req(), iodata()) -> {ok, binary(), cowboy_req:req()}. +read_entire_body(Request, Acc) -> % { + case cowboy_req:read_body(Request) of + {ok, Data, NewRequest} -> + {ok, iolist_to_binary(lists:reverse([Data | Acc])), NewRequest}; + {more, Data, NewRequest} -> + read_entire_body(NewRequest, [Data | Acc]) + end. + +prepare_body(<<>>) -> + <<>>; prepare_body(Body) -> - case Body of - <<"">> -> <<"">>; - _ -> - try - jsx:decode(Body, [return_maps]) - catch - error:_ -> - {error, {invalid_body, not_json, Body}} - end + try + json:decode(Body) + catch + error:Error -> + {error, {invalid_json, Body, Error}} end. validate_with_schema(Body, Definition, ValidatorState) -> @@ -353,23 +391,71 @@ validate_with_schema(Body, Definition, ValidatorState) -> ValidatorState ). -prepare_param(Rules, Name, Value, ValidatorState) -> +-spec prepare_param([rule()], request_param(), term(), jesse_state:state()) -> + {ok, term()} | {error, Reason :: any()}. +prepare_param(Rules, ReqParamName, Value, ValidatorState) -> + Fun = fun(Rule, Acc) -> + case validate(Rule, Acc, ReqParamName, ValidatorState) of + ok -> Acc; + {ok, Prepared} -> Prepared + end + end, try - Result = lists:foldl( - fun(Rule, Acc) -> - case validate(Rule, Name, Acc, ValidatorState) of - ok -> Acc; - {ok, Prepared} -> Prepared - end - end, - Value, - Rules - ), + Result = lists:foldl(Fun, Value, Rules), {ok, Result} catch throw:Reason -> {error, Reason} end. -binary_to_lower(V) when is_binary(V) -> - list_to_binary(string:to_lower(openapi_utils:to_list(V))). +-spec to_binary(iodata()) -> binary(). +to_binary(V) when is_binary(V) -> V; +to_binary(V) when is_list(V) -> iolist_to_binary(V). + +-spec to_header(request_param()) -> binary(). +to_header(Name) -> + to_binary(string:lowercase(atom_to_binary(Name, utf8))). + +-spec to_qs(request_param()) -> binary(). +to_qs(Name) -> + atom_to_binary(Name, utf8). + +-spec get_opt(any(), []) -> any(). +get_opt(Key, Opts) -> + get_opt(Key, Opts, undefined). + +-spec get_opt(any(), [], any()) -> any(). +get_opt(Key, Opts, Default) -> + case lists:keyfind(Key, 1, Opts) of + {_, Value} -> Value; + false -> Default + end. + +get_openapi_path() -> + {ok, AppName} = application:get_application(?MODULE), + filename:join(priv_dir(AppName), "openapi.json"). + +-include_lib("kernel/include/file.hrl"). + +-spec priv_dir(Application :: atom()) -> file:name_all(). +priv_dir(AppName) -> + case code:priv_dir(AppName) of + Value when is_list(Value) -> + Value ++ "/"; + _Error -> + select_priv_dir([filename:join(["apps", atom_to_list(AppName), "priv"]), "priv"]) + end. + +select_priv_dir(Paths) -> + case lists:dropwhile(fun test_priv_dir/1, Paths) of + [Path | _] -> Path; + _ -> exit(no_priv_dir) + end. + +test_priv_dir(Path) -> + case file:read_file_info(Path) of + {ok, #file_info{type = directory}} -> + false; + _ -> + true + end. diff --git a/clients/erlang-server/generated/src/openapi_auth.erl b/clients/erlang-server/generated/src/openapi_auth.erl index d0746ab..0e7beb1 100644 --- a/clients/erlang-server/generated/src/openapi_auth.erl +++ b/clients/erlang-server/generated/src/openapi_auth.erl @@ -2,45 +2,44 @@ -export([authorize_api_key/5]). --spec authorize_api_key( - LogicHandler :: atom(), - OperationID :: openapi_api:operation_id(), - From :: header | qs_val, - KeyParam :: iodata() | atom(), - Req ::cowboy_req:req() -)-> {true, Context :: #{binary() => any()}, Req ::cowboy_req:req()} | - {false, AuthHeader :: binary(), Req ::cowboy_req:req()}. - -authorize_api_key(LogicHandler, OperationID, From, KeyParam, Req0) -> +-spec authorize_api_key(openapi_logic_handler:api_key_callback(), + openapi_api:operation_id(), + header | qs_val, + iodata() | atom(), + cowboy_req:req()) -> + {true, openapi_logic_handler:context(), cowboy_req:req()} | + {false, binary(), cowboy_req:req()}. +authorize_api_key(Handler, OperationID, From, KeyParam, Req0) -> {ApiKey, Req} = get_api_key(From, KeyParam, Req0), case ApiKey of undefined -> - AuthHeader = <<"">>, + AuthHeader = <<>>, {false, AuthHeader, Req}; _ -> - Result = openapi_logic_handler:authorize_api_key( - LogicHandler, - OperationID, - ApiKey - ), - case Result of - false -> - AuthHeader = <<"">>, + case Handler(OperationID, ApiKey) of + {true, Context} -> + {true, Context, Req}; + {false, AuthHeader} -> {false, AuthHeader, Req} end end. get_api_key(header, KeyParam, Req) -> Headers = cowboy_req:headers(Req), - { - maps:get( - openapi_utils:to_header(KeyParam), - Headers, - undefined - ), - Req - }; - + {maps:get(KeyParam, Headers, undefined), Req}; get_api_key(qs_val, KeyParam, Req) -> QS = cowboy_req:parse_qs(Req), - { openapi_utils:get_opt(KeyParam, QS), Req}. + {get_opt(KeyParam, QS), Req}. + +-spec get_opt(any(), []) -> any(). +get_opt(Key, Opts) -> + get_opt(Key, Opts, undefined). + +-spec get_opt(any(), [], any()) -> any(). +get_opt(Key, Opts, Default) -> + case lists:keyfind(Key, 1, Opts) of + {_, Value} -> + Value; + false -> + Default + end. diff --git a/clients/erlang-server/generated/src/openapi_default_handler.erl b/clients/erlang-server/generated/src/openapi_default_handler.erl index e9463c8..38ad33f 100644 --- a/clients/erlang-server/generated/src/openapi_default_handler.erl +++ b/clients/erlang-server/generated/src/openapi_default_handler.erl @@ -1,241 +1,143 @@ -%% basic handler -module(openapi_default_handler). +-moduledoc """ +Exposes the following operation IDs: + +- `GET` to `/api/all.json`, OperationId: `get-api-all.json`: +All Products. +Return a list of all products. Each of these can be used for the other API endpoints. + +- `GET` to `/api/:product/:cycle.json`, OperationId: `get-api-:product-:cycle.json`: +Single cycle details. +Gets details of a single cycle + +- `GET` to `/api/:product.json`, OperationId: `get-api-:product.json`: +Get All Details. +Get EoL dates of all cycles of a given product. + +""". + +-behaviour(cowboy_rest). + +-include_lib("kernel/include/logger.hrl"). %% Cowboy REST callbacks --export([allowed_methods/2]). -export([init/2]). --export([allow_missing_post/2]). +-export([allowed_methods/2]). -export([content_types_accepted/2]). -export([content_types_provided/2]). -export([delete_resource/2]). -export([is_authorized/2]). --export([known_content_type/2]). --export([malformed_request/2]). -export([valid_content_headers/2]). --export([valid_entity_length/2]). +-export([handle_type_accepted/2, handle_type_provided/2]). -%% Handlers --export([handle_request_json/2]). +-ignore_xref([handle_type_accepted/2, handle_type_provided/2]). --record(state, { - operation_id :: openapi_api:operation_id(), - logic_handler :: atom(), - validator_state :: jesse_state:state(), - context=#{} :: #{} -}). +-export_type([class/0, operation_id/0]). --type state() :: state(). +-type class() :: 'default'. --spec init(Req :: cowboy_req:req(), Opts :: openapi_router:init_opts()) -> - {cowboy_rest, Req :: cowboy_req:req(), State :: state()}. +-type operation_id() :: + 'get-api-all.json' %% All Products + | 'get-api-:product-:cycle.json' %% Single cycle details + | 'get-api-:product.json'. %% Get All Details -init(Req, {Operations, LogicHandler, ValidatorMod}) -> - Method = cowboy_req:method(Req), - OperationID = maps:get(Method, Operations, undefined), - ValidatorState = ValidatorMod:get_validator_state(), +-record(state, + {operation_id :: operation_id(), + accept_callback :: openapi_logic_handler:accept_callback(), + provide_callback :: openapi_logic_handler:provide_callback(), + api_key_handler :: openapi_logic_handler:api_key_callback(), + context = #{} :: openapi_logic_handler:context()}). - error_logger:info_msg("Attempt to process operation: ~p", [OperationID]), +-type state() :: #state{}. - State = #state{ - operation_id = OperationID, - logic_handler = LogicHandler, - validator_state = ValidatorState - }, +-spec init(cowboy_req:req(), openapi_router:init_opts()) -> + {cowboy_rest, cowboy_req:req(), state()}. +init(Req, {Operations, Module}) -> + Method = cowboy_req:method(Req), + OperationID = maps:get(Method, Operations, undefined), + ?LOG_INFO(#{what => "Attempt to process operation", + method => Method, + operation_id => OperationID}), + State = #state{operation_id = OperationID, + accept_callback = fun Module:accept_callback/4, + provide_callback = fun Module:provide_callback/4, + api_key_handler = fun Module:authorize_api_key/2}, {cowboy_rest, Req, State}. --spec allowed_methods(Req :: cowboy_req:req(), State :: state()) -> - {Value :: [binary()], Req :: cowboy_req:req(), State :: state()}. - - -allowed_methods( - Req, - State = #state{ - operation_id = 'GetApiAllJson' - } -) -> +-spec allowed_methods(cowboy_req:req(), state()) -> + {[binary()], cowboy_req:req(), state()}. +allowed_methods(Req, #state{operation_id = 'get-api-all.json'} = State) -> {[<<"GET">>], Req, State}; - -allowed_methods( - Req, - State = #state{ - operation_id = 'GetApiProductCycleJson' - } -) -> +allowed_methods(Req, #state{operation_id = 'get-api-:product-:cycle.json'} = State) -> {[<<"GET">>], Req, State}; - -allowed_methods( - Req, - State = #state{ - operation_id = 'GetApiProductJson' - } -) -> +allowed_methods(Req, #state{operation_id = 'get-api-:product.json'} = State) -> {[<<"GET">>], Req, State}; - allowed_methods(Req, State) -> {[], Req, State}. --spec is_authorized(Req :: cowboy_req:req(), State :: state()) -> - { - Value :: true | {false, AuthHeader :: iodata()}, - Req :: cowboy_req:req(), - State :: state() - }. +-spec is_authorized(cowboy_req:req(), state()) -> + {true | {false, iodata()}, cowboy_req:req(), state()}. is_authorized(Req, State) -> {true, Req, State}. --spec content_types_accepted(Req :: cowboy_req:req(), State :: state()) -> - { - Value :: [{binary(), AcceptResource :: atom()}], - Req :: cowboy_req:req(), - State :: state() - }. - +-spec content_types_accepted(cowboy_req:req(), state()) -> + {[{binary(), atom()}], cowboy_req:req(), state()}. +content_types_accepted(Req, #state{operation_id = 'get-api-all.json'} = State) -> + {[], Req, State}; +content_types_accepted(Req, #state{operation_id = 'get-api-:product-:cycle.json'} = State) -> + {[], Req, State}; +content_types_accepted(Req, #state{operation_id = 'get-api-:product.json'} = State) -> + {[], Req, State}; content_types_accepted(Req, State) -> - {[ - {<<"application/json">>, handle_request_json} - ], Req, State}. - --spec valid_content_headers(Req :: cowboy_req:req(), State :: state()) -> - {Value :: boolean(), Req :: cowboy_req:req(), State :: state()}. - -valid_content_headers( - Req0, - State = #state{ - operation_id = 'GetApiAllJson' - } -) -> - Headers = [], - {Result, Req} = validate_headers(Headers, Req0), - {Result, Req, State}; - -valid_content_headers( - Req0, - State = #state{ - operation_id = 'GetApiProductCycleJson' - } -) -> - Headers = [], - {Result, Req} = validate_headers(Headers, Req0), - {Result, Req, State}; - -valid_content_headers( - Req0, - State = #state{ - operation_id = 'GetApiProductJson' - } -) -> - Headers = [], - {Result, Req} = validate_headers(Headers, Req0), - {Result, Req, State}; + {[], Req, State}. +-spec valid_content_headers(cowboy_req:req(), state()) -> + {boolean(), cowboy_req:req(), state()}. +valid_content_headers(Req, #state{operation_id = 'get-api-all.json'} = State) -> + {true, Req, State}; +valid_content_headers(Req, #state{operation_id = 'get-api-:product-:cycle.json'} = State) -> + {true, Req, State}; +valid_content_headers(Req, #state{operation_id = 'get-api-:product.json'} = State) -> + {true, Req, State}; valid_content_headers(Req, State) -> {false, Req, State}. --spec content_types_provided(Req :: cowboy_req:req(), State :: state()) -> - { - Value :: [{binary(), ProvideResource :: atom()}], - Req :: cowboy_req:req(), - State :: state() - }. - -content_types_provided(Req, State) -> +-spec content_types_provided(cowboy_req:req(), state()) -> + {[{binary(), atom()}], cowboy_req:req(), state()}. +content_types_provided(Req, #state{operation_id = 'get-api-all.json'} = State) -> {[ - {<<"application/json">>, handle_request_json} - ], Req, State}. - --spec malformed_request(Req :: cowboy_req:req(), State :: state()) -> - {Value :: false, Req :: cowboy_req:req(), State :: state()}. - -malformed_request(Req, State) -> - {false, Req, State}. - --spec allow_missing_post(Req :: cowboy_req:req(), State :: state()) -> - {Value :: false, Req :: cowboy_req:req(), State :: state()}. - -allow_missing_post(Req, State) -> - {false, Req, State}. - --spec delete_resource(Req :: cowboy_req:req(), State :: state()) -> - processed_response(). + {<<"application/json">>, handle_type_provided} + ], Req, State}; +content_types_provided(Req, #state{operation_id = 'get-api-:product-:cycle.json'} = State) -> + {[ + {<<"application/json">>, handle_type_provided} + ], Req, State}; +content_types_provided(Req, #state{operation_id = 'get-api-:product.json'} = State) -> + {[ + {<<"application/json">>, handle_type_provided} + ], Req, State}; +content_types_provided(Req, State) -> + {[], Req, State}. +-spec delete_resource(cowboy_req:req(), state()) -> + {boolean(), cowboy_req:req(), state()}. delete_resource(Req, State) -> - handle_request_json(Req, State). - --spec known_content_type(Req :: cowboy_req:req(), State :: state()) -> - {Value :: true, Req :: cowboy_req:req(), State :: state()}. - -known_content_type(Req, State) -> - {true, Req, State}. - --spec valid_entity_length(Req :: cowboy_req:req(), State :: state()) -> - {Value :: true, Req :: cowboy_req:req(), State :: state()}. - -valid_entity_length(Req, State) -> - %% @TODO check the length - {true, Req, State}. - -%%%% --type result_ok() :: { - ok, - {Status :: cowboy:http_status(), Headers :: cowboy:http_headers(), Body :: iodata()} -}. - --type result_error() :: {error, Reason :: any()}. - --type processed_response() :: {stop, cowboy_req:req(), state()}. - --spec process_response(result_ok() | result_error(), cowboy_req:req(), state()) -> - processed_response(). - -process_response(Response, Req0, State = #state{operation_id = OperationID}) -> - case Response of - {ok, {Code, Headers, Body}} -> - Req = cowboy_req:reply(Code, Headers, Body, Req0), - {stop, Req, State}; - {error, Message} -> - error_logger:error_msg("Unable to process request for ~p: ~p", [OperationID, Message]), - - Req = cowboy_req:reply(400, Req0), - {stop, Req, State} - end. - --spec handle_request_json(cowboy_req:req(), state()) -> processed_response(). - -handle_request_json( - Req0, - State = #state{ - operation_id = OperationID, - logic_handler = LogicHandler, - validator_state = ValidatorState - } -) -> - case openapi_api:populate_request(OperationID, Req0, ValidatorState) of - {ok, Populated, Req1} -> - {Code, Headers, Body} = openapi_logic_handler:handle_request( - LogicHandler, - OperationID, - Req1, - maps:merge(State#state.context, Populated) - ), - _ = openapi_api:validate_response( - OperationID, - Code, - Body, - ValidatorState - ), - PreparedBody = prepare_body(Code, Body), - Response = {ok, {Code, Headers, PreparedBody}}, - process_response(Response, Req1, State); - {error, Reason, Req1} -> - process_response({error, Reason}, Req1, State) - end. - -validate_headers(_, Req) -> {true, Req}. - -prepare_body(204, Body) when map_size(Body) == 0; length(Body) == 0 -> - <<>>; -prepare_body(304, Body) when map_size(Body) == 0; length(Body) == 0 -> - <<>>; -prepare_body(_Code, Body) -> - jsx:encode(Body). + {Res, Req1, State1} = handle_type_accepted(Req, State), + {true =:= Res, Req1, State1}. + +-spec handle_type_accepted(cowboy_req:req(), state()) -> + { openapi_logic_handler:accept_callback_return(), cowboy_req:req(), state()}. +handle_type_accepted(Req, #state{operation_id = OperationID, + accept_callback = Handler, + context = Context} = State) -> + {Res, Req1, Context1} = Handler(default, OperationID, Req, Context), + {Res, Req1, State#state{context = Context1}}. + +-spec handle_type_provided(cowboy_req:req(), state()) -> + {cowboy_req:resp_body(), cowboy_req:req(), state()}. +handle_type_provided(Req, #state{operation_id = OperationID, + provide_callback = Handler, + context = Context} = State) -> + {Res, Req1, Context1} = Handler(default, OperationID, Req, Context), + {Res, Req1, State#state{context = Context1}}. diff --git a/clients/erlang-server/generated/src/openapi_default_logic_handler.erl b/clients/erlang-server/generated/src/openapi_default_logic_handler.erl deleted file mode 100644 index 97ff7b6..0000000 --- a/clients/erlang-server/generated/src/openapi_default_logic_handler.erl +++ /dev/null @@ -1,20 +0,0 @@ --module(openapi_default_logic_handler). - --behaviour(openapi_logic_handler). - --export([handle_request/3]). - - --spec handle_request( - OperationID :: openapi_api:operation_id(), - Req :: cowboy_req:req(), - Context :: #{} -) -> - {Status :: cowboy:http_status(), Headers :: cowboy:http_headers(), Body :: jsx:json_term()}. - -handle_request(OperationID, Req, Context) -> - error_logger:error_msg( - "Got not implemented request to process: ~p~n", - [{OperationID, Req, Context}] - ), - {501, #{}, #{}}. diff --git a/clients/erlang-server/generated/src/openapi_logic_handler.erl b/clients/erlang-server/generated/src/openapi_logic_handler.erl index 8eb3d82..bdc2d8a 100644 --- a/clients/erlang-server/generated/src/openapi_logic_handler.erl +++ b/clients/erlang-server/generated/src/openapi_logic_handler.erl @@ -1,32 +1,63 @@ -module(openapi_logic_handler). --export([handle_request/4]). --export([authorize_api_key/3]). --type context() :: #{binary() => any()}. --type handler_response() ::{ - Status :: cowboy:http_status(), - Headers :: cowboy:http_headers(), - Body :: jsx:json_term()}. - --export_type([handler_response/0]). - - - --callback handle_request(OperationID :: openapi_api:operation_id(), cowboy_req:req(), Context :: context()) -> - handler_response(). - --spec handle_request( - Handler :: atom(), - OperationID :: openapi_api:operation_id(), - Request :: cowboy_req:req(), - Context :: context() -) -> - handler_response(). - -handle_request(Handler, OperationID, Req, Context) -> - Handler:handle_request(OperationID, Req, Context). - --spec authorize_api_key(Handler :: atom(), OperationID :: openapi_api:operation_id(), ApiKey :: binary()) -> - Result :: false. -authorize_api_key(_Handler, _OperationID, _ApiKey) -> - false. +-include_lib("kernel/include/logger.hrl"). + +-type accept_callback_return() :: + stop + | boolean() + | {true, iodata()} + | {created, iodata()} + | {see_other, iodata()}. +-type api_key_callback() :: + fun((openapi_api:operation_id(), binary()) -> {true, context()} | {false, iodata()}). +-type accept_callback() :: + fun((openapi_api:class(), openapi_api:operation_id(), cowboy_req:req(), context()) -> + {accept_callback_return(), cowboy_req:req(), context()}). +-type provide_callback() :: + fun((openapi_api:class(), openapi_api:operation_id(), cowboy_req:req(), context()) -> + {cowboy_req:resp_body(), cowboy_req:req(), context()}). +-type context() :: #{_ := _}. + +-export_type([context/0, api_key_callback/0, + accept_callback_return/0, accept_callback/0, provide_callback/0]). + +-optional_callbacks([api_key_callback/2]). + +-callback api_key_callback(openapi_api:operation_id(), binary()) -> + {true, context()} | {false, iodata()}. + +-callback accept_callback(openapi_api:class(), openapi_api:operation_id(), cowboy_req:req(), context()) -> + {accept_callback_return(), cowboy_req:req(), context()}. + +-callback provide_callback(openapi_api:class(), openapi_api:operation_id(), cowboy_req:req(), context()) -> + {cowboy_req:resp_body(), cowboy_req:req(), context()}. + +-export([api_key_callback/2, accept_callback/4, provide_callback/4]). +-ignore_xref([api_key_callback/2, accept_callback/4, provide_callback/4]). + +-spec api_key_callback(openapi_api:operation_id(), binary()) -> {true, #{}}. +api_key_callback(OperationID, ApiKey) -> + ?LOG_ERROR(#{what => "Got not implemented api_key_callback request", + operation_id => OperationID, + api_key => ApiKey}), + {true, #{}}. + +-spec accept_callback(openapi_api:class(), openapi_api:operation_id(), cowboy_req:req(), context()) -> + {accept_callback_return(), cowboy_req:req(), context()}. +accept_callback(Class, OperationID, Req, Context) -> + ?LOG_ERROR(#{what => "Got not implemented request to process", + class => Class, + operation_id => OperationID, + request => Req, + context => Context}), + {false, Req, Context}. + +-spec provide_callback(openapi_api:class(), openapi_api:operation_id(), cowboy_req:req(), context()) -> + {cowboy_req:resp_body(), cowboy_req:req(), context()}. +provide_callback(Class, OperationID, Req, Context) -> + ?LOG_ERROR(#{what => "Got not implemented request to process", + class => Class, + operation_id => OperationID, + request => Req, + context => Context}), + {<<>>, Req, Context}. diff --git a/clients/erlang-server/generated/src/openapi_router.erl b/clients/erlang-server/generated/src/openapi_router.erl index 4fa2beb..c75b43e 100644 --- a/clients/erlang-server/generated/src/openapi_router.erl +++ b/clients/erlang-server/generated/src/openapi_router.erl @@ -1,88 +1,71 @@ -module(openapi_router). --export([get_paths/1, get_validator_state/0]). +-export([get_paths/1]). --type operations() :: #{ - Method :: binary() => openapi_api:operation_id() -}. - --type init_opts() :: { - Operations :: operations(), - LogicHandler :: atom(), - ValidatorMod :: module() -}. +-type method() :: binary(). +-type operations() :: #{method() => openapi_api:operation_id()}. +-type init_opts() :: {operations(), module()}. -export_type([init_opts/0]). --spec get_paths(LogicHandler :: atom()) -> [{'_',[{ - Path :: string(), - Handler :: atom(), - InitOpts :: init_opts() -}]}]. - +-spec get_paths(LogicHandler :: module()) -> cowboy_router:routes(). get_paths(LogicHandler) -> - ValidatorState = prepare_validator(), PreparedPaths = maps:fold( - fun(Path, #{operations := Operations, handler := Handler}, Acc) -> - [{Path, Handler, Operations} | Acc] - end, - [], - group_paths() - ), - [ - {'_', - [{P, H, {O, LogicHandler, ValidatorState}} || {P, H, O} <- PreparedPaths] - } - ]. + fun(Path, #{operations := Operations, handler := Handler}, Acc) -> + [{Path, Handler, Operations} | Acc] + end, [], group_paths() + ), + [{'_', [{P, H, {O, LogicHandler}} || {P, H, O} <- PreparedPaths]}]. group_paths() -> maps:fold( - fun(OperationID, #{path := Path, method := Method, handler := Handler}, Acc) -> - case maps:find(Path, Acc) of - {ok, PathInfo0 = #{operations := Operations0}} -> - Operations = Operations0#{Method => OperationID}, - PathInfo = PathInfo0#{operations => Operations}, - Acc#{Path => PathInfo}; - error -> - Operations = #{Method => OperationID}, - PathInfo = #{handler => Handler, operations => Operations}, - Acc#{Path => PathInfo} - end - end, - #{}, - get_operations() - ). + fun(OperationID, #{servers := Servers, base_path := BasePath, path := Path, + method := Method, handler := Handler}, Acc) -> + FullPaths = build_full_paths(Servers, BasePath, Path), + merge_paths(FullPaths, OperationID, Method, Handler, Acc) + end, #{}, get_operations()). + +build_full_paths([], BasePath, Path) -> + [lists:append([BasePath, Path])]; +build_full_paths(Servers, _BasePath, Path) -> + [lists:append([Server, Path]) || Server <- Servers ]. + +merge_paths(FullPaths, OperationID, Method, Handler, Acc) -> + lists:foldl( + fun(Path, Acc0) -> + case maps:find(Path, Acc0) of + {ok, PathInfo0 = #{operations := Operations0}} -> + Operations = Operations0#{Method => OperationID}, + PathInfo = PathInfo0#{operations => Operations}, + Acc0#{Path => PathInfo}; + error -> + Operations = #{Method => OperationID}, + PathInfo = #{handler => Handler, operations => Operations}, + Acc0#{Path => PathInfo} + end + end, Acc, FullPaths). get_operations() -> #{ - 'GetApiAllJson' => #{ + 'get-api-all.json' => #{ + servers => [], + base_path => "", path => "/api/all.json", method => <<"GET">>, handler => 'openapi_default_handler' }, - 'GetApiProductCycleJson' => #{ + 'get-api-:product-:cycle.json' => #{ + servers => [], + base_path => "", path => "/api/:product/:cycle.json", method => <<"GET">>, handler => 'openapi_default_handler' }, - 'GetApiProductJson' => #{ + 'get-api-:product.json' => #{ + servers => [], + base_path => "", path => "/api/:product.json", method => <<"GET">>, handler => 'openapi_default_handler' } }. - -get_validator_state() -> - persistent_term:get({?MODULE, validator_state}). - - -prepare_validator() -> - R = jsx:decode(element(2, file:read_file(get_openapi_path()))), - JesseState = jesse_state:new(R, [{default_schema_ver, <<"http://json-schema.org/draft-04/schema#">>}]), - persistent_term:put({?MODULE, validator_state}, JesseState), - ?MODULE. - - -get_openapi_path() -> - {ok, AppName} = application:get_application(?MODULE), - filename:join(openapi_utils:priv_dir(AppName), "openapi.json"). diff --git a/clients/erlang-server/generated/src/openapi_server.erl b/clients/erlang-server/generated/src/openapi_server.erl index 0250017..b34e13d 100644 --- a/clients/erlang-server/generated/src/openapi_server.erl +++ b/clients/erlang-server/generated/src/openapi_server.erl @@ -1,26 +1,24 @@ -module(openapi_server). +-moduledoc """ +Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) +""". - --define(DEFAULT_LOGIC_HANDLER, openapi_default_logic_handler). +-define(DEFAULT_LOGIC_HANDLER, openapi_logic_handler). -export([start/2]). - --spec start( ID :: any(), #{ - ip => inet:ip_address(), - port => inet:port_number(), - logic_handler => module(), - net_opts => [] -}) -> {ok, pid()} | {error, any()}. - -start(ID, #{ - ip := IP , - port := Port, - net_opts := NetOpts -} = Params) -> - {Transport, TransportOpts} = get_socket_transport(IP, Port, NetOpts), +-ignore_xref([start/2]). + +-spec start(term(), #{transport => tcp | ssl, + transport_opts => ranch:opts(), + protocol_opts => cowboy:opts(), + logic_handler => module()}) -> + {ok, pid()} | {error, any()}. +start(ID, Params) -> + Transport = maps:get(transport, Params, tcp), + TransportOpts = maps:get(transport_opts, Params, #{}), + ProtocolOpts = maps:get(procotol_opts, Params, #{}), LogicHandler = maps:get(logic_handler, Params, ?DEFAULT_LOGIC_HANDLER), - ExtraOpts = maps:get(cowboy_extra_opts, Params, []), - CowboyOpts = get_cowboy_config(LogicHandler, ExtraOpts), + CowboyOpts = get_cowboy_config(LogicHandler, ProtocolOpts), case Transport of ssl -> cowboy:start_tls(ID, TransportOpts, CowboyOpts); @@ -28,33 +26,17 @@ start(ID, #{ cowboy:start_clear(ID, TransportOpts, CowboyOpts) end. -get_socket_transport(IP, Port, Options) -> - Opts = [ - {ip, IP}, - {port, Port} - ], - case openapi_utils:get_opt(ssl, Options) of - SslOpts = [_|_] -> - {ssl, Opts ++ SslOpts}; - undefined -> - {tcp, Opts} - end. - get_cowboy_config(LogicHandler, ExtraOpts) -> - get_cowboy_config(LogicHandler, ExtraOpts, get_default_opts(LogicHandler)). - -get_cowboy_config(_LogicHandler, [], Opts) -> - Opts; + DefaultOpts = get_default_opts(LogicHandler), + maps:fold(fun get_cowboy_config/3, DefaultOpts, ExtraOpts). -get_cowboy_config(LogicHandler, [{env, Env} | Rest], Opts) -> - NewEnv = case proplists:get_value(dispatch, Env) of - undefined -> [get_default_dispatch(LogicHandler) | Env]; - _ -> Env - end, - get_cowboy_config(LogicHandler, Rest, store_key(env, NewEnv, Opts)); - -get_cowboy_config(LogicHandler, [{Key, Value}| Rest], Opts) -> - get_cowboy_config(LogicHandler, Rest, store_key(Key, Value, Opts)). +get_cowboy_config(env, #{dispatch := _Dispatch} = Env, AccIn) -> + maps:put(env, Env, AccIn); +get_cowboy_config(env, NewEnv, #{env := OldEnv} = AccIn) -> + Env = maps:merge(OldEnv, NewEnv), + maps:put(env, Env, AccIn); +get_cowboy_config(Key, Value, AccIn) -> + maps:put(Key, Value, AccIn). get_default_dispatch(LogicHandler) -> Paths = openapi_router:get_paths(LogicHandler), @@ -62,6 +44,3 @@ get_default_dispatch(LogicHandler) -> get_default_opts(LogicHandler) -> #{env => get_default_dispatch(LogicHandler)}. - -store_key(Key, Value, Opts) -> - maps:put(Key, Value, Opts). diff --git a/clients/erlang-server/generated/src/openapi_utils.erl b/clients/erlang-server/generated/src/openapi_utils.erl deleted file mode 100644 index 58eee3a..0000000 --- a/clients/erlang-server/generated/src/openapi_utils.erl +++ /dev/null @@ -1,173 +0,0 @@ --module(openapi_utils). - --export([to_binary/1]). --export([to_list/1]). --export([to_float/1]). --export([to_int/1]). --export([to_lower/1]). --export([to_upper/1]). --export([set_resp_headers/2]). --export([to_header/1]). --export([to_qs/1]). --export([to_binding/1]). --export([get_opt/2]). --export([get_opt/3]). --export([priv_dir/0]). --export([priv_dir/1]). --export([priv_path/1]). - - --spec to_binary(iodata() | atom() | number()) -> binary(). - -to_binary(V) when is_binary(V) -> V; -to_binary(V) when is_list(V) -> iolist_to_binary(V); -to_binary(V) when is_atom(V) -> atom_to_binary(V, utf8); -to_binary(V) when is_integer(V) -> integer_to_binary(V); -to_binary(V) when is_float(V) -> float_to_binary(V). - --spec to_list(iodata() | atom() | number()) -> string(). - -to_list(V) when is_list(V) -> V; -to_list(V) -> binary_to_list(to_binary(V)). - --spec to_float(iodata()) -> number(). - -to_float(V) -> - Data = iolist_to_binary([V]), - case binary:split(Data, <<$.>>) of - [Data] -> - binary_to_integer(Data); - [<<>>, _] -> - binary_to_float(<<$0, Data/binary>>); - _ -> - binary_to_float(Data) - end. - -%% - --spec to_int(integer() | binary() | list()) -> integer(). - -to_int(Data) when is_integer(Data) -> - Data; -to_int(Data) when is_binary(Data) -> - binary_to_integer(Data); -to_int(Data) when is_list(Data) -> - list_to_integer(Data). - --spec set_resp_headers([{binary(), iodata()}], cowboy_req:req()) -> cowboy_req:req(). - -set_resp_headers([], Req) -> - Req; -set_resp_headers([{K, V} | T], Req0) -> - Req = cowboy_req:set_resp_header(K, V, Req0), - set_resp_headers(T, Req). - --spec to_header(iodata() | atom() | number()) -> binary(). - -to_header(Name) -> - Prepared = to_binary(Name), - to_lower(Prepared). - --spec to_qs(iodata() | atom() | number()) -> binary(). - -to_qs(Name) -> - to_binary(Name). - --spec to_binding(iodata() | atom() | number()) -> atom(). - -to_binding(Name) -> - Prepared = to_binary(Name), - binary_to_atom(Prepared, utf8). - --spec get_opt(any(), []) -> any(). - -get_opt(Key, Opts) -> - get_opt(Key, Opts, undefined). - --spec get_opt(any(), [], any()) -> any(). - -get_opt(Key, Opts, Default) -> - case lists:keyfind(Key, 1, Opts) of - {_, Value} -> Value; - false -> Default - end. - --spec priv_dir() -> file:filename(). - -priv_dir() -> - {ok, AppName} = application:get_application(), - priv_dir(AppName). - --spec priv_dir(Application :: atom()) -> file:filename(). - -priv_dir(AppName) -> - case code:priv_dir(AppName) of - Value when is_list(Value) -> - Value ++ "/"; - _Error -> - select_priv_dir([filename:join(["apps", atom_to_list(AppName), "priv"]), "priv"]) - end. - --spec priv_path(Relative :: file:filename()) -> file:filename(). - -priv_path(Relative) -> - filename:join(priv_dir(), Relative). - --include_lib("kernel/include/file.hrl"). - -select_priv_dir(Paths) -> - case lists:dropwhile(fun test_priv_dir/1, Paths) of - [Path | _] -> Path; - _ -> exit(no_priv_dir) - end. - -test_priv_dir(Path) -> - case file:read_file_info(Path) of - {ok, #file_info{type = directory}} -> - false; - _ -> - true - end. - - -%% - --spec to_lower(binary()) -> binary(). - -to_lower(S) -> - to_case(lower, S, <<>>). - --spec to_upper(binary()) -> binary(). - -to_upper(S) -> - to_case(upper, S, <<>>). - -to_case(_Case, <<>>, Acc) -> - Acc; - -to_case(_Case, <>, _Acc) when C > 127 -> - error(badarg); - -to_case(Case = lower, <>, Acc) -> - to_case(Case, Rest, <>); - -to_case(Case = upper, <>, Acc) -> - to_case(Case, Rest, <>). - -to_lower_char(C) when is_integer(C), $A =< C, C =< $Z -> - C + 32; -to_lower_char(C) when is_integer(C), 16#C0 =< C, C =< 16#D6 -> - C + 32; -to_lower_char(C) when is_integer(C), 16#D8 =< C, C =< 16#DE -> - C + 32; -to_lower_char(C) -> - C. - -to_upper_char(C) when is_integer(C), $a =< C, C =< $z -> - C - 32; -to_upper_char(C) when is_integer(C), 16#E0 =< C, C =< 16#F6 -> - C - 32; -to_upper_char(C) when is_integer(C), 16#F8 =< C, C =< 16#FE -> - C - 32; -to_upper_char(C) -> - C. diff --git a/clients/fsharp-functions/generated/.openapi-generator/VERSION b/clients/fsharp-functions/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/fsharp-functions/generated/.openapi-generator/VERSION +++ b/clients/fsharp-functions/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/fsharp-giraffe-server/generated/.openapi-generator/VERSION b/clients/fsharp-giraffe-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/fsharp-giraffe-server/generated/.openapi-generator/VERSION +++ b/clients/fsharp-giraffe-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/go-echo-server/generated/.docs/api/openapi.yaml b/clients/go-echo-server/generated/.docs/api/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/go-echo-server/generated/.docs/api/openapi.yaml +++ b/clients/go-echo-server/generated/.docs/api/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/go-echo-server/generated/.openapi-generator/VERSION b/clients/go-echo-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/go-echo-server/generated/.openapi-generator/VERSION +++ b/clients/go-echo-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/go-echo-server/generated/README.md b/clients/go-echo-server/generated/README.md index 1d9958a..973c4dd 100644 --- a/clients/go-echo-server/generated/README.md +++ b/clients/go-echo-server/generated/README.md @@ -13,8 +13,8 @@ To see how to make this your own, look here: [README](https://openapi-generator.tech) - API version: 0.0.1 -- Build date: 2024-07-10T09:06:21.114720278Z[Etc/UTC] -- Generator version: 7.6.0 +- Build date: 2024-11-03T10:20:58.146092023Z[Etc/UTC] +- Generator version: 7.9.0 For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) ### Running the server diff --git a/clients/go-gin-server/generated/.openapi-generator/VERSION b/clients/go-gin-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/go-gin-server/generated/.openapi-generator/VERSION +++ b/clients/go-gin-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/go-gin-server/generated/api/openapi.yaml b/clients/go-gin-server/generated/api/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/go-gin-server/generated/api/openapi.yaml +++ b/clients/go-gin-server/generated/api/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/go-gin-server/generated/go/README.md b/clients/go-gin-server/generated/go/README.md index 691190c..2633e81 100644 --- a/clients/go-gin-server/generated/go/README.md +++ b/clients/go-gin-server/generated/go/README.md @@ -13,8 +13,8 @@ To see how to make this your own, look here: [README](https://openapi-generator.tech) - API version: 0.0.1 -- Build date: 2024-07-10T09:06:29.915492126Z[Etc/UTC] -- Generator version: 7.6.0 +- Build date: 2024-11-03T10:21:05.738552082Z[Etc/UTC] +- Generator version: 7.9.0 For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) ### Running the server diff --git a/clients/go-server/generated/.openapi-generator/VERSION b/clients/go-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/go-server/generated/.openapi-generator/VERSION +++ b/clients/go-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/go-server/generated/README.md b/clients/go-server/generated/README.md index b5e1e56..2394230 100644 --- a/clients/go-server/generated/README.md +++ b/clients/go-server/generated/README.md @@ -6,15 +6,14 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additio This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub. -- To see how to make this your own, look here: [README](https://openapi-generator.tech) - API version: 0.0.1 -- Build date: 2024-07-10T09:06:25.682360668Z[Etc/UTC] -- Generator version: 7.6.0 +- Build date: 2024-11-03T10:21:01.822483189Z[Etc/UTC] +- Generator version: 7.9.0 For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) @@ -25,6 +24,8 @@ To run the server, follow these simple steps: go run main.go ``` +The server will be available on `http://localhost:8080`. + To run the server in a docker container ``` docker build --network=host -t openapi . diff --git a/clients/go-server/generated/api/openapi.yaml b/clients/go-server/generated/api/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/go-server/generated/api/openapi.yaml +++ b/clients/go-server/generated/api/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/go-server/generated/go/api.go b/clients/go-server/generated/go/api.go index ee3ee55..a9b6326 100644 --- a/clients/go-server/generated/go/api.go +++ b/clients/go-server/generated/go/api.go @@ -22,9 +22,9 @@ import ( // The DefaultAPIRouter implementation should parse necessary information from the http request, // pass the data to a DefaultAPIServicer to perform the required actions, then write the service results to the http response. type DefaultAPIRouter interface { - GetApiAllJson(http.ResponseWriter, *http.Request) - GetApiProductCycleJson(http.ResponseWriter, *http.Request) GetApiProductJson(http.ResponseWriter, *http.Request) + GetApiProductCycleJson(http.ResponseWriter, *http.Request) + GetApiAllJson(http.ResponseWriter, *http.Request) } @@ -33,7 +33,7 @@ type DefaultAPIRouter interface { // while the service implementation can be ignored with the .openapi-generator-ignore file // and updated with the logic required for the API. type DefaultAPIServicer interface { - GetApiAllJson(context.Context) (ImplResponse, error) - GetApiProductCycleJson(context.Context, string, string) (ImplResponse, error) GetApiProductJson(context.Context, string) (ImplResponse, error) + GetApiProductCycleJson(context.Context, string, string) (ImplResponse, error) + GetApiAllJson(context.Context) (ImplResponse, error) } diff --git a/clients/go-server/generated/go/api_default.go b/clients/go-server/generated/go/api_default.go index 3e39ccc..6fc78fe 100644 --- a/clients/go-server/generated/go/api_default.go +++ b/clients/go-server/generated/go/api_default.go @@ -51,27 +51,33 @@ func NewDefaultAPIController(s DefaultAPIServicer, opts ...DefaultAPIOption) *De // Routes returns all the api routes for the DefaultAPIController func (c *DefaultAPIController) Routes() Routes { return Routes{ - "GetApiAllJson": Route{ + "GetApiProductJson": Route{ strings.ToUpper("Get"), - "/api/all.json", - c.GetApiAllJson, + "/api/{product}.json", + c.GetApiProductJson, }, "GetApiProductCycleJson": Route{ strings.ToUpper("Get"), "/api/{product}/{cycle}.json", c.GetApiProductCycleJson, }, - "GetApiProductJson": Route{ + "GetApiAllJson": Route{ strings.ToUpper("Get"), - "/api/{product}.json", - c.GetApiProductJson, + "/api/all.json", + c.GetApiAllJson, }, } } -// GetApiAllJson - All Products -func (c *DefaultAPIController) GetApiAllJson(w http.ResponseWriter, r *http.Request) { - result, err := c.service.GetApiAllJson(r.Context()) +// GetApiProductJson - Get All Details +func (c *DefaultAPIController) GetApiProductJson(w http.ResponseWriter, r *http.Request) { + params := mux.Vars(r) + productParam := params["product"] + if productParam == "" { + c.errorHandler(w, r, &RequiredError{"product"}, nil) + return + } + result, err := c.service.GetApiProductJson(r.Context(), productParam) // If an error occurred, encode the error with the status code if err != nil { c.errorHandler(w, r, err, &result) @@ -104,15 +110,9 @@ func (c *DefaultAPIController) GetApiProductCycleJson(w http.ResponseWriter, r * _ = EncodeJSONResponse(result.Body, &result.Code, w) } -// GetApiProductJson - Get All Details -func (c *DefaultAPIController) GetApiProductJson(w http.ResponseWriter, r *http.Request) { - params := mux.Vars(r) - productParam := params["product"] - if productParam == "" { - c.errorHandler(w, r, &RequiredError{"product"}, nil) - return - } - result, err := c.service.GetApiProductJson(r.Context(), productParam) +// GetApiAllJson - All Products +func (c *DefaultAPIController) GetApiAllJson(w http.ResponseWriter, r *http.Request) { + result, err := c.service.GetApiAllJson(r.Context()) // If an error occurred, encode the error with the status code if err != nil { c.errorHandler(w, r, err, &result) diff --git a/clients/go-server/generated/go/api_default_service.go b/clients/go-server/generated/go/api_default_service.go index 01194f5..0dc4096 100644 --- a/clients/go-server/generated/go/api_default_service.go +++ b/clients/go-server/generated/go/api_default_service.go @@ -28,15 +28,15 @@ func NewDefaultAPIService() *DefaultAPIService { return &DefaultAPIService{} } -// GetApiAllJson - All Products -func (s *DefaultAPIService) GetApiAllJson(ctx context.Context) (ImplResponse, error) { - // TODO - update GetApiAllJson with the required logic for this service method. +// GetApiProductJson - Get All Details +func (s *DefaultAPIService) GetApiProductJson(ctx context.Context, product string) (ImplResponse, error) { + // TODO - update GetApiProductJson with the required logic for this service method. // Add api_default_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation. - // TODO: Uncomment the next line to return response Response(200, []string{}) or use other options such as http.Ok ... - // return Response(200, []string{}), nil + // TODO: Uncomment the next line to return response Response(200, []Cycle{}) or use other options such as http.Ok ... + // return Response(200, []Cycle{}), nil - return Response(http.StatusNotImplemented, nil), errors.New("GetApiAllJson method not implemented") + return Response(http.StatusNotImplemented, nil), errors.New("GetApiProductJson method not implemented") } // GetApiProductCycleJson - Single cycle details @@ -50,13 +50,13 @@ func (s *DefaultAPIService) GetApiProductCycleJson(ctx context.Context, product return Response(http.StatusNotImplemented, nil), errors.New("GetApiProductCycleJson method not implemented") } -// GetApiProductJson - Get All Details -func (s *DefaultAPIService) GetApiProductJson(ctx context.Context, product string) (ImplResponse, error) { - // TODO - update GetApiProductJson with the required logic for this service method. +// GetApiAllJson - All Products +func (s *DefaultAPIService) GetApiAllJson(ctx context.Context) (ImplResponse, error) { + // TODO - update GetApiAllJson with the required logic for this service method. // Add api_default_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation. - // TODO: Uncomment the next line to return response Response(200, []Cycle{}) or use other options such as http.Ok ... - // return Response(200, []Cycle{}), nil + // TODO: Uncomment the next line to return response Response(200, []string{}) or use other options such as http.Ok ... + // return Response(200, []string{}), nil - return Response(http.StatusNotImplemented, nil), errors.New("GetApiProductJson method not implemented") + return Response(http.StatusNotImplemented, nil), errors.New("GetApiAllJson method not implemented") } diff --git a/clients/go/generated/.openapi-generator/VERSION b/clients/go/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/go/generated/.openapi-generator/VERSION +++ b/clients/go/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/go/generated/README.md b/clients/go/generated/README.md index 0f0ad9a..fa15f23 100644 --- a/clients/go/generated/README.md +++ b/clients/go/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/go/generated/api/openapi.yaml b/clients/go/generated/api/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/go/generated/api/openapi.yaml +++ b/clients/go/generated/api/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/go/generated/api_default.go b/clients/go/generated/api_default.go index 8e44b07..af5a6a1 100644 --- a/clients/go/generated/api_default.go +++ b/clients/go/generated/api_default.go @@ -141,7 +141,7 @@ Gets details of a single cycle @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param product Product URL as per the canonical URL on the endofife.date website - @param cycle Release Cycle for which the details must be fetched + @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. @return ApiGetApiProductCycleJsonRequest */ func (a *DefaultAPIService) GetApiProductCycleJson(ctx context.Context, product string, cycle string) ApiGetApiProductCycleJsonRequest { diff --git a/clients/go/generated/client.go b/clients/go/generated/client.go index 2cd55aa..0d9dc7b 100644 --- a/clients/go/generated/client.go +++ b/clients/go/generated/client.go @@ -143,7 +143,7 @@ func parameterValueToString( obj interface{}, key string ) string { // parameterAddToHeaderOrQuery adds the provided object to the request header or url query // supporting deep object syntax -func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, style string, collectionType string) { var v = reflect.ValueOf(obj) var value = "" if v == reflect.ValueOf(nil) { @@ -159,11 +159,11 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri if err != nil { return } - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, style, collectionType) return } if t, ok := obj.(time.Time); ok { - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), collectionType) + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), style, collectionType) return } value = v.Type().String() + " value" @@ -175,7 +175,11 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri var lenIndValue = indValue.Len() for i:=0;i Text -- ^ Release Cycle for which the details must be fetched + -> Text -- ^ Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. -> Handler Value getApiByText{Cycle}JsonR product cycle = notImplemented diff --git a/clients/haskell/generated/.openapi-generator/VERSION b/clients/haskell/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/haskell/generated/.openapi-generator/VERSION +++ b/clients/haskell/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/haskell/generated/endoflife.date.cabal b/clients/haskell/generated/endoflife.date.cabal index 9651d60..3eba08a 100644 --- a/clients/haskell/generated/endoflife.date.cabal +++ b/clients/haskell/generated/endoflife.date.cabal @@ -38,4 +38,5 @@ library , http-types , swagger2 , uuid + , bytestring default-language: Haskell2010 diff --git a/clients/html/generated/.openapi-generator/VERSION b/clients/html/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/html/generated/.openapi-generator/VERSION +++ b/clients/html/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/html/generated/index.html b/clients/html/generated/index.html index bb38503..d514361 100644 --- a/clients/html/generated/index.html +++ b/clients/html/generated/index.html @@ -315,7 +315,7 @@

Path parameters

Path Parameter — Product URL as per the canonical URL on the endofife.date website default: null
cycle (required)
-
Path Parameter — Release Cycle for which the details must be fetched default: null
+
Path Parameter — Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. default: null
diff --git a/clients/html2/generated/.openapi-generator/VERSION b/clients/html2/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/html2/generated/.openapi-generator/VERSION +++ b/clients/html2/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/html2/generated/index.html b/clients/html2/generated/index.html index 04264a3..327af66 100644 --- a/clients/html2/generated/index.html +++ b/clients/html2/generated/index.html @@ -1883,7 +1883,7 @@

Usage and SDK Samples

// Create an instance of the API class DefaultApi apiInstance = new DefaultApi(); String product = product_example; // String | Product URL as per the canonical URL on the endofife.date website - String cycle = cycle_example; // String | Release Cycle for which the details must be fetched + String cycle = cycle_example; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { cycle result = apiInstance.getApiProductCycle.json(product, cycle); @@ -1903,7 +1903,7 @@

Usage and SDK Samples

final api_instance = DefaultApi(); final String product = new String(); // String | Product URL as per the canonical URL on the endofife.date website -final String cycle = new String(); // String | Release Cycle for which the details must be fetched +final String cycle = new String(); // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { final result = await api_instance.getApiProductCycle.json(product, cycle); @@ -1922,7 +1922,7 @@

Usage and SDK Samples

public static void main(String[] args) { DefaultApi apiInstance = new DefaultApi(); String product = product_example; // String | Product URL as per the canonical URL on the endofife.date website - String cycle = cycle_example; // String | Release Cycle for which the details must be fetched + String cycle = cycle_example; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { cycle result = apiInstance.getApiProductCycle.json(product, cycle); @@ -1944,7 +1944,7 @@

Usage and SDK Samples

// Create an instance of the API class DefaultApi *apiInstance = [[DefaultApi alloc] init]; String *product = product_example; // Product URL as per the canonical URL on the endofife.date website (default to null) -String *cycle = cycle_example; // Release Cycle for which the details must be fetched (default to null) +String *cycle = cycle_example; // Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (default to null) // Single cycle details [apiInstance getApiProductCycle.jsonWith:product @@ -1966,7 +1966,7 @@

Usage and SDK Samples

// Create an instance of the API class var api = new EndoflifeDate.DefaultApi() var product = product_example; // {String} Product URL as per the canonical URL on the endofife.date website -var cycle = cycle_example; // {String} Release Cycle for which the details must be fetched +var cycle = cycle_example; // {String} Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. var callback = function(error, data, response) { if (error) { @@ -1999,7 +1999,7 @@

Usage and SDK Samples

// Create an instance of the API class var apiInstance = new DefaultApi(); var product = product_example; // String | Product URL as per the canonical URL on the endofife.date website (default to null) - var cycle = cycle_example; // String | Release Cycle for which the details must be fetched (default to null) + var cycle = cycle_example; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (default to null) try { // Single cycle details @@ -2021,7 +2021,7 @@

Usage and SDK Samples

// Create an instance of the API class $api_instance = new OpenAPITools\Client\Api\DefaultApi(); $product = product_example; // String | Product URL as per the canonical URL on the endofife.date website -$cycle = cycle_example; // String | Release Cycle for which the details must be fetched +$cycle = cycle_example; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { $result = $api_instance->getApiProductCycle.json($product, $cycle); @@ -2040,7 +2040,7 @@

Usage and SDK Samples

# Create an instance of the API class my $api_instance = WWW::OPenAPIClient::DefaultApi->new(); my $product = product_example; # String | Product URL as per the canonical URL on the endofife.date website -my $cycle = cycle_example; # String | Release Cycle for which the details must be fetched +my $cycle = cycle_example; # String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. eval { my $result = $api_instance->getApiProductCycle.json(product => $product, cycle => $cycle); @@ -2061,7 +2061,7 @@

Usage and SDK Samples

# Create an instance of the API class api_instance = openapi_client.DefaultApi() product = product_example # String | Product URL as per the canonical URL on the endofife.date website (default to null) -cycle = cycle_example # String | Release Cycle for which the details must be fetched (default to null) +cycle = cycle_example # String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (default to null) try: # Single cycle details @@ -2135,7 +2135,7 @@

Parameters

-Release Cycle for which the details must be fetched +Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.
diff --git a/clients/java-camel/generated/.openapi-generator/VERSION b/clients/java-camel/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-camel/generated/.openapi-generator/VERSION +++ b/clients/java-camel/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/RestConfiguration.java b/clients/java-camel/generated/src/main/java/org/openapitools/RestConfiguration.java index facef2d..40f51be 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/RestConfiguration.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/RestConfiguration.java @@ -1,5 +1,5 @@ /** -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.6.0). +* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.9.0). * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/api/DefaultApi.java b/clients/java-camel/generated/src/main/java/org/openapitools/api/DefaultApi.java index fa5f532..feadd51 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/api/DefaultApi.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/api/DefaultApi.java @@ -1,5 +1,5 @@ /** -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.6.0). +* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.9.0). * https://openapi-generator.tech * Do not edit the class manually. */ @@ -50,7 +50,7 @@ public void configure() throws Exception { .name("cycle") .type(RestParamType.path) .required(true) - .description("Release Cycle for which the details must be fetched") + .description("Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.") .endParam() .to("direct:getApiProductCycleJson"); diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/model/Cycle.java b/clients/java-camel/generated/src/main/java/org/openapitools/model/Cycle.java index 699de1f..947d359 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/model/Cycle.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/model/Cycle.java @@ -31,7 +31,7 @@ @Schema(name = "cycle", description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") @JsonTypeName("cycle") -@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-07-10T09:07:58.044541065Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-11-03T10:22:48.933929989Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { private CycleCycle cycle; @@ -59,7 +59,7 @@ public Cycle cycle(CycleCycle cycle) { /** * Get cycle * @return cycle - */ + */ @Valid @Schema(name = "cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("cycle") @@ -79,7 +79,7 @@ public Cycle releaseDate(Date releaseDate) { /** * Release Date for the first release in this cycle * @return releaseDate - */ + */ @Valid @Size(min = 10, max = 10) @Schema(name = "releaseDate", description = "Release Date for the first release in this cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("releaseDate") @@ -99,7 +99,7 @@ public Cycle eol(CycleEol eol) { /** * Get eol * @return eol - */ + */ @Valid @Schema(name = "eol", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("eol") @@ -119,7 +119,7 @@ public Cycle latest(String latest) { /** * Latest release in this cycle * @return latest - */ + */ @Size(min = 1) @Schema(name = "latest", description = "Latest release in this cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("latest") @@ -139,7 +139,7 @@ public Cycle link(String link) { /** * Link to changelog for the latest release, if available * @return link - */ + */ @Size(min = 1) @Schema(name = "link", description = "Link to changelog for the latest release, if available", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("link") @@ -159,7 +159,7 @@ public Cycle lts(CycleLts lts) { /** * Get lts * @return lts - */ + */ @Valid @Schema(name = "lts", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("lts") @@ -179,7 +179,7 @@ public Cycle support(CycleSupport support) { /** * Get support * @return support - */ + */ @Valid @Schema(name = "support", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("support") @@ -199,7 +199,7 @@ public Cycle discontinued(CycleDiscontinued discontinued) { /** * Get discontinued * @return discontinued - */ + */ @Valid @Schema(name = "discontinued", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("discontinued") diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleCycle.java b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleCycle.java index 47f2ec5..68c755f 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleCycle.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleCycle.java @@ -20,7 +20,7 @@ @Schema(name = "cycle_cycle", description = "Release Cycle") @JsonTypeName("cycle_cycle") -@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-07-10T09:07:58.044541065Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-11-03T10:22:48.933929989Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { @Override diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java index 679a91f..008bac9 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_discontinued", description = "Whether this cycle is now discontinued.") @JsonTypeName("cycle_discontinued") -@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-07-10T09:07:58.044541065Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-11-03T10:22:48.933929989Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { @Override diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleEol.java b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleEol.java index 6f03802..c57f73c 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleEol.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleEol.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_eol", description = "End of Life Date for this release cycle") @JsonTypeName("cycle_eol") -@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-07-10T09:07:58.044541065Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-11-03T10:22:48.933929989Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { @Override diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleLts.java b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleLts.java index 876442d..9ef4040 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleLts.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleLts.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_lts", description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") @JsonTypeName("cycle_lts") -@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-07-10T09:07:58.044541065Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-11-03T10:22:48.933929989Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { @Override diff --git a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleSupport.java b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleSupport.java index 5582a38..33141e8 100644 --- a/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleSupport.java +++ b/clients/java-camel/generated/src/main/java/org/openapitools/model/CycleSupport.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_support", description = "Whether this release cycle has active support") @JsonTypeName("cycle_support") -@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-07-10T09:07:58.044541065Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.JavaCamelServerCodegen", date = "2024-11-03T10:22:48.933929989Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { @Override diff --git a/clients/java-inflector/generated/.openapi-generator/VERSION b/clients/java-inflector/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-inflector/generated/.openapi-generator/VERSION +++ b/clients/java-inflector/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/controllers/StringUtil.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/controllers/StringUtil.java index 280af09..c934b34 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/controllers/StringUtil.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/controllers/StringUtil.java @@ -1,6 +1,6 @@ package org.openapitools.controllers; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/Cycle.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/Cycle.java index 48e3e42..4273fed 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/Cycle.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/Cycle.java @@ -21,7 +21,7 @@ **/ @ApiModel(description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { @JsonProperty("cycle") private CycleCycle cycle; diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleCycle.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleCycle.java index 82b1d10..a3a75f0 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleCycle.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleCycle.java @@ -12,7 +12,7 @@ **/ @ApiModel(description = "Release Cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { @Override diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java index 1b39b37..b22fc91 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java @@ -11,7 +11,7 @@ **/ @ApiModel(description = "Whether this cycle is now discontinued.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { @Override diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleEol.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleEol.java index f13a0c0..fc93dd9 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleEol.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleEol.java @@ -11,7 +11,7 @@ **/ @ApiModel(description = "End of Life Date for this release cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { @Override diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleLts.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleLts.java index ccb1d25..d8796cd 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleLts.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleLts.java @@ -11,7 +11,7 @@ **/ @ApiModel(description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { @Override diff --git a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleSupport.java b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleSupport.java index dafce43..47443f7 100644 --- a/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleSupport.java +++ b/clients/java-inflector/generated/src/gen/java/org/openapitools/model/CycleSupport.java @@ -11,7 +11,7 @@ **/ @ApiModel(description = "Whether this release cycle has active support") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { @Override diff --git a/clients/java-inflector/generated/src/main/java/org/openapitools/controllers/ApiController.java b/clients/java-inflector/generated/src/main/java/org/openapitools/controllers/ApiController.java index 400cbe4..ee5d755 100644 --- a/clients/java-inflector/generated/src/main/java/org/openapitools/controllers/ApiController.java +++ b/clients/java-inflector/generated/src/main/java/org/openapitools/controllers/ApiController.java @@ -13,7 +13,7 @@ import org.openapitools.model.Cycle; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-07-10T09:07:19.378609896Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", date = "2024-11-03T10:22:08.804013808Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiController { /** * Uncomment and implement as you see fit. These operations will map diff --git a/clients/java-inflector/generated/src/main/openapi/openapi.yaml b/clients/java-inflector/generated/src/main/openapi/openapi.yaml index cbd1969..889a892 100644 --- a/clients/java-inflector/generated/src/main/openapi/openapi.yaml +++ b/clients/java-inflector/generated/src/main/openapi/openapi.yaml @@ -84,7 +84,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/java-micronaut-client/generated/.openapi-generator/VERSION b/clients/java-micronaut-client/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-micronaut-client/generated/.openapi-generator/VERSION +++ b/clients/java-micronaut-client/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-micronaut-client/generated/docs/apis/DefaultApi.md b/clients/java-micronaut-client/generated/docs/apis/DefaultApi.md index d5e2345..96212ae 100644 --- a/clients/java-micronaut-client/generated/docs/apis/DefaultApi.md +++ b/clients/java-micronaut-client/generated/docs/apis/DefaultApi.md @@ -72,7 +72,7 @@ Gets details of a single cycle | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **product** | `String`| Product URL as per the canonical URL on the endofife.date website | | -| **cycle** | `String`| Release Cycle for which the details must be fetched | | +| **cycle** | `String`| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | | ### Return type diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/api/DefaultApi.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/api/DefaultApi.java index 6009a26..80fdfc9 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/api/DefaultApi.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/api/DefaultApi.java @@ -26,7 +26,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Client("${openapi-micronaut-client-base-path}") public interface DefaultApi { /** @@ -44,7 +44,7 @@ public interface DefaultApi { * Gets details of a single cycle * * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @return Cycle */ @Get(uri="/api/{product}/{cycle}.json") diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/Cycle.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/Cycle.java index 9d342fc..d9796bb 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/Cycle.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/Cycle.java @@ -43,7 +43,7 @@ Cycle.JSON_PROPERTY_DISCONTINUED }) @JsonTypeName("cycle") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class Cycle { public static final String JSON_PROPERTY_CYCLE = "cycle"; @@ -81,7 +81,7 @@ public Cycle cycle(CycleCycle cycle) { /** * Get cycle * @return cycle - **/ + */ @Valid @Nullable @JsonProperty(JSON_PROPERTY_CYCLE) @@ -104,7 +104,7 @@ public Cycle releaseDate(LocalDate releaseDate) { /** * Release Date for the first release in this cycle * @return releaseDate - **/ + */ @Nullable @Size(min=10, max=10) @JsonProperty(JSON_PROPERTY_RELEASE_DATE) @@ -129,7 +129,7 @@ public Cycle eol(CycleEol eol) { /** * Get eol * @return eol - **/ + */ @Valid @Nullable @JsonProperty(JSON_PROPERTY_EOL) @@ -152,7 +152,7 @@ public Cycle latest(String latest) { /** * Latest release in this cycle * @return latest - **/ + */ @Nullable @Size(min=1) @JsonProperty(JSON_PROPERTY_LATEST) @@ -175,7 +175,7 @@ public Cycle link(String link) { /** * Link to changelog for the latest release, if available * @return link - **/ + */ @Nullable @Size(min=1) @JsonProperty(JSON_PROPERTY_LINK) @@ -198,7 +198,7 @@ public Cycle lts(CycleLts lts) { /** * Get lts * @return lts - **/ + */ @Valid @Nullable @JsonProperty(JSON_PROPERTY_LTS) @@ -221,7 +221,7 @@ public Cycle support(CycleSupport support) { /** * Get support * @return support - **/ + */ @Valid @Nullable @JsonProperty(JSON_PROPERTY_SUPPORT) @@ -244,7 +244,7 @@ public Cycle discontinued(CycleDiscontinued discontinued) { /** * Get discontinued * @return discontinued - **/ + */ @Valid @Nullable @JsonProperty(JSON_PROPERTY_DISCONTINUED) diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleCycle.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleCycle.java index 0dd0463..e809912 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleCycle.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleCycle.java @@ -29,7 +29,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_cycle") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleCycle { public CycleCycle() { diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java index 5671d94..bbc7e61 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java @@ -28,7 +28,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_discontinued") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleDiscontinued { public CycleDiscontinued() { diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleEol.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleEol.java index 4a6a8f3..4883aca 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleEol.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleEol.java @@ -28,7 +28,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_eol") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleEol { public CycleEol() { diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleLts.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleLts.java index 2532d6f..e6a3381 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleLts.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleLts.java @@ -28,7 +28,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_lts") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleLts { public CycleLts() { diff --git a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleSupport.java b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleSupport.java index 81b2432..6090df0 100644 --- a/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleSupport.java +++ b/clients/java-micronaut-client/generated/src/main/java/org/openapitools/model/CycleSupport.java @@ -28,7 +28,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_support") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-07-10T09:07:23.610199357Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", date="2024-11-03T10:22:12.938888384Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleSupport { public CycleSupport() { diff --git a/clients/java-micronaut-server/generated/.openapi-generator/VERSION b/clients/java-micronaut-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-micronaut-server/generated/.openapi-generator/VERSION +++ b/clients/java-micronaut-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-micronaut-server/generated/docs/controllers/DefaultController.md b/clients/java-micronaut-server/generated/docs/controllers/DefaultController.md index 95e5d0a..dabf638 100644 --- a/clients/java-micronaut-server/generated/docs/controllers/DefaultController.md +++ b/clients/java-micronaut-server/generated/docs/controllers/DefaultController.md @@ -43,7 +43,7 @@ Gets details of a single cycle Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | `String` | Product URL as per the canonical URL on the endofife.date website | -**cycle** | `String` | Release Cycle for which the details must be fetched | +**cycle** | `String` | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type [**Cycle**](../../docs/models/Cycle.md) diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/controller/DefaultController.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/controller/DefaultController.java index c7c1933..841af04 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/controller/DefaultController.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/controller/DefaultController.java @@ -37,7 +37,7 @@ import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.security.SecurityRequirement; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Controller @Tag(name = "Default", description = "The Default API") public class DefaultController { @@ -70,7 +70,7 @@ public Mono> getApiAllJson() { * Gets details of a single cycle * * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @return Cycle */ @Operation( @@ -83,7 +83,7 @@ public Mono> getApiAllJson() { }, parameters = { @Parameter(name = "product", description = "Product URL as per the canonical URL on the endofife.date website", required = true), - @Parameter(name = "cycle", description = "Release Cycle for which the details must be fetched", required = true) + @Parameter(name = "cycle", description = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", required = true) } ) @Get(uri="/api/{product}/{cycle}.json") diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/Cycle.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/Cycle.java index a795361..7326121 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/Cycle.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/Cycle.java @@ -45,7 +45,7 @@ Cycle.JSON_PROPERTY_DISCONTINUED }) @JsonTypeName("cycle") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class Cycle { public static final String JSON_PROPERTY_CYCLE = "cycle"; @@ -83,7 +83,7 @@ public Cycle cycle(CycleCycle cycle) { /** * Get cycle * @return cycle - **/ + */ @Valid @Nullable @Schema(name = "cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -107,7 +107,7 @@ public Cycle releaseDate(LocalDate releaseDate) { /** * Release Date for the first release in this cycle * @return releaseDate - **/ + */ @Nullable @Size(min=10, max=10) @Schema(name = "releaseDate", description = "Release Date for the first release in this cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -133,7 +133,7 @@ public Cycle eol(CycleEol eol) { /** * Get eol * @return eol - **/ + */ @Valid @Nullable @Schema(name = "eol", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -157,7 +157,7 @@ public Cycle latest(String latest) { /** * Latest release in this cycle * @return latest - **/ + */ @Nullable @Size(min=1) @Schema(name = "latest", description = "Latest release in this cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -181,7 +181,7 @@ public Cycle link(String link) { /** * Link to changelog for the latest release, if available * @return link - **/ + */ @Nullable @Size(min=1) @Schema(name = "link", description = "Link to changelog for the latest release, if available", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -205,7 +205,7 @@ public Cycle lts(CycleLts lts) { /** * Get lts * @return lts - **/ + */ @Valid @Nullable @Schema(name = "lts", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -229,7 +229,7 @@ public Cycle support(CycleSupport support) { /** * Get support * @return support - **/ + */ @Valid @Nullable @Schema(name = "support", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @@ -253,7 +253,7 @@ public Cycle discontinued(CycleDiscontinued discontinued) { /** * Get discontinued * @return discontinued - **/ + */ @Valid @Nullable @Schema(name = "discontinued", requiredMode = Schema.RequiredMode.NOT_REQUIRED) diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleCycle.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleCycle.java index d125d90..b84b46a 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleCycle.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleCycle.java @@ -31,7 +31,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_cycle") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleCycle { public CycleCycle() { diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java index 25d3055..6f09948 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java @@ -30,7 +30,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_discontinued") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleDiscontinued { public CycleDiscontinued() { diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleEol.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleEol.java index da69532..ae05de9 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleEol.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleEol.java @@ -30,7 +30,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_eol") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleEol { public CycleEol() { diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleLts.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleLts.java index c73812d..742aec0 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleLts.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleLts.java @@ -30,7 +30,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_lts") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleLts { public CycleLts() { diff --git a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleSupport.java b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleSupport.java index 8ac6c95..d98c45e 100644 --- a/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleSupport.java +++ b/clients/java-micronaut-server/generated/src/main/java/org/openapitools/model/CycleSupport.java @@ -30,7 +30,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("cycle_support") -@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-07-10T09:07:28.285773255Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautServerCodegen", date="2024-11-03T10:22:17.604596938Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Introspected public class CycleSupport { public CycleSupport() { diff --git a/clients/java-micronaut-server/generated/src/test/java/org/openapitools/controller/DefaultControllerTest.java b/clients/java-micronaut-server/generated/src/test/java/org/openapitools/controller/DefaultControllerTest.java index f50d4b6..30b8d81 100644 --- a/clients/java-micronaut-server/generated/src/test/java/org/openapitools/controller/DefaultControllerTest.java +++ b/clients/java-micronaut-server/generated/src/test/java/org/openapitools/controller/DefaultControllerTest.java @@ -79,7 +79,7 @@ void getApiAllJsonClientApiTest() throws IOException { // given String uri = UriTemplate.of("/api/all.json").expand(new HashMap<>()); MutableHttpRequest request = HttpRequest.GET(uri) - .accept("[Ljava.lang.String;@706cb08"); + .accept("[Ljava.lang.String;@3f92c349"); // when HttpResponse response = client.toBlocking().exchange(request, Argument.of(List.class, String.class)); @@ -127,7 +127,7 @@ void getApiProductCycleJsonClientApiTest() throws IOException { put("cycle", "example"); }}); MutableHttpRequest request = HttpRequest.GET(uri) - .accept("[Ljava.lang.String;@4e25147a"); + .accept("[Ljava.lang.String;@769a58e5"); // when HttpResponse response = client.toBlocking().exchange(request, Cycle.class); @@ -173,7 +173,7 @@ void getApiProductJsonClientApiTest() throws IOException { put("product", "example"); }}); MutableHttpRequest request = HttpRequest.GET(uri) - .accept("[Ljava.lang.String;@6b68cb27"); + .accept("[Ljava.lang.String;@55f8669d"); // when HttpResponse response = client.toBlocking().exchange(request, Argument.of(List.class, Cycle.class)); diff --git a/clients/java-msf4j/generated/.openapi-generator/VERSION b/clients/java-msf4j/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-msf4j/generated/.openapi-generator/VERSION +++ b/clients/java-msf4j/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-msf4j/generated/pom.xml b/clients/java-msf4j/generated/pom.xml index 13e6bb9..328336b 100644 --- a/clients/java-msf4j/generated/pom.xml +++ b/clients/java-msf4j/generated/pom.xml @@ -87,7 +87,7 @@ ${java.version} ${java.version} 4.0.4 - 2.15.2 + 2.17.1 1.3.5 UTF-8 diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApi.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApi.java index 987b131..2afc3a0 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApi.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApi.java @@ -27,7 +27,7 @@ @io.swagger.annotations.Api(description = "the api API") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApi { private final ApiApiService delegate = ApiApiServiceFactory.getApiApi(); @@ -50,7 +50,7 @@ public Response getApiAllJson() @io.swagger.annotations.ApiResponses(value = { @io.swagger.annotations.ApiResponse(code = 200, message = "OK", response = Cycle.class) }) public Response getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website",required=true) @PathParam("product") String product -,@ApiParam(value = "Release Cycle for which the details must be fetched",required=true) @PathParam("cycle") String cycle +,@ApiParam(value = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.",required=true) @PathParam("cycle") String cycle ) throws NotFoundException { return delegate.getApiProductCycleJson(product,cycle); diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApiService.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApiService.java index d282bd7..caccc5e 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApiService.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiApiService.java @@ -17,7 +17,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public abstract class ApiApiService { public abstract Response getApiAllJson() throws NotFoundException; public abstract Response getApiProductCycleJson(String product diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiException.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiException.java index 3f52f94..92518fd 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiException.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiException.java @@ -3,7 +3,7 @@ /** * The exception that can be used to store the HTTP status code returned by an API response. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiException extends Exception { /** The HTTP status code. */ private int code; diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java index 6b1836d..b93bd74 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java @@ -5,7 +5,7 @@ import javax.servlet.*; import javax.servlet.http.HttpServletResponse; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiOriginFilter implements javax.servlet.Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java index 5ce57f3..003abf3 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java @@ -3,7 +3,7 @@ import javax.xml.bind.annotation.XmlTransient; @javax.xml.bind.annotation.XmlRootElement -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiResponseMessage { public static final int ERROR = 1; public static final int WARNING = 2; diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/NotFoundException.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/NotFoundException.java index e9c34b1..90923fc 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/NotFoundException.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/NotFoundException.java @@ -1,6 +1,6 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class NotFoundException extends ApiException { private int code; public NotFoundException (int code, String msg) { diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/StringUtil.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/StringUtil.java index 3d2dfdd..369aec4 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/StringUtil.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/api/StringUtil.java @@ -1,6 +1,6 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/Cycle.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/Cycle.java index 6acc333..0f6521c 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/Cycle.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/Cycle.java @@ -18,7 +18,7 @@ * Details of a single release cycle of a given product. There might be some slight variations to this depending on the product. */ @ApiModel(description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { @JsonProperty("cycle") private CycleCycle cycle; diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleCycle.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleCycle.java index 1289d9b..cd149d6 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleCycle.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleCycle.java @@ -9,7 +9,7 @@ * Release Cycle */ @ApiModel(description = "Release Cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { @Override diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java index 95a97b2..2d91193 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java @@ -8,7 +8,7 @@ * Whether this cycle is now discontinued. */ @ApiModel(description = "Whether this cycle is now discontinued.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { @Override diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleEol.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleEol.java index 2209384..d27e22d 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleEol.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleEol.java @@ -8,7 +8,7 @@ * End of Life Date for this release cycle */ @ApiModel(description = "End of Life Date for this release cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { @Override diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleLts.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleLts.java index 50e5200..7843f58 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleLts.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleLts.java @@ -8,7 +8,7 @@ * Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. */ @ApiModel(description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { @Override diff --git a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleSupport.java b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleSupport.java index 981c9f2..5ca1c54 100644 --- a/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleSupport.java +++ b/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/CycleSupport.java @@ -8,7 +8,7 @@ * Whether this release cycle has active support */ @ApiModel(description = "Whether this release cycle has active support") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { @Override diff --git a/clients/java-msf4j/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java b/clients/java-msf4j/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java index 44a2cb6..1e261cb 100644 --- a/clients/java-msf4j/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java +++ b/clients/java-msf4j/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java @@ -17,7 +17,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-07-10T09:07:32.471414464Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2024-11-03T10:22:22.594639078Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApiServiceImpl extends ApiApiService { @Override public Response getApiAllJson() throws NotFoundException { diff --git a/clients/java-pkmst/generated/.openapi-generator/VERSION b/clients/java-pkmst/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-pkmst/generated/.openapi-generator/VERSION +++ b/clients/java-pkmst/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApi.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApi.java index f0ceb4d..0af0f3f 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApi.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApi.java @@ -1,5 +1,5 @@ /** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.6.0). + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.9.0). * https://openapi-generator.tech * Do not edit the class manually. */ @@ -20,7 +20,7 @@ * @author pkmst * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Api(value = "Default", description = "the Default API") public interface DefaultApi { @@ -43,7 +43,7 @@ public interface DefaultApi { value = "/api/{product}/{cycle}.json", produces = { "application/json" } ) - ResponseEntity getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website",required=true ) @PathVariable("product") String product,@ApiParam(value = "Release Cycle for which the details must be fetched",required=true ) @PathVariable("cycle") String cycle, @RequestHeader(value = "Accept", required = false) String accept) throws Exception; + ResponseEntity getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website",required=true ) @PathVariable("product") String product,@ApiParam(value = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.",required=true ) @PathVariable("cycle") String cycle, @RequestHeader(value = "Accept", required = false) String accept) throws Exception; @ApiOperation(value = "Get All Details", notes = "Get EoL dates of all cycles of a given product.", response = Cycle.class, responseContainer = "List", tags={ }) diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApiController.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApiController.java index 47925f9..b0355b0 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApiController.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/controller/DefaultApiController.java @@ -24,7 +24,7 @@ * @author pkmst * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Controller public class DefaultApiController implements DefaultApi { private final ObjectMapper objectMapper; @@ -44,7 +44,7 @@ public ResponseEntity> getApiAllJson(@RequestHeader(value = "Accept } public ResponseEntity getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website",required=true ) @PathVariable("product") String product, - @ApiParam(value = "Release Cycle for which the details must be fetched",required=true ) @PathVariable("cycle") String cycle, + @ApiParam(value = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.",required=true ) @PathVariable("cycle") String cycle, @RequestHeader(value = "Accept", required = false) String accept) throws Exception { // do some magic! diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/Cycle.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/Cycle.java index 271dba3..79e86ba 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/Cycle.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/Cycle.java @@ -23,7 +23,7 @@ */ @ApiModel(description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { @JsonProperty("cycle") private CycleCycle cycle; @@ -54,10 +54,10 @@ public Cycle cycle(CycleCycle cycle) { return this; } - /** + /** * Get cycle * @return cycle - **/ + */ @ApiModelProperty(value = "") public CycleCycle getCycle() { return cycle; @@ -72,10 +72,10 @@ public Cycle releaseDate(LocalDate releaseDate) { return this; } - /** + /** * Release Date for the first release in this cycle * @return releaseDate - **/ + */ @ApiModelProperty(value = "Release Date for the first release in this cycle") public LocalDate getReleaseDate() { return releaseDate; @@ -90,10 +90,10 @@ public Cycle eol(CycleEol eol) { return this; } - /** + /** * Get eol * @return eol - **/ + */ @ApiModelProperty(value = "") public CycleEol getEol() { return eol; @@ -108,10 +108,10 @@ public Cycle latest(String latest) { return this; } - /** + /** * Latest release in this cycle * @return latest - **/ + */ @ApiModelProperty(value = "Latest release in this cycle") public String getLatest() { return latest; @@ -126,10 +126,10 @@ public Cycle link(String link) { return this; } - /** + /** * Link to changelog for the latest release, if available * @return link - **/ + */ @ApiModelProperty(value = "Link to changelog for the latest release, if available") public String getLink() { return link; @@ -144,10 +144,10 @@ public Cycle lts(CycleLts lts) { return this; } - /** + /** * Get lts * @return lts - **/ + */ @ApiModelProperty(value = "") public CycleLts getLts() { return lts; @@ -162,10 +162,10 @@ public Cycle support(CycleSupport support) { return this; } - /** + /** * Get support * @return support - **/ + */ @ApiModelProperty(value = "") public CycleSupport getSupport() { return support; @@ -180,10 +180,10 @@ public Cycle discontinued(CycleDiscontinued discontinued) { return this; } - /** + /** * Get discontinued * @return discontinued - **/ + */ @ApiModelProperty(value = "") public CycleDiscontinued getDiscontinued() { return discontinued; diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleCycle.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleCycle.java index 0fcad02..25ef33b 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleCycle.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleCycle.java @@ -14,7 +14,7 @@ */ @ApiModel(description = "Release Cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { @Override diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleDiscontinued.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleDiscontinued.java index 7099118..138ad7e 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleDiscontinued.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleDiscontinued.java @@ -13,7 +13,7 @@ */ @ApiModel(description = "Whether this cycle is now discontinued.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { @Override diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleEol.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleEol.java index 065058d..b743055 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleEol.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleEol.java @@ -13,7 +13,7 @@ */ @ApiModel(description = "End of Life Date for this release cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { @Override diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleLts.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleLts.java index aecfc6e..c08dd6f 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleLts.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleLts.java @@ -13,7 +13,7 @@ */ @ApiModel(description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { @Override diff --git a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleSupport.java b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleSupport.java index 3731c3f..e2bba29 100644 --- a/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleSupport.java +++ b/clients/java-pkmst/generated/src/main/java/com/prokarma/pkmst/model/CycleSupport.java @@ -13,7 +13,7 @@ */ @ApiModel(description = "Whether this release cycle has active support") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-07-10T09:07:36.842108603Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPKMSTServerCodegen", date = "2024-11-03T10:22:27.837551129Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { @Override diff --git a/clients/java-play-framework/generated/.openapi-generator/VERSION b/clients/java-play-framework/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-play-framework/generated/.openapi-generator/VERSION +++ b/clients/java-play-framework/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-play-framework/generated/app/apimodels/Cycle.java b/clients/java-play-framework/generated/app/apimodels/Cycle.java index d9f1d27..f71078d 100644 --- a/clients/java-play-framework/generated/app/apimodels/Cycle.java +++ b/clients/java-play-framework/generated/app/apimodels/Cycle.java @@ -17,7 +17,7 @@ /** * Details of a single release cycle of a given product. There might be some slight variations to this depending on the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) public class Cycle { @JsonProperty("cycle") diff --git a/clients/java-play-framework/generated/app/apimodels/CycleCycle.java b/clients/java-play-framework/generated/app/apimodels/CycleCycle.java index 3af1ff5..24aa8e5 100644 --- a/clients/java-play-framework/generated/app/apimodels/CycleCycle.java +++ b/clients/java-play-framework/generated/app/apimodels/CycleCycle.java @@ -11,7 +11,7 @@ /** * Release Cycle */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) public class CycleCycle { diff --git a/clients/java-play-framework/generated/app/apimodels/CycleDiscontinued.java b/clients/java-play-framework/generated/app/apimodels/CycleDiscontinued.java index 0f36291..46d0452 100644 --- a/clients/java-play-framework/generated/app/apimodels/CycleDiscontinued.java +++ b/clients/java-play-framework/generated/app/apimodels/CycleDiscontinued.java @@ -10,7 +10,7 @@ /** * Whether this cycle is now discontinued. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) public class CycleDiscontinued { diff --git a/clients/java-play-framework/generated/app/apimodels/CycleEol.java b/clients/java-play-framework/generated/app/apimodels/CycleEol.java index 53c80c6..34e2a5a 100644 --- a/clients/java-play-framework/generated/app/apimodels/CycleEol.java +++ b/clients/java-play-framework/generated/app/apimodels/CycleEol.java @@ -10,7 +10,7 @@ /** * End of Life Date for this release cycle */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) public class CycleEol { diff --git a/clients/java-play-framework/generated/app/apimodels/CycleLts.java b/clients/java-play-framework/generated/app/apimodels/CycleLts.java index fe67cdb..1943e75 100644 --- a/clients/java-play-framework/generated/app/apimodels/CycleLts.java +++ b/clients/java-play-framework/generated/app/apimodels/CycleLts.java @@ -10,7 +10,7 @@ /** * Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) public class CycleLts { diff --git a/clients/java-play-framework/generated/app/apimodels/CycleSupport.java b/clients/java-play-framework/generated/app/apimodels/CycleSupport.java index 862d948..bc8289f 100644 --- a/clients/java-play-framework/generated/app/apimodels/CycleSupport.java +++ b/clients/java-play-framework/generated/app/apimodels/CycleSupport.java @@ -10,7 +10,7 @@ /** * Whether this release cycle has active support */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) public class CycleSupport { diff --git a/clients/java-play-framework/generated/app/controllers/DefaultApiController.java b/clients/java-play-framework/generated/app/controllers/DefaultApiController.java index 7626674..b488bdc 100644 --- a/clients/java-play-framework/generated/app/controllers/DefaultApiController.java +++ b/clients/java-play-framework/generated/app/controllers/DefaultApiController.java @@ -24,7 +24,7 @@ import openapitools.OpenAPIUtils.ApiAction; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class DefaultApiController extends Controller { private final DefaultApiControllerImpInterface imp; private final ObjectMapper mapper; diff --git a/clients/java-play-framework/generated/app/controllers/DefaultApiControllerImp.java b/clients/java-play-framework/generated/app/controllers/DefaultApiControllerImp.java index 71fbf87..618dc74 100644 --- a/clients/java-play-framework/generated/app/controllers/DefaultApiControllerImp.java +++ b/clients/java-play-framework/generated/app/controllers/DefaultApiControllerImp.java @@ -11,7 +11,7 @@ import play.libs.Files.TemporaryFile; import javax.validation.constraints.*; import javax.validation.Valid; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-07-10T09:07:40.782491549Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen", date = "2024-11-03T10:22:32.265313449Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class DefaultApiControllerImp extends DefaultApiControllerImpInterface { @Override public List getApiAllJson(Http.Request request) throws Exception { diff --git a/clients/java-play-framework/generated/public/openapi.json b/clients/java-play-framework/generated/public/openapi.json index 566294f..7915b55 100644 --- a/clients/java-play-framework/generated/public/openapi.json +++ b/clients/java-play-framework/generated/public/openapi.json @@ -105,7 +105,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/java-undertow-server/generated/.openapi-generator/VERSION b/clients/java-undertow-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-undertow-server/generated/.openapi-generator/VERSION +++ b/clients/java-undertow-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-undertow-server/generated/pom.xml b/clients/java-undertow-server/generated/pom.xml index 22d84a7..1cfa501 100644 --- a/clients/java-undertow-server/generated/pom.xml +++ b/clients/java-undertow-server/generated/pom.xml @@ -29,7 +29,7 @@ 1.4.13 4.13.2 2.1.0-beta.124 - 2.3.12.Final + 2.3.17.Final 2.2.0 4.5.13 4.1.2 diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/handler/PathHandlerInterface.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/handler/PathHandlerInterface.java index 35b5dc0..bc20550 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/handler/PathHandlerInterface.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/handler/PathHandlerInterface.java @@ -56,7 +56,7 @@ public interface PathHandlerInterface { * *
  • *

    "cycle" - *

    Release Cycle for which the details must be fetched

    + *

    Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.

    *

    * - Parameter type: {@link String}
    * - Appears in: {@link HttpServerExchange#getPathParameters Path}
    diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/Cycle.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/Cycle.java index b51dce0..027f41f 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/Cycle.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/Cycle.java @@ -30,7 +30,7 @@ */ @ApiModel(description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-07-10T09:07:44.671462021Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-11-03T10:22:36.488899404Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { private CycleCycle cycle; diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleCycle.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleCycle.java index 57ed65f..a82d961 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleCycle.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleCycle.java @@ -21,7 +21,7 @@ */ @ApiModel(description = "Release Cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-07-10T09:07:44.671462021Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-11-03T10:22:36.488899404Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java index b01920f..f6652ae 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java @@ -20,7 +20,7 @@ */ @ApiModel(description = "Whether this cycle is now discontinued.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-07-10T09:07:44.671462021Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-11-03T10:22:36.488899404Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleEol.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleEol.java index fc49adf..5a6fbda 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleEol.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleEol.java @@ -20,7 +20,7 @@ */ @ApiModel(description = "End of Life Date for this release cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-07-10T09:07:44.671462021Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-11-03T10:22:36.488899404Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleLts.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleLts.java index d2c7f88..2cb1b8a 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleLts.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleLts.java @@ -20,7 +20,7 @@ */ @ApiModel(description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-07-10T09:07:44.671462021Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-11-03T10:22:36.488899404Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { diff --git a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleSupport.java b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleSupport.java index 12eaf73..1757bcf 100644 --- a/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleSupport.java +++ b/clients/java-undertow-server/generated/src/main/java/org/openapitools/model/CycleSupport.java @@ -20,7 +20,7 @@ */ @ApiModel(description = "Whether this release cycle has active support") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-07-10T09:07:44.671462021Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaUndertowServerCodegen", date = "2024-11-03T10:22:36.488899404Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { diff --git a/clients/java-undertow-server/generated/src/main/resources/config/openapi.json b/clients/java-undertow-server/generated/src/main/resources/config/openapi.json index 566294f..7915b55 100644 --- a/clients/java-undertow-server/generated/src/main/resources/config/openapi.json +++ b/clients/java-undertow-server/generated/src/main/resources/config/openapi.json @@ -105,7 +105,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/java-vertx-web/generated/.openapi-generator/VERSION b/clients/java-vertx-web/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-vertx-web/generated/.openapi-generator/VERSION +++ b/clients/java-vertx-web/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-vertx-web/generated/README.md b/clients/java-vertx-web/generated/README.md index 6574951..7ce2c79 100644 --- a/clients/java-vertx-web/generated/README.md +++ b/clients/java-vertx-web/generated/README.md @@ -1,5 +1,5 @@ -Project generated on : 2024-07-10T09:07:54.117710974Z[Etc/UTC] -Generator version: 7.6.0 +Project generated on : 2024-11-03T10:22:44.688416108Z[Etc/UTC] +Generator version: 7.9.0 ## Getting Started diff --git a/clients/java-vertx-web/generated/pom.xml b/clients/java-vertx-web/generated/pom.xml index ca02ee9..06f20e8 100644 --- a/clients/java-vertx-web/generated/pom.xml +++ b/clients/java-vertx-web/generated/pom.xml @@ -20,7 +20,7 @@ 4.2.4 5.10.0 1.7.30 - 2.15.2 + 2.17.1 org.openapitools.vertxweb.server.HttpServerVerticle diff --git a/clients/java-vertx-web/generated/src/main/resources/openapi.yaml b/clients/java-vertx-web/generated/src/main/resources/openapi.yaml index cbd1969..889a892 100644 --- a/clients/java-vertx-web/generated/src/main/resources/openapi.yaml +++ b/clients/java-vertx-web/generated/src/main/resources/openapi.yaml @@ -84,7 +84,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/java-vertx/generated/.openapi-generator/VERSION b/clients/java-vertx/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java-vertx/generated/.openapi-generator/VERSION +++ b/clients/java-vertx/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java-vertx/generated/README.md b/clients/java-vertx/generated/README.md index 87eb82e..593e0a6 100644 --- a/clients/java-vertx/generated/README.md +++ b/clients/java-vertx/generated/README.md @@ -1,2 +1,2 @@ -Project generated on : 2024-07-10T09:07:49.368851340Z[Etc/UTC] -Generator version: 7.6.0 +Project generated on : 2024-11-03T10:22:40.471520841Z[Etc/UTC] +Generator version: 7.9.0 diff --git a/clients/java-vertx/generated/pom.xml b/clients/java-vertx/generated/pom.xml index 2566250..4595aed 100644 --- a/clients/java-vertx/generated/pom.xml +++ b/clients/java-vertx/generated/pom.xml @@ -17,7 +17,7 @@ 3.8.1 2.3 - 2.7.4 + 2.17.1 diff --git a/clients/java-vertx/generated/src/main/resources/openapi.json b/clients/java-vertx/generated/src/main/resources/openapi.json index 8eec416..7f7fdcc 100644 --- a/clients/java-vertx/generated/src/main/resources/openapi.json +++ b/clients/java-vertx/generated/src/main/resources/openapi.json @@ -107,7 +107,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/java/generated/.openapi-generator/VERSION b/clients/java/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/java/generated/.openapi-generator/VERSION +++ b/clients/java/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/java/generated/README.md b/clients/java/generated/README.md index 065d49e..378a500 100644 --- a/clients/java/generated/README.md +++ b/clients/java/generated/README.md @@ -2,8 +2,8 @@ endoflife.date - API version: 0.0.1 - - Build date: 2024-07-10T09:07:06.482896812Z[Etc/UTC] - - Generator version: 7.6.0 + - Build date: 2024-11-03T10:21:55.523664977Z[Etc/UTC] + - Generator version: 7.9.0 Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) @@ -85,7 +85,7 @@ Please follow the [installation](#installation) instruction and execute the foll import com.github.oapicf.endoflifedate.ApiClient; import com.github.oapicf.endoflifedate.ApiException; import com.github.oapicf.endoflifedate.Configuration; -import com.github.oapicf.endoflifedate.models.*; +import com.github.oapicf.endoflifedate.model.*; import com.github.oapicf.endoflifedate.api.DefaultApi; public class Example { diff --git a/clients/java/generated/api/openapi.yaml b/clients/java/generated/api/openapi.yaml index 864e27e..d4626c7 100644 --- a/clients/java/generated/api/openapi.yaml +++ b/clients/java/generated/api/openapi.yaml @@ -84,7 +84,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/java/generated/build.gradle b/clients/java/generated/build.gradle index 822abf5..517424c 100644 --- a/clients/java/generated/build.gradle +++ b/clients/java/generated/build.gradle @@ -112,14 +112,13 @@ dependencies { implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' implementation 'com.google.code.gson:gson:2.9.1' implementation 'io.gsonfire:gson-fire:1.9.0' - implementation 'javax.ws.rs:jsr311-api:1.1.1' - implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' + implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6' implementation 'org.openapitools:jackson-databind-nullable:0.2.6' implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3' testImplementation 'org.mockito:mockito-core:3.12.4' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.3' } javadoc { diff --git a/clients/java/generated/build.sbt b/clients/java/generated/build.sbt index 7185e08..46f31e1 100644 --- a/clients/java/generated/build.sbt +++ b/clients/java/generated/build.sbt @@ -14,14 +14,13 @@ lazy val root = (project in file(".")). "com.squareup.okhttp3" % "logging-interceptor" % "4.12.0", "com.google.code.gson" % "gson" % "2.9.1", "org.apache.commons" % "commons-lang3" % "3.12.0", - "javax.ws.rs" % "jsr311-api" % "1.1.1", - "javax.ws.rs" % "javax.ws.rs-api" % "2.1.1", + "jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6", "org.openapitools" % "jackson-databind-nullable" % "0.2.6", "io.gsonfire" % "gson-fire" % "1.9.0" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test", + "org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test", "com.novocode" % "junit-interface" % "0.10" % "test", "org.mockito" % "mockito-core" % "3.12.4" % "test" ) diff --git a/clients/java/generated/docs/DefaultApi.md b/clients/java/generated/docs/DefaultApi.md index f9eea4a..101a5de 100644 --- a/clients/java/generated/docs/DefaultApi.md +++ b/clients/java/generated/docs/DefaultApi.md @@ -91,7 +91,7 @@ public class Example { DefaultApi apiInstance = new DefaultApi(defaultClient); String product = "product_example"; // String | Product URL as per the canonical URL on the endofife.date website - String cycle = "cycle_example"; // String | Release Cycle for which the details must be fetched + String cycle = "cycle_example"; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { Cycle result = apiInstance.getApiProductCycleJson(product, cycle); System.out.println(result); @@ -111,7 +111,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **product** | **String**| Product URL as per the canonical URL on the endofife.date website | | -| **cycle** | **String**| Release Cycle for which the details must be fetched | | +| **cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | | ### Return type diff --git a/clients/java/generated/pom.xml b/clients/java/generated/pom.xml index fec0848..9447959 100644 --- a/clients/java/generated/pom.xml +++ b/clients/java/generated/pom.xml @@ -301,14 +301,9 @@ ${jackson-databind-nullable-version} - javax.ws.rs - jsr311-api - ${jsr311-api-version} - - - javax.ws.rs - javax.ws.rs-api - ${javax.ws.rs-api-version} + jakarta.ws.rs + jakarta.ws.rs-api + ${jakarta.ws.rs-api-version} @@ -329,14 +324,15 @@ ${java.version} ${java.version} 1.9.0 - 4.11.0 + 4.12.0 2.10.1 3.14.0 0.2.6 1.3.5 - 5.10.2 + 2.0.2 + 5.10.3 1.10.0 - 2.1.1 + 2.1.6 1.1.1 UTF-8 2.43.0 diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiClient.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiClient.java index b17b59a..cd4920b 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiClient.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiClient.java @@ -733,6 +733,30 @@ public List parameterToPairs(String collectionFormat, String name, Collect return params; } + /** + * Formats the specified free-form query parameters to a list of {@code Pair} objects. + * + * @param value The free-form query parameters. + * @return A list of {@code Pair} objects. + */ + public List freeFormParameterToPairs(Object value) { + List params = new ArrayList<>(); + + // preconditions + if (value == null || !(value instanceof Map )) { + return params; + } + + final Map valuesMap = (Map) value; + + for (Map.Entry entry : valuesMap.entrySet()) { + params.add(new Pair(entry.getKey(), parameterToString(entry.getValue()))); + } + + return params; + } + + /** * Formats the specified collection path parameter to a string value. * @@ -1171,10 +1195,6 @@ public Call buildCall(String baseUrl, String path, String method, List que * @throws com.github.oapicf.endoflifedate.ApiException If fail to serialize the request body object */ public Request buildRequest(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - // aggregate queryParams (non-collection) and collectionQueryParams into allQueryParams - List allQueryParams = new ArrayList(queryParams); - allQueryParams.addAll(collectionQueryParams); - final String url = buildUrl(baseUrl, path, queryParams, collectionQueryParams); // prepare HTTP request body @@ -1202,10 +1222,12 @@ public Request buildRequest(String baseUrl, String path, String method, List updatedQueryParams = new ArrayList<>(queryParams); + // update parameters with authentication settings - updateParamsForAuth(authNames, allQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); + updateParamsForAuth(authNames, updatedQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); - final Request.Builder reqBuilder = new Request.Builder().url(url); + final Request.Builder reqBuilder = new Request.Builder().url(buildUrl(baseUrl, path, updatedQueryParams, collectionQueryParams)); processHeaderParams(headerParams, reqBuilder); processCookieParams(cookieParams, reqBuilder); diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiException.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiException.java index 1d5f70d..acff4f8 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiException.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ApiException.java @@ -21,7 +21,7 @@ *

    ApiException class.

    */ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Configuration.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Configuration.java index 4fa960f..c72517d 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Configuration.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Configuration.java @@ -13,7 +13,7 @@ package com.github.oapicf.endoflifedate; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Configuration { public static final String VERSION = "1.0.0-pre.0"; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/JSON.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/JSON.java index 9071e87..92c93ce 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/JSON.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/JSON.java @@ -13,11 +13,11 @@ package com.github.oapicf.endoflifedate; -import com.fasterxml.jackson.databind.util.StdDateFormat; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapter; +import com.google.gson.internal.bind.util.ISO8601Utils; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import com.google.gson.JsonElement; @@ -31,16 +31,14 @@ import java.lang.reflect.Type; import java.text.DateFormat; import java.text.ParseException; +import java.text.ParsePosition; import java.time.LocalDate; import java.time.OffsetDateTime; -import java.time.ZoneId; -import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.Locale; import java.util.Map; import java.util.HashMap; -import java.util.TimeZone; /* * A JSON utility class @@ -57,11 +55,6 @@ public class JSON { private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - private static final StdDateFormat sdf = new StdDateFormat() - .withTimeZone(TimeZone.getTimeZone(ZoneId.systemDefault())) - .withColonInTimeZone(true); - private static final DateTimeFormatter dtf = DateTimeFormatter.ISO_OFFSET_DATE_TIME; - @SuppressWarnings("unchecked") public static GsonBuilder createGson() { GsonFireBuilder fireBuilder = new GsonFireBuilder() @@ -338,7 +331,7 @@ public java.sql.Date read(JsonReader in) throws IOException { if (dateFormat != null) { return new java.sql.Date(dateFormat.parse(date).getTime()); } - return new java.sql.Date(sdf.parse(date).getTime()); + return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); } catch (ParseException e) { throw new JsonParseException(e); } @@ -348,7 +341,7 @@ public java.sql.Date read(JsonReader in) throws IOException { /** * Gson TypeAdapter for java.util.Date type - * If the dateFormat is null, DateTimeFormatter will be used. + * If the dateFormat is null, ISO8601Utils will be used. */ public static class DateTypeAdapter extends TypeAdapter { @@ -373,7 +366,7 @@ public void write(JsonWriter out, Date date) throws IOException { if (dateFormat != null) { value = dateFormat.format(date); } else { - value = date.toInstant().atOffset(ZoneOffset.UTC).format(dtf); + value = ISO8601Utils.format(date, true); } out.value(value); } @@ -392,7 +385,7 @@ public Date read(JsonReader in) throws IOException { if (dateFormat != null) { return dateFormat.parse(date); } - return sdf.parse(date); + return ISO8601Utils.parse(date, new ParsePosition(0)); } catch (ParseException e) { throw new JsonParseException(e); } diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Pair.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Pair.java index a6737c3..01efe55 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Pair.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/Pair.java @@ -13,7 +13,7 @@ package com.github.oapicf.endoflifedate; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Pair { private String name = ""; private String value = ""; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerConfiguration.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerConfiguration.java index ebff608..a20cfab 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerConfiguration.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerConfiguration.java @@ -1,3 +1,16 @@ +/* + * endoflife.date + * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) + * + * The version of the OpenAPI document: 0.0.1 + * Contact: blah+oapicf@cliffano.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package com.github.oapicf.endoflifedate; import java.util.Map; @@ -5,7 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ServerConfiguration { public String URL; public String description; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerVariable.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerVariable.java index ad65661..ccff41a 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerVariable.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/ServerVariable.java @@ -1,3 +1,16 @@ +/* + * endoflife.date + * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) + * + * The version of the OpenAPI document: 0.0.1 + * Contact: blah+oapicf@cliffano.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package com.github.oapicf.endoflifedate; import java.util.HashSet; @@ -5,7 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/StringUtil.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/StringUtil.java index cd0ed12..bdc6541 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/StringUtil.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/api/DefaultApi.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/api/DefaultApi.java index 9b13ec1..69b52b1 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/api/DefaultApi.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/api/DefaultApi.java @@ -188,7 +188,7 @@ public okhttp3.Call getApiAllJsonAsync(final ApiCallback> _callback /** * Build call for getApiProductCycleJson * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -264,7 +264,7 @@ private okhttp3.Call getApiProductCycleJsonValidateBeforeCall(String product, St * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @return Cycle * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -282,7 +282,7 @@ public Cycle getApiProductCycleJson(String product, String cycle) throws ApiExce * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @return ApiResponse<Cycle> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -301,7 +301,7 @@ public ApiResponse getApiProductCycleJsonWithHttpInfo(String product, Str * Single cycle details (asynchronously) * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/ApiKeyAuth.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/ApiKeyAuth.java index 039879c..c024e54 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/ApiKeyAuth.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBasicAuth.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBasicAuth.java index 62c0d2d..91cc5c0 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBasicAuth.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBasicAuth.java @@ -22,8 +22,6 @@ import java.util.Map; import java.util.List; -import java.io.UnsupportedEncodingException; - public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBearerAuth.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBearerAuth.java index 2a755cd..7f945ce 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBearerAuth.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/auth/HttpBearerAuth.java @@ -22,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/AbstractOpenApiSchema.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/AbstractOpenApiSchema.java index 57a8624..dcbe979 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/AbstractOpenApiSchema.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/AbstractOpenApiSchema.java @@ -21,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/Cycle.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/Cycle.java index b5544b6..3b4f9c5 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/Cycle.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/Cycle.java @@ -44,7 +44,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -56,7 +55,7 @@ /** * Details of a single release cycle of a given product. There might be some slight variations to this depending on the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { public static final String SERIALIZED_NAME_CYCLE = "cycle"; @SerializedName(SERIALIZED_NAME_CYCLE) @@ -98,10 +97,10 @@ public Cycle cycle(CycleCycle cycle) { return this; } - /** + /** * Get cycle * @return cycle - **/ + */ @javax.annotation.Nullable public CycleCycle getCycle() { return cycle; @@ -117,10 +116,10 @@ public Cycle releaseDate(LocalDate releaseDate) { return this; } - /** + /** * Release Date for the first release in this cycle * @return releaseDate - **/ + */ @javax.annotation.Nullable public LocalDate getReleaseDate() { return releaseDate; @@ -136,10 +135,10 @@ public Cycle eol(CycleEol eol) { return this; } - /** + /** * Get eol * @return eol - **/ + */ @javax.annotation.Nullable public CycleEol getEol() { return eol; @@ -155,10 +154,10 @@ public Cycle latest(String latest) { return this; } - /** + /** * Latest release in this cycle * @return latest - **/ + */ @javax.annotation.Nullable public String getLatest() { return latest; @@ -174,10 +173,10 @@ public Cycle link(String link) { return this; } - /** + /** * Link to changelog for the latest release, if available * @return link - **/ + */ @javax.annotation.Nullable public String getLink() { return link; @@ -193,10 +192,10 @@ public Cycle lts(CycleLts lts) { return this; } - /** + /** * Get lts * @return lts - **/ + */ @javax.annotation.Nullable public CycleLts getLts() { return lts; @@ -212,10 +211,10 @@ public Cycle support(CycleSupport support) { return this; } - /** + /** * Get support * @return support - **/ + */ @javax.annotation.Nullable public CycleSupport getSupport() { return support; @@ -231,10 +230,10 @@ public Cycle discontinued(CycleDiscontinued discontinued) { return this; } - /** + /** * Get discontinued * @return discontinued - **/ + */ @javax.annotation.Nullable public CycleDiscontinued getDiscontinued() { return discontinued; @@ -328,12 +327,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Cycle - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Cycle + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Cycle.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -406,22 +405,22 @@ public Cycle read(JsonReader in) throws IOException { } } - /** - * Create an instance of Cycle given an JSON string - * - * @param jsonString JSON string - * @return An instance of Cycle - * @throws IOException if the JSON string is invalid with respect to Cycle - */ + /** + * Create an instance of Cycle given an JSON string + * + * @param jsonString JSON string + * @return An instance of Cycle + * @throws IOException if the JSON string is invalid with respect to Cycle + */ public static Cycle fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Cycle.class); } - /** - * Convert an instance of Cycle to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Cycle to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleCycle.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleCycle.java index 1470162..6df7917 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleCycle.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleCycle.java @@ -51,7 +51,7 @@ import com.github.oapicf.endoflifedate.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CycleCycle.class.getName()); diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleDiscontinued.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleDiscontinued.java index 45fccbe..05424a5 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleDiscontinued.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleDiscontinued.java @@ -50,7 +50,7 @@ import com.github.oapicf.endoflifedate.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CycleDiscontinued.class.getName()); diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleEol.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleEol.java index 8f7df74..b85de1b 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleEol.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleEol.java @@ -50,7 +50,7 @@ import com.github.oapicf.endoflifedate.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CycleEol.class.getName()); diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleLts.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleLts.java index 69d6abf..bb8e894 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleLts.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleLts.java @@ -50,7 +50,7 @@ import com.github.oapicf.endoflifedate.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CycleLts.class.getName()); diff --git a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleSupport.java b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleSupport.java index eeb214b..67b2aef 100644 --- a/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleSupport.java +++ b/clients/java/generated/src/main/java/com/github/oapicf/endoflifedate/model/CycleSupport.java @@ -50,7 +50,7 @@ import com.github.oapicf.endoflifedate.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T09:07:06.482896812Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-03T10:21:55.523664977Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CycleSupport.class.getName()); diff --git a/clients/javascript-closure-angular/generated/.openapi-generator/VERSION b/clients/javascript-closure-angular/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/javascript-closure-angular/generated/.openapi-generator/VERSION +++ b/clients/javascript-closure-angular/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/javascript-closure-angular/generated/API/Client/DefaultApi.js b/clients/javascript-closure-angular/generated/API/Client/DefaultApi.js index dee5204..b8cc5f2 100644 --- a/clients/javascript-closure-angular/generated/API/Client/DefaultApi.js +++ b/clients/javascript-closure-angular/generated/API/Client/DefaultApi.js @@ -5,7 +5,7 @@ * * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * Version: 0.0.1 -* Generator version: 7.6.0 +* Generator version: 7.9.0 * Generated by: org.openapitools.codegen.languages.JavascriptClosureAngularClientCodegen */ /** @@ -79,7 +79,7 @@ API.Client.DefaultApi.prototype.getApiAllJson = function(opt_extraHttpRequestPar * Single cycle details * Gets details of a single cycle * @param {!string} product Product URL as per the canonical URL on the endofife.date website - * @param {!string} cycle Release Cycle for which the details must be fetched + * @param {!string} cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @param {!angular.$http.Config=} opt_extraHttpRequestParams Extra HTTP parameters to send. * @return {!angular.$q.Promise} */ diff --git a/clients/javascript-flowtyped/generated/.openapi-generator/VERSION b/clients/javascript-flowtyped/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/javascript-flowtyped/generated/.openapi-generator/VERSION +++ b/clients/javascript-flowtyped/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/javascript/generated/.openapi-generator/VERSION b/clients/javascript/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/javascript/generated/.openapi-generator/VERSION +++ b/clients/javascript/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/javascript/generated/README.md b/clients/javascript/generated/README.md index 9985d39..d3a2e0f 100644 --- a/clients/javascript/generated/README.md +++ b/clients/javascript/generated/README.md @@ -6,7 +6,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g - API version: 0.0.1 - Package version: 1.0.1-pre.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/javascript/generated/docs/DefaultApi.md b/clients/javascript/generated/docs/DefaultApi.md index 2b2581c..653ec7a 100644 --- a/clients/javascript/generated/docs/DefaultApi.md +++ b/clients/javascript/generated/docs/DefaultApi.md @@ -66,7 +66,7 @@ import EndoflifeDate from 'endoflife-date'; let apiInstance = new EndoflifeDate.DefaultApi(); let product = "product_example"; // String | Product URL as per the canonical URL on the endofife.date website -let cycle = "cycle_example"; // String | Release Cycle for which the details must be fetched +let cycle = "cycle_example"; // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. apiInstance.getApiProductCycleJson(product, cycle, (error, data, response) => { if (error) { console.error(error); @@ -82,7 +82,7 @@ apiInstance.getApiProductCycleJson(product, cycle, (error, data, response) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **String**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **String**| Release Cycle for which the details must be fetched | + **cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/javascript/generated/package-lock.json b/clients/javascript/generated/package-lock.json index 61f8beb..d331982 100644 --- a/clients/javascript/generated/package-lock.json +++ b/clients/javascript/generated/package-lock.json @@ -41,6 +41,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -50,9 +51,10 @@ } }, "node_modules/@babel/cli": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.24.7.tgz", - "integrity": "sha512-8dfPprJgV4O14WTx+AQyEA+opgUKPrsIXX/MdL50J1n06EQJ6m1T+CdsJe0qEC0B/Xl85i+Un5KVAxd/PACX9A==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.25.9.tgz", + "integrity": "sha512-I+02IfrTiSanpxJBlZQYb18qCxB6c2Ih371cVpfgIrPQrjAYkf45XxomTJOG8JBWX5GY35/+TmhCMdJ4ZPkL8Q==", + "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "commander": "^6.2.0", @@ -71,18 +73,20 @@ }, "optionalDependencies": { "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", - "chokidar": "^3.4.0" + "chokidar": "^3.6.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/@babel/code-frame": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", - "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "license": "MIT", "dependencies": { - "@babel/highlight": "^7.24.7", + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", "picocolors": "^1.0.0" }, "engines": { @@ -90,28 +94,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.7.tgz", - "integrity": "sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.2.tgz", + "integrity": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.7.tgz", - "integrity": "sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", + "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", + "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helpers": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7", + "@babel/code-frame": "^7.26.0", + "@babel/generator": "^7.26.0", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.0", + "@babel/parser": "^7.26.0", + "@babel/template": "^7.25.9", + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.26.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -127,52 +133,57 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz", - "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.2.tgz", + "integrity": "sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.7", + "@babel/parser": "^7.26.2", + "@babel/types": "^7.26.0", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^2.5.1" + "jsesc": "^3.0.2" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz", - "integrity": "sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz", + "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.7" + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.24.7.tgz", - "integrity": "sha512-xZeCVVdwb4MsDBkkyZ64tReWYrLRHlMN72vP7Bdm3OUOuyFZExhsHUUnuWnm2/XOlAJzR0LfPpB56WXZn0X/lA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.25.9.tgz", + "integrity": "sha512-C47lC7LIDCnz0h4vai/tpNOI95tCd5ZT3iBt/DBH5lXKHZsyNQv18yf1wIIg2ntiQNgmAvA+DgZ82iW8Qdym8g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz", - "integrity": "sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", + "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", + "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.24.7", - "@babel/helper-validator-option": "^7.24.7", - "browserslist": "^4.22.2", + "@babel/compat-data": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -181,19 +192,18 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.7.tgz", - "integrity": "sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-member-expression-to-functions": "^7.24.7", - "@babel/helper-optimise-call-expression": "^7.24.7", - "@babel/helper-replace-supers": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.9.tgz", + "integrity": "sha512-UTZQMvt0d/rSz6KI+qdu7GQze5TIajwTS++GUozlw8VBJDEOAqSXwm1WvmYEZwqdqSGQshRocPDqrt4HBZB3fQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-member-expression-to-functions": "^7.25.9", + "@babel/helper-optimise-call-expression": "^7.25.9", + "@babel/helper-replace-supers": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", + "@babel/traverse": "^7.25.9", "semver": "^6.3.1" }, "engines": { @@ -204,13 +214,14 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.24.7.tgz", - "integrity": "sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.9.tgz", + "integrity": "sha512-ORPNZ3h6ZRkOyAa/SaHU+XsLZr0UQzRwuDQ0cczIA17nAzZ+85G5cVkOJIj7QavLZGSe8QXUmNFxSZzjcZF9bw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "regexpu-core": "^5.3.1", + "@babel/helper-annotate-as-pure": "^7.25.9", + "regexpu-core": "^6.1.1", "semver": "^6.3.1" }, "engines": { @@ -225,6 +236,7 @@ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz", "integrity": "sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.22.6", "@babel/helper-plugin-utils": "^7.22.5", @@ -236,75 +248,42 @@ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", - "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", - "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", - "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", - "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz", - "integrity": "sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz", + "integrity": "sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", - "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "license": "MIT", "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz", - "integrity": "sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-simple-access": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -314,35 +293,38 @@ } }, "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz", - "integrity": "sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz", + "integrity": "sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.7" + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz", - "integrity": "sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz", + "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.24.7.tgz", - "integrity": "sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.9.tgz", + "integrity": "sha512-IZtukuUeBbhgOcaW2s06OXTzVNJR0ybm4W5xC1opWFFJMZbwRj5LCk+ByYH7WdZPZTt8KnFwA8pvjN2yqcPlgw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-wrap-function": "^7.24.7" + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-wrap-function": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -352,14 +334,15 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz", - "integrity": "sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.25.9.tgz", + "integrity": "sha512-IiDqTOTBQy0sWyeXyGSC5TBJpGFXBkRynjBeXsvbhQFKj2viwJC76Epz35YLU1fpe/Am6Vppb7W7zM4fPQzLsQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-member-expression-to-functions": "^7.24.7", - "@babel/helper-optimise-call-expression": "^7.24.7" + "@babel/helper-member-expression-to-functions": "^7.25.9", + "@babel/helper-optimise-call-expression": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -369,110 +352,96 @@ } }, "node_modules/@babel/helper-simple-access": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", - "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.9.tgz", + "integrity": "sha512-c6WHXuiaRsJTyHYLJV75t9IqsmTbItYfdj99PnzYGQZkYKvan5/2jKJ7gu31J3/BJ/A18grImSPModuyG/Eo0Q==", + "dev": true, + "license": "MIT", "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz", - "integrity": "sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz", + "integrity": "sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", - "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", - "dependencies": { - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz", - "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", - "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz", - "integrity": "sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.24.7.tgz", - "integrity": "sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.9.tgz", + "integrity": "sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-function-name": "^7.24.7", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/template": "^7.25.9", + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.7.tgz", - "integrity": "sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", + "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", + "license": "MIT", "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/highlight": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", - "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", + "node_modules/@babel/parser": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", + "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", + "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.24.7", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "@babel/types": "^7.26.0" }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", - "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", "bin": { "parser": "bin/babel-parser.js" }, @@ -481,13 +450,30 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.7.tgz", - "integrity": "sha512-TiT1ss81W80eQsN+722OaeQMY/G4yTb4G9JrqeiDADs3N8lbPMGldWi9x8tyqCW5NLx1Jh2AvkE6r6QvEltMMQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.9.tgz", + "integrity": "sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/traverse": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.9.tgz", + "integrity": "sha512-MrGRLZxLD/Zjj0gdU15dfs+HH/OXvnw/U4jJD8vpcP2CJQapPEv1IWwjc/qMg7ItBlPwSv1hRBbb7LeuANdcnw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -497,12 +483,13 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.7.tgz", - "integrity": "sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.9.tgz", + "integrity": "sha512-2qUwwfAFpJLZqxd02YW9btUCZHl+RFvdDkNfZwaIJrvB8Tesjsk8pEQkTvGwZXLqXUx/2oyY3ySRhm6HOXuCug==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -512,14 +499,15 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.7.tgz", - "integrity": "sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.9.tgz", + "integrity": "sha512-6xWgLZTJXwilVjlnV7ospI3xi+sl8lN8rXXbBD6vYn3UYDlGsag8wrZkKcSI8G6KgqKP7vNFaDgeDnfAABq61g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", + "@babel/plugin-transform-optional-chaining": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -529,13 +517,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.7.tgz", - "integrity": "sha512-utA4HuR6F4Vvcr+o4DnjL8fCOlgRFGbeeBEGNg3ZTrLFw6VWG5XmUrvcQ0FjIYMU2ST4XcR2Wsp7t9qOAPnxMg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.9.tgz", + "integrity": "sha512-aLnMXYPnzwwqhYSCyXfKkIkYgJ8zv9RK+roo9DkTXz38ynIhd9XCbN08s3MGvqL2MYGVUGdRQLL/JqBIeJhJBg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -550,6 +539,7 @@ "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-create-class-features-plugin": "^7.18.6", "@babel/helper-plugin-utils": "^7.18.6" @@ -562,14 +552,15 @@ } }, "node_modules/@babel/plugin-proposal-decorators": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.24.7.tgz", - "integrity": "sha512-RL9GR0pUG5Kc8BUWLNDm2T5OpYwSX15r98I0IkgmRQTXuELq/OynH8xtMTMvTJFjXbMWFVTKtYkTaYQsuAwQlQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.25.9.tgz", + "integrity": "sha512-smkNLL/O1ezy9Nhy4CNosc4Va+1wo5w4gzSZeLe6y6dM4mmHfYOCPolXQPHQxonZCF+ZyebxN9vqOolkYrSn5g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-decorators": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/plugin-syntax-decorators": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -579,13 +570,13 @@ } }, "node_modules/@babel/plugin-proposal-do-expressions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.24.7.tgz", - "integrity": "sha512-M9pJwhoROof4rc4WzDdMoftv8JrtYfBVurvReacQ8lit+qUd0d71+1zUltb6/zCI7HBW4+KZbtBGmcudXw0GDQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.25.9.tgz", + "integrity": "sha512-0IkO77tw2OcZua/ADovH//IEiUyQpNjWvLyMFNidXnZx4eEriQjwkH9t/EyQZUaQu0KOxxdszC7m8VUVs51ydg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-do-expressions": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -595,13 +586,13 @@ } }, "node_modules/@babel/plugin-proposal-export-default-from": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.24.7.tgz", - "integrity": "sha512-CcmFwUJ3tKhLjPdt4NP+SHMshebytF8ZTYOv5ZDpkzq2sin80Wb5vJrGt8fhPrORQCfoSa0LAxC/DW+GAC5+Hw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.25.9.tgz", + "integrity": "sha512-ykqgwNfSnNOB+C8fV5X4mG3AVmvu+WVxcaU9xHHtBb7PCrPeweMmPjGsn8eMaeJg6SJuoUuZENeeSWaarWqonQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-export-default-from": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -616,6 +607,7 @@ "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.18.9", "@babel/plugin-syntax-export-namespace-from": "^7.8.3" @@ -628,13 +620,13 @@ } }, "node_modules/@babel/plugin-proposal-function-bind": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-function-bind/-/plugin-proposal-function-bind-7.24.7.tgz", - "integrity": "sha512-cq2mwxcvNAWWL+IiqiSiVhCeqTQs532Ktl3N2FMuW0bQVF/N0W6QNyywO+KkM3Yr/jwYmjeSS+yKQQUh79VOxQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-function-bind/-/plugin-proposal-function-bind-7.25.9.tgz", + "integrity": "sha512-1g0b0XU667A2IZNdhovGr0ZdywJxf081B8JN5qyiNqzJK7GtdYBxGcuA+lq7q8OgO4cAc4vF57Ad0XLoDBsJAg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-function-bind": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -644,14 +636,14 @@ } }, "node_modules/@babel/plugin-proposal-function-sent": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.24.7.tgz", - "integrity": "sha512-42Pq9d8fV5CrjygcVAA7aAEFpkAJluWWvlO7bvOMDEutxIS44COcFU61V92VBzUZvOkjIoQrPJNUtmY/d9XMgA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.25.9.tgz", + "integrity": "sha512-Qi9KEBTY6WAjHBeHJ1jm4HyGlwvZLfjUaxO9g1jKHqyQPe6c+q7DlKgyrBUH7v+VWLJ0bNy5cQlXHtOV5/uibw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-wrap-function": "^7.24.7", - "@babel/plugin-syntax-function-sent": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-wrap-function": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -666,6 +658,7 @@ "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-json-strings": "^7.8.3" @@ -683,6 +676,7 @@ "integrity": "sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" @@ -700,6 +694,7 @@ "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" @@ -717,6 +712,7 @@ "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-numeric-separator": "^7.10.4" @@ -734,6 +730,7 @@ "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", @@ -747,13 +744,14 @@ } }, "node_modules/@babel/plugin-proposal-pipeline-operator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.24.7.tgz", - "integrity": "sha512-cJOSXlieT6/Yul8yEkbBRzhyf/J4jeeqUREw8HCf8nxT4DTP5FCdC0EXf+b8+vBt34IMYYvTDiC8uC91KSSLpA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.25.9.tgz", + "integrity": "sha512-rmb8zOYFdVz6y/OqJn6RfbIBiJPQdUbHg7R5ibym5KM0e8uNGdU9yfn9cjkBLwS22Lqd+ey3D8/UvK5GLyyh5A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-pipeline-operator": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/plugin-syntax-pipeline-operator": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -767,6 +765,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" }, @@ -775,52 +774,13 @@ } }, "node_modules/@babel/plugin-proposal-throw-expressions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.24.7.tgz", - "integrity": "sha512-Rh4WoHyWKgsxvdkEMqDEZtKuGnZw+JwicMCvcZaIjYaQ3fK+a8JZYLhgcac9dKcL47Xqf+SG3MopTx+8BACdrQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-throw-expressions": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.25.9.tgz", + "integrity": "sha512-Zw62DP6cdbXXEtTNMWYY10rIOPGAWPk8qdqM+AT3JbHtFq8ook0JXJCWdQJTlSVACHo0R6lvoNKO9B1ZVkjClg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -830,27 +790,13 @@ } }, "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.24.7.tgz", - "integrity": "sha512-Ui4uLJJrRV1lb38zg1yYTmRKmiZLiftDEvZN2iq3kd9kUFU+PttmzTbAFC2ucRk/XJmtek6G23gPsuZbhrT8fQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-do-expressions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-do-expressions/-/plugin-syntax-do-expressions-7.24.7.tgz", - "integrity": "sha512-lQee+garSbTjCvXdzfjXeSzPd03pyBXALfB2C4bW7SwORrZAs5CDt67toH8MRPuvQFYvWpkXYe07AhHDY3tWfQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.25.9.tgz", + "integrity": "sha512-ryzI0McXUPJnRCvMo4lumIKZUzhYUO/ScI+Mz4YVaTLt04DHNSjEUjKVvbzQjZFLuod/cYEc07mJWhzl6v4DPg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -864,6 +810,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -871,26 +818,12 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-export-default-from": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.24.7.tgz", - "integrity": "sha512-bTPz4/635WQ9WhwsyPdxUJDVpsi/X9BMmy/8Rf/UAlOO4jSql4CxUCjWI5PiM+jG+c4LVPTScoTw80geFj9+Bw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-export-namespace-from": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.3" }, @@ -898,43 +831,14 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-function-bind": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.24.7.tgz", - "integrity": "sha512-dqm7VhgJ2sXCEc0WDJV+q8OI1Qzwn4OFbqsHTVtYoc4L7jJYtF6pEQYcbmlMMWBZjw0tJYuXeyiTQVboWIwAKg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-function-sent": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-function-sent/-/plugin-syntax-function-sent-7.24.7.tgz", - "integrity": "sha512-me5EHEx4GXxAE8mnlZaWA+ARIyMSPOXcw6WlqWGIfTg36oeWm4FxR/Djs1DGPbmSIwJqMboiN7gK8eCyzyNK2A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz", - "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.26.0.tgz", + "integrity": "sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -944,12 +848,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz", - "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", + "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -963,6 +868,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -975,6 +881,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -987,6 +894,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -999,6 +907,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1011,6 +920,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -1018,35 +928,12 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-optional-chaining": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1055,57 +942,13 @@ } }, "node_modules/@babel/plugin-syntax-pipeline-operator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-pipeline-operator/-/plugin-syntax-pipeline-operator-7.24.7.tgz", - "integrity": "sha512-PnW47ro0vPh4Raqabn3FM7opwdKbNQoFJKSNfCj7lmqcQlVMYFcJ6b+rhMyfB/g1SlWRwnodffVzLcee1FDHYQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-throw-expressions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.24.7.tgz", - "integrity": "sha512-b1bdlAmUTy9VQ/g2cnBuJFwd7jeARNW2F65c9Gcn8qyNYGuVy/cYyqpiSL6SVmUAJTDbIYL2FzlZ8nH1qUCBXA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-pipeline-operator/-/plugin-syntax-pipeline-operator-7.25.9.tgz", + "integrity": "sha512-W0KjBvv8uT4A8DUoRNpXEHkKekqO/PC57doaWCqbJeG0lGxKFh7w7/PHYPmwgF+jKxekNnc+YOMQNCo94d8MJg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1119,6 +962,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.18.6", "@babel/helper-plugin-utils": "^7.18.6" @@ -1131,12 +975,13 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz", - "integrity": "sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.9.tgz", + "integrity": "sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1146,15 +991,15 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.7.tgz", - "integrity": "sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.9.tgz", + "integrity": "sha512-RXV6QAzTBbhDMO9fWwOmwwTuYaiPbggWQ9INdZqAYeSHyG7FzQ+nOZaUUjNwKv9pV3aE4WFqFm1Hnbci5tBCAw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-remap-async-to-generator": "^7.24.7", - "@babel/plugin-syntax-async-generators": "^7.8.4" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-remap-async-to-generator": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1164,14 +1009,15 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.7.tgz", - "integrity": "sha512-SQY01PcJfmQ+4Ash7NE+rpbLFbmqA2GPIgqzxfFTL4t1FKRq4zTms/7htKpoCUI9OcFYgzqfmCdH53s6/jn5fA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.9.tgz", + "integrity": "sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-remap-async-to-generator": "^7.24.7" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-remap-async-to-generator": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1181,12 +1027,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.7.tgz", - "integrity": "sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.25.9.tgz", + "integrity": "sha512-toHc9fzab0ZfenFpsyYinOX0J/5dgJVA2fm64xPewu7CoYHWEivIWKxkK2rMi4r3yQqLnVmheMXRdG+k239CgA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1196,12 +1043,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.7.tgz", - "integrity": "sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.9.tgz", + "integrity": "sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1211,13 +1059,14 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz", - "integrity": "sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.9.tgz", + "integrity": "sha512-bbMAII8GRSkcd0h0b4X+36GksxuheLFjP65ul9w6C3KgAamI3JqErNgSrosX6ZPj+Mpim5VvEbawXxJCyEUV3Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1227,14 +1076,14 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.7.tgz", - "integrity": "sha512-HMXK3WbBPpZQufbMG4B46A90PkuuhN9vBCb5T8+VAHqvAqvcLi+2cKoukcpmUYkszLhScU3l1iudhrks3DggRQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.26.0.tgz", + "integrity": "sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-class-static-block": "^7.14.5" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1244,18 +1093,17 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.7.tgz", - "integrity": "sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-replace-supers": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.9.tgz", + "integrity": "sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-replace-supers": "^7.25.9", + "@babel/traverse": "^7.25.9", "globals": "^11.1.0" }, "engines": { @@ -1266,13 +1114,14 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.7.tgz", - "integrity": "sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.9.tgz", + "integrity": "sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/template": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/template": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1282,12 +1131,13 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.7.tgz", - "integrity": "sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.9.tgz", + "integrity": "sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1297,13 +1147,14 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.7.tgz", - "integrity": "sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.9.tgz", + "integrity": "sha512-t7ZQ7g5trIgSRYhI9pIJtRl64KHotutUJsh4Eze5l7olJv+mRSg4/MmbZ0tv1eeqRbdvo/+trvJD/Oc5DmW2cA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1313,12 +1164,13 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.7.tgz", - "integrity": "sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.9.tgz", + "integrity": "sha512-LZxhJ6dvBb/f3x8xwWIuyiAHy56nrRG3PeYTpBkkzkYRRQ6tJLu68lEF5VIqMUZiAV7a8+Tb78nEoMCMcqjXBw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1327,14 +1179,31 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.9.tgz", + "integrity": "sha512-0UfuJS0EsXbRvKnwcLjFtJy/Sxc5J5jhLHnFhy7u4zih97Hz6tJkLU+O+FMMrNZrosUPxDi6sYxJ/EA8jDiAog==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz", - "integrity": "sha512-sc3X26PhZQDb3JhORmakcbvkeInvxz+A8oda99lj7J60QRuPZvNAk9wQlTBS1ZynelDrDmTU4pw1tyc5d5ZMUg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.9.tgz", + "integrity": "sha512-GCggjexbmSLaFhqsojeugBpeaRIgWNTcgKVq/0qIteFEqY2A+b9QidYadrWlnbWQUrW5fn+mCvf3tr7OeBFTyg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1344,13 +1213,14 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.7.tgz", - "integrity": "sha512-Rqe/vSc9OYgDajNIK35u7ot+KeCoetqQYFXM4Epf7M7ez3lWlOjrDjrwMei6caCVhfdw+mIKD4cgdGNy5JQotQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.25.9.tgz", + "integrity": "sha512-KRhdhlVk2nObA5AYa7QMgTMTVJdfHprfpAk4DjZVtllqRg9qarilstTKEhpVjyt+Npi8ThRyiV8176Am3CodPA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1360,13 +1230,13 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.24.7.tgz", - "integrity": "sha512-v0K9uNYsPL3oXZ/7F9NNIbAj2jv1whUEtyA6aujhekLs56R++JDQuzRcP2/z4WX5Vg/c5lE9uWZA0/iUoFhLTA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.9.tgz", + "integrity": "sha512-2NsEz+CxzJIVOPx2o9UsW1rXLqtChtLoVnwYHHiB04wS5sgn7mrV45fWMBX0Kk+ub9uXytVYfNP2HjbVbCB3Ww==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1376,13 +1246,14 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.7.tgz", - "integrity": "sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.25.9.tgz", + "integrity": "sha512-LqHxduHoaGELJl2uhImHwRQudhCM50pT46rIBNvtT/Oql3nqiS3wOwP+5ten7NpYSXrrVLgtZU3DZmPtWZo16A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1392,14 +1263,15 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.7.tgz", - "integrity": "sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.9.tgz", + "integrity": "sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1409,13 +1281,13 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.24.7.tgz", - "integrity": "sha512-2yFnBGDvRuxAaE/f0vfBKvtnvvqU8tGpMHqMNpTN2oWMKIR3NqFkjaAgGwawhqK/pIN2T3XdjGPdaG0vDhOBGw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.9.tgz", + "integrity": "sha512-xoTMk0WXceiiIvsaquQQUaLLXSW1KJ159KP87VilruQm0LNNGxWzahxSS6T6i4Zg3ezp4vA4zuwiNUR53qmQAw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-json-strings": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1425,12 +1297,13 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz", - "integrity": "sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.9.tgz", + "integrity": "sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1440,13 +1313,13 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.24.7.tgz", - "integrity": "sha512-4D2tpwlQ1odXmTEIFWy9ELJcZHqrStlzK/dAOWYyxX3zT0iXQB6banjgeOJQXzEc4S0E0a5A+hahxPaEFYftsw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.9.tgz", + "integrity": "sha512-wI4wRAzGko551Y8eVf6iOY9EouIDTtPb0ByZx+ktDGHwv6bHFimrgJM/2T021txPZ2s4c7bqvHbd+vXG6K948Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1456,12 +1329,13 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.7.tgz", - "integrity": "sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.9.tgz", + "integrity": "sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1471,13 +1345,14 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.7.tgz", - "integrity": "sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.9.tgz", + "integrity": "sha512-g5T11tnI36jVClQlMlt4qKDLlWnG5pP9CSM4GhdRciTNMRgkfpo5cR6b4rGIOYPgRRuFAvwjPQ/Yk+ql4dyhbw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1487,14 +1362,15 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.7.tgz", - "integrity": "sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.25.9.tgz", + "integrity": "sha512-dwh2Ol1jWwL2MgkCzUSOvfmKElqQcuswAZypBSUsScMXvgdT8Ekq5YA6TtqpTVWH+4903NmboMuH1o9i8Rxlyg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-simple-access": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-simple-access": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1504,15 +1380,16 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.7.tgz", - "integrity": "sha512-GYQE0tW7YoaN13qFh3O1NCY4MPkUiAH3fiF7UcV/I3ajmDKEdG3l+UOcbAm4zUE3gnvUU+Eni7XrVKo9eO9auw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.9.tgz", + "integrity": "sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-hoist-variables": "^7.24.7", - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1522,13 +1399,14 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.7.tgz", - "integrity": "sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.9.tgz", + "integrity": "sha512-bS9MVObUgE7ww36HEfwe6g9WakQ0KF07mQF74uuXdkoziUPfKyu/nIm663kz//e5O1nPInPFx36z7WJmJ4yNEw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1538,13 +1416,14 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.24.7.tgz", - "integrity": "sha512-/jr7h/EWeJtk1U/uz2jlsCioHkZk1JJZVcc8oQsJ1dUlaJD83f4/6Zeh2aHt9BIFokHIsSeDfhUmju0+1GPd6g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.9.tgz", + "integrity": "sha512-oqB6WHdKTGl3q/ItQhpLSnWWOpjUJLsOCLVyeFgeTktkBSCiurvPOsyt93gibI9CmuKvTUEtWmG5VhZD+5T/KA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1554,12 +1433,13 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.7.tgz", - "integrity": "sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.9.tgz", + "integrity": "sha512-U/3p8X1yCSoKyUj2eOBIx3FOn6pElFOKvAAGf8HTtItuPyB+ZeOqfn+mvTtg9ZlOAjsPdK3ayQEjqHjU/yLeVQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1569,13 +1449,13 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.7.tgz", - "integrity": "sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.25.9.tgz", + "integrity": "sha512-ENfftpLZw5EItALAD4WsY/KUWvhUlZndm5GC7G3evUsVeSJB6p0pBeLQUnRnBCBx7zV0RKQjR9kCuwrsIrjWog==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1585,13 +1465,13 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.7.tgz", - "integrity": "sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.9.tgz", + "integrity": "sha512-TlprrJ1GBZ3r6s96Yq8gEQv82s8/5HnCVHtEJScUj90thHQbwe+E5MLhi2bbNHBEJuzrvltXSru+BUxHDoog7Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1601,15 +1481,15 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.7.tgz", - "integrity": "sha512-4QrHAr0aXQCEFni2q4DqKLD31n2DL+RxcwnNjDFkSG0eNQ/xCavnRkfCUjsyqGC2OviNJvZOF/mQqZBw7i2C5Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.9.tgz", + "integrity": "sha512-fSaXafEE9CVHPweLYw4J0emp1t8zYTXyzN3UuG+lylqkvYd7RMrsOQ8TYx5RF231be0vqtFC6jnx3UmpJmKBYg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.24.7" + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/plugin-transform-parameters": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1619,13 +1499,14 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.7.tgz", - "integrity": "sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.9.tgz", + "integrity": "sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-replace-supers": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-replace-supers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1635,13 +1516,13 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.24.7.tgz", - "integrity": "sha512-uLEndKqP5BfBbC/5jTwPxLh9kqPWWgzN/f8w6UwAIirAEqiIVJWWY312X72Eub09g5KF9+Zn7+hT7sDxmhRuKA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.9.tgz", + "integrity": "sha512-qM/6m6hQZzDcZF3onzIhZeDHDO43bkNNlOX0i8n3lR6zLbu0GN2d8qfM/IERJZYauhAHSLHy39NF0Ctdvcid7g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1651,14 +1532,14 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.7.tgz", - "integrity": "sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz", + "integrity": "sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1668,12 +1549,13 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.7.tgz", - "integrity": "sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.9.tgz", + "integrity": "sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1683,13 +1565,14 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz", - "integrity": "sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.9.tgz", + "integrity": "sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1699,15 +1582,15 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.7.tgz", - "integrity": "sha512-9z76mxwnwFxMyxZWEgdgECQglF2Q7cFLm0kMf8pGwt+GSJsY0cONKj/UuO4bOH0w/uAel3ekS4ra5CEAyJRmDA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.9.tgz", + "integrity": "sha512-Evf3kcMqzXA3xfYJmZ9Pg1OvKdtqsDMSWBDzZOPLvHiTt36E75jLDQo5w1gtRU95Q4E5PDttrTf25Fw8d/uWLw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1717,12 +1600,13 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.7.tgz", - "integrity": "sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.9.tgz", + "integrity": "sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1732,12 +1616,13 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.7.tgz", - "integrity": "sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.9.tgz", + "integrity": "sha512-vwDcDNsgMPDGP0nMqzahDWE5/MLcX8sv96+wfX7as7LoF/kr97Bo/7fI00lXY4wUXYfVmwIIyG80fGZ1uvt2qg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.25.9", "regenerator-transform": "^0.15.2" }, "engines": { @@ -1747,13 +1632,31 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-regexp-modifiers": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.26.0.tgz", + "integrity": "sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.7.tgz", - "integrity": "sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.9.tgz", + "integrity": "sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1763,12 +1666,13 @@ } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz", - "integrity": "sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.9.tgz", + "integrity": "sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1778,13 +1682,14 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.7.tgz", - "integrity": "sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.9.tgz", + "integrity": "sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1794,12 +1699,13 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.7.tgz", - "integrity": "sha512-kHPSIJc9v24zEml5geKg9Mjx5ULpfncj0wRpYtxbvKyTtHCYDkVE3aHQ03FrpEo4gEe2vrJJS1Y9CJTaThA52g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.9.tgz", + "integrity": "sha512-WqBUSgeVwucYDP9U/xNRQam7xV8W5Zf+6Eo7T2SRVUFlhRiMNFdFz58u0KZmCVVqs2i7SHgpRnAhzRNmKfi2uA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1809,12 +1715,13 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz", - "integrity": "sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.25.9.tgz", + "integrity": "sha512-o97AE4syN71M/lxrCtQByzphAdlYluKPDBzDVzMmfCobUjjhAryZV0AIpRPrxN0eAkxXO6ZLEScmt+PNhj2OTw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1824,12 +1731,13 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.7.tgz", - "integrity": "sha512-VtR8hDy7YLB7+Pet9IarXjg/zgCMSF+1mNS/EQEiEaUPoFXCVsHG64SIxcaaI2zJgRiv+YmgaQESUfWAdbjzgg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.25.9.tgz", + "integrity": "sha512-v61XqUMiueJROUv66BVIOi0Fv/CUuZuZMl5NkRoCVxLAnMexZ0A3kMe7vvZ0nulxMuMp0Mk6S5hNh48yki08ZA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1839,12 +1747,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.7.tgz", - "integrity": "sha512-U3ap1gm5+4edc2Q/P+9VrBNhGkfnf+8ZqppY71Bo/pzZmXhhLdqgaUl6cuB07O1+AQJtCLfaOmswiNbSQ9ivhw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.9.tgz", + "integrity": "sha512-s5EDrE6bW97LtxOcGj1Khcx5AaXwiMmi4toFWRDP9/y0Woo6pXC+iyPu/KuhKtfSrNFd7jJB+/fkOtZy6aIC6Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1854,13 +1763,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.24.7.tgz", - "integrity": "sha512-uH2O4OV5M9FZYQrwc7NdVmMxQJOCCzFeYudlZSzUAHRFeOujQefa92E74TQDVskNHCzOXoigEuoyzHDhaEaK5w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.9.tgz", + "integrity": "sha512-Jt2d8Ga+QwRluxRQ307Vlxa6dMrYEMZCgGxoPR8V52rxPyldHu3hdlHspxaqYmE7oID5+kB+UKUB/eWS+DkkWg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1870,13 +1780,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.7.tgz", - "integrity": "sha512-hlQ96MBZSAXUq7ltkjtu3FJCCSMx/j629ns3hA3pXnBXjanNP0LHi+JpPeA81zaWgVK1VGH95Xuy7u0RyQ8kMg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.9.tgz", + "integrity": "sha512-yoxstj7Rg9dlNn9UQxzk4fcNivwv4nUYz7fYXBaKxvw/lnmPuOm/ikoELygbYq68Bls3D/D+NBPHiLwZdZZ4HA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1886,13 +1797,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz", - "integrity": "sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.9.tgz", + "integrity": "sha512-8BYqO3GeVNHtx69fdPshN3fnzUNLrWdHhk/icSwigksJGczKSizZ+Z6SBCxTs723Fr5VSNorTIK7a+R2tISvwQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1902,91 +1814,80 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.7.tgz", - "integrity": "sha512-1YZNsc+y6cTvWlDHidMBsQZrZfEFjRIo/BZCT906PMdzOyXtSLTgqGdrpcuTDCXyd11Am5uQULtDIcCfnTc8fQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-validator-option": "^7.24.7", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.7", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.7", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.26.0.tgz", + "integrity": "sha512-H84Fxq0CQJNdPFT2DrfnylZ3cf5K43rGfWK4LJGPpjKHiZlk0/RzwEus3PDDZZg+/Er7lCA03MVacueUuXdzfw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.26.0", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.9", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.9", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.9", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.9", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.9", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.24.7", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-syntax-import-assertions": "^7.26.0", + "@babel/plugin-syntax-import-attributes": "^7.26.0", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.24.7", - "@babel/plugin-transform-async-to-generator": "^7.24.7", - "@babel/plugin-transform-block-scoped-functions": "^7.24.7", - "@babel/plugin-transform-block-scoping": "^7.24.7", - "@babel/plugin-transform-class-properties": "^7.24.7", - "@babel/plugin-transform-class-static-block": "^7.24.7", - "@babel/plugin-transform-classes": "^7.24.7", - "@babel/plugin-transform-computed-properties": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.7", - "@babel/plugin-transform-dotall-regex": "^7.24.7", - "@babel/plugin-transform-duplicate-keys": "^7.24.7", - "@babel/plugin-transform-dynamic-import": "^7.24.7", - "@babel/plugin-transform-exponentiation-operator": "^7.24.7", - "@babel/plugin-transform-export-namespace-from": "^7.24.7", - "@babel/plugin-transform-for-of": "^7.24.7", - "@babel/plugin-transform-function-name": "^7.24.7", - "@babel/plugin-transform-json-strings": "^7.24.7", - "@babel/plugin-transform-literals": "^7.24.7", - "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", - "@babel/plugin-transform-member-expression-literals": "^7.24.7", - "@babel/plugin-transform-modules-amd": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.7", - "@babel/plugin-transform-modules-systemjs": "^7.24.7", - "@babel/plugin-transform-modules-umd": "^7.24.7", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", - "@babel/plugin-transform-new-target": "^7.24.7", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", - "@babel/plugin-transform-numeric-separator": "^7.24.7", - "@babel/plugin-transform-object-rest-spread": "^7.24.7", - "@babel/plugin-transform-object-super": "^7.24.7", - "@babel/plugin-transform-optional-catch-binding": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.7", - "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", - "@babel/plugin-transform-private-property-in-object": "^7.24.7", - "@babel/plugin-transform-property-literals": "^7.24.7", - "@babel/plugin-transform-regenerator": "^7.24.7", - "@babel/plugin-transform-reserved-words": "^7.24.7", - "@babel/plugin-transform-shorthand-properties": "^7.24.7", - "@babel/plugin-transform-spread": "^7.24.7", - "@babel/plugin-transform-sticky-regex": "^7.24.7", - "@babel/plugin-transform-template-literals": "^7.24.7", - "@babel/plugin-transform-typeof-symbol": "^7.24.7", - "@babel/plugin-transform-unicode-escapes": "^7.24.7", - "@babel/plugin-transform-unicode-property-regex": "^7.24.7", - "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@babel/plugin-transform-unicode-sets-regex": "^7.24.7", + "@babel/plugin-transform-arrow-functions": "^7.25.9", + "@babel/plugin-transform-async-generator-functions": "^7.25.9", + "@babel/plugin-transform-async-to-generator": "^7.25.9", + "@babel/plugin-transform-block-scoped-functions": "^7.25.9", + "@babel/plugin-transform-block-scoping": "^7.25.9", + "@babel/plugin-transform-class-properties": "^7.25.9", + "@babel/plugin-transform-class-static-block": "^7.26.0", + "@babel/plugin-transform-classes": "^7.25.9", + "@babel/plugin-transform-computed-properties": "^7.25.9", + "@babel/plugin-transform-destructuring": "^7.25.9", + "@babel/plugin-transform-dotall-regex": "^7.25.9", + "@babel/plugin-transform-duplicate-keys": "^7.25.9", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.9", + "@babel/plugin-transform-dynamic-import": "^7.25.9", + "@babel/plugin-transform-exponentiation-operator": "^7.25.9", + "@babel/plugin-transform-export-namespace-from": "^7.25.9", + "@babel/plugin-transform-for-of": "^7.25.9", + "@babel/plugin-transform-function-name": "^7.25.9", + "@babel/plugin-transform-json-strings": "^7.25.9", + "@babel/plugin-transform-literals": "^7.25.9", + "@babel/plugin-transform-logical-assignment-operators": "^7.25.9", + "@babel/plugin-transform-member-expression-literals": "^7.25.9", + "@babel/plugin-transform-modules-amd": "^7.25.9", + "@babel/plugin-transform-modules-commonjs": "^7.25.9", + "@babel/plugin-transform-modules-systemjs": "^7.25.9", + "@babel/plugin-transform-modules-umd": "^7.25.9", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.25.9", + "@babel/plugin-transform-new-target": "^7.25.9", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.25.9", + "@babel/plugin-transform-numeric-separator": "^7.25.9", + "@babel/plugin-transform-object-rest-spread": "^7.25.9", + "@babel/plugin-transform-object-super": "^7.25.9", + "@babel/plugin-transform-optional-catch-binding": "^7.25.9", + "@babel/plugin-transform-optional-chaining": "^7.25.9", + "@babel/plugin-transform-parameters": "^7.25.9", + "@babel/plugin-transform-private-methods": "^7.25.9", + "@babel/plugin-transform-private-property-in-object": "^7.25.9", + "@babel/plugin-transform-property-literals": "^7.25.9", + "@babel/plugin-transform-regenerator": "^7.25.9", + "@babel/plugin-transform-regexp-modifiers": "^7.26.0", + "@babel/plugin-transform-reserved-words": "^7.25.9", + "@babel/plugin-transform-shorthand-properties": "^7.25.9", + "@babel/plugin-transform-spread": "^7.25.9", + "@babel/plugin-transform-sticky-regex": "^7.25.9", + "@babel/plugin-transform-template-literals": "^7.25.9", + "@babel/plugin-transform-typeof-symbol": "^7.25.9", + "@babel/plugin-transform-unicode-escapes": "^7.25.9", + "@babel/plugin-transform-unicode-property-regex": "^7.25.9", + "@babel/plugin-transform-unicode-regex": "^7.25.9", + "@babel/plugin-transform-unicode-sets-regex": "^7.25.9", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.4", + "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.31.0", + "core-js-compat": "^3.38.1", "semver": "^6.3.1" }, "engines": { @@ -2001,6 +1902,7 @@ "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz", "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@babel/types": "^7.4.4", @@ -2011,10 +1913,11 @@ } }, "node_modules/@babel/register": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.24.6.tgz", - "integrity": "sha512-WSuFCc2wCqMeXkz/i3yfAAsxwWflEgbVkZzivgAmXl/MxrXeoYFZOOPllbC8R8WTF7u61wSRQtDVZ1879cdu6w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.25.9.tgz", + "integrity": "sha512-8D43jXtGsYmEeDvm4MWHYUpWf8iiXgWYx3fW7E7Wb7Oe6FWqJPl5K6TuFW0dOwNZzEE5rjlaSJYH9JjrUKJszA==", "dev": true, + "license": "MIT", "dependencies": { "clone-deep": "^4.0.1", "find-cache-dir": "^2.0.0", @@ -2029,17 +1932,12 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/regjsgen": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", - "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", - "dev": true - }, "node_modules/@babel/runtime": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz", - "integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", + "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", "dev": true, + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -2048,31 +1946,30 @@ } }, "node_modules/@babel/template": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz", - "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", + "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", + "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/code-frame": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.7.tgz", - "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==", - "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-hoist-variables": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", + "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.25.9", + "@babel/generator": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/template": "^7.25.9", + "@babel/types": "^7.25.9", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -2081,13 +1978,13 @@ } }, "node_modules/@babel/types": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.7.tgz", - "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", + "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", + "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -2097,6 +1994,7 @@ "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -2110,6 +2008,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", "engines": { "node": ">=6.0.0" } @@ -2118,6 +2017,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "license": "MIT", "engines": { "node": ">=6.0.0" } @@ -2125,12 +2025,14 @@ "node_modules/@jridgewell/sourcemap-codec": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -2140,6 +2042,7 @@ "version": "2.1.8-no-fsevents.3", "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", + "license": "MIT", "optional": true }, "node_modules/@sinonjs/commons": { @@ -2147,6 +2050,7 @@ "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } @@ -2156,6 +2060,7 @@ "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.2.tgz", "integrity": "sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^1", "@sinonjs/samsam": "^3.1.0" @@ -2166,6 +2071,7 @@ "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.3.tgz", "integrity": "sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^1.3.0", "array-from": "^2.1.1", @@ -2173,22 +2079,25 @@ } }, "node_modules/@sinonjs/text-encoding": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz", - "integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==", - "dev": true + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz", + "integrity": "sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==", + "dev": true, + "license": "(Unlicense OR Apache-2.0)" }, "node_modules/@ungap/promise-all-settled": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -2198,19 +2107,25 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", "dependencies": { - "color-convert": "^1.9.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">=4" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/anymatch": { @@ -2218,6 +2133,7 @@ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "devOptional": true, + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -2230,24 +2146,28 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/array-from": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", "integrity": "sha512-GQTc6Uupx1FCavi5mPzBvVT7nEOeWMmUA9P95wpfpW1XwMSKs+KaymD5C2Up7KAUKg/mYwbsUYzdZWcoajlNZg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.11", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz", "integrity": "sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", "@babel/helper-define-polyfill-provider": "^0.6.2", @@ -2258,13 +2178,14 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz", - "integrity": "sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==", + "version": "0.10.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz", + "integrity": "sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.1", - "core-js-compat": "^3.36.1" + "@babel/helper-define-polyfill-provider": "^0.6.2", + "core-js-compat": "^3.38.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -2275,6 +2196,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.2.tgz", "integrity": "sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.2" }, @@ -2285,13 +2207,15 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "devOptional": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -2303,6 +2227,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -2313,6 +2238,7 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "devOptional": true, + "license": "MIT", "dependencies": { "fill-range": "^7.1.1" }, @@ -2324,12 +2250,13 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/browserslist": { - "version": "4.23.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", - "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "funding": [ { "type": "opencollective", @@ -2344,11 +2271,12 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001640", - "electron-to-chromium": "^1.4.820", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.1.0" + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -2361,12 +2289,14 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -2386,6 +2316,7 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -2394,9 +2325,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001641", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001641.tgz", - "integrity": "sha512-Phv5thgl67bHYo1TtMY/MurjkHhV4EDaCosezRXgZ8jzA/Ub+wjxAvbGvjoFENStinwi5kCyOYV3mi5tOGykwA==", + "version": "1.0.30001677", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001677.tgz", + "integrity": "sha512-fmfjsOlJUpMWu+mAAtZZZHz7UEwsUxIIvu1TJfO1HqFQvB/B+ii0xr9B5HpbZY/mC4XZ8SvjHJqtAY6pDPQEog==", "funding": [ { "type": "opencollective", @@ -2410,25 +2341,44 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, "node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "license": "MIT", "optional": true, "dependencies": { "anymatch": "~3.1.2", @@ -2454,6 +2404,7 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -2465,6 +2416,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -2474,6 +2426,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -2483,6 +2436,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -2497,6 +2451,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -2509,6 +2464,7 @@ "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", @@ -2519,22 +2475,30 @@ } }, "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", "dependencies": { - "color-name": "1.1.3" + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -2546,6 +2510,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "license": "MIT", "engines": { "node": ">= 6" } @@ -2554,12 +2519,14 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/component-emitter": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz", "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/sindresorhus" } @@ -2567,25 +2534,29 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==" + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" }, "node_modules/cookiejar": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", - "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==" + "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==", + "license": "MIT" }, "node_modules/core-js-compat": { - "version": "3.37.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.37.1.tgz", - "integrity": "sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.39.0.tgz", + "integrity": "sha512-VgEUx3VwlExr5no0tXlBt+silBvhTryPwCXRI2Id1PN8WTKu7MreethvddqOubrYxkFdv/RnYrqlv1sFNAUelw==", "dev": true, + "license": "MIT", "dependencies": { - "browserslist": "^4.23.0" + "browserslist": "^4.24.2" }, "funding": { "type": "opencollective", @@ -2593,11 +2564,12 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -2613,6 +2585,7 @@ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -2624,6 +2597,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -2640,6 +2614,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -2649,25 +2624,29 @@ "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } }, "node_modules/electron-to-chromium": { - "version": "1.4.823", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.823.tgz", - "integrity": "sha512-4h+oPeAiGQOHFyUJOqpoEcPj/xxlicxBzOErVeYVMMmAiXUXsGpsFd0QXBMaUUbnD8hhSfLf9uw+MlsoIA7j5w==" + "version": "1.5.50", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.50.tgz", + "integrity": "sha512-eMVObiUQ2LdgeO1F/ySTXsvqvxb6ZH2zPGaMYsWzRDdOddUa77tdmI0ltg+L16UpbWdhPmuF3wIQYyQq65WfZw==", + "license": "ISC" }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -2679,24 +2658,31 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/esutils": { @@ -2704,6 +2690,7 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } @@ -2717,13 +2704,15 @@ "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "license": "MIT" }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "devOptional": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -2736,6 +2725,7 @@ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", "dev": true, + "license": "MIT", "dependencies": { "commondir": "^1.0.1", "make-dir": "^2.0.0", @@ -2750,6 +2740,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -2766,14 +2757,16 @@ "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true, + "license": "BSD-3-Clause", "bin": { "flat": "cli.js" } }, "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.2.tgz", + "integrity": "sha512-sJe+TQb2vIaIyO783qN6BlMYWMw3WBOHA1Ay2qxsnjuafEOQFJ2JakedOQirT6D5XPRxDvS7AHYyem9fTpb4LQ==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -2788,6 +2781,7 @@ "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==", "deprecated": "Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau", + "license": "MIT", "funding": { "url": "https://ko-fi.com/tunnckoCore/commissions" } @@ -2795,18 +2789,21 @@ "node_modules/fs-readdir-recursive": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", + "license": "MIT" }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -2819,6 +2816,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -2827,6 +2825,7 @@ "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -2836,6 +2835,7 @@ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -2844,6 +2844,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -2863,6 +2864,7 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -2883,6 +2885,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "devOptional": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -2894,6 +2897,7 @@ "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "license": "MIT", "engines": { "node": ">=4" } @@ -2902,6 +2906,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -2914,22 +2919,26 @@ "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4.x" } }, "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/has-property-descriptors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -2941,6 +2950,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -2952,6 +2962,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -2963,6 +2974,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -2975,6 +2987,7 @@ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true, + "license": "MIT", "bin": { "he": "bin/he" } @@ -2984,6 +2997,7 @@ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -2992,13 +3006,15 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "devOptional": true, + "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" }, @@ -3007,10 +3023,11 @@ } }, "node_modules/is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, + "license": "MIT", "dependencies": { "hasown": "^2.0.2" }, @@ -3026,6 +3043,7 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "devOptional": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3035,6 +3053,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -3044,6 +3063,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "devOptional": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -3056,6 +3076,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "devOptional": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -3065,6 +3086,7 @@ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3074,6 +3096,7 @@ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -3085,19 +3108,22 @@ "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3105,13 +3131,15 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" }, "node_modules/js-yaml": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -3120,20 +3148,22 @@ } }, "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, "engines": { - "node": ">=4" + "node": ">=6" } }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -3145,136 +3175,74 @@ "version": "4.2.1", "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "dev": true - }, - "node_modules/log-symbols": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", - "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/log-symbols/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "p-locate": "^5.0.0" }, "engines": { "node": ">=10" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/log-symbols/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/log-symbols/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "license": "MIT" }, - "node_modules/log-symbols/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "MIT" }, - "node_modules/log-symbols/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/log-symbols": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", + "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", "dev": true, + "license": "MIT", "dependencies": { - "has-flag": "^4.0.0" + "chalk": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/lolex": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lolex/-/lolex-4.2.0.tgz", "integrity": "sha512-gKO5uExCXvSm6zbF562EvM+rd1kQDnB9AZBbiQVzf1ZmdDpxUSvpnAaVOP83N/31mRK8Ml8/VE8DMvsAZQ+7wg==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "license": "ISC", "dependencies": { "yallist": "^3.0.2" } @@ -3283,6 +3251,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "license": "MIT", "dependencies": { "pify": "^4.0.1", "semver": "^5.6.0" @@ -3295,6 +3264,7 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "license": "ISC", "bin": { "semver": "bin/semver" } @@ -3303,6 +3273,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -3311,6 +3282,7 @@ "version": "2.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -3322,6 +3294,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -3330,6 +3303,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -3341,6 +3315,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3353,6 +3328,7 @@ "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.4.0.tgz", "integrity": "sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==", "dev": true, + "license": "MIT", "dependencies": { "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", @@ -3397,6 +3373,7 @@ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", "dev": true, + "license": "MIT", "dependencies": { "anymatch": "~3.1.1", "braces": "~3.0.2", @@ -3418,6 +3395,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -3434,19 +3412,8 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/mocha/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "license": "MIT" }, "node_modules/mocha/node_modules/glob": { "version": "7.1.6", @@ -3454,6 +3421,7 @@ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -3469,20 +3437,12 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/mocha/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/mocha/node_modules/minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3490,17 +3450,12 @@ "node": "*" } }, - "node_modules/mocha/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, "node_modules/mocha/node_modules/readdirp": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", "dev": true, + "license": "MIT", "dependencies": { "picomatch": "^2.2.1" }, @@ -3508,31 +3463,18 @@ "node": ">=8.10.0" } }, - "node_modules/mocha/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" }, "node_modules/nanoid": { "version": "3.1.20", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.20.tgz", "integrity": "sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==", "dev": true, + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -3545,6 +3487,7 @@ "resolved": "https://registry.npmjs.org/nise/-/nise-1.5.3.tgz", "integrity": "sha512-Ymbac/94xeIrMf59REBPOv0thr+CJVFMhrlAkW/gjCIE58BGQdCj0x7KRCb3yz+Ga2Rz3E9XXSvUyyxqqhjQAQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/formatio": "^3.2.1", "@sinonjs/text-encoding": "^0.7.1", @@ -3558,20 +3501,23 @@ "resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz", "integrity": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^1.7.0" } }, "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "license": "MIT" }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "devOptional": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3580,6 +3526,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3591,6 +3538,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", "dependencies": { "wrappy": "1" } @@ -3600,6 +3548,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -3615,6 +3564,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -3630,6 +3580,7 @@ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -3639,6 +3590,7 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3647,6 +3599,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3655,27 +3608,31 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz", + "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==", "dev": true, + "license": "MIT", "dependencies": { "isarray": "0.0.1" } }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "devOptional": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -3687,6 +3644,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "license": "MIT", "engines": { "node": ">=6" } @@ -3696,6 +3654,7 @@ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } @@ -3705,6 +3664,7 @@ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^3.0.0" }, @@ -3717,6 +3677,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^3.0.0" }, @@ -3729,6 +3690,7 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" @@ -3742,6 +3704,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -3757,6 +3720,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.0.0" }, @@ -3769,14 +3733,16 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/qs": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz", - "integrity": "sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.6" }, @@ -3792,6 +3758,7 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "^5.1.0" } @@ -3800,6 +3767,7 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -3813,6 +3781,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "license": "MIT", "optional": true, "dependencies": { "picomatch": "^2.2.1" @@ -3825,13 +3794,15 @@ "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/regenerate-unicode-properties": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", - "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", + "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", "dev": true, + "license": "MIT", "dependencies": { "regenerate": "^1.4.2" }, @@ -3843,27 +3814,30 @@ "version": "0.14.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/regenerator-transform": { "version": "0.15.2", "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/runtime": "^7.8.4" } }, "node_modules/regexpu-core": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", - "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.1.1.tgz", + "integrity": "sha512-k67Nb9jvwJcJmVpw0jPttR1/zVfnKf8Km0IPatrU/zJ5XeG3+Slx0xLXs9HByJSzXzrlz5EDvN6yLNMDc2qdnw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/regjsgen": "^0.8.0", "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.1.0", - "regjsparser": "^0.9.1", + "regenerate-unicode-properties": "^10.2.0", + "regjsgen": "^0.8.0", + "regjsparser": "^0.11.0", "unicode-match-property-ecmascript": "^2.0.0", "unicode-match-property-value-ecmascript": "^2.1.0" }, @@ -3871,32 +3845,32 @@ "node": ">=4" } }, + "node_modules/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", + "dev": true, + "license": "MIT" + }, "node_modules/regjsparser": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", - "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.11.2.tgz", + "integrity": "sha512-3OGZZ4HoLJkkAZx/48mTXJNlmqTGOzc0o9OWQPuWpkOlXXPbyN6OafCcoXUnBqE2D3f/T5L+pWc1kdEmnfnRsA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "jsesc": "~0.5.0" + "jsesc": "~3.0.2" }, "bin": { "regjsparser": "bin/parser" } }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3906,6 +3880,7 @@ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -3935,12 +3910,14 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -3950,6 +3927,7 @@ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "randombytes": "^2.1.0" } @@ -3958,6 +3936,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -3975,6 +3954,7 @@ "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, + "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -3986,6 +3966,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -4005,6 +3986,7 @@ "integrity": "sha512-AoD0oJWerp0/rY9czP/D6hDTTUYGpObhZjMpd7Cl/A6+j0xBE+ayL/ldfggkBXUs0IkvIiM1ljM8+WkOc5k78Q==", "deprecated": "16.1.1", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^1.4.0", "@sinonjs/formatio": "^3.2.1", @@ -4020,14 +4002,39 @@ "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } }, + "node_modules/sinon/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/sinon/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "license": "MIT", "engines": { "node": ">=6" } @@ -4037,6 +4044,7 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -4046,6 +4054,7 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -4055,6 +4064,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" } @@ -4064,6 +4074,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, + "license": "MIT", "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" @@ -4077,6 +4088,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^3.0.0" }, @@ -4089,6 +4101,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -4101,6 +4114,7 @@ "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz", "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==", "deprecated": "Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net", + "license": "MIT", "dependencies": { "component-emitter": "^1.3.0", "cookiejar": "^2.1.2", @@ -4119,9 +4133,10 @@ } }, "node_modules/superagent/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -4130,14 +4145,19 @@ } }, "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", "dependencies": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, "node_modules/supports-preserve-symlinks-flag": { @@ -4145,6 +4165,7 @@ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -4152,19 +4173,12 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "engines": { - "node": ">=4" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "devOptional": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -4177,15 +4191,17 @@ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -4195,6 +4211,7 @@ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", "dev": true, + "license": "MIT", "dependencies": { "unicode-canonical-property-names-ecmascript": "^2.0.0", "unicode-property-aliases-ecmascript": "^2.0.0" @@ -4204,10 +4221,11 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", - "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", + "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -4217,14 +4235,15 @@ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/update-browserslist-db": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", - "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", "funding": [ { "type": "opencollective", @@ -4239,9 +4258,10 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { - "escalade": "^3.1.2", - "picocolors": "^1.0.1" + "escalade": "^3.2.0", + "picocolors": "^1.1.0" }, "bin": { "update-browserslist-db": "cli.js" @@ -4253,13 +4273,15 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -4275,6 +4297,7 @@ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^1.0.2 || 2" } @@ -4283,13 +4306,15 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", "integrity": "sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -4307,48 +4332,17 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -4358,6 +4352,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -4372,6 +4367,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -4382,13 +4378,15 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -4396,13 +4394,15 @@ "node_modules/yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "license": "ISC" }, "node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -4421,6 +4421,7 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -4430,6 +4431,7 @@ "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^6.0.0", "decamelize": "^4.0.0", @@ -4445,6 +4447,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -4454,6 +4457,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -4463,6 +4467,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -4477,6 +4482,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -4489,6 +4495,7 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/clients/javascript/generated/src/api/DefaultApi.js b/clients/javascript/generated/src/api/DefaultApi.js index eebbd6b..ca0da0d 100644 --- a/clients/javascript/generated/src/api/DefaultApi.js +++ b/clients/javascript/generated/src/api/DefaultApi.js @@ -83,7 +83,7 @@ export default class DefaultApi { * Single cycle details * Gets details of a single cycle * @param {String} product Product URL as per the canonical URL on the endofife.date website - * @param {String} cycle Release Cycle for which the details must be fetched + * @param {String} cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @param {module:api/DefaultApi~getApiProductCycleJsonCallback} callback The callback function, accepting three arguments: error, data, response * data is of type: {@link module:model/Cycle} */ diff --git a/clients/jaxrs-cxf-cdi/generated/.openapi-generator/VERSION b/clients/jaxrs-cxf-cdi/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-cxf-cdi/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-cxf-cdi/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApi.java b/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApi.java index e6f2d20..27a5f61 100644 --- a/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApi.java +++ b/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApi.java @@ -27,7 +27,7 @@ @Api(description = "the api API") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", date = "2024-07-10T09:08:10.374797964Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", date = "2024-11-03T10:23:00.577481880Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApi { @@ -54,7 +54,7 @@ public Response getApiAllJson() { @ApiOperation(value = "Single cycle details", notes = "Gets details of a single cycle", response = Cycle.class, tags={ }) @ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = Cycle.class) }) - public Response getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website",required=true) @PathParam("product") String product, @ApiParam(value = "Release Cycle for which the details must be fetched",required=true) @PathParam("cycle") String cycle) { + public Response getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website",required=true) @PathParam("product") String product, @ApiParam(value = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.",required=true) @PathParam("cycle") String cycle) { return delegate.getApiProductCycleJson(product, cycle, securityContext); } diff --git a/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApiService.java b/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApiService.java index d76abd8..9c9d29e 100644 --- a/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApiService.java +++ b/clients/jaxrs-cxf-cdi/generated/src/gen/java/org/openapitools/api/ApiApiService.java @@ -18,7 +18,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", date = "2024-07-10T09:08:10.374797964Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", date = "2024-11-03T10:23:00.577481880Z[Etc/UTC]", comments = "Generator version: 7.9.0") public interface ApiApiService { public Response getApiAllJson(SecurityContext securityContext); public Response getApiProductCycleJson(String product, String cycle, SecurityContext securityContext); diff --git a/clients/jaxrs-cxf-cdi/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java b/clients/jaxrs-cxf-cdi/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java index 04305b9..d0f4a29 100644 --- a/clients/jaxrs-cxf-cdi/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java +++ b/clients/jaxrs-cxf-cdi/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java @@ -19,7 +19,7 @@ import javax.ws.rs.core.SecurityContext; @RequestScoped -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", date = "2024-07-10T09:08:10.374797964Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", date = "2024-11-03T10:23:00.577481880Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApiServiceImpl implements ApiApiService { @Override public Response getApiAllJson(SecurityContext securityContext) { diff --git a/clients/jaxrs-cxf-client/generated/.openapi-generator/VERSION b/clients/jaxrs-cxf-client/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-cxf-client/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-cxf-client/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-cxf-client/generated/pom.xml b/clients/jaxrs-cxf-client/generated/pom.xml index d9c3740..6c4b01b 100644 --- a/clients/jaxrs-cxf-client/generated/pom.xml +++ b/clients/jaxrs-cxf-client/generated/pom.xml @@ -81,6 +81,17 @@ + + + + com.fasterxml.jackson + jackson-bom + ${jackson-jaxrs-version} + pom + import + + + io.swagger @@ -187,9 +198,9 @@ for this project used jakarta.validation-api --> 9.2.9.v20150224 4.13.2 1.4.14 - 3.3.0 - 2.15.2 - 1.3.5 + 3.5.9 + 2.17.1 + 1.3.5 UTF-8 diff --git a/clients/jaxrs-cxf-extended/generated/.openapi-generator/VERSION b/clients/jaxrs-cxf-extended/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-cxf-extended/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-cxf-extended/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-cxf-extended/generated/pom.xml b/clients/jaxrs-cxf-extended/generated/pom.xml index a7f7f2d..e074556 100644 --- a/clients/jaxrs-cxf-extended/generated/pom.xml +++ b/clients/jaxrs-cxf-extended/generated/pom.xml @@ -219,8 +219,8 @@ for this project used jakarta.validation-api --> 2.0.2 4.13.2 1.2.12 - 3.3.0 - 2.15.2 + 3.5.9 + 2.17.1 UTF-8 diff --git a/clients/jaxrs-cxf/generated/.openapi-generator/VERSION b/clients/jaxrs-cxf/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-cxf/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-cxf/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-cxf/generated/pom.xml b/clients/jaxrs-cxf/generated/pom.xml index 1a60091..b7e2b3d 100644 --- a/clients/jaxrs-cxf/generated/pom.xml +++ b/clients/jaxrs-cxf/generated/pom.xml @@ -97,6 +97,17 @@ + + + + com.fasterxml.jackson + jackson-bom + ${jackson-jaxrs-version} + pom + import + + + io.swagger @@ -217,9 +228,9 @@ for this project used jakarta.validation-api --> 4.13.2 1.4.14 2.0.2 - 3.3.0 - 2.15.2 - 1.3.5 + 3.5.9 + 2.17.1 + 1.3.5 UTF-8 diff --git a/clients/jaxrs-jersey/generated/.openapi-generator/VERSION b/clients/jaxrs-jersey/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-jersey/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-jersey/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-jersey/generated/pom.xml b/clients/jaxrs-jersey/generated/pom.xml index 29fd479..cf4df03 100644 --- a/clients/jaxrs-jersey/generated/pom.xml +++ b/clients/jaxrs-jersey/generated/pom.xml @@ -207,7 +207,7 @@ for this project used jakarta.validation-api --> 2.0.2 9.2.9.v20150224 2.35 - 2.15.2 + 2.17.1 4.13.2 1.4.14 4.0.4 diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApi.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApi.java index afb6d9a..2bfbff3 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApi.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApi.java @@ -29,7 +29,7 @@ @io.swagger.annotations.Api(description = "the api API") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApi { private final ApiApiService delegate; @@ -40,7 +40,7 @@ public ApiApi(@Context ServletConfig servletContext) { String implClass = servletContext.getInitParameter("ApiApi.implementation"); if (implClass != null && !"".equals(implClass.trim())) { try { - delegate = (ApiApiService) Class.forName(implClass).newInstance(); + delegate = (ApiApiService) Class.forName(implClass).getDeclaredConstructor().newInstance(); } catch (Exception e) { throw new RuntimeException(e); } @@ -74,7 +74,7 @@ public Response getApiAllJson(@Context SecurityContext securityContext) @io.swagger.annotations.ApiResponses(value = { @io.swagger.annotations.ApiResponse(code = 200, message = "OK", response = Cycle.class) }) - public Response getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website", required = true) @PathParam("product") @NotNull String product,@ApiParam(value = "Release Cycle for which the details must be fetched", required = true) @PathParam("cycle") @NotNull String cycle,@Context SecurityContext securityContext) + public Response getApiProductCycleJson(@ApiParam(value = "Product URL as per the canonical URL on the endofife.date website", required = true) @PathParam("product") @NotNull String product,@ApiParam(value = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", required = true) @PathParam("cycle") @NotNull String cycle,@Context SecurityContext securityContext) throws NotFoundException { return delegate.getApiProductCycleJson(product, cycle, securityContext); } diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApiService.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApiService.java index 9796eae..497e8fd 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApiService.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiApiService.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.SecurityContext; import javax.validation.constraints.*; import javax.validation.Valid; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public abstract class ApiApiService { public abstract Response getApiAllJson(SecurityContext securityContext) throws NotFoundException; public abstract Response getApiProductCycleJson(String product,String cycle,SecurityContext securityContext) throws NotFoundException; diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiException.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiException.java index 495a14b..7731157 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiException.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiException.java @@ -3,7 +3,7 @@ /** * The exception that can be used to store the HTTP status code returned by an API response. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiException extends Exception { /** The HTTP status code. */ private int code; diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java index 418b3b8..a8d6d5f 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java @@ -5,7 +5,7 @@ import javax.servlet.*; import javax.servlet.http.HttpServletResponse; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiOriginFilter implements javax.servlet.Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java index 740b3fd..a6a507a 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java @@ -1,7 +1,7 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiResponseMessage { public static final int ERROR = 1; public static final int WARNING = 2; diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/NotFoundException.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/NotFoundException.java index 55888d1..19d2330 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/NotFoundException.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/NotFoundException.java @@ -1,6 +1,6 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class NotFoundException extends ApiException { private int code; public NotFoundException (int code, String msg) { diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/StringUtil.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/StringUtil.java index d4d7c56..88be648 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/StringUtil.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/api/StringUtil.java @@ -1,6 +1,6 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/Cycle.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/Cycle.java index 6dfd6d3..0dd366b 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/Cycle.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/Cycle.java @@ -43,7 +43,7 @@ Cycle.JSON_PROPERTY_SUPPORT, Cycle.JSON_PROPERTY_DISCONTINUED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { public static final String JSON_PROPERTY_CYCLE = "cycle"; @JsonProperty(JSON_PROPERTY_CYCLE) diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleCycle.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleCycle.java index f1b8788..4a3b4b0 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleCycle.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleCycle.java @@ -27,7 +27,7 @@ @ApiModel(description = "Release Cycle") @JsonPropertyOrder({ }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { @Override diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java index 2317c81..4b458a8 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java @@ -26,7 +26,7 @@ @ApiModel(description = "Whether this cycle is now discontinued.") @JsonPropertyOrder({ }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { @Override diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleEol.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleEol.java index 4246c2b..6d89ae0 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleEol.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleEol.java @@ -26,7 +26,7 @@ @ApiModel(description = "End of Life Date for this release cycle") @JsonPropertyOrder({ }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { @Override diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleLts.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleLts.java index f1c82ab..6ea618b 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleLts.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleLts.java @@ -26,7 +26,7 @@ @ApiModel(description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") @JsonPropertyOrder({ }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { @Override diff --git a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleSupport.java b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleSupport.java index 4e57e6c..5c30b52 100644 --- a/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleSupport.java +++ b/clients/jaxrs-jersey/generated/src/gen/java/org/openapitools/model/CycleSupport.java @@ -26,7 +26,7 @@ @ApiModel(description = "Whether this release cycle has active support") @JsonPropertyOrder({ }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { @Override diff --git a/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/factories/ApiApiServiceFactory.java b/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/factories/ApiApiServiceFactory.java index 03f8552..4b4e3ad 100644 --- a/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/factories/ApiApiServiceFactory.java +++ b/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/factories/ApiApiServiceFactory.java @@ -3,7 +3,7 @@ import org.openapitools.api.ApiApiService; import org.openapitools.api.impl.ApiApiServiceImpl; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApiServiceFactory { private static final ApiApiService service = new ApiApiServiceImpl(); diff --git a/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java b/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java index a2f8732..9742021 100644 --- a/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java +++ b/clients/jaxrs-jersey/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java @@ -14,7 +14,7 @@ import javax.ws.rs.core.SecurityContext; import javax.validation.constraints.*; import javax.validation.Valid; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-07-10T09:08:13.442358644Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJerseyServerCodegen", date = "2024-11-03T10:23:04.199052282Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApiServiceImpl extends ApiApiService { @Override public Response getApiAllJson(SecurityContext securityContext) throws NotFoundException { diff --git a/clients/jaxrs-resteasy-eap/generated/.openapi-generator/VERSION b/clients/jaxrs-resteasy-eap/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-resteasy-eap/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-resteasy-eap/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/api/ApiApi.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/api/ApiApi.java index e1f94af..8478ccb 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/api/ApiApi.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/api/ApiApi.java @@ -23,7 +23,7 @@ @io.swagger.annotations.Api(description = "the api API") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public interface ApiApi { @GET diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/Cycle.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/Cycle.java index 8ab9757..4f9aaec 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/Cycle.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/Cycle.java @@ -18,7 +18,7 @@ import javax.validation.Valid; import io.swagger.annotations.*; -@ApiModel(description="Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { private CycleCycle cycle; diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleCycle.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleCycle.java index b6b21aa..05c250f 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleCycle.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleCycle.java @@ -9,7 +9,7 @@ import javax.validation.Valid; import io.swagger.annotations.*; -@ApiModel(description="Release Cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Release Cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java index 7403931..6a93bca 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java @@ -8,7 +8,7 @@ import javax.validation.Valid; import io.swagger.annotations.*; -@ApiModel(description="Whether this cycle is now discontinued.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Whether this cycle is now discontinued.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleEol.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleEol.java index 6c4cead..9351bb2 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleEol.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleEol.java @@ -8,7 +8,7 @@ import javax.validation.Valid; import io.swagger.annotations.*; -@ApiModel(description="End of Life Date for this release cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="End of Life Date for this release cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleLts.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleLts.java index 45e367c..64f9311 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleLts.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleLts.java @@ -8,7 +8,7 @@ import javax.validation.Valid; import io.swagger.annotations.*; -@ApiModel(description="Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { diff --git a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleSupport.java b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleSupport.java index 393b33a..b39966b 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleSupport.java +++ b/clients/jaxrs-resteasy-eap/generated/src/gen/java/org/openapitools/model/CycleSupport.java @@ -8,7 +8,7 @@ import javax.validation.Valid; import io.swagger.annotations.*; -@ApiModel(description="Whether this release cycle has active support")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Whether this release cycle has active support")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { diff --git a/clients/jaxrs-resteasy-eap/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java b/clients/jaxrs-resteasy-eap/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java index f34fb7f..4ee7e90 100644 --- a/clients/jaxrs-resteasy-eap/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java +++ b/clients/jaxrs-resteasy-eap/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-07-10T09:08:20.025444920Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyEapServerCodegen", date = "2024-11-03T10:23:11.840499732Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApiServiceImpl implements ApiApi { public Response getApiAllJson(SecurityContext securityContext) { // do some magic! diff --git a/clients/jaxrs-resteasy/generated/.openapi-generator/VERSION b/clients/jaxrs-resteasy/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-resteasy/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-resteasy/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-resteasy/generated/pom.xml b/clients/jaxrs-resteasy/generated/pom.xml index 21d5e76..867f659 100644 --- a/clients/jaxrs-resteasy/generated/pom.xml +++ b/clients/jaxrs-resteasy/generated/pom.xml @@ -203,7 +203,7 @@ for this project used jakarta.validation-api --> UTF-8 1.5.22 - 2.15.2 + 2.17.1 9.2.9.v20150224 3.13.0.Final 1.6.3 diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApi.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApi.java index a53c99d..4e28944 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApi.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApi.java @@ -27,7 +27,7 @@ @io.swagger.annotations.Api(description = "the api API") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApi { @Inject ApiApiService service; diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApiService.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApiService.java index f8697f8..a15a819 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApiService.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiApiService.java @@ -16,7 +16,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public interface ApiApiService { Response getApiAllJson(SecurityContext securityContext) throws NotFoundException; diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiException.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiException.java index f2bdf78..7a59ae9 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiException.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiException.java @@ -3,7 +3,7 @@ /** * The exception that can be used to store the HTTP status code returned by an API response. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiException extends Exception { /** The HTTP status code. */ private int code; diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java index ba542ac..297a575 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiOriginFilter.java @@ -5,7 +5,7 @@ import javax.servlet.*; import javax.servlet.http.HttpServletResponse; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiOriginFilter implements javax.servlet.Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java index ab6bea6..ce3daaa 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/ApiResponseMessage.java @@ -3,7 +3,7 @@ import javax.xml.bind.annotation.XmlTransient; @javax.xml.bind.annotation.XmlRootElement -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiResponseMessage { public static final int ERROR = 1; public static final int WARNING = 2; diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/NotFoundException.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/NotFoundException.java index c107cee..9e1a957 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/NotFoundException.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/NotFoundException.java @@ -1,6 +1,6 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class NotFoundException extends ApiException { private int code; public NotFoundException (int code, String msg) { diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/StringUtil.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/StringUtil.java index 75e9c42..533464a 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/StringUtil.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/api/StringUtil.java @@ -1,6 +1,6 @@ package org.openapitools.api; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/Cycle.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/Cycle.java index 8201af6..f042cc9 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/Cycle.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/Cycle.java @@ -17,9 +17,8 @@ import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.*; -import javax.validation.Valid; -@ApiModel(description="Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { private CycleCycle cycle; diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleCycle.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleCycle.java index 5bcd8df..4bd9d7a 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleCycle.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleCycle.java @@ -8,9 +8,8 @@ import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.*; -import javax.validation.Valid; -@ApiModel(description="Release Cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Release Cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java index ae4cb41..0d3a4f2 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java @@ -7,9 +7,8 @@ import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.*; -import javax.validation.Valid; -@ApiModel(description="Whether this cycle is now discontinued.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Whether this cycle is now discontinued.")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleEol.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleEol.java index 977e429..f29c59b 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleEol.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleEol.java @@ -7,9 +7,8 @@ import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.*; -import javax.validation.Valid; -@ApiModel(description="End of Life Date for this release cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="End of Life Date for this release cycle")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleLts.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleLts.java index b34b378..ccaeeab 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleLts.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleLts.java @@ -7,9 +7,8 @@ import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.*; -import javax.validation.Valid; -@ApiModel(description="Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { diff --git a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleSupport.java b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleSupport.java index dcb0600..4581f52 100644 --- a/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleSupport.java +++ b/clients/jaxrs-resteasy/generated/src/gen/java/org/openapitools/model/CycleSupport.java @@ -7,9 +7,8 @@ import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.*; -import javax.validation.Valid; -@ApiModel(description="Whether this release cycle has active support")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@ApiModel(description="Whether this release cycle has active support")@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { diff --git a/clients/jaxrs-resteasy/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java b/clients/jaxrs-resteasy/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java index f9955f6..951b552 100644 --- a/clients/jaxrs-resteasy/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java +++ b/clients/jaxrs-resteasy/generated/src/main/java/org/openapitools/api/impl/ApiApiServiceImpl.java @@ -18,7 +18,7 @@ import javax.ws.rs.core.SecurityContext; @RequestScoped -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-07-10T09:08:16.591163941Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaResteasyServerCodegen", date = "2024-11-03T10:23:07.914255426Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApiServiceImpl implements ApiApiService { public Response getApiAllJson(SecurityContext securityContext) throws NotFoundException { diff --git a/clients/jaxrs-spec/generated/.openapi-generator/VERSION b/clients/jaxrs-spec/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jaxrs-spec/generated/.openapi-generator/VERSION +++ b/clients/jaxrs-spec/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/jaxrs-spec/generated/pom.xml b/clients/jaxrs-spec/generated/pom.xml index 04c84f1..f28439d 100644 --- a/clients/jaxrs-spec/generated/pom.xml +++ b/clients/jaxrs-spec/generated/pom.xml @@ -134,7 +134,7 @@ ${java.version} ${java.version} UTF-8 - 2.15.2 + 2.17.1 4.13.2 2.10.13 1.3.2 diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/api/ApiApi.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/api/ApiApi.java index 2de64a8..a6b340e 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/api/ApiApi.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/api/ApiApi.java @@ -18,7 +18,7 @@ */ @Path("/api") @Api(description = "the api API") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class ApiApi { @GET @@ -39,7 +39,7 @@ public Response getApiAllJson() { @ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = Cycle.class) }) - public Response getApiProductCycleJson(@PathParam("product") @ApiParam("Product URL as per the canonical URL on the endofife.date website") String product,@PathParam("cycle") @ApiParam("Release Cycle for which the details must be fetched") String cycle) { + public Response getApiProductCycleJson(@PathParam("product") @ApiParam("Product URL as per the canonical URL on the endofife.date website") String product,@PathParam("cycle") @ApiParam("Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.") String cycle) { return Response.ok().entity("magic!").build(); } diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/Cycle.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/Cycle.java index 6169ce7..d6bf086 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/Cycle.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/Cycle.java @@ -25,7 +25,7 @@ **/ @ApiModel(description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") @JsonTypeName("cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { private CycleCycle cycle; private LocalDate releaseDate; diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleCycle.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleCycle.java index 280775f..499bf19 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleCycle.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleCycle.java @@ -18,7 +18,7 @@ **/ @ApiModel(description = "Release Cycle") @JsonTypeName("cycle_cycle") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java index d946098..d4f0902 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleDiscontinued.java @@ -17,7 +17,7 @@ **/ @ApiModel(description = "Whether this cycle is now discontinued.") @JsonTypeName("cycle_discontinued") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleEol.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleEol.java index cb11559..ee5f242 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleEol.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleEol.java @@ -17,7 +17,7 @@ **/ @ApiModel(description = "End of Life Date for this release cycle") @JsonTypeName("cycle_eol") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleLts.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleLts.java index f473ccb..7c8bf32 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleLts.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleLts.java @@ -17,7 +17,7 @@ **/ @ApiModel(description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") @JsonTypeName("cycle_lts") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { diff --git a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleSupport.java b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleSupport.java index bc6177c..12e892d 100644 --- a/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleSupport.java +++ b/clients/jaxrs-spec/generated/src/gen/java/org/openapitools/model/CycleSupport.java @@ -17,7 +17,7 @@ **/ @ApiModel(description = "Whether this release cycle has active support") @JsonTypeName("cycle_support") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-07-10T09:08:22.950601110Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-11-03T10:23:15.821967102Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { diff --git a/clients/jaxrs-spec/generated/src/main/openapi/openapi.yaml b/clients/jaxrs-spec/generated/src/main/openapi/openapi.yaml index f71d219..6d4ba7b 100644 --- a/clients/jaxrs-spec/generated/src/main/openapi/openapi.yaml +++ b/clients/jaxrs-spec/generated/src/main/openapi/openapi.yaml @@ -85,7 +85,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/jmeter/generated/.openapi-generator/VERSION b/clients/jmeter/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/jmeter/generated/.openapi-generator/VERSION +++ b/clients/jmeter/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/k6/generated/.openapi-generator/VERSION b/clients/k6/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/k6/generated/.openapi-generator/VERSION +++ b/clients/k6/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/k6/generated/script.js b/clients/k6/generated/script.js index 0a733dc..f2604b3 100644 --- a/clients/k6/generated/script.js +++ b/clients/k6/generated/script.js @@ -8,7 +8,7 @@ * NOTE: This class is auto generated by OpenAPI Generator. * https://github.com/OpenAPITools/openapi-generator * - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ diff --git a/clients/kotlin-server/generated/.openapi-generator/VERSION b/clients/kotlin-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/kotlin-server/generated/.openapi-generator/VERSION +++ b/clients/kotlin-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/kotlin-server/generated/README.md b/clients/kotlin-server/generated/README.md index 0fc1ed4..daa2110 100644 --- a/clients/kotlin-server/generated/README.md +++ b/clients/kotlin-server/generated/README.md @@ -2,7 +2,7 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) -Generated by OpenAPI Generator 7.6.0. +Generated by OpenAPI Generator 7.9.0. ## Requires diff --git a/clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/Paths.kt b/clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/Paths.kt index 2217253..1bac16d 100644 --- a/clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/Paths.kt +++ b/clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/Paths.kt @@ -26,7 +26,7 @@ object Paths { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ @Serializable @Resource("/api/{product}/{cycle}.json") class getApiProductCycleJson(val product: kotlin.String, val cycle: kotlin.String) diff --git a/clients/kotlin-spring/generated/.openapi-generator/VERSION b/clients/kotlin-spring/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/kotlin-spring/generated/.openapi-generator/VERSION +++ b/clients/kotlin-spring/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/kotlin-spring/generated/build.gradle.kts b/clients/kotlin-spring/generated/build.gradle.kts index 45a8ef3..59eda31 100644 --- a/clients/kotlin-spring/generated/build.gradle.kts +++ b/clients/kotlin-spring/generated/build.gradle.kts @@ -40,9 +40,8 @@ dependencies { compile("com.fasterxml.jackson.dataformat:jackson-dataformat-xml") compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310") compile("com.fasterxml.jackson.module:jackson-module-kotlin") - compile("jakarta.validation:jakarta.validation-api") - compile("jakarta.annotation:jakarta.annotation-api:2.1.0") - + compile("javax.validation:validation-api") + compile("javax.annotation:javax.annotation-api:1.3.2") testCompile("org.jetbrains.kotlin:kotlin-test-junit5") testCompile("org.springframework.boot:spring-boot-starter-test") { exclude(module = "junit") diff --git a/clients/kotlin-spring/generated/pom.xml b/clients/kotlin-spring/generated/pom.xml index a442541..8b51baf 100644 --- a/clients/kotlin-spring/generated/pom.xml +++ b/clients/kotlin-spring/generated/pom.xml @@ -8,7 +8,7 @@ 1.6.8 3.0.2 - 2.1.0 + 1.3.2 1.6.21 1.6.21 @@ -117,13 +117,13 @@ - jakarta.validation - jakarta.validation-api + javax.validation + validation-api - jakarta.annotation - jakarta.annotation-api - ${jakarta-annotation.version} + javax.annotation + javax.annotation-api + ${javax-annotation.version} provided diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/ApiApiController.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/ApiApiController.kt index 7bcdb3c..398ec96 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/ApiApiController.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/ApiApiController.kt @@ -61,7 +61,7 @@ class ApiApiController() { value = ["/api/{product}/{cycle}.json"], produces = ["application/json"] ) - fun getApiProductCycleJson(@Parameter(description = "Product URL as per the canonical URL on the endofife.date website", required = true) @PathVariable("product") product: kotlin.String,@Parameter(description = "Release Cycle for which the details must be fetched", required = true) @PathVariable("cycle") cycle: kotlin.String): ResponseEntity { + fun getApiProductCycleJson(@Parameter(description = "Product URL as per the canonical URL on the endofife.date website", required = true) @PathVariable("product") product: kotlin.String,@Parameter(description = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", required = true) @PathVariable("cycle") cycle: kotlin.String): ResponseEntity { return ResponseEntity(HttpStatus.NOT_IMPLEMENTED) } diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/Exceptions.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/Exceptions.kt index 44190af..901db12 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/Exceptions.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/api/Exceptions.kt @@ -1,5 +1,6 @@ package org.openapitools.api +import org.springframework.context.annotation.Configuration import org.springframework.http.HttpStatus import org.springframework.web.bind.annotation.ControllerAdvice import org.springframework.web.bind.annotation.ExceptionHandler @@ -11,7 +12,7 @@ sealed class ApiException(msg: String, val code: Int) : Exception(msg) class NotFoundException(msg: String, code: Int = HttpStatus.NOT_FOUND.value()) : ApiException(msg, code) - +@Configuration("org.openapitools.api.DefaultExceptionHandler") @ControllerAdvice class DefaultExceptionHandler { diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/Cycle.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/Cycle.kt index 1533b8d..f3aacda 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/Cycle.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/Cycle.kt @@ -63,7 +63,7 @@ data class Cycle( @field:Valid @Schema(example = "null", description = "") @get:JsonProperty("discontinued") val discontinued: CycleDiscontinued? = null -) { + ) { } diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleCycle.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleCycle.kt index dedcad1..ae6c9ca 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleCycle.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleCycle.kt @@ -17,7 +17,7 @@ import io.swagger.v3.oas.annotations.media.Schema */ class CycleCycle( -) { + ) { } diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleDiscontinued.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleDiscontinued.kt index e725700..e86ca13 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleDiscontinued.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleDiscontinued.kt @@ -17,7 +17,7 @@ import io.swagger.v3.oas.annotations.media.Schema */ class CycleDiscontinued( -) { + ) { } diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleEol.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleEol.kt index bd4fd1b..4392e70 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleEol.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleEol.kt @@ -17,7 +17,7 @@ import io.swagger.v3.oas.annotations.media.Schema */ class CycleEol( -) { + ) { } diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleLts.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleLts.kt index 6c3aa49..9e466a7 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleLts.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleLts.kt @@ -17,7 +17,7 @@ import io.swagger.v3.oas.annotations.media.Schema */ class CycleLts( -) { + ) { } diff --git a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleSupport.kt b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleSupport.kt index 3679222..1e0961d 100644 --- a/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleSupport.kt +++ b/clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CycleSupport.kt @@ -17,7 +17,7 @@ import io.swagger.v3.oas.annotations.media.Schema */ class CycleSupport( -) { + ) { } diff --git a/clients/kotlin-spring/generated/src/main/resources/openapi.yaml b/clients/kotlin-spring/generated/src/main/resources/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/kotlin-spring/generated/src/main/resources/openapi.yaml +++ b/clients/kotlin-spring/generated/src/main/resources/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/kotlin-vertx/generated/.openapi-generator/VERSION b/clients/kotlin-vertx/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/kotlin-vertx/generated/.openapi-generator/VERSION +++ b/clients/kotlin-vertx/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/kotlin-vertx/generated/pom.xml b/clients/kotlin-vertx/generated/pom.xml index 84ba346..c787745 100644 --- a/clients/kotlin-vertx/generated/pom.xml +++ b/clients/kotlin-vertx/generated/pom.xml @@ -20,7 +20,7 @@ 3.10.0 1.0.2 3.2.4 - 2.15.2 + 2.17.1 diff --git a/clients/kotlin/generated/.openapi-generator/VERSION b/clients/kotlin/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/kotlin/generated/.openapi-generator/VERSION +++ b/clients/kotlin/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/kotlin/generated/README.md b/clients/kotlin/generated/README.md index 0755e08..252ab6f 100644 --- a/clients/kotlin/generated/README.md +++ b/clients/kotlin/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.KotlinClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) @@ -44,11 +44,11 @@ This runs all tests and packages the library. All URIs are relative to *https://endoflife.date* -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*DefaultApi* | [**getApiAllJson**](docs/DefaultApi.md#getapialljson) | **GET** /api/all.json | All Products -*DefaultApi* | [**getApiProductCycleJson**](docs/DefaultApi.md#getapiproductcyclejson) | **GET** /api/{product}/{cycle}.json | Single cycle details -*DefaultApi* | [**getApiProductJson**](docs/DefaultApi.md#getapiproductjson) | **GET** /api/{product}.json | Get All Details +| Class | Method | HTTP request | Description | +| ------------ | ------------- | ------------- | ------------- | +| *DefaultApi* | [**getApiAllJson**](docs/DefaultApi.md#getapialljson) | **GET** /api/all.json | All Products | +| *DefaultApi* | [**getApiProductCycleJson**](docs/DefaultApi.md#getapiproductcyclejson) | **GET** /api/{product}/{cycle}.json | Single cycle details | +| *DefaultApi* | [**getApiProductJson**](docs/DefaultApi.md#getapiproductjson) | **GET** /api/{product}.json | Get All Details | diff --git a/clients/kotlin/generated/docs/Cycle.md b/clients/kotlin/generated/docs/Cycle.md index 28100d7..cad5705 100644 --- a/clients/kotlin/generated/docs/Cycle.md +++ b/clients/kotlin/generated/docs/Cycle.md @@ -2,16 +2,16 @@ # Cycle ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cycle** | [**CycleCycle**](CycleCycle.md) | | [optional] -**releaseDate** | [**java.time.LocalDate**](java.time.LocalDate.md) | Release Date for the first release in this cycle | [optional] -**eol** | [**CycleEol**](CycleEol.md) | | [optional] -**latest** | **kotlin.String** | Latest release in this cycle | [optional] -**link** | **kotlin.String** | Link to changelog for the latest release, if available | [optional] -**lts** | [**CycleLts**](CycleLts.md) | | [optional] -**support** | [**CycleSupport**](CycleSupport.md) | | [optional] -**discontinued** | [**CycleDiscontinued**](CycleDiscontinued.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cycle** | [**CycleCycle**](CycleCycle.md) | | [optional] | +| **releaseDate** | [**java.time.LocalDate**](java.time.LocalDate.md) | Release Date for the first release in this cycle | [optional] | +| **eol** | [**CycleEol**](CycleEol.md) | | [optional] | +| **latest** | **kotlin.String** | Latest release in this cycle | [optional] | +| **link** | **kotlin.String** | Link to changelog for the latest release, if available | [optional] | +| **lts** | [**CycleLts**](CycleLts.md) | | [optional] | +| **support** | [**CycleSupport**](CycleSupport.md) | | [optional] | +| **discontinued** | [**CycleDiscontinued**](CycleDiscontinued.md) | | [optional] | diff --git a/clients/kotlin/generated/docs/CycleCycle.md b/clients/kotlin/generated/docs/CycleCycle.md index 3a71608..46dd3f6 100644 --- a/clients/kotlin/generated/docs/CycleCycle.md +++ b/clients/kotlin/generated/docs/CycleCycle.md @@ -2,8 +2,8 @@ # CycleCycle ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | diff --git a/clients/kotlin/generated/docs/CycleDiscontinued.md b/clients/kotlin/generated/docs/CycleDiscontinued.md index a14d6be..55da43e 100644 --- a/clients/kotlin/generated/docs/CycleDiscontinued.md +++ b/clients/kotlin/generated/docs/CycleDiscontinued.md @@ -2,8 +2,8 @@ # CycleDiscontinued ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | diff --git a/clients/kotlin/generated/docs/CycleEol.md b/clients/kotlin/generated/docs/CycleEol.md index a909a8b..8792dbf 100644 --- a/clients/kotlin/generated/docs/CycleEol.md +++ b/clients/kotlin/generated/docs/CycleEol.md @@ -2,8 +2,8 @@ # CycleEol ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | diff --git a/clients/kotlin/generated/docs/CycleLts.md b/clients/kotlin/generated/docs/CycleLts.md index b55b508..dd05e13 100644 --- a/clients/kotlin/generated/docs/CycleLts.md +++ b/clients/kotlin/generated/docs/CycleLts.md @@ -2,8 +2,8 @@ # CycleLts ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | diff --git a/clients/kotlin/generated/docs/CycleSupport.md b/clients/kotlin/generated/docs/CycleSupport.md index 0475f08..62d7405 100644 --- a/clients/kotlin/generated/docs/CycleSupport.md +++ b/clients/kotlin/generated/docs/CycleSupport.md @@ -2,8 +2,8 @@ # CycleSupport ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | diff --git a/clients/kotlin/generated/docs/DefaultApi.md b/clients/kotlin/generated/docs/DefaultApi.md index aaf8e93..d7b510e 100644 --- a/clients/kotlin/generated/docs/DefaultApi.md +++ b/clients/kotlin/generated/docs/DefaultApi.md @@ -2,11 +2,11 @@ All URIs are relative to *https://endoflife.date* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getApiAllJson**](DefaultApi.md#getApiAllJson) | **GET** /api/all.json | All Products -[**getApiProductCycleJson**](DefaultApi.md#getApiProductCycleJson) | **GET** /api/{product}/{cycle}.json | Single cycle details -[**getApiProductJson**](DefaultApi.md#getApiProductJson) | **GET** /api/{product}.json | Get All Details +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**getApiAllJson**](DefaultApi.md#getApiAllJson) | **GET** /api/all.json | All Products | +| [**getApiProductCycleJson**](DefaultApi.md#getApiProductCycleJson) | **GET** /api/{product}/{cycle}.json | Single cycle details | +| [**getApiProductJson**](DefaultApi.md#getApiProductJson) | **GET** /api/{product}.json | Get All Details | @@ -68,7 +68,7 @@ Gets details of a single cycle val apiInstance = DefaultApi() val product : kotlin.String = product_example // kotlin.String | Product URL as per the canonical URL on the endofife.date website -val cycle : kotlin.String = cycle_example // kotlin.String | Release Cycle for which the details must be fetched +val cycle : kotlin.String = cycle_example // kotlin.String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { val result : Cycle = apiInstance.getApiProductCycleJson(product, cycle) println(result) @@ -82,11 +82,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **product** | **kotlin.String**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **kotlin.String**| Release Cycle for which the details must be fetched | +| **product** | **kotlin.String**| Product URL as per the canonical URL on the endofife.date website | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cycle** | **kotlin.String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | | ### Return type @@ -130,10 +129,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **product** | **kotlin.String**| Product URL as per the canonical URL on the endofife.date website | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **product** | **kotlin.String**| Product URL as per the canonical URL on the endofife.date website | | ### Return type diff --git a/clients/kotlin/generated/gradlew.bat b/clients/kotlin/generated/gradlew.bat index 9d0ce63..107acd3 100644 --- a/clients/kotlin/generated/gradlew.bat +++ b/clients/kotlin/generated/gradlew.bat @@ -1,249 +1,89 @@ -#!/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##*/} -# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit - -# 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 -if ! command -v java >/dev/null 2>&1 -then -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 -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=SC2039,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=SC2039,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 - - -# 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"' - -# Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, -# and any embedded shellness will be escaped. -# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be -# treated as '${Hostname}' itself on the command line. - -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" "$@" +@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=. +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%" == "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%"=="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! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/apis/DefaultApi.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/apis/DefaultApi.kt index 4561440..c94f8e3 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/apis/DefaultApi.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/apis/DefaultApi.kt @@ -16,7 +16,7 @@ package org.openapitools.client.apis import java.io.IOException -import okhttp3.OkHttpClient +import okhttp3.Call import okhttp3.HttpUrl import org.openapitools.client.models.Cycle @@ -37,7 +37,7 @@ import org.openapitools.client.infrastructure.ResponseType import org.openapitools.client.infrastructure.Success import org.openapitools.client.infrastructure.toMultiValue -class DefaultApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient = ApiClient.defaultClient) : ApiClient(basePath, client) { +class DefaultApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory = ApiClient.defaultClient) : ApiClient(basePath, client) { companion object { @JvmStatic val defaultBasePath: String by lazy { @@ -117,7 +117,7 @@ class DefaultApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @return Cycle * @throws IllegalStateException If the request is not correctly configured * @throws IOException Rethrows the OkHttp execute method exception @@ -149,7 +149,7 @@ class DefaultApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @return ApiResponse * @throws IllegalStateException If the request is not correctly configured * @throws IOException Rethrows the OkHttp execute method exception @@ -168,7 +168,7 @@ class DefaultApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient * To obtain the request config of the operation getApiProductCycleJson * * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @return RequestConfig */ fun getApiProductCycleJsonRequestConfig(product: kotlin.String, cycle: kotlin.String) : RequestConfig { diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt index 432e132..2c84a6b 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt @@ -26,11 +26,12 @@ import java.time.LocalTime import java.time.OffsetDateTime import java.time.OffsetTime import java.util.Locale +import java.util.regex.Pattern import com.squareup.moshi.adapter - val EMPTY_REQUEST: RequestBody = ByteArray(0).toRequestBody() +val EMPTY_REQUEST: RequestBody = ByteArray(0).toRequestBody() -open class ApiClient(val baseUrl: String, val client: OkHttpClient = defaultClient) { +open class ApiClient(val baseUrl: String, val client: Call.Factory = defaultClient) { companion object { protected const val ContentType = "Content-Type" protected const val Accept = "Accept" @@ -120,14 +121,55 @@ open class ApiClient(val baseUrl: String, val client: OkHttpClient = defaultClie } @OptIn(ExperimentalStdlibApi::class) - protected inline fun responseBody(body: ResponseBody?, mediaType: String? = JsonMediaType): T? { + protected inline fun responseBody(response: Response, mediaType: String? = JsonMediaType): T? { + val body = response.body if(body == null) { return null - } - if (T::class.java == File::class.java) { + } else if (T::class.java == Unit::class.java) { + // No need to parse the body when we're not interested in the body + // Useful when API is returning other Content-Type + return null + } else if (T::class.java == File::class.java) { // return tempFile + val contentDisposition = response.header("Content-Disposition") + + val fileName = if (contentDisposition != null) { + // Get filename from the Content-Disposition header. + val pattern = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?") + val matcher = pattern.matcher(contentDisposition) + if (matcher.find()) { + matcher.group(1) + ?.replace(".*[/\\\\]", "") + ?.replace(";", "") + } else { + null + } + } else { + null + } + + var prefix: String? + val suffix: String? + if (fileName == null) { + prefix = "download" + suffix = "" + } else { + val pos = fileName.lastIndexOf(".") + if (pos == -1) { + prefix = fileName + suffix = null + } else { + prefix = fileName.substring(0, pos) + suffix = fileName.substring(pos) + } + // Files.createTempFile requires the prefix to be at least three characters long + if (prefix.length < 3) { + prefix = "download" + } + } + // Attention: if you are developing an android app that supports API Level 25 and bellow, please check flag supportAndroidApiLevel25AndBelow in https://openapi-generator.tech/docs/generators/kotlin#config-options - val tempFile = java.nio.file.Files.createTempFile("tmp.org.openapitools.client", null).toFile() + val tempFile = java.nio.file.Files.createTempFile(prefix, suffix).toFile() tempFile.deleteOnExit() body.byteStream().use { inputStream -> tempFile.outputStream().use { tempFileOutputStream -> @@ -202,33 +244,35 @@ open class ApiClient(val baseUrl: String, val client: OkHttpClient = defaultClie // TODO: handle specific mapping types. e.g. Map> @Suppress("UNNECESSARY_SAFE_CALL") - return when { - response.isRedirect -> Redirection( - response.code, - response.headers.toMultimap() - ) - response.isInformational -> Informational( - response.message, - response.code, - response.headers.toMultimap() - ) - response.isSuccessful -> Success( - responseBody(response.body, accept), - response.code, - response.headers.toMultimap() - ) - response.isClientError -> ClientError( - response.message, - response.body?.string(), - response.code, - response.headers.toMultimap() - ) - else -> ServerError( - response.message, - response.body?.string(), - response.code, - response.headers.toMultimap() - ) + return response.use { + when { + it.isRedirect -> Redirection( + it.code, + it.headers.toMultimap() + ) + it.isInformational -> Informational( + it.message, + it.code, + it.headers.toMultimap() + ) + it.isSuccessful -> Success( + responseBody(it, accept), + it.code, + it.headers.toMultimap() + ) + it.isClientError -> ClientError( + it.message, + it.body?.string(), + it.code, + it.headers.toMultimap() + ) + else -> ServerError( + it.message, + it.body?.string(), + it.code, + it.headers.toMultimap() + ) + } } } diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/Cycle.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/Cycle.kt index e375e52..21c293a 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/Cycle.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/Cycle.kt @@ -67,5 +67,8 @@ data class Cycle ( @Json(name = "discontinued") val discontinued: CycleDiscontinued? = null -) +) { + + +} diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleCycle.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleCycle.kt index 3e5ba9e..3d3a6c7 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleCycle.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleCycle.kt @@ -25,7 +25,10 @@ import com.squareup.moshi.JsonClass */ -data class CycleCycle ( +class CycleCycle ( -) +) { + + +} diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleDiscontinued.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleDiscontinued.kt index a587e56..67d8fb0 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleDiscontinued.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleDiscontinued.kt @@ -25,7 +25,10 @@ import com.squareup.moshi.JsonClass */ -data class CycleDiscontinued ( +class CycleDiscontinued ( -) +) { + + +} diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleEol.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleEol.kt index c637a38..c4a54ce 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleEol.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleEol.kt @@ -25,7 +25,10 @@ import com.squareup.moshi.JsonClass */ -data class CycleEol ( +class CycleEol ( -) +) { + + +} diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleLts.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleLts.kt index aed4fbd..974e411 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleLts.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleLts.kt @@ -25,7 +25,10 @@ import com.squareup.moshi.JsonClass */ -data class CycleLts ( +class CycleLts ( -) +) { + + +} diff --git a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleSupport.kt b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleSupport.kt index 365e3d5..19595d8 100644 --- a/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleSupport.kt +++ b/clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/CycleSupport.kt @@ -25,7 +25,10 @@ import com.squareup.moshi.JsonClass */ -data class CycleSupport ( +class CycleSupport ( -) +) { + + +} diff --git a/clients/kotlin/generated/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt b/clients/kotlin/generated/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt index 395a396..d8ac935 100644 --- a/clients/kotlin/generated/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt +++ b/clients/kotlin/generated/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt @@ -37,7 +37,7 @@ class DefaultApiTest : ShouldSpec() { should("test getApiProductCycleJson") { // uncomment below to test getApiProductCycleJson //val product : kotlin.String = product_example // kotlin.String | Product URL as per the canonical URL on the endofife.date website - //val cycle : kotlin.String = cycle_example // kotlin.String | Release Cycle for which the details must be fetched + //val cycle : kotlin.String = cycle_example // kotlin.String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. //val result : Cycle = apiInstance.getApiProductCycleJson(product, cycle) //result shouldBe ("TODO") } diff --git a/clients/ktorm-schema/generated/.openapi-generator/VERSION b/clients/ktorm-schema/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ktorm-schema/generated/.openapi-generator/VERSION +++ b/clients/ktorm-schema/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/lua/generated/.openapi-generator/VERSION b/clients/lua/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/lua/generated/.openapi-generator/VERSION +++ b/clients/lua/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/markdown/generated/.openapi-generator/VERSION b/clients/markdown/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/markdown/generated/.openapi-generator/VERSION +++ b/clients/markdown/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/markdown/generated/Apis/DefaultApi.md b/clients/markdown/generated/Apis/DefaultApi.md index 7c42fa0..6c0d097 100644 --- a/clients/markdown/generated/Apis/DefaultApi.md +++ b/clients/markdown/generated/Apis/DefaultApi.md @@ -73,7 +73,7 @@ Single cycle details |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **product** | **String**| Product URL as per the canonical URL on the endofife.date website | [default to null] | -| **cycle** | **String**| Release Cycle for which the details must be fetched | [default to null] | +| **cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | [default to null] | ### Return type diff --git a/clients/mysql-schema/generated/.openapi-generator/VERSION b/clients/mysql-schema/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/mysql-schema/generated/.openapi-generator/VERSION +++ b/clients/mysql-schema/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/nim/generated/.openapi-generator/VERSION b/clients/nim/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/nim/generated/.openapi-generator/VERSION +++ b/clients/nim/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/nim/generated/README.md b/clients/nim/generated/README.md index 65a2515..685374c 100644 --- a/clients/nim/generated/README.md +++ b/clients/nim/generated/README.md @@ -8,7 +8,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: 1.0.0 - - Generator version: 7.6.0 + - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.NimClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/nodejs-express-server/generated/.openapi-generator/VERSION b/clients/nodejs-express-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/nodejs-express-server/generated/.openapi-generator/VERSION +++ b/clients/nodejs-express-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/nodejs-express-server/generated/api/openapi.yaml b/clients/nodejs-express-server/generated/api/openapi.yaml index 0eb9a3c..8b799d5 100644 --- a/clients/nodejs-express-server/generated/api/openapi.yaml +++ b/clients/nodejs-express-server/generated/api/openapi.yaml @@ -83,7 +83,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/nodejs-express-server/generated/services/DefaultService.js b/clients/nodejs-express-server/generated/services/DefaultService.js index 228d63f..2950aa8 100644 --- a/clients/nodejs-express-server/generated/services/DefaultService.js +++ b/clients/nodejs-express-server/generated/services/DefaultService.js @@ -46,7 +46,7 @@ const getApiProduct.json = ({ product }) => new Promise( * Gets details of a single cycle * * product String Product URL as per the canonical URL on the endofife.date website -* cycle String Release Cycle for which the details must be fetched +* cycle String Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * returns cycle * */ const getApiProductCycle.json = ({ product, cycle }) => new Promise( diff --git a/clients/objc/generated/.openapi-generator/VERSION b/clients/objc/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/objc/generated/.openapi-generator/VERSION +++ b/clients/objc/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.h b/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.h index 5ff50cd..e1441b3 100644 --- a/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.h +++ b/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.h @@ -38,7 +38,7 @@ extern NSInteger kOAIDefaultApiMissingParamErrorCode; /// Gets details of a single cycle /// /// @param product Product URL as per the canonical URL on the endofife.date website -/// @param cycle Release Cycle for which the details must be fetched +/// @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// /// code:200 message:"OK" /// diff --git a/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.m b/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.m index 52d7404..4bd211b 100644 --- a/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.m +++ b/clients/objc/generated/OpenAPIClient/Api/OAIDefaultApi.m @@ -106,7 +106,7 @@ -(NSURLSessionTask*) getApiAllJsonWithCompletionHandler: /// Gets details of a single cycle /// @param product Product URL as per the canonical URL on the endofife.date website /// -/// @param cycle Release Cycle for which the details must be fetched +/// @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. /// /// @returns OAICycle* /// diff --git a/clients/objc/generated/README.md b/clients/objc/generated/README.md index c0354dc..38dd895 100644 --- a/clients/objc/generated/README.md +++ b/clients/objc/generated/README.md @@ -6,7 +6,7 @@ This ObjC package is automatically generated by the [OpenAPI Generator](https:// - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.ObjcClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/objc/generated/docs/OAIDefaultApi.md b/clients/objc/generated/docs/OAIDefaultApi.md index a227b97..2f51c9f 100644 --- a/clients/objc/generated/docs/OAIDefaultApi.md +++ b/clients/objc/generated/docs/OAIDefaultApi.md @@ -70,7 +70,7 @@ Gets details of a single cycle ```objc NSString* product = @"product_example"; // Product URL as per the canonical URL on the endofife.date website -NSString* cycle = @"cycle_example"; // Release Cycle for which the details must be fetched +NSString* cycle = @"cycle_example"; // Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. OAIDefaultApi*apiInstance = [[OAIDefaultApi alloc] init]; @@ -92,7 +92,7 @@ OAIDefaultApi*apiInstance = [[OAIDefaultApi alloc] init]; Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **NSString***| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **NSString***| Release Cycle for which the details must be fetched | + **cycle** | **NSString***| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/ocaml/generated/.openapi-generator/VERSION b/clients/ocaml/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ocaml/generated/.openapi-generator/VERSION +++ b/clients/ocaml/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/ocaml/generated/README.md b/clients/ocaml/generated/README.md index b06447a..bdce46c 100644 --- a/clients/ocaml/generated/README.md +++ b/clients/ocaml/generated/README.md @@ -5,7 +5,7 @@ This OCaml package is automatically generated by the [OpenAPI Generator](https:/ - API version: 0.0.1 - Package version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.OCamlClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/openapi-yaml/generated/.openapi-generator/VERSION b/clients/openapi-yaml/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/openapi-yaml/generated/.openapi-generator/VERSION +++ b/clients/openapi-yaml/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/openapi-yaml/generated/openapi/openapi.yaml b/clients/openapi-yaml/generated/openapi/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/openapi-yaml/generated/openapi/openapi.yaml +++ b/clients/openapi-yaml/generated/openapi/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/openapi/generated/.openapi-generator/VERSION b/clients/openapi/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/openapi/generated/.openapi-generator/VERSION +++ b/clients/openapi/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/openapi/generated/openapi.json b/clients/openapi/generated/openapi.json index 53db9cb..d48dcc0 100644 --- a/clients/openapi/generated/openapi.json +++ b/clients/openapi/generated/openapi.json @@ -104,7 +104,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/perl/generated/.openapi-generator/VERSION b/clients/perl/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/perl/generated/.openapi-generator/VERSION +++ b/clients/perl/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/perl/generated/README.md b/clients/perl/generated/README.md index 0294228..0021ffa 100644 --- a/clients/perl/generated/README.md +++ b/clients/perl/generated/README.md @@ -10,7 +10,7 @@ Automatically generated by the [OpenAPI Generator](https://openapi-generator.tec - API version: 0.0.1 - Package version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PerlClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/perl/generated/docs/DefaultApi.md b/clients/perl/generated/docs/DefaultApi.md index 873bc25..033e388 100644 --- a/clients/perl/generated/docs/DefaultApi.md +++ b/clients/perl/generated/docs/DefaultApi.md @@ -71,7 +71,7 @@ my $api_instance = WWW::OpenAPIClient::DefaultApi->new( ); my $product = "product_example"; # string | Product URL as per the canonical URL on the endofife.date website -my $cycle = "cycle_example"; # string | Release Cycle for which the details must be fetched +my $cycle = "cycle_example"; # string | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. eval { my $result = $api_instance->get_api_product_cycle_json(product => $product, cycle => $cycle); @@ -87,7 +87,7 @@ if ($@) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **string**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **string**| Release Cycle for which the details must be fetched | + **cycle** | **string**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/php-dt/generated/.openapi-generator/VERSION b/clients/php-dt/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/php-dt/generated/.openapi-generator/VERSION +++ b/clients/php-dt/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/php-dt/generated/src/App/DTO/GetApiProductCycleJsonParameterData.php b/clients/php-dt/generated/src/App/DTO/GetApiProductCycleJsonParameterData.php index b4c8dba..7ca6a40 100644 --- a/clients/php-dt/generated/src/App/DTO/GetApiProductCycleJsonParameterData.php +++ b/clients/php-dt/generated/src/App/DTO/GetApiProductCycleJsonParameterData.php @@ -6,7 +6,7 @@ use Articus\DataTransfer\Annotation as DTA; /** - * Parameters for get-api-:product-:cycle.json + * Parameters for getApiProductCycleJson */ class GetApiProductCycleJsonParameterData { @@ -19,7 +19,7 @@ class GetApiProductCycleJsonParameterData public ?string $product = null; /** - * Release Cycle for which the details must be fetched + * Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @DTA\Data(subset="path", field="cycle") * @DTA\Strategy(subset="path", name="QueryStringScalar", options={"type":"string"}) * @DTA\Validator(subset="path", name="QueryStringScalar", options={"type":"string"}) diff --git a/clients/php-dt/generated/src/App/DTO/GetApiProductJsonParameterData.php b/clients/php-dt/generated/src/App/DTO/GetApiProductJsonParameterData.php index 3cb3aaa..7ddbc4f 100644 --- a/clients/php-dt/generated/src/App/DTO/GetApiProductJsonParameterData.php +++ b/clients/php-dt/generated/src/App/DTO/GetApiProductJsonParameterData.php @@ -6,7 +6,7 @@ use Articus\DataTransfer\Annotation as DTA; /** - * Parameters for get-api-:product.json + * Parameters for getApiProductJson */ class GetApiProductJsonParameterData { diff --git a/clients/php-lumen/generated/.openapi-generator/VERSION b/clients/php-lumen/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/php-lumen/generated/.openapi-generator/VERSION +++ b/clients/php-lumen/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/php-mezzio-ph/generated/.openapi-generator/VERSION b/clients/php-mezzio-ph/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/php-mezzio-ph/generated/.openapi-generator/VERSION +++ b/clients/php-mezzio-ph/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/php-slim4/generated/.github/workflows/main.yml b/clients/php-slim4/generated/.github/workflows/main.yml index 64a55d0..feda9a5 100644 --- a/clients/php-slim4/generated/.github/workflows/main.yml +++ b/clients/php-slim4/generated/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: runs-on: ${{ matrix.operating-system }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Docs: https://github.com/shivammathur/setup-php - name: Setup PHP diff --git a/clients/php-slim4/generated/.openapi-generator/VERSION b/clients/php-slim4/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/php-slim4/generated/.openapi-generator/VERSION +++ b/clients/php-slim4/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/php-symfony/generated/.openapi-generator/VERSION b/clients/php-symfony/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/php-symfony/generated/.openapi-generator/VERSION +++ b/clients/php-symfony/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/php-symfony/generated/Api/DefaultApiInterface.php b/clients/php-symfony/generated/Api/DefaultApiInterface.php index 5dbfc7a..cf15bf0 100644 --- a/clients/php-symfony/generated/Api/DefaultApiInterface.php +++ b/clients/php-symfony/generated/Api/DefaultApiInterface.php @@ -64,7 +64,7 @@ public function getApiAllJson( * Single cycle details * * @param string $product Product URL as per the canonical URL on the endofife.date website (required) - * @param string $cycle Release Cycle for which the details must be fetched (required) + * @param string $cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @param int &$responseCode The HTTP Response Code * @param array $responseHeaders Additional HTTP headers to return with the response () * diff --git a/clients/php-symfony/generated/Model/Cycle.php b/clients/php-symfony/generated/Model/Cycle.php index 64007da..cd6227e 100644 --- a/clients/php-symfony/generated/Model/Cycle.php +++ b/clients/php-symfony/generated/Model/Cycle.php @@ -48,9 +48,9 @@ class Cycle /** * @var CycleCycle|null * @SerializedName("cycle") - * @Assert\Type("OpenAPI\Server\Model\CycleCycle") * @Type("OpenAPI\Server\Model\CycleCycle") - */ + */ + #[Assert\Type("OpenAPI\Server\Model\CycleCycle")] protected ?CycleCycle $cycle = null; /** @@ -58,23 +58,19 @@ class Cycle * * @var \DateTime|null * @SerializedName("releaseDate") - * @Assert\Type("\Date") * @Type("DateTime<'Y-m-d'>") - * @Assert\Length( - * max = 10 - * ) - * @Assert\Length( - * min = 10 - * ) - */ + */ + #[Assert\Type("\DateTime")] + #[Assert\Length(max: 10)] + #[Assert\Length(min: 10)] protected ?\DateTime $releaseDate = null; /** * @var CycleEol|null * @SerializedName("eol") - * @Assert\Type("OpenAPI\Server\Model\CycleEol") * @Type("OpenAPI\Server\Model\CycleEol") - */ + */ + #[Assert\Type("OpenAPI\Server\Model\CycleEol")] protected ?CycleEol $eol = null; /** @@ -82,12 +78,10 @@ class Cycle * * @var string|null * @SerializedName("latest") - * @Assert\Type("string") * @Type("string") - * @Assert\Length( - * min = 1 - * ) - */ + */ + #[Assert\Type("string")] + #[Assert\Length(min: 1)] protected ?string $latest = null; /** @@ -95,36 +89,34 @@ class Cycle * * @var string|null * @SerializedName("link") - * @Assert\Type("string") * @Type("string") - * @Assert\Length( - * min = 1 - * ) - */ + */ + #[Assert\Type("string")] + #[Assert\Length(min: 1)] protected ?string $link = null; /** * @var CycleLts|null * @SerializedName("lts") - * @Assert\Type("OpenAPI\Server\Model\CycleLts") * @Type("OpenAPI\Server\Model\CycleLts") - */ + */ + #[Assert\Type("OpenAPI\Server\Model\CycleLts")] protected ?CycleLts $lts = null; /** * @var CycleSupport|null * @SerializedName("support") - * @Assert\Type("OpenAPI\Server\Model\CycleSupport") * @Type("OpenAPI\Server\Model\CycleSupport") - */ + */ + #[Assert\Type("OpenAPI\Server\Model\CycleSupport")] protected ?CycleSupport $support = null; /** * @var CycleDiscontinued|null * @SerializedName("discontinued") - * @Assert\Type("OpenAPI\Server\Model\CycleDiscontinued") * @Type("OpenAPI\Server\Model\CycleDiscontinued") - */ + */ + #[Assert\Type("OpenAPI\Server\Model\CycleDiscontinued")] protected ?CycleDiscontinued $discontinued = null; /** @@ -155,15 +147,13 @@ public function getCycle(): ?CycleCycle return $this->cycle; } - - /** - * Sets cycle. - * - * @param CycleCycle|null $cycle - * - * @return $this - */ + * Sets cycle. + * + * @param CycleCycle|null $cycle + * + * @return $this + */ public function setCycle(?CycleCycle $cycle = null): self { $this->cycle = $cycle; @@ -171,6 +161,9 @@ public function setCycle(?CycleCycle $cycle = null): self return $this; } + + + /** * Gets releaseDate. * @@ -181,15 +174,13 @@ public function getReleaseDate(): ?\DateTime return $this->releaseDate; } - - /** - * Sets releaseDate. - * - * @param \DateTime|null $releaseDate Release Date for the first release in this cycle - * - * @return $this - */ + * Sets releaseDate. + * + * @param \DateTime|null $releaseDate Release Date for the first release in this cycle + * + * @return $this + */ public function setReleaseDate(?\DateTime $releaseDate = null): self { $this->releaseDate = $releaseDate; @@ -197,6 +188,9 @@ public function setReleaseDate(?\DateTime $releaseDate = null): self return $this; } + + + /** * Gets eol. * @@ -207,15 +201,13 @@ public function getEol(): ?CycleEol return $this->eol; } - - /** - * Sets eol. - * - * @param CycleEol|null $eol - * - * @return $this - */ + * Sets eol. + * + * @param CycleEol|null $eol + * + * @return $this + */ public function setEol(?CycleEol $eol = null): self { $this->eol = $eol; @@ -223,6 +215,9 @@ public function setEol(?CycleEol $eol = null): self return $this; } + + + /** * Gets latest. * @@ -233,15 +228,13 @@ public function getLatest(): ?string return $this->latest; } - - /** - * Sets latest. - * - * @param string|null $latest Latest release in this cycle - * - * @return $this - */ + * Sets latest. + * + * @param string|null $latest Latest release in this cycle + * + * @return $this + */ public function setLatest(?string $latest = null): self { $this->latest = $latest; @@ -249,6 +242,9 @@ public function setLatest(?string $latest = null): self return $this; } + + + /** * Gets link. * @@ -259,15 +255,13 @@ public function getLink(): ?string return $this->link; } - - /** - * Sets link. - * - * @param string|null $link Link to changelog for the latest release, if available - * - * @return $this - */ + * Sets link. + * + * @param string|null $link Link to changelog for the latest release, if available + * + * @return $this + */ public function setLink(?string $link = null): self { $this->link = $link; @@ -275,6 +269,9 @@ public function setLink(?string $link = null): self return $this; } + + + /** * Gets lts. * @@ -285,15 +282,13 @@ public function getLts(): ?CycleLts return $this->lts; } - - /** - * Sets lts. - * - * @param CycleLts|null $lts - * - * @return $this - */ + * Sets lts. + * + * @param CycleLts|null $lts + * + * @return $this + */ public function setLts(?CycleLts $lts = null): self { $this->lts = $lts; @@ -301,6 +296,9 @@ public function setLts(?CycleLts $lts = null): self return $this; } + + + /** * Gets support. * @@ -311,15 +309,13 @@ public function getSupport(): ?CycleSupport return $this->support; } - - /** - * Sets support. - * - * @param CycleSupport|null $support - * - * @return $this - */ + * Sets support. + * + * @param CycleSupport|null $support + * + * @return $this + */ public function setSupport(?CycleSupport $support = null): self { $this->support = $support; @@ -327,6 +323,9 @@ public function setSupport(?CycleSupport $support = null): self return $this; } + + + /** * Gets discontinued. * @@ -337,21 +336,22 @@ public function getDiscontinued(): ?CycleDiscontinued return $this->discontinued; } - - /** - * Sets discontinued. - * - * @param CycleDiscontinued|null $discontinued - * - * @return $this - */ + * Sets discontinued. + * + * @param CycleDiscontinued|null $discontinued + * + * @return $this + */ public function setDiscontinued(?CycleDiscontinued $discontinued = null): self { $this->discontinued = $discontinued; return $this; } + + + } diff --git a/clients/php-symfony/generated/README.md b/clients/php-symfony/generated/README.md index 4459cd5..5f259af 100644 --- a/clients/php-symfony/generated/README.md +++ b/clients/php-symfony/generated/README.md @@ -4,7 +4,7 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additio This [Symfony](https://symfony.com/) bundle is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PhpSymfonyServerCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/php-symfony/generated/Service/JmsSerializer.php b/clients/php-symfony/generated/Service/JmsSerializer.php index 12c69ba..5abbc6d 100644 --- a/clients/php-symfony/generated/Service/JmsSerializer.php +++ b/clients/php-symfony/generated/Service/JmsSerializer.php @@ -101,12 +101,16 @@ private function deserializeString($data, string $type) case '\DateTime': return is_null($data) ? null :new DateTime($data); default: + if (is_null($data)) { + return null; + } + if (!class_exists($type)) { throw new RuntimeException(sprintf("Type %s is unsupported", $type)); } $reflectionClass = new \ReflectionClass($type); - if (!$reflectionClass->implementsInterface('\BackedENum')) { + if (!$reflectionClass->implementsInterface('\BackedEnum')) { throw new RuntimeException(sprintf("Type %s is unsupported", $type)); } diff --git a/clients/php-symfony/generated/composer.json b/clients/php-symfony/generated/composer.json index 397438a..b4157ff 100644 --- a/clients/php-symfony/generated/composer.json +++ b/clients/php-symfony/generated/composer.json @@ -20,6 +20,7 @@ "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", + "doctrine/annotations": "^2.0", "symfony/validator": "^6.4|^7.0", "jms/serializer-bundle": "^5.4", "symfony/framework-bundle": "^6.4|^7.0" diff --git a/clients/php-symfony/generated/docs/Api/DefaultApiInterface.md b/clients/php-symfony/generated/docs/Api/DefaultApiInterface.md index af0c53b..ce8286b 100644 --- a/clients/php-symfony/generated/docs/Api/DefaultApiInterface.md +++ b/clients/php-symfony/generated/docs/Api/DefaultApiInterface.md @@ -109,7 +109,7 @@ class DefaultApi implements DefaultApiInterface Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **string**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **string**| Release Cycle for which the details must be fetched | + **cycle** | **string**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/php/generated/.openapi-generator/VERSION b/clients/php/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/php/generated/.openapi-generator/VERSION +++ b/clients/php/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/php/generated/README.md b/clients/php/generated/README.md index eaff9a2..d6adc22 100644 --- a/clients/php/generated/README.md +++ b/clients/php/generated/README.md @@ -106,5 +106,5 @@ blah+oapicf@cliffano.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `0.0.1` - - Generator version: `7.6.0` + - Generator version: `7.9.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/clients/php/generated/docs/Api/DefaultApi.md b/clients/php/generated/docs/Api/DefaultApi.md index 68ff0b0..1304385 100644 --- a/clients/php/generated/docs/Api/DefaultApi.md +++ b/clients/php/generated/docs/Api/DefaultApi.md @@ -86,7 +86,7 @@ $apiInstance = new OpenAPI\Client\Api\DefaultApi( new GuzzleHttp\Client() ); $product = 'product_example'; // string | Product URL as per the canonical URL on the endofife.date website -$cycle = 'cycle_example'; // string | Release Cycle for which the details must be fetched +$cycle = 'cycle_example'; // string | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try { $result = $apiInstance->getApiProductCycleJson($product, $cycle); @@ -101,7 +101,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | | **product** | **string**| Product URL as per the canonical URL on the endofife.date website | | -| **cycle** | **string**| Release Cycle for which the details must be fetched | | +| **cycle** | **string**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | | ### Return type diff --git a/clients/php/generated/test/Api/DefaultApiTest.php b/clients/php/generated/test/Api/DefaultApiTest.php index 5254f4f..1da03d7 100644 --- a/clients/php/generated/test/Api/DefaultApiTest.php +++ b/clients/php/generated/test/Api/DefaultApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/php/generated/test/Model/CycleCycleTest.php b/clients/php/generated/test/Model/CycleCycleTest.php index e8815a7..78a6ea5 100644 --- a/clients/php/generated/test/Model/CycleCycleTest.php +++ b/clients/php/generated/test/Model/CycleCycleTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/php/generated/test/Model/CycleDiscontinuedTest.php b/clients/php/generated/test/Model/CycleDiscontinuedTest.php index 2ea6b90..f437ea8 100644 --- a/clients/php/generated/test/Model/CycleDiscontinuedTest.php +++ b/clients/php/generated/test/Model/CycleDiscontinuedTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/php/generated/test/Model/CycleEolTest.php b/clients/php/generated/test/Model/CycleEolTest.php index 69114b9..7234bd4 100644 --- a/clients/php/generated/test/Model/CycleEolTest.php +++ b/clients/php/generated/test/Model/CycleEolTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/php/generated/test/Model/CycleLtsTest.php b/clients/php/generated/test/Model/CycleLtsTest.php index 289e89c..43166e8 100644 --- a/clients/php/generated/test/Model/CycleLtsTest.php +++ b/clients/php/generated/test/Model/CycleLtsTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/php/generated/test/Model/CycleSupportTest.php b/clients/php/generated/test/Model/CycleSupportTest.php index 0f669f7..00b501f 100644 --- a/clients/php/generated/test/Model/CycleSupportTest.php +++ b/clients/php/generated/test/Model/CycleSupportTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/php/generated/test/Model/CycleTest.php b/clients/php/generated/test/Model/CycleTest.php index 909eecd..b59d1a5 100644 --- a/clients/php/generated/test/Model/CycleTest.php +++ b/clients/php/generated/test/Model/CycleTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/clients/plantuml/generated/.openapi-generator/VERSION b/clients/plantuml/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/plantuml/generated/.openapi-generator/VERSION +++ b/clients/plantuml/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/powershell/generated/.openapi-generator/VERSION b/clients/powershell/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/powershell/generated/.openapi-generator/VERSION +++ b/clients/powershell/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/powershell/generated/Build.ps1 b/clients/powershell/generated/Build.ps1 index f85130f..ae7962d 100644 --- a/clients/powershell/generated/Build.ps1 +++ b/clients/powershell/generated/Build.ps1 @@ -60,7 +60,7 @@ $Manifest = @{ ModuleVersion = '0.1.2' RootModule = 'PSOpenAPITools.psm1' - Guid = '{C2DBCFCB-06AC-4682-8D6A-D31BB1F71AFD}' # Has to be static, otherwise each new build will be considered different module + Guid = '{442AA667-927D-4328-82E0-8C596255C5CE}' # Has to be static, otherwise each new build will be considered different module PowerShellVersion = '6.2' diff --git a/clients/powershell/generated/README.md b/clients/powershell/generated/README.md index b2a2bfe..ad9ad8d 100644 --- a/clients/powershell/generated/README.md +++ b/clients/powershell/generated/README.md @@ -6,7 +6,7 @@ This PowerShell module is automatically generated by the [OpenAPI Generator](htt - API version: 0.0.1 - SDK version: 0.1.2 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PowerShellClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/powershell/generated/docs/DefaultApi.md b/clients/powershell/generated/docs/DefaultApi.md index 4076dff..79fef3d 100644 --- a/clients/powershell/generated/docs/DefaultApi.md +++ b/clients/powershell/generated/docs/DefaultApi.md @@ -60,7 +60,7 @@ Gets details of a single cycle ### Example ```powershell $Product = "MyProduct" # String | Product URL as per the canonical URL on the endofife.date website -$Cycle = "MyCycle" # String | Release Cycle for which the details must be fetched +$Cycle = "MyCycle" # String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. # Single cycle details try { @@ -76,7 +76,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **Product** | **String**| Product URL as per the canonical URL on the endofife.date website | - **Cycle** | **String**| Release Cycle for which the details must be fetched | + **Cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/powershell/generated/src/PSOpenAPITools/Api/DefaultApi.ps1 b/clients/powershell/generated/src/PSOpenAPITools/Api/DefaultApi.ps1 index 10b152a..5be8014 100644 --- a/clients/powershell/generated/src/PSOpenAPITools/Api/DefaultApi.ps1 +++ b/clients/powershell/generated/src/PSOpenAPITools/Api/DefaultApi.ps1 @@ -82,7 +82,7 @@ No description available. Product URL as per the canonical URL on the endofife.date website .PARAMETER Cycle -Release Cycle for which the details must be fetched +Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. .PARAMETER WithHttpInfo diff --git a/clients/powershell/generated/src/PSOpenAPITools/Private/ApiClient.ps1 b/clients/powershell/generated/src/PSOpenAPITools/Private/ApiClient.ps1 index 5986a22..b934365 100644 --- a/clients/powershell/generated/src/PSOpenAPITools/Private/ApiClient.ps1 +++ b/clients/powershell/generated/src/PSOpenAPITools/Private/ApiClient.ps1 @@ -221,9 +221,9 @@ function DeserializeResponse { [AllowEmptyString()] [string]$ReturnType, [Parameter(Mandatory)] - [AllowEmptyString()] - [string]$Response, + [Object]$Response, [Parameter(Mandatory)] + [AllowNull()] [AllowEmptyCollection()] [string[]]$ContentTypes ) diff --git a/clients/powershell/generated/src/PSOpenAPITools/en-US/about_PSOpenAPITools.help.txt b/clients/powershell/generated/src/PSOpenAPITools/en-US/about_PSOpenAPITools.help.txt index b3bc037..793ad71 100644 --- a/clients/powershell/generated/src/PSOpenAPITools/en-US/about_PSOpenAPITools.help.txt +++ b/clients/powershell/generated/src/PSOpenAPITools/en-US/about_PSOpenAPITools.help.txt @@ -11,7 +11,7 @@ LONG DESCRIPTION - API version: 0.0.1 - SDK version: 0.1.2 - - Generator version: 7.6.0 + - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PowerShellClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/protobuf-schema/generated/.openapi-generator/VERSION b/clients/protobuf-schema/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/protobuf-schema/generated/.openapi-generator/VERSION +++ b/clients/protobuf-schema/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/protobuf-schema/generated/README.md b/clients/protobuf-schema/generated/README.md index e295c6a..e425c2d 100644 --- a/clients/protobuf-schema/generated/README.md +++ b/clients/protobuf-schema/generated/README.md @@ -7,7 +7,7 @@ These files were generated by the [OpenAPI Generator](https://openapi-generator. - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.ProtobufSchemaCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/protobuf-schema/generated/services/default_service.proto b/clients/protobuf-schema/generated/services/default_service.proto index ed5c2c8..e4f3d26 100644 --- a/clients/protobuf-schema/generated/services/default_service.proto +++ b/clients/protobuf-schema/generated/services/default_service.proto @@ -33,7 +33,7 @@ message GetApiAllJsonResponse { message GetApiProductCycleJsonRequest { // Product URL as per the canonical URL on the endofife.date website string product = 1; - // Release Cycle for which the details must be fetched + // Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. string cycle = 2; } diff --git a/clients/python-aiohttp/generated/.openapi-generator/VERSION b/clients/python-aiohttp/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/python-aiohttp/generated/.openapi-generator/VERSION +++ b/clients/python-aiohttp/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/python-aiohttp/generated/openapi_server/controllers/default_controller.py b/clients/python-aiohttp/generated/openapi_server/controllers/default_controller.py index d8d73d3..4243fde 100644 --- a/clients/python-aiohttp/generated/openapi_server/controllers/default_controller.py +++ b/clients/python-aiohttp/generated/openapi_server/controllers/default_controller.py @@ -22,7 +22,7 @@ async def get_api_product_cycle_json(request: web.Request, product, cycle) -> we :param product: Product URL as per the canonical URL on the endofife.date website :type product: str - :param cycle: Release Cycle for which the details must be fetched + :param cycle: Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. :type cycle: str """ diff --git a/clients/python-aiohttp/generated/openapi_server/openapi/openapi.yaml b/clients/python-aiohttp/generated/openapi_server/openapi/openapi.yaml index cc48860..6ba8f92 100644 --- a/clients/python-aiohttp/generated/openapi_server/openapi/openapi.yaml +++ b/clients/python-aiohttp/generated/openapi_server/openapi/openapi.yaml @@ -159,7 +159,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/python-blueplanet/generated/.openapi-generator/VERSION b/clients/python-blueplanet/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/python-blueplanet/generated/.openapi-generator/VERSION +++ b/clients/python-blueplanet/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/python-blueplanet/generated/app/openapi_server/controllers/default_controller.py b/clients/python-blueplanet/generated/app/openapi_server/controllers/default_controller.py index 29c4553..f870c89 100644 --- a/clients/python-blueplanet/generated/app/openapi_server/controllers/default_controller.py +++ b/clients/python-blueplanet/generated/app/openapi_server/controllers/default_controller.py @@ -22,7 +22,7 @@ def get_api_product_cycle_json(product, cycle): # noqa: E501 :param product: Product URL as per the canonical URL on the endofife.date website :type product: str - :param cycle: Release Cycle for which the details must be fetched + :param cycle: Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. :type cycle: str :rtype: Cycle diff --git a/clients/python-fastapi/generated/.openapi-generator/VERSION b/clients/python-fastapi/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/python-fastapi/generated/.openapi-generator/VERSION +++ b/clients/python-fastapi/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/python-fastapi/generated/README.md b/clients/python-fastapi/generated/README.md index 5237fb9..d9ba7ee 100644 --- a/clients/python-fastapi/generated/README.md +++ b/clients/python-fastapi/generated/README.md @@ -3,7 +3,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen ## Requirements. diff --git a/clients/python-fastapi/generated/openapi.yaml b/clients/python-fastapi/generated/openapi.yaml index 84788e0..d4558b3 100644 --- a/clients/python-fastapi/generated/openapi.yaml +++ b/clients/python-fastapi/generated/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/python-fastapi/generated/requirements.txt b/clients/python-fastapi/generated/requirements.txt index f7c2864..1b85999 100644 --- a/clients/python-fastapi/generated/requirements.txt +++ b/clients/python-fastapi/generated/requirements.txt @@ -2,7 +2,7 @@ aiofiles==23.1.0 aniso8601==7.0.0 async-exit-stack==1.0.1 async-generator==1.10 -certifi==2023.7.22 +certifi==2024.7.4 chardet==4.0.0 click==7.1.2 dnspython==2.6.1 @@ -12,7 +12,7 @@ graphene==2.1.8 graphql-core==2.3.2 graphql-relay==2.0.1 h11==0.12.0 -httptools==0.1.2 +httptools>=0.3.0,<0.7.0 httpx==0.24.1 idna==3.7 itsdangerous==1.1.0 @@ -23,13 +23,13 @@ promise==2.3 pydantic>=2 python-dotenv==0.17.1 python-multipart==0.0.7 -PyYAML==5.4.1 -requests==2.31.0 +PyYAML>=5.4.1,<6.1.0 +requests==2.32.0 Rx==1.6.1 starlette==0.36.3 typing-extensions==4.8.0 ujson==4.0.2 -urllib3==1.26.18 +urllib3==1.26.19 uvicorn==0.13.4 uvloop==0.19.0 watchgod==0.7 diff --git a/clients/python-fastapi/generated/src/openapi_server/apis/default_api.py b/clients/python-fastapi/generated/src/openapi_server/apis/default_api.py index 0be4d43..ff14270 100644 --- a/clients/python-fastapi/generated/src/openapi_server/apis/default_api.py +++ b/clients/python-fastapi/generated/src/openapi_server/apis/default_api.py @@ -14,6 +14,7 @@ Depends, Form, Header, + HTTPException, Path, Query, Response, @@ -44,7 +45,9 @@ async def get_api_all_json( ) -> List[str]: """Return a list of all products. Each of these can be used for the other API endpoints.""" - return BaseDefaultApi.subclasses[0]().get_api_all_json() + if not BaseDefaultApi.subclasses: + raise HTTPException(status_code=500, detail="Not implemented") + return await BaseDefaultApi.subclasses[0]().get_api_all_json() @router.get( @@ -58,10 +61,12 @@ async def get_api_all_json( ) async def get_api_product_cycle_json( product: str = Path(..., description="Product URL as per the canonical URL on the endofife.date website"), - cycle: str = Path(..., description="Release Cycle for which the details must be fetched"), + cycle: str = Path(..., description="Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0."), ) -> Cycle: """Gets details of a single cycle""" - return BaseDefaultApi.subclasses[0]().get_api_product_cycle_json(product, cycle) + if not BaseDefaultApi.subclasses: + raise HTTPException(status_code=500, detail="Not implemented") + return await BaseDefaultApi.subclasses[0]().get_api_product_cycle_json(product, cycle) @router.get( @@ -77,4 +82,6 @@ async def get_api_product_json( product: str = Path(..., description="Product URL as per the canonical URL on the endofife.date website"), ) -> List[Cycle]: """Get EoL dates of all cycles of a given product.""" - return BaseDefaultApi.subclasses[0]().get_api_product_json(product) + if not BaseDefaultApi.subclasses: + raise HTTPException(status_code=500, detail="Not implemented") + return await BaseDefaultApi.subclasses[0]().get_api_product_json(product) diff --git a/clients/python-fastapi/generated/src/openapi_server/apis/default_api_base.py b/clients/python-fastapi/generated/src/openapi_server/apis/default_api_base.py index 48632a7..d66c917 100644 --- a/clients/python-fastapi/generated/src/openapi_server/apis/default_api_base.py +++ b/clients/python-fastapi/generated/src/openapi_server/apis/default_api_base.py @@ -11,14 +11,14 @@ class BaseDefaultApi: def __init_subclass__(cls, **kwargs): super().__init_subclass__(**kwargs) BaseDefaultApi.subclasses = BaseDefaultApi.subclasses + (cls,) - def get_api_all_json( + async def get_api_all_json( self, ) -> List[str]: """Return a list of all products. Each of these can be used for the other API endpoints.""" ... - def get_api_product_cycle_json( + async def get_api_product_cycle_json( self, product: str, cycle: str, @@ -27,7 +27,7 @@ def get_api_product_cycle_json( ... - def get_api_product_json( + async def get_api_product_json( self, product: str, ) -> List[Cycle]: diff --git a/clients/python-fastapi/generated/src/openapi_server/models/cycle_cycle.py b/clients/python-fastapi/generated/src/openapi_server/models/cycle_cycle.py index 854f875..b15638f 100644 --- a/clients/python-fastapi/generated/src/openapi_server/models/cycle_cycle.py +++ b/clients/python-fastapi/generated/src/openapi_server/models/cycle_cycle.py @@ -139,7 +139,8 @@ def to_dict(self) -> Dict: if callable(to_json): return self.actual_instance.to_dict() else: - return json.dumps(self.actual_instance) + # primitive type + return self.actual_instance def to_str(self) -> str: """Returns the string representation of the actual instance""" diff --git a/clients/python-fastapi/generated/src/openapi_server/models/cycle_discontinued.py b/clients/python-fastapi/generated/src/openapi_server/models/cycle_discontinued.py index c9ffd90..773128f 100644 --- a/clients/python-fastapi/generated/src/openapi_server/models/cycle_discontinued.py +++ b/clients/python-fastapi/generated/src/openapi_server/models/cycle_discontinued.py @@ -139,7 +139,8 @@ def to_dict(self) -> Dict: if callable(to_json): return self.actual_instance.to_dict() else: - return json.dumps(self.actual_instance) + # primitive type + return self.actual_instance def to_str(self) -> str: """Returns the string representation of the actual instance""" diff --git a/clients/python-fastapi/generated/src/openapi_server/models/cycle_eol.py b/clients/python-fastapi/generated/src/openapi_server/models/cycle_eol.py index 638c117..be4c164 100644 --- a/clients/python-fastapi/generated/src/openapi_server/models/cycle_eol.py +++ b/clients/python-fastapi/generated/src/openapi_server/models/cycle_eol.py @@ -139,7 +139,8 @@ def to_dict(self) -> Dict: if callable(to_json): return self.actual_instance.to_dict() else: - return json.dumps(self.actual_instance) + # primitive type + return self.actual_instance def to_str(self) -> str: """Returns the string representation of the actual instance""" diff --git a/clients/python-fastapi/generated/src/openapi_server/models/cycle_lts.py b/clients/python-fastapi/generated/src/openapi_server/models/cycle_lts.py index 3ffa7e8..e0cfadc 100644 --- a/clients/python-fastapi/generated/src/openapi_server/models/cycle_lts.py +++ b/clients/python-fastapi/generated/src/openapi_server/models/cycle_lts.py @@ -139,7 +139,8 @@ def to_dict(self) -> Dict: if callable(to_json): return self.actual_instance.to_dict() else: - return json.dumps(self.actual_instance) + # primitive type + return self.actual_instance def to_str(self) -> str: """Returns the string representation of the actual instance""" diff --git a/clients/python-fastapi/generated/src/openapi_server/models/cycle_support.py b/clients/python-fastapi/generated/src/openapi_server/models/cycle_support.py index fd104d0..62fb970 100644 --- a/clients/python-fastapi/generated/src/openapi_server/models/cycle_support.py +++ b/clients/python-fastapi/generated/src/openapi_server/models/cycle_support.py @@ -139,7 +139,8 @@ def to_dict(self) -> Dict: if callable(to_json): return self.actual_instance.to_dict() else: - return json.dumps(self.actual_instance) + # primitive type + return self.actual_instance def to_str(self) -> str: """Returns the string representation of the actual instance""" diff --git a/clients/python-flask/generated/.openapi-generator/VERSION b/clients/python-flask/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/python-flask/generated/.openapi-generator/VERSION +++ b/clients/python-flask/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/python-flask/generated/openapi_server/controllers/default_controller.py b/clients/python-flask/generated/openapi_server/controllers/default_controller.py index 6fc511b..ee79a9b 100644 --- a/clients/python-flask/generated/openapi_server/controllers/default_controller.py +++ b/clients/python-flask/generated/openapi_server/controllers/default_controller.py @@ -25,7 +25,7 @@ def get_api_product_cycle_json(product, cycle): # noqa: E501 :param product: Product URL as per the canonical URL on the endofife.date website :type product: str - :param cycle: Release Cycle for which the details must be fetched + :param cycle: Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. :type cycle: str :rtype: Union[Cycle, Tuple[Cycle, int], Tuple[Cycle, int, Dict[str, str]] diff --git a/clients/python-flask/generated/openapi_server/openapi/openapi.yaml b/clients/python-flask/generated/openapi_server/openapi/openapi.yaml index cc48860..6ba8f92 100644 --- a/clients/python-flask/generated/openapi_server/openapi/openapi.yaml +++ b/clients/python-flask/generated/openapi_server/openapi/openapi.yaml @@ -159,7 +159,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/python/generated/.github/workflows/python.yml b/clients/python/generated/.github/workflows/python.yml index f3d85e9..7b02913 100644 --- a/clients/python/generated/.github/workflows/python.yml +++ b/clients/python/generated/.github/workflows/python.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -24,15 +24,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + pip install -r requirements.txt + pip install -r test-requirements.txt - name: Test with pytest run: | - pytest + pytest --cov={{packageName}} diff --git a/clients/python/generated/.gitlab-ci.yml b/clients/python/generated/.gitlab-ci.yml index c7e3a64..dc5b2c2 100644 --- a/clients/python/generated/.gitlab-ci.yml +++ b/clients/python/generated/.gitlab-ci.yml @@ -14,9 +14,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=endoflifedate -pytest-3.7: - extends: .pytest - image: python:3.7-alpine pytest-3.8: extends: .pytest image: python:3.8-alpine @@ -29,3 +26,6 @@ pytest-3.10: pytest-3.11: extends: .pytest image: python:3.11-alpine +pytest-3.12: + extends: .pytest + image: python:3.12-alpine diff --git a/clients/python/generated/.openapi-generator/VERSION b/clients/python/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/python/generated/.openapi-generator/VERSION +++ b/clients/python/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/python/generated/.travis.yml b/clients/python/generated/.travis.yml index 9a576f3..d751297 100644 --- a/clients/python/generated/.travis.yml +++ b/clients/python/generated/.travis.yml @@ -1,13 +1,13 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" # uncomment the following if needed - #- "3.11-dev" # 3.11 development branch + #- "3.12-dev" # 3.12 development branch #- "nightly" # nightly build # command to install dependencies install: diff --git a/clients/python/generated/README.md b/clients/python/generated/README.md index 5cfbf24..acf4340 100644 --- a/clients/python/generated/README.md +++ b/clients/python/generated/README.md @@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: - API version: 0.0.1 - Package version: 1.0.1-pre.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/python/generated/docs/DefaultApi.md b/clients/python/generated/docs/DefaultApi.md index bf56f50..1f83fe9 100644 --- a/clients/python/generated/docs/DefaultApi.md +++ b/clients/python/generated/docs/DefaultApi.md @@ -100,7 +100,7 @@ with endoflifedate.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = endoflifedate.DefaultApi(api_client) product = 'product_example' # str | Product URL as per the canonical URL on the endofife.date website - cycle = 'cycle_example' # str | Release Cycle for which the details must be fetched + cycle = 'cycle_example' # str | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. try: # Single cycle details @@ -119,7 +119,7 @@ with endoflifedate.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **str**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **str**| Release Cycle for which the details must be fetched | + **cycle** | **str**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/python/generated/endoflifedate/api/default_api.py b/clients/python/generated/endoflifedate/api/default_api.py index 70cedf6..83f2d2b 100644 --- a/clients/python/generated/endoflifedate/api/default_api.py +++ b/clients/python/generated/endoflifedate/api/default_api.py @@ -242,7 +242,9 @@ def _get_api_all_json_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -253,11 +255,12 @@ def _get_api_all_json_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -286,7 +289,7 @@ def _get_api_all_json_serialize( def get_api_product_cycle_json( self, product: Annotated[StrictStr, Field(description="Product URL as per the canonical URL on the endofife.date website")], - cycle: Annotated[StrictStr, Field(description="Release Cycle for which the details must be fetched")], + cycle: Annotated[StrictStr, Field(description="Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -306,7 +309,7 @@ def get_api_product_cycle_json( :param product: Product URL as per the canonical URL on the endofife.date website (required) :type product: str - :param cycle: Release Cycle for which the details must be fetched (required) + :param cycle: Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) :type cycle: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -357,7 +360,7 @@ def get_api_product_cycle_json( def get_api_product_cycle_json_with_http_info( self, product: Annotated[StrictStr, Field(description="Product URL as per the canonical URL on the endofife.date website")], - cycle: Annotated[StrictStr, Field(description="Release Cycle for which the details must be fetched")], + cycle: Annotated[StrictStr, Field(description="Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -377,7 +380,7 @@ def get_api_product_cycle_json_with_http_info( :param product: Product URL as per the canonical URL on the endofife.date website (required) :type product: str - :param cycle: Release Cycle for which the details must be fetched (required) + :param cycle: Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) :type cycle: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -428,7 +431,7 @@ def get_api_product_cycle_json_with_http_info( def get_api_product_cycle_json_without_preload_content( self, product: Annotated[StrictStr, Field(description="Product URL as per the canonical URL on the endofife.date website")], - cycle: Annotated[StrictStr, Field(description="Release Cycle for which the details must be fetched")], + cycle: Annotated[StrictStr, Field(description="Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -448,7 +451,7 @@ def get_api_product_cycle_json_without_preload_content( :param product: Product URL as per the canonical URL on the endofife.date website (required) :type product: str - :param cycle: Release Cycle for which the details must be fetched (required) + :param cycle: Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) :type cycle: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -510,7 +513,9 @@ def _get_api_product_cycle_json_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -525,11 +530,12 @@ def _get_api_product_cycle_json_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -769,7 +775,9 @@ def _get_api_product_json_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, Union[str, bytes]] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -782,11 +790,12 @@ def _get_api_product_json_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/clients/python/generated/endoflifedate/api_client.py b/clients/python/generated/endoflifedate/api_client.py index b11d1fe..dcd37e0 100644 --- a/clients/python/generated/endoflifedate/api_client.py +++ b/clients/python/generated/endoflifedate/api_client.py @@ -16,6 +16,7 @@ import datetime from dateutil.parser import parse from enum import Enum +import decimal import json import mimetypes import os @@ -67,6 +68,7 @@ class ApiClient: 'bool': bool, 'date': datetime.date, 'datetime': datetime.datetime, + 'decimal': decimal.Decimal, 'object': object, } _pool = None @@ -228,7 +230,7 @@ def param_serialize( body = self.sanitize_for_serialization(body) # request url - if _host is None: + if _host is None or self.configuration.ignore_operation_servers: url = self.configuration.host + resource_path else: # use server/host defined in path or operation instead @@ -315,10 +317,7 @@ def response_deserialize( match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type) encoding = match.group(1) if match else "utf-8" response_text = response_data.data.decode(encoding) - if response_type in ["bytearray", "str"]: - return_data = self.__deserialize_primitive(response_text, response_type) - else: - return_data = self.deserialize(response_text, response_type) + return_data = self.deserialize(response_text, response_type, content_type) finally: if not 200 <= response_data.status <= 299: raise ApiException.from_response( @@ -342,6 +341,7 @@ def sanitize_for_serialization(self, obj): If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date convert to string in iso8601 format. + If obj is decimal.Decimal return string representation. If obj is list, sanitize each element in the list. If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict. @@ -367,6 +367,8 @@ def sanitize_for_serialization(self, obj): ) elif isinstance(obj, (datetime.datetime, datetime.date)): return obj.isoformat() + elif isinstance(obj, decimal.Decimal): + return str(obj) elif isinstance(obj, dict): obj_dict = obj @@ -386,21 +388,35 @@ def sanitize_for_serialization(self, obj): for key, val in obj_dict.items() } - def deserialize(self, response_text, response_type): + def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]): """Deserializes response into an object. :param response: RESTResponse object to be deserialized. :param response_type: class literal for deserialized object, or string of class name. + :param content_type: content type of response. :return: deserialized object. """ # fetch data from response object - try: - data = json.loads(response_text) - except ValueError: + if content_type is None: + try: + data = json.loads(response_text) + except ValueError: + data = response_text + elif re.match(r'^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): + if response_text == "": + data = "" + else: + data = json.loads(response_text) + elif re.match(r'^text\/[a-z.+-]+\s*(;|$)', content_type, re.IGNORECASE): data = response_text + else: + raise ApiException( + status=0, + reason="Unsupported content type: {0}".format(content_type) + ) return self.__deserialize(data, response_type) @@ -444,6 +460,8 @@ def __deserialize(self, data, klass): return self.__deserialize_date(data) elif klass == datetime.datetime: return self.__deserialize_datetime(data) + elif klass == decimal.Decimal: + return decimal.Decimal(data) elif issubclass(klass, Enum): return self.__deserialize_enum(data, klass) else: @@ -518,7 +536,10 @@ def parameters_to_url_query(self, params, collection_formats): return "&".join(["=".join(map(str, item)) for item in new_params]) - def files_parameters(self, files: Dict[str, Union[str, bytes]]): + def files_parameters( + self, + files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]], + ): """Builds form parameters. :param files: File parameters. @@ -533,6 +554,12 @@ def files_parameters(self, files: Dict[str, Union[str, bytes]]): elif isinstance(v, bytes): filename = k filedata = v + elif isinstance(v, tuple): + filename, filedata = v + elif isinstance(v, list): + for file_param in v: + params.extend(self.files_parameters({k: file_param})) + continue else: raise ValueError("Unsupported file value") mimetype = ( diff --git a/clients/python/generated/endoflifedate/configuration.py b/clients/python/generated/endoflifedate/configuration.py index 552f439..a1f4829 100644 --- a/clients/python/generated/endoflifedate/configuration.py +++ b/clients/python/generated/endoflifedate/configuration.py @@ -33,6 +33,9 @@ class Configuration: """This class contains various settings of the API client. :param host: Base url. + :param ignore_operation_servers + Boolean to ignore operation servers for the API client. + Config will use `host` as the base url regardless of the operation servers. :param api_key: Dict to store API key(s). Each entry in the dict specifies an API key. The dict key is the name of the security scheme in the OAS specification. @@ -55,6 +58,7 @@ class Configuration: values before. :param ssl_ca_cert: str - the path to a file of concatenated CA certificates in PEM format. + :param retries: Number of retries for API requests. """ @@ -66,7 +70,11 @@ def __init__(self, host=None, access_token=None, server_index=None, server_variables=None, server_operation_index=None, server_operation_variables=None, + ignore_operation_servers=False, ssl_ca_cert=None, + retries=None, + *, + debug: Optional[bool] = None ) -> None: """Constructor """ @@ -81,6 +89,9 @@ def __init__(self, host=None, self.server_operation_variables = server_operation_variables or {} """Default server variables """ + self.ignore_operation_servers = ignore_operation_servers + """Ignore operation servers + """ self.temp_folder_path = None """Temp file folder for downloading files """ @@ -124,7 +135,10 @@ def __init__(self, host=None, self.logger_file = None """Debug file location """ - self.debug = False + if debug is not None: + self.debug = debug + else: + self.__debug = False """Debug switch """ @@ -167,7 +181,7 @@ def __init__(self, host=None, self.safe_chars_for_path_param = '' """Safe chars for path_param """ - self.retries = None + self.retries = retries """Adding retries to override urllib3 default value 3 """ # Enable client side validation diff --git a/clients/python/generated/endoflifedate/rest.py b/clients/python/generated/endoflifedate/rest.py index 8724a4e..1b54b11 100644 --- a/clients/python/generated/endoflifedate/rest.py +++ b/clients/python/generated/endoflifedate/rest.py @@ -226,7 +226,7 @@ def request( headers=headers, preload_content=False ) - elif headers['Content-Type'] == 'text/plain' and isinstance(body, bool): + elif headers['Content-Type'].startswith('text/') and isinstance(body, bool): request_body = "true" if body else "false" r = self.pool_manager.request( method, diff --git a/clients/python/generated/pyproject.toml b/clients/python/generated/pyproject.toml index 8b69d83..dc3d15d 100644 --- a/clients/python/generated/pyproject.toml +++ b/clients/python/generated/pyproject.toml @@ -10,19 +10,20 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "endoflife.date"] include = ["endoflifedate/py.typed"] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" -urllib3 = ">= 1.25.3" -python-dateutil = ">=2.8.2" -pydantic = ">=2" -typing-extensions = ">=4.7.1" +urllib3 = ">= 1.25.3 < 3.0.0" +python-dateutil = ">= 2.8.2" +pydantic = ">= 2" +typing-extensions = ">= 4.7.1" [tool.poetry.dev-dependencies] -pytest = ">=7.2.1" -tox = ">=3.9.0" -flake8 = ">=4.0.0" -types-python-dateutil = ">=2.8.19.14" -mypy = "1.4.1" +pytest = ">= 7.2.1" +pytest-cov = ">= 2.8.1" +tox = ">= 3.9.0" +flake8 = ">= 4.0.0" +types-python-dateutil = ">= 2.8.19.14" +mypy = ">= 1.5" [build-system] diff --git a/clients/python/generated/requirements.txt b/clients/python/generated/requirements.txt index cc85509..67f7f68 100644 --- a/clients/python/generated/requirements.txt +++ b/clients/python/generated/requirements.txt @@ -1,5 +1,4 @@ -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.25.3, < 2.1.0 +urllib3 >= 1.25.3, < 3.0.0 +python_dateutil >= 2.8.2 pydantic >= 2 typing-extensions >= 4.7.1 diff --git a/clients/python/generated/setup.py b/clients/python/generated/setup.py index 401749d..aa90587 100644 --- a/clients/python/generated/setup.py +++ b/clients/python/generated/setup.py @@ -23,10 +23,10 @@ # http://pypi.python.org/pypi/setuptools NAME = "endoflifedate" VERSION = "1.0.1-pre.0" -PYTHON_REQUIRES = ">=3.7" +PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ - "urllib3 >= 1.25.3, < 2.1.0", - "python-dateutil", + "urllib3 >= 1.25.3, < 3.0.0", + "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", ] diff --git a/clients/python/generated/test-requirements.txt b/clients/python/generated/test-requirements.txt index 8e6d8cb..e98555c 100644 --- a/clients/python/generated/test-requirements.txt +++ b/clients/python/generated/test-requirements.txt @@ -1,5 +1,6 @@ -pytest~=7.1.3 -pytest-cov>=2.8.1 -pytest-randomly>=3.12.0 -mypy>=1.4.1 -types-python-dateutil>=2.8.19 +pytest >= 7.2.1 +pytest-cov >= 2.8.1 +tox >= 3.9.0 +flake8 >= 4.0.0 +types-python-dateutil >= 2.8.19.14 +mypy >= 1.5 diff --git a/clients/python/generated/test/test_cycle.py b/clients/python/generated/test/test_cycle.py index ac5cb40..dc26de8 100644 --- a/clients/python/generated/test/test_cycle.py +++ b/clients/python/generated/test/test_cycle.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> Cycle: """Test Cycle - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `Cycle` diff --git a/clients/python/generated/test/test_cycle_cycle.py b/clients/python/generated/test/test_cycle_cycle.py index d3e9748..a90e8a8 100644 --- a/clients/python/generated/test/test_cycle_cycle.py +++ b/clients/python/generated/test/test_cycle_cycle.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CycleCycle: """Test CycleCycle - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CycleCycle` diff --git a/clients/python/generated/test/test_cycle_discontinued.py b/clients/python/generated/test/test_cycle_discontinued.py index 281b135..560173f 100644 --- a/clients/python/generated/test/test_cycle_discontinued.py +++ b/clients/python/generated/test/test_cycle_discontinued.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CycleDiscontinued: """Test CycleDiscontinued - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CycleDiscontinued` diff --git a/clients/python/generated/test/test_cycle_eol.py b/clients/python/generated/test/test_cycle_eol.py index a5dad00..8a24b05 100644 --- a/clients/python/generated/test/test_cycle_eol.py +++ b/clients/python/generated/test/test_cycle_eol.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CycleEol: """Test CycleEol - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CycleEol` diff --git a/clients/python/generated/test/test_cycle_lts.py b/clients/python/generated/test/test_cycle_lts.py index b6f8a5b..ed436a5 100644 --- a/clients/python/generated/test/test_cycle_lts.py +++ b/clients/python/generated/test/test_cycle_lts.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CycleLts: """Test CycleLts - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CycleLts` diff --git a/clients/python/generated/test/test_cycle_support.py b/clients/python/generated/test/test_cycle_support.py index 09651bf..645ed11 100644 --- a/clients/python/generated/test/test_cycle_support.py +++ b/clients/python/generated/test/test_cycle_support.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CycleSupport: """Test CycleSupport - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CycleSupport` diff --git a/clients/r/generated/.openapi-generator/VERSION b/clients/r/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/r/generated/.openapi-generator/VERSION +++ b/clients/r/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/r/generated/R/api_client.R b/clients/r/generated/R/api_client.R index 72e9900..fe8118d 100644 --- a/clients/r/generated/R/api_client.R +++ b/clients/r/generated/R/api_client.R @@ -125,8 +125,7 @@ ApiClient <- R6::R6Class( self$max_retry_attempts <- max_retry_attempts } }, - #' Prepare to make an API call with the retry logic. - #' + #' @description #' Prepare to make an API call with the retry logic. #' @@ -141,8 +140,8 @@ ApiClient <- R6::R6Class( #' @param body The HTTP request body. #' @param stream_callback Callback function to process the data stream #' @param ... Other optional arguments. + #' #' @return HTTP response - #' @export CallApi = function(url, method, query_params, header_params, form_params, file_params, accepts, content_types, body, stream_callback = NULL, ...) { @@ -172,8 +171,7 @@ ApiClient <- R6::R6Class( resp }, - #' Make an API call - #' + #' @description #' Make an API call #' @@ -188,8 +186,8 @@ ApiClient <- R6::R6Class( #' @param body The HTTP request body. #' @param stream_callback Callback function to process data stream #' @param ... Other optional arguments. + #' #' @return HTTP response - #' @export Execute = function(url, method, query_params, header_params, form_params, file_params, accepts, content_types, @@ -268,7 +266,7 @@ ApiClient <- R6::R6Class( # return ApiResponse api_response <- ApiResponse$new() - api_response$status_code <- httr::status_code(httr_response) + api_response$status_code <- httr::status_code(httr_response) api_response$status_code_desc <- httr::http_status(httr_response)$reason api_response$response <- httr::content(httr_response, "raw") api_response$headers <- httr::headers(httr_response) @@ -276,32 +274,31 @@ ApiClient <- R6::R6Class( api_response } }, - #' Deserialize the content of API response to the given type. - #' + #' @description #' Deserialize the content of API response to the given type. #' #' @param raw_response Raw response. #' @param return_type R return type. #' @param pkg_env Package environment. + #' #' @return Deserialized object. - #' @export deserialize = function(raw_response, return_type, pkg_env) { resp_obj <- jsonlite::fromJSON(raw_response) self$deserializeObj(resp_obj, return_type, pkg_env) }, - #' Deserialize the response from jsonlite object based on the given type - #' + #' @description #' Deserialize the response from jsonlite object based on the given type #' by handling complex and nested types by iterating recursively - #' Example return_types will be like "array[integer]", "map(Pet)", "array[map(Tag)]", etc., + #' Example return_types will be like "array[integer]", "map(Pet)", + #' "array[map(Tag)]", etc., #' #' @param obj Response object. #' @param return_type R return type. #' @param pkg_env Package environment. + #' #' @return Deserialized object. - #' @export deserializeObj = function(obj, return_type, pkg_env) { return_obj <- NULL primitive_types <- c("character", "numeric", "integer", "logical", "complex") @@ -363,15 +360,14 @@ ApiClient <- R6::R6Class( } return_obj }, - #' Return a property header (for accept or content-type). - #' + #' @description #' Return a property header (for accept or content-type). If JSON-related MIME is found, #' return it. Otherwise, return the first one, if any. #' #' @param headers A list of headers + #' #' @return A header (e.g. 'application/json') - #' @export select_header = function(headers) { if (length(headers) == 0) { return(invisible(NULL)) diff --git a/clients/r/generated/R/api_response.R b/clients/r/generated/R/api_response.R index d6965a8..729d2ba 100644 --- a/clients/r/generated/R/api_response.R +++ b/clients/r/generated/R/api_response.R @@ -24,8 +24,7 @@ ApiResponse <- R6::R6Class( status_code = NULL, status_code_desc = NULL, headers = NULL, - #' Initialize a new ApiResponse class. - #' + #' @description #' Initialize a new ApiResponse class. #' @@ -34,7 +33,6 @@ ApiResponse <- R6::R6Class( #' @param status_code The HTTP response status code. #' @param status_code_desc The brief description of the HTTP response status code. #' @param headers The HTTP response headers. - #' @export initialize = function(content = NULL, response = NULL, status_code = NULL, @@ -47,15 +45,13 @@ ApiResponse <- R6::R6Class( self$headers <- headers }, - #' Return the response as text - #' + #' @description #' The response is stored as a raw vector. Use this to access the response after #' converting it to text. If the response is not coercible to text NA is returned. #' #' @param from_encoding The encoding of the raw response. #' @param to_encoding The target encoding of the return value. - #' @export response_as_text = function(from_encoding = "", to_encoding = "UTF-8") { if (is.null(self$response)) { self$response <- charToRaw(jsonlite::toJSON("NULL")) diff --git a/clients/r/generated/R/cycle.R b/clients/r/generated/R/cycle.R index cd1b79c..464802a 100644 --- a/clients/r/generated/R/cycle.R +++ b/clients/r/generated/R/cycle.R @@ -29,8 +29,7 @@ Cycle <- R6::R6Class( `lts` = NULL, `support` = NULL, `discontinued` = NULL, - #' Initialize a new Cycle class. - #' + #' @description #' Initialize a new Cycle class. #' @@ -43,7 +42,6 @@ Cycle <- R6::R6Class( #' @param support support #' @param discontinued discontinued #' @param ... Other optional arguments. - #' @export initialize = function(`cycle` = NULL, `releaseDate` = NULL, `eol` = NULL, `latest` = NULL, `link` = NULL, `lts` = NULL, `support` = NULL, `discontinued` = NULL, ...) { if (!is.null(`cycle`)) { stopifnot(R6::is.R6(`cycle`)) @@ -84,13 +82,11 @@ Cycle <- R6::R6Class( self$`discontinued` <- `discontinued` } }, - #' To JSON string - #' + #' @description #' To JSON String #' #' @return Cycle in JSON format - #' @export toJSON = function() { CycleObject <- list() if (!is.null(self$`cycle`)) { @@ -127,14 +123,12 @@ Cycle <- R6::R6Class( } CycleObject }, - #' Deserialize JSON string into an instance of Cycle - #' + #' @description #' Deserialize JSON string into an instance of Cycle #' #' @param input_json the JSON input #' @return the instance of Cycle - #' @export fromJSON = function(input_json) { this_object <- jsonlite::fromJSON(input_json) if (!is.null(this_object$`cycle`)) { @@ -173,13 +167,11 @@ Cycle <- R6::R6Class( } self }, - #' To JSON string - #' + #' @description #' To JSON String #' #' @return Cycle in JSON format - #' @export toJSONString = function() { jsoncontent <- c( if (!is.null(self$`cycle`)) { @@ -250,14 +242,12 @@ Cycle <- R6::R6Class( jsoncontent <- paste(jsoncontent, collapse = ",") json_string <- as.character(jsonlite::minify(paste("{", jsoncontent, "}", sep = ""))) }, - #' Deserialize JSON string into an instance of Cycle - #' + #' @description #' Deserialize JSON string into an instance of Cycle #' #' @param input_json the JSON input #' @return the instance of Cycle - #' @export fromJSONString = function(input_json) { this_object <- jsonlite::fromJSON(input_json) self$`cycle` <- CycleCycle$new()$fromJSON(jsonlite::toJSON(this_object$`cycle`, auto_unbox = TRUE, digits = NA)) @@ -270,33 +260,27 @@ Cycle <- R6::R6Class( self$`discontinued` <- CycleDiscontinued$new()$fromJSON(jsonlite::toJSON(this_object$`discontinued`, auto_unbox = TRUE, digits = NA)) self }, - #' Validate JSON input with respect to Cycle - #' + #' @description #' Validate JSON input with respect to Cycle and throw an exception if invalid #' #' @param input the JSON input - #' @export validateJSON = function(input) { input_json <- jsonlite::fromJSON(input) }, - #' To string (JSON format) - #' + #' @description #' To string (JSON format) #' #' @return String representation of Cycle - #' @export toString = function() { self$toJSONString() }, - #' Return true if the values in all fields are valid. - #' + #' @description #' Return true if the values in all fields are valid. #' #' @return true if the values in all fields are valid. - #' @export isValid = function() { if (nchar(self$`releaseDate`) > 10) { return(FALSE) @@ -315,13 +299,11 @@ Cycle <- R6::R6Class( TRUE }, - #' Return a list of invalid fields (if any). - #' + #' @description #' Return a list of invalid fields (if any). #' #' @return A list of invalid fields (if any). - #' @export getInvalidFields = function() { invalid_fields <- list() if (nchar(self$`releaseDate`) > 10) { @@ -341,12 +323,9 @@ Cycle <- R6::R6Class( invalid_fields }, - #' Print the object - #' + #' @description #' Print the object - #' - #' @export print = function() { print(jsonlite::prettify(self$toJSONString())) invisible(self) diff --git a/clients/r/generated/R/cycle_cycle.R b/clients/r/generated/R/cycle_cycle.R index 4ef6b05..c12e6a3 100644 --- a/clients/r/generated/R/cycle_cycle.R +++ b/clients/r/generated/R/cycle_cycle.R @@ -17,13 +17,11 @@ CycleCycle <- R6::R6Class( actual_type = NULL, #' @field any_of a list of object types defined in the anyOf schema. any_of = list("character", "numeric"), - #' Initialize a new CycleCycle. - #' + #' @description #' Initialize a new CycleCycle. #' #' @param instance an instance of the object defined in the anyOf schemas: "character", "numeric" - #' @export initialize = function(instance = NULL) { if (is.null(instance)) { # do nothing @@ -38,26 +36,24 @@ CycleCycle <- R6::R6Class( get(class(instance)[[1]], pos = -1)$classname)) } }, - #' Deserialize JSON string into an instance of CycleCycle. - #' + #' @description #' Deserialize JSON string into an instance of CycleCycle. #' An alias to the method `fromJSON`. #' #' @param input The input JSON. + #' #' @return An instance of CycleCycle. - #' @export fromJSONString = function(input) { self$fromJSON(input) }, - #' Deserialize JSON string into an instance of CycleCycle. - #' + #' @description #' Deserialize JSON string into an instance of CycleCycle. #' #' @param input The input JSON. + #' #' @return An instance of CycleCycle. - #' @export fromJSON = function(input) { error_messages <- list() @@ -97,13 +93,11 @@ CycleCycle <- R6::R6Class( stop(paste("No match found when deserializing the input into CycleCycle with anyOf schemas character, numeric. Details: >>", paste(error_messages, collapse = " >> "))) }, - #' Serialize CycleCycle to JSON string. - #' + #' @description #' Serialize CycleCycle to JSON string. #' #' @return JSON string representation of the CycleCycle. - #' @export toJSONString = function() { if (!is.null(self$actual_instance)) { as.character(jsonlite::minify((self$actual_instance$toJSONString()))) @@ -111,13 +105,11 @@ CycleCycle <- R6::R6Class( NULL } }, - #' Serialize CycleCycle to JSON. - #' + #' @description #' Serialize CycleCycle to JSON. #' #' @return JSON representation of the CycleCycle. - #' @export toJSON = function() { if (!is.null(self$actual_instance)) { self$actual_instance$toJSON() @@ -125,14 +117,12 @@ CycleCycle <- R6::R6Class( NULL } }, - #' Validate the input JSON with respect to CycleCycle. - #' + #' @description #' Validate the input JSON with respect to CycleCycle and #' throw exception if invalid. #' #' @param input The input JSON. - #' @export validateJSON = function(input) { # backup current values actual_instance_bak <- self$actual_instance @@ -145,13 +135,11 @@ CycleCycle <- R6::R6Class( self$actual_instance <- actual_instance_bak self$actual_type <- actual_type_bak }, - #' Returns the string representation of the instance. - #' + #' @description #' Returns the string representation of the instance. #' #' @return The string representation of the instance. - #' @export toString = function() { jsoncontent <- c( sprintf('"actual_instance": %s', if (is.null(self$actual_instance)) NULL else self$actual_instance$toJSONString()), @@ -161,12 +149,9 @@ CycleCycle <- R6::R6Class( jsoncontent <- paste(jsoncontent, collapse = ",") as.character(jsonlite::prettify(paste("{", jsoncontent, "}", sep = ""))) }, - #' Print the object - #' + #' @description #' Print the object - #' - #' @export print = function() { print(jsonlite::prettify(self$toJSONString())) invisible(self) diff --git a/clients/r/generated/R/cycle_discontinued.R b/clients/r/generated/R/cycle_discontinued.R index 4b1e591..8dece8d 100644 --- a/clients/r/generated/R/cycle_discontinued.R +++ b/clients/r/generated/R/cycle_discontinued.R @@ -17,13 +17,11 @@ CycleDiscontinued <- R6::R6Class( actual_type = NULL, #' @field any_of a list of object types defined in the anyOf schema. any_of = list("character"), - #' Initialize a new CycleDiscontinued. - #' + #' @description #' Initialize a new CycleDiscontinued. #' #' @param instance an instance of the object defined in the anyOf schemas: "character" - #' @export initialize = function(instance = NULL) { if (is.null(instance)) { # do nothing @@ -35,26 +33,24 @@ CycleDiscontinued <- R6::R6Class( get(class(instance)[[1]], pos = -1)$classname)) } }, - #' Deserialize JSON string into an instance of CycleDiscontinued. - #' + #' @description #' Deserialize JSON string into an instance of CycleDiscontinued. #' An alias to the method `fromJSON`. #' #' @param input The input JSON. + #' #' @return An instance of CycleDiscontinued. - #' @export fromJSONString = function(input) { self$fromJSON(input) }, - #' Deserialize JSON string into an instance of CycleDiscontinued. - #' + #' @description #' Deserialize JSON string into an instance of CycleDiscontinued. #' #' @param input The input JSON. + #' #' @return An instance of CycleDiscontinued. - #' @export fromJSON = function(input) { error_messages <- list() @@ -94,13 +90,11 @@ CycleDiscontinued <- R6::R6Class( stop(paste("No match found when deserializing the input into CycleDiscontinued with anyOf schemas character. Details: >>", paste(error_messages, collapse = " >> "))) }, - #' Serialize CycleDiscontinued to JSON string. - #' + #' @description #' Serialize CycleDiscontinued to JSON string. #' #' @return JSON string representation of the CycleDiscontinued. - #' @export toJSONString = function() { if (!is.null(self$actual_instance)) { as.character(jsonlite::minify((self$actual_instance$toJSONString()))) @@ -108,13 +102,11 @@ CycleDiscontinued <- R6::R6Class( NULL } }, - #' Serialize CycleDiscontinued to JSON. - #' + #' @description #' Serialize CycleDiscontinued to JSON. #' #' @return JSON representation of the CycleDiscontinued. - #' @export toJSON = function() { if (!is.null(self$actual_instance)) { self$actual_instance$toJSON() @@ -122,14 +114,12 @@ CycleDiscontinued <- R6::R6Class( NULL } }, - #' Validate the input JSON with respect to CycleDiscontinued. - #' + #' @description #' Validate the input JSON with respect to CycleDiscontinued and #' throw exception if invalid. #' #' @param input The input JSON. - #' @export validateJSON = function(input) { # backup current values actual_instance_bak <- self$actual_instance @@ -142,13 +132,11 @@ CycleDiscontinued <- R6::R6Class( self$actual_instance <- actual_instance_bak self$actual_type <- actual_type_bak }, - #' Returns the string representation of the instance. - #' + #' @description #' Returns the string representation of the instance. #' #' @return The string representation of the instance. - #' @export toString = function() { jsoncontent <- c( sprintf('"actual_instance": %s', if (is.null(self$actual_instance)) NULL else self$actual_instance$toJSONString()), @@ -158,12 +146,9 @@ CycleDiscontinued <- R6::R6Class( jsoncontent <- paste(jsoncontent, collapse = ",") as.character(jsonlite::prettify(paste("{", jsoncontent, "}", sep = ""))) }, - #' Print the object - #' + #' @description #' Print the object - #' - #' @export print = function() { print(jsonlite::prettify(self$toJSONString())) invisible(self) diff --git a/clients/r/generated/R/cycle_eol.R b/clients/r/generated/R/cycle_eol.R index c81fc58..9eedd7d 100644 --- a/clients/r/generated/R/cycle_eol.R +++ b/clients/r/generated/R/cycle_eol.R @@ -17,13 +17,11 @@ CycleEol <- R6::R6Class( actual_type = NULL, #' @field any_of a list of object types defined in the anyOf schema. any_of = list("character"), - #' Initialize a new CycleEol. - #' + #' @description #' Initialize a new CycleEol. #' #' @param instance an instance of the object defined in the anyOf schemas: "character" - #' @export initialize = function(instance = NULL) { if (is.null(instance)) { # do nothing @@ -35,26 +33,24 @@ CycleEol <- R6::R6Class( get(class(instance)[[1]], pos = -1)$classname)) } }, - #' Deserialize JSON string into an instance of CycleEol. - #' + #' @description #' Deserialize JSON string into an instance of CycleEol. #' An alias to the method `fromJSON`. #' #' @param input The input JSON. + #' #' @return An instance of CycleEol. - #' @export fromJSONString = function(input) { self$fromJSON(input) }, - #' Deserialize JSON string into an instance of CycleEol. - #' + #' @description #' Deserialize JSON string into an instance of CycleEol. #' #' @param input The input JSON. + #' #' @return An instance of CycleEol. - #' @export fromJSON = function(input) { error_messages <- list() @@ -94,13 +90,11 @@ CycleEol <- R6::R6Class( stop(paste("No match found when deserializing the input into CycleEol with anyOf schemas character. Details: >>", paste(error_messages, collapse = " >> "))) }, - #' Serialize CycleEol to JSON string. - #' + #' @description #' Serialize CycleEol to JSON string. #' #' @return JSON string representation of the CycleEol. - #' @export toJSONString = function() { if (!is.null(self$actual_instance)) { as.character(jsonlite::minify((self$actual_instance$toJSONString()))) @@ -108,13 +102,11 @@ CycleEol <- R6::R6Class( NULL } }, - #' Serialize CycleEol to JSON. - #' + #' @description #' Serialize CycleEol to JSON. #' #' @return JSON representation of the CycleEol. - #' @export toJSON = function() { if (!is.null(self$actual_instance)) { self$actual_instance$toJSON() @@ -122,14 +114,12 @@ CycleEol <- R6::R6Class( NULL } }, - #' Validate the input JSON with respect to CycleEol. - #' + #' @description #' Validate the input JSON with respect to CycleEol and #' throw exception if invalid. #' #' @param input The input JSON. - #' @export validateJSON = function(input) { # backup current values actual_instance_bak <- self$actual_instance @@ -142,13 +132,11 @@ CycleEol <- R6::R6Class( self$actual_instance <- actual_instance_bak self$actual_type <- actual_type_bak }, - #' Returns the string representation of the instance. - #' + #' @description #' Returns the string representation of the instance. #' #' @return The string representation of the instance. - #' @export toString = function() { jsoncontent <- c( sprintf('"actual_instance": %s', if (is.null(self$actual_instance)) NULL else self$actual_instance$toJSONString()), @@ -158,12 +146,9 @@ CycleEol <- R6::R6Class( jsoncontent <- paste(jsoncontent, collapse = ",") as.character(jsonlite::prettify(paste("{", jsoncontent, "}", sep = ""))) }, - #' Print the object - #' + #' @description #' Print the object - #' - #' @export print = function() { print(jsonlite::prettify(self$toJSONString())) invisible(self) diff --git a/clients/r/generated/R/cycle_lts.R b/clients/r/generated/R/cycle_lts.R index c0215e2..74f6f05 100644 --- a/clients/r/generated/R/cycle_lts.R +++ b/clients/r/generated/R/cycle_lts.R @@ -17,13 +17,11 @@ CycleLts <- R6::R6Class( actual_type = NULL, #' @field any_of a list of object types defined in the anyOf schema. any_of = list("character"), - #' Initialize a new CycleLts. - #' + #' @description #' Initialize a new CycleLts. #' #' @param instance an instance of the object defined in the anyOf schemas: "character" - #' @export initialize = function(instance = NULL) { if (is.null(instance)) { # do nothing @@ -35,26 +33,24 @@ CycleLts <- R6::R6Class( get(class(instance)[[1]], pos = -1)$classname)) } }, - #' Deserialize JSON string into an instance of CycleLts. - #' + #' @description #' Deserialize JSON string into an instance of CycleLts. #' An alias to the method `fromJSON`. #' #' @param input The input JSON. + #' #' @return An instance of CycleLts. - #' @export fromJSONString = function(input) { self$fromJSON(input) }, - #' Deserialize JSON string into an instance of CycleLts. - #' + #' @description #' Deserialize JSON string into an instance of CycleLts. #' #' @param input The input JSON. + #' #' @return An instance of CycleLts. - #' @export fromJSON = function(input) { error_messages <- list() @@ -94,13 +90,11 @@ CycleLts <- R6::R6Class( stop(paste("No match found when deserializing the input into CycleLts with anyOf schemas character. Details: >>", paste(error_messages, collapse = " >> "))) }, - #' Serialize CycleLts to JSON string. - #' + #' @description #' Serialize CycleLts to JSON string. #' #' @return JSON string representation of the CycleLts. - #' @export toJSONString = function() { if (!is.null(self$actual_instance)) { as.character(jsonlite::minify((self$actual_instance$toJSONString()))) @@ -108,13 +102,11 @@ CycleLts <- R6::R6Class( NULL } }, - #' Serialize CycleLts to JSON. - #' + #' @description #' Serialize CycleLts to JSON. #' #' @return JSON representation of the CycleLts. - #' @export toJSON = function() { if (!is.null(self$actual_instance)) { self$actual_instance$toJSON() @@ -122,14 +114,12 @@ CycleLts <- R6::R6Class( NULL } }, - #' Validate the input JSON with respect to CycleLts. - #' + #' @description #' Validate the input JSON with respect to CycleLts and #' throw exception if invalid. #' #' @param input The input JSON. - #' @export validateJSON = function(input) { # backup current values actual_instance_bak <- self$actual_instance @@ -142,13 +132,11 @@ CycleLts <- R6::R6Class( self$actual_instance <- actual_instance_bak self$actual_type <- actual_type_bak }, - #' Returns the string representation of the instance. - #' + #' @description #' Returns the string representation of the instance. #' #' @return The string representation of the instance. - #' @export toString = function() { jsoncontent <- c( sprintf('"actual_instance": %s', if (is.null(self$actual_instance)) NULL else self$actual_instance$toJSONString()), @@ -158,12 +146,9 @@ CycleLts <- R6::R6Class( jsoncontent <- paste(jsoncontent, collapse = ",") as.character(jsonlite::prettify(paste("{", jsoncontent, "}", sep = ""))) }, - #' Print the object - #' + #' @description #' Print the object - #' - #' @export print = function() { print(jsonlite::prettify(self$toJSONString())) invisible(self) diff --git a/clients/r/generated/R/cycle_support.R b/clients/r/generated/R/cycle_support.R index 22d695b..5337c44 100644 --- a/clients/r/generated/R/cycle_support.R +++ b/clients/r/generated/R/cycle_support.R @@ -17,13 +17,11 @@ CycleSupport <- R6::R6Class( actual_type = NULL, #' @field any_of a list of object types defined in the anyOf schema. any_of = list("character"), - #' Initialize a new CycleSupport. - #' + #' @description #' Initialize a new CycleSupport. #' #' @param instance an instance of the object defined in the anyOf schemas: "character" - #' @export initialize = function(instance = NULL) { if (is.null(instance)) { # do nothing @@ -35,26 +33,24 @@ CycleSupport <- R6::R6Class( get(class(instance)[[1]], pos = -1)$classname)) } }, - #' Deserialize JSON string into an instance of CycleSupport. - #' + #' @description #' Deserialize JSON string into an instance of CycleSupport. #' An alias to the method `fromJSON`. #' #' @param input The input JSON. + #' #' @return An instance of CycleSupport. - #' @export fromJSONString = function(input) { self$fromJSON(input) }, - #' Deserialize JSON string into an instance of CycleSupport. - #' + #' @description #' Deserialize JSON string into an instance of CycleSupport. #' #' @param input The input JSON. + #' #' @return An instance of CycleSupport. - #' @export fromJSON = function(input) { error_messages <- list() @@ -94,13 +90,11 @@ CycleSupport <- R6::R6Class( stop(paste("No match found when deserializing the input into CycleSupport with anyOf schemas character. Details: >>", paste(error_messages, collapse = " >> "))) }, - #' Serialize CycleSupport to JSON string. - #' + #' @description #' Serialize CycleSupport to JSON string. #' #' @return JSON string representation of the CycleSupport. - #' @export toJSONString = function() { if (!is.null(self$actual_instance)) { as.character(jsonlite::minify((self$actual_instance$toJSONString()))) @@ -108,13 +102,11 @@ CycleSupport <- R6::R6Class( NULL } }, - #' Serialize CycleSupport to JSON. - #' + #' @description #' Serialize CycleSupport to JSON. #' #' @return JSON representation of the CycleSupport. - #' @export toJSON = function() { if (!is.null(self$actual_instance)) { self$actual_instance$toJSON() @@ -122,14 +114,12 @@ CycleSupport <- R6::R6Class( NULL } }, - #' Validate the input JSON with respect to CycleSupport. - #' + #' @description #' Validate the input JSON with respect to CycleSupport and #' throw exception if invalid. #' #' @param input The input JSON. - #' @export validateJSON = function(input) { # backup current values actual_instance_bak <- self$actual_instance @@ -142,13 +132,11 @@ CycleSupport <- R6::R6Class( self$actual_instance <- actual_instance_bak self$actual_type <- actual_type_bak }, - #' Returns the string representation of the instance. - #' + #' @description #' Returns the string representation of the instance. #' #' @return The string representation of the instance. - #' @export toString = function() { jsoncontent <- c( sprintf('"actual_instance": %s', if (is.null(self$actual_instance)) NULL else self$actual_instance$toJSONString()), @@ -158,12 +146,9 @@ CycleSupport <- R6::R6Class( jsoncontent <- paste(jsoncontent, collapse = ",") as.character(jsonlite::prettify(paste("{", jsoncontent, "}", sep = ""))) }, - #' Print the object - #' + #' @description #' Print the object - #' - #' @export print = function() { print(jsonlite::prettify(self$toJSONString())) invisible(self) diff --git a/clients/r/generated/R/default_api.R b/clients/r/generated/R/default_api.R index 9101671..5fcf7cd 100644 --- a/clients/r/generated/R/default_api.R +++ b/clients/r/generated/R/default_api.R @@ -12,61 +12,6 @@ #' @format An \code{R6Class} generator object #' @field api_client Handles the client-server communication. #' -#' @section Methods: -#' \describe{ -#' \strong{ GetApiAllJson } \emph{ All Products } -#' Return a list of all products. Each of these can be used for the other API endpoints. -#' -#' \itemize{ -#' -#' -#' \item status code : 200 | OK -#' -#' \item return type : array[character] -#' \item response headers : -#' -#' \tabular{ll}{ -#' } -#' } -#' -#' \strong{ GetApiProductCycleJson } \emph{ Single cycle details } -#' Gets details of a single cycle -#' -#' \itemize{ -#' \item \emph{ @param } product character -#' \item \emph{ @param } cycle character -#' \item \emph{ @returnType } \link{Cycle} \cr -#' -#' -#' \item status code : 200 | OK -#' -#' \item return type : Cycle -#' \item response headers : -#' -#' \tabular{ll}{ -#' } -#' } -#' -#' \strong{ GetApiProductJson } \emph{ Get All Details } -#' Get EoL dates of all cycles of a given product. -#' -#' \itemize{ -#' \item \emph{ @param } product character -#' \item \emph{ @returnType } list( \link{cycle} ) \cr -#' -#' -#' \item status code : 200 | OK -#' -#' \item return type : array[Cycle] -#' \item response headers : -#' -#' \tabular{ll}{ -#' } -#' } -#' -#' } -#' -#' #' @examples #' \dontrun{ #' #################### GetApiAllJson #################### @@ -86,7 +31,7 @@ #' #' library(openapi) #' var_product <- "product_example" # character | Product URL as per the canonical URL on the endofife.date website -#' var_cycle <- "cycle_example" # character | Release Cycle for which the details must be fetched +#' var_cycle <- "cycle_example" # character | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. #' #' #Single cycle details #' api_instance <- DefaultApi$new() @@ -119,13 +64,11 @@ DefaultApi <- R6::R6Class( "DefaultApi", public = list( api_client = NULL, - #' Initialize a new DefaultApi. - #' + #' @description #' Initialize a new DefaultApi. #' #' @param api_client An instance of API client. - #' @export initialize = function(api_client) { if (!missing(api_client)) { self$api_client <- api_client @@ -133,15 +76,14 @@ DefaultApi <- R6::R6Class( self$api_client <- ApiClient$new() } }, - #' All Products - #' + #' @description #' All Products #' #' @param data_file (optional) name of the data file to save the result #' @param ... Other optional arguments + #' #' @return array[character] - #' @export GetApiAllJson = function(data_file = NULL, ...) { local_var_response <- self$GetApiAllJsonWithHttpInfo(data_file = data_file, ...) if (local_var_response$status_code >= 200 && local_var_response$status_code <= 299) { @@ -154,15 +96,14 @@ DefaultApi <- R6::R6Class( local_var_response } }, - #' All Products - #' + #' @description #' All Products #' #' @param data_file (optional) name of the data file to save the result #' @param ... Other optional arguments + #' #' @return API response (array[character]) with additional information such as HTTP status code, headers - #' @export GetApiAllJsonWithHttpInfo = function(data_file = NULL, ...) { args <- list(...) query_params <- list() @@ -219,17 +160,16 @@ DefaultApi <- R6::R6Class( local_var_resp } }, - #' Single cycle details - #' + #' @description #' Single cycle details #' #' @param product Product URL as per the canonical URL on the endofife.date website - #' @param cycle Release Cycle for which the details must be fetched + #' @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. #' @param data_file (optional) name of the data file to save the result #' @param ... Other optional arguments + #' #' @return Cycle - #' @export GetApiProductCycleJson = function(product, cycle, data_file = NULL, ...) { local_var_response <- self$GetApiProductCycleJsonWithHttpInfo(product, cycle, data_file = data_file, ...) if (local_var_response$status_code >= 200 && local_var_response$status_code <= 299) { @@ -242,17 +182,16 @@ DefaultApi <- R6::R6Class( local_var_response } }, - #' Single cycle details - #' + #' @description #' Single cycle details #' #' @param product Product URL as per the canonical URL on the endofife.date website - #' @param cycle Release Cycle for which the details must be fetched + #' @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. #' @param data_file (optional) name of the data file to save the result #' @param ... Other optional arguments + #' #' @return API response (Cycle) with additional information such as HTTP status code, headers - #' @export GetApiProductCycleJsonWithHttpInfo = function(product, cycle, data_file = NULL, ...) { args <- list(...) query_params <- list() @@ -327,16 +266,15 @@ DefaultApi <- R6::R6Class( local_var_resp } }, - #' Get All Details - #' + #' @description #' Get All Details #' #' @param product Product URL as per the canonical URL on the endofife.date website #' @param data_file (optional) name of the data file to save the result #' @param ... Other optional arguments + #' #' @return array[Cycle] - #' @export GetApiProductJson = function(product, data_file = NULL, ...) { local_var_response <- self$GetApiProductJsonWithHttpInfo(product, data_file = data_file, ...) if (local_var_response$status_code >= 200 && local_var_response$status_code <= 299) { @@ -349,16 +287,15 @@ DefaultApi <- R6::R6Class( local_var_response } }, - #' Get All Details - #' + #' @description #' Get All Details #' #' @param product Product URL as per the canonical URL on the endofife.date website #' @param data_file (optional) name of the data file to save the result #' @param ... Other optional arguments + #' #' @return API response (array[Cycle]) with additional information such as HTTP status code, headers - #' @export GetApiProductJsonWithHttpInfo = function(product, data_file = NULL, ...) { args <- list(...) query_params <- list() diff --git a/clients/r/generated/README.md b/clients/r/generated/README.md index c93bb03..f2fe9b6 100644 --- a/clients/r/generated/README.md +++ b/clients/r/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: 1.0.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.RClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/r/generated/docs/DefaultApi.md b/clients/r/generated/docs/DefaultApi.md index 4ad9229..412ff0a 100644 --- a/clients/r/generated/docs/DefaultApi.md +++ b/clients/r/generated/docs/DefaultApi.md @@ -66,7 +66,7 @@ library(openapi) # # prepare function argument(s) var_product <- "product_example" # character | Product URL as per the canonical URL on the endofife.date website -var_cycle <- "cycle_example" # character | Release Cycle for which the details must be fetched +var_cycle <- "cycle_example" # character | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. api_instance <- DefaultApi$new() # to save the result into a file, simply add the optional `data_file` parameter, e.g. @@ -80,7 +80,7 @@ dput(result) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **character**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **character**| Release Cycle for which the details must be fetched | + **cycle** | **character**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/r/generated/tests/testthat/test_default_api.R b/clients/r/generated/tests/testthat/test_default_api.R index c7f7630..2ef0b27 100644 --- a/clients/r/generated/tests/testthat/test_default_api.R +++ b/clients/r/generated/tests/testthat/test_default_api.R @@ -22,7 +22,7 @@ test_that("GetApiProductCycleJson", { # Single cycle details # Gets details of a single cycle # @param product character Product URL as per the canonical URL on the endofife.date website - # @param cycle character Release Cycle for which the details must be fetched + # @param cycle character Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. # @return [Cycle] # uncomment below to test the operation diff --git a/clients/ruby-on-rails/generated/.openapi-generator/VERSION b/clients/ruby-on-rails/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ruby-on-rails/generated/.openapi-generator/VERSION +++ b/clients/ruby-on-rails/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/ruby-sinatra/generated/.openapi-generator/VERSION b/clients/ruby-sinatra/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ruby-sinatra/generated/.openapi-generator/VERSION +++ b/clients/ruby-sinatra/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/ruby-sinatra/generated/api/default_api.rb b/clients/ruby-sinatra/generated/api/default_api.rb index 314d974..46b8d56 100644 --- a/clients/ruby-sinatra/generated/api/default_api.rb +++ b/clients/ruby-sinatra/generated/api/default_api.rb @@ -55,7 +55,7 @@ }, { "name" => "cycle", - "description" => "Release Cycle for which the details must be fetched", + "description" => "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "dataType" => "String", "paramType" => "path", }, diff --git a/clients/ruby-sinatra/generated/openapi.yaml b/clients/ruby-sinatra/generated/openapi.yaml index 08ca197..95afb23 100644 --- a/clients/ruby-sinatra/generated/openapi.yaml +++ b/clients/ruby-sinatra/generated/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/ruby/generated/.openapi-generator/VERSION b/clients/ruby/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/ruby/generated/.openapi-generator/VERSION +++ b/clients/ruby/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/ruby/generated/Gemfile.lock b/clients/ruby/generated/Gemfile.lock index d4836a8..f515a72 100644 --- a/clients/ruby/generated/Gemfile.lock +++ b/clients/ruby/generated/Gemfile.lock @@ -16,8 +16,8 @@ GEM ffi (1.17.0) jaro_winkler (1.5.6) method_source (1.1.0) - parallel (1.25.1) - parser (3.3.3.0) + parallel (1.26.3) + parser (3.3.5.1) ast (~> 2.4.1) racc pry (0.14.2) @@ -28,19 +28,19 @@ GEM pry (>= 0.13, < 0.15) psych (5.1.2) stringio - racc (1.8.0) + racc (1.8.1) rainbow (3.1.1) rake (13.0.6) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.2) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) @@ -69,4 +69,4 @@ DEPENDENCIES rubocop (~> 0.66.0) BUNDLED WITH - 2.4.22 + 2.2.22 diff --git a/clients/ruby/generated/README.md b/clients/ruby/generated/README.md index b3035ef..214dd4c 100644 --- a/clients/ruby/generated/README.md +++ b/clients/ruby/generated/README.md @@ -8,7 +8,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g - API version: 0.0.1 - Package version: 1.0.1-pre.0 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/ruby/generated/docs/DefaultApi.md b/clients/ruby/generated/docs/DefaultApi.md index a58ed5f..3d91a68 100644 --- a/clients/ruby/generated/docs/DefaultApi.md +++ b/clients/ruby/generated/docs/DefaultApi.md @@ -86,7 +86,7 @@ require 'endoflife_date' api_instance = EndOfLifeDateApiClient::DefaultApi.new product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website -cycle = 'cycle_example' # String | Release Cycle for which the details must be fetched +cycle = 'cycle_example' # String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. begin # Single cycle details @@ -120,7 +120,7 @@ end | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **product** | **String** | Product URL as per the canonical URL on the endofife.date website | | -| **cycle** | **String** | Release Cycle for which the details must be fetched | | +| **cycle** | **String** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | | ### Return type diff --git a/clients/ruby/generated/endoflife_date.gemspec b/clients/ruby/generated/endoflife_date.gemspec index 923d30d..480f1c8 100644 --- a/clients/ruby/generated/endoflife_date.gemspec +++ b/clients/ruby/generated/endoflife_date.gemspec @@ -8,7 +8,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/api/default_api_spec.rb b/clients/ruby/generated/spec/api/default_api_spec.rb index 77a1876..cebb23c 100644 --- a/clients/ruby/generated/spec/api/default_api_spec.rb +++ b/clients/ruby/generated/spec/api/default_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end @@ -47,7 +47,7 @@ # Single cycle details # Gets details of a single cycle # @param product Product URL as per the canonical URL on the endofife.date website - # @param cycle Release Cycle for which the details must be fetched + # @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. # @param [Hash] opts the optional parameters # @return [Cycle] describe 'get_api_product_cycle_json test' do diff --git a/clients/ruby/generated/spec/models/cycle_cycle_spec.rb b/clients/ruby/generated/spec/models/cycle_cycle_spec.rb index 9db6ed4..fb3a60b 100644 --- a/clients/ruby/generated/spec/models/cycle_cycle_spec.rb +++ b/clients/ruby/generated/spec/models/cycle_cycle_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/models/cycle_discontinued_spec.rb b/clients/ruby/generated/spec/models/cycle_discontinued_spec.rb index 234f36a..a608e39 100644 --- a/clients/ruby/generated/spec/models/cycle_discontinued_spec.rb +++ b/clients/ruby/generated/spec/models/cycle_discontinued_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/models/cycle_eol_spec.rb b/clients/ruby/generated/spec/models/cycle_eol_spec.rb index b784bde..825a5b2 100644 --- a/clients/ruby/generated/spec/models/cycle_eol_spec.rb +++ b/clients/ruby/generated/spec/models/cycle_eol_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/models/cycle_lts_spec.rb b/clients/ruby/generated/spec/models/cycle_lts_spec.rb index 98ce261..9e022c3 100644 --- a/clients/ruby/generated/spec/models/cycle_lts_spec.rb +++ b/clients/ruby/generated/spec/models/cycle_lts_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/models/cycle_spec.rb b/clients/ruby/generated/spec/models/cycle_spec.rb index 12694d7..4c4874a 100644 --- a/clients/ruby/generated/spec/models/cycle_spec.rb +++ b/clients/ruby/generated/spec/models/cycle_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/models/cycle_support_spec.rb b/clients/ruby/generated/spec/models/cycle_support_spec.rb index 9455c54..b894cc9 100644 --- a/clients/ruby/generated/spec/models/cycle_support_spec.rb +++ b/clients/ruby/generated/spec/models/cycle_support_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/ruby/generated/spec/spec_helper.rb b/clients/ruby/generated/spec/spec_helper.rb index f6bea4f..e973708 100644 --- a/clients/ruby/generated/spec/spec_helper.rb +++ b/clients/ruby/generated/spec/spec_helper.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 0.0.1 Contact: blah+oapicf@cliffano.com Generated by: https://openapi-generator.tech -Generator version: 7.6.0 +Generator version: 7.9.0 =end diff --git a/clients/rust-axum/generated/.openapi-generator/VERSION b/clients/rust-axum/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/rust-axum/generated/.openapi-generator/VERSION +++ b/clients/rust-axum/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/rust-axum/generated/README.md b/clients/rust-axum/generated/README.md index 19c0afa..7e4fd6a 100644 --- a/clients/rust-axum/generated/README.md +++ b/clients/rust-axum/generated/README.md @@ -12,8 +12,8 @@ server, you can easily generate a server stub. To see how to make this your own, look here: [README]((https://openapi-generator.tech)) - API version: 0.0.1 -- Build date: 2024-07-10T09:13:02.745157087Z[Etc/UTC] -- Generator version: 7.6.0 +- Build date: 2024-11-03T10:27:16.613730823Z[Etc/UTC] +- Generator version: 7.9.0 For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/rust-axum/generated/src/models.rs b/clients/rust-axum/generated/src/models.rs index ebc654a..a2c743e 100644 --- a/clients/rust-axum/generated/src/models.rs +++ b/clients/rust-axum/generated/src/models.rs @@ -14,7 +14,7 @@ use crate::{models, types::*}; pub struct GetApiProductCyclePeriodJsonPathParams { /// Product URL as per the canonical URL on the endofife.date website pub product: String, - /// Release Cycle for which the details must be fetched + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. pub cycle: String, } diff --git a/clients/rust-axum/generated/src/server/mod.rs b/clients/rust-axum/generated/src/server/mod.rs index 060338f..c0f1980 100644 --- a/clients/rust-axum/generated/src/server/mod.rs +++ b/clients/rust-axum/generated/src/server/mod.rs @@ -51,13 +51,13 @@ async fn get_api_all_period_json( cookies: CookieJar, State(api_impl): State, ) -> Result -where +where I: AsRef + Send + Sync, A: apis::default::Default, { #[allow(clippy::redundant_closure)] - let validation = tokio::task::spawn_blocking(move || + let validation = tokio::task::spawn_blocking(move || get_api_all_period_json_validation( ) ).await.unwrap(); @@ -67,7 +67,7 @@ where return Response::builder() .status(StatusCode::BAD_REQUEST) .body(Body::from(validation.unwrap_err().to_string())) - .map_err(|_| StatusCode::BAD_REQUEST); + .map_err(|_| StatusCode::BAD_REQUEST); }; let result = api_impl.as_ref().get_api_all_period_json( @@ -83,7 +83,6 @@ where apis::default::GetApiAllPeriodJsonResponse::Status200_OK (body) => { - let mut response = response.status(200); { let mut response_headers = response.headers_mut().unwrap(); @@ -133,13 +132,13 @@ async fn get_api_product_cycle_period_json( Path(path_params): Path, State(api_impl): State, ) -> Result -where +where I: AsRef + Send + Sync, A: apis::default::Default, { #[allow(clippy::redundant_closure)] - let validation = tokio::task::spawn_blocking(move || + let validation = tokio::task::spawn_blocking(move || get_api_product_cycle_period_json_validation( path_params, ) @@ -151,7 +150,7 @@ where return Response::builder() .status(StatusCode::BAD_REQUEST) .body(Body::from(validation.unwrap_err().to_string())) - .map_err(|_| StatusCode::BAD_REQUEST); + .map_err(|_| StatusCode::BAD_REQUEST); }; let result = api_impl.as_ref().get_api_product_cycle_period_json( @@ -168,7 +167,6 @@ where apis::default::GetApiProductCyclePeriodJsonResponse::Status200_OK (body) => { - let mut response = response.status(200); { let mut response_headers = response.headers_mut().unwrap(); @@ -218,13 +216,13 @@ async fn get_api_product_period_json( Path(path_params): Path, State(api_impl): State, ) -> Result -where +where I: AsRef + Send + Sync, A: apis::default::Default, { #[allow(clippy::redundant_closure)] - let validation = tokio::task::spawn_blocking(move || + let validation = tokio::task::spawn_blocking(move || get_api_product_period_json_validation( path_params, ) @@ -236,7 +234,7 @@ where return Response::builder() .status(StatusCode::BAD_REQUEST) .body(Body::from(validation.unwrap_err().to_string())) - .map_err(|_| StatusCode::BAD_REQUEST); + .map_err(|_| StatusCode::BAD_REQUEST); }; let result = api_impl.as_ref().get_api_product_period_json( @@ -253,7 +251,6 @@ where apis::default::GetApiProductPeriodJsonResponse::Status200_OK (body) => { - let mut response = response.status(200); { let mut response_headers = response.headers_mut().unwrap(); diff --git a/clients/rust-axum/generated/src/types.rs b/clients/rust-axum/generated/src/types.rs index 4c15e32..e55950b 100644 --- a/clients/rust-axum/generated/src/types.rs +++ b/clients/rust-axum/generated/src/types.rs @@ -175,7 +175,7 @@ impl Nullable { /// assert_eq!(x.expect("the world is ending"), "value"); /// ``` /// - /// ```{.should_panic} + /// ```should_panic /// # use openapi::types::Nullable; /// /// let x: Nullable<&str> = Nullable::Null; @@ -210,7 +210,7 @@ impl Nullable { /// assert_eq!(x.unwrap(), "air"); /// ``` /// - /// ```{.should_panic} + /// ```should_panic /// # use openapi::types::Nullable; /// /// let x: Nullable<&str> = Nullable::Null; diff --git a/clients/rust-server/generated/.openapi-generator/FILES b/clients/rust-server/generated/.openapi-generator/FILES index b9f56e6..4a120ef 100644 --- a/clients/rust-server/generated/.openapi-generator/FILES +++ b/clients/rust-server/generated/.openapi-generator/FILES @@ -4,6 +4,7 @@ Cargo.toml README.md api/openapi.yaml +bin/cli.rs docs/Cycle.md docs/CycleCycle.md docs/CycleDiscontinued.md @@ -12,14 +13,18 @@ docs/CycleLts.md docs/CycleSupport.md docs/default_api.md examples/ca.pem +examples/client/client_auth.rs examples/client/main.rs examples/server-chain.pem examples/server-key.pem examples/server/main.rs examples/server/server.rs +examples/server/server_auth.rs +src/auth.rs src/client/mod.rs src/context.rs src/header.rs src/lib.rs src/models.rs src/server/mod.rs +src/server/server_auth.rs diff --git a/clients/rust-server/generated/.openapi-generator/VERSION b/clients/rust-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/rust-server/generated/.openapi-generator/VERSION +++ b/clients/rust-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/rust-server/generated/Cargo.toml b/clients/rust-server/generated/Cargo.toml index 5286a18..e89069b 100644 --- a/clients/rust-server/generated/Cargo.toml +++ b/clients/rust-server/generated/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.1" authors = ["blah+oapicf@cliffano.com"] description = "Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)" license = "MIT" -edition = "2021" +edition = "2018" [features] default = ["client", "server"] @@ -14,6 +14,9 @@ client = [ server = [ "serde_ignored", "hyper", "regex", "percent-encoding", "url", "lazy_static" ] +cli = [ + "anyhow", "clap-verbosity-flag", "simple_logger", "structopt", "tokio" +] conversion = ["frunk", "frunk_derives", "frunk_core", "frunk-enum-core", "frunk-enum-derive"] [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))'.dependencies] @@ -51,12 +54,22 @@ lazy_static = { version = "1.4", optional = true } percent-encoding = {version = "2.1.0", optional = true} regex = {version = "1.3", optional = true} +# CLI-specific +anyhow = { version = "1", optional = true } +clap-verbosity-flag = { version = "0.3", optional = true } +simple_logger = { version = "2.0", features = ["stderr"], optional = true } +structopt = { version = "0.3", optional = true } +tokio = { version = "0.2", features = ["rt-threaded", "macros", "stream"], optional = true } + # Conversion -frunk = { version = "0.3.0", optional = true } -frunk_derives = { version = "0.3.0", optional = true } -frunk_core = { version = "0.3.0", optional = true } -frunk-enum-derive = { version = "0.2.0", optional = true } -frunk-enum-core = { version = "0.2.0", optional = true } +frunk = { version = "0.4.0", optional = true } +frunk_derives = { version = "0.4.0", optional = true } +frunk_core = { version = "0.4.0", optional = true } +frunk-enum-derive = { version = "0.3.0", optional = true } +frunk-enum-core = { version = "0.3.0", optional = true } + +# Bearer authentication +jsonwebtoken = { version = "9.3.0", optional = false } [dev-dependencies] clap = "2.25" @@ -75,3 +88,8 @@ required-features = ["client"] [[example]] name = "server" required-features = ["server"] + +[[bin]] +name = "openapi_client" +path = "bin/cli.rs" +required-features = ["client", "cli"] diff --git a/clients/rust-server/generated/README.md b/clients/rust-server/generated/README.md index 00c4178..6f3cf68 100644 --- a/clients/rust-server/generated/README.md +++ b/clients/rust-server/generated/README.md @@ -14,8 +14,8 @@ To see how to make this your own, look here: [README]((https://openapi-generator.tech)) - API version: 0.0.1 -- Build date: 2024-07-10T09:11:00.063445816Z[Etc/UTC] -- Generator version: 7.6.0 +- Build date: 2024-11-03T10:25:40.400499380Z[Etc/UTC] +- Generator version: 7.9.0 For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) @@ -24,6 +24,7 @@ This autogenerated project defines an API crate `openapi_client` which contains: * Data types representing the underlying data model. * A `Client` type which implements `Api` and issues HTTP requests for each operation. * A router which accepts HTTP requests and invokes the appropriate `Api` method for each operation. +* A CLI tool to drive basic API operations from the command line. It also contains an example server and client which make use of `openapi_client`: @@ -35,7 +36,31 @@ It also contains an example server and client which make use of `openapi_client` arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). + +## CLI + +Run the included CLI tool with: + +``` +cargo run --bin cli --features=cli +``` + +To pass in arguments, put them after `--`, for example: + +``` +cargo run --bin cli --features=cli -- --help +``` + +See the help text for available options. + +To build a standalone tool, use: + +``` +cargo build --bin cli --features=cli --release +``` + +You'll find the binary at `target/release/cli`. ## Examples @@ -63,8 +88,8 @@ To run a client, follow one of the following simple steps: ``` cargo run --example client GetApiAllPeriodJson -cargo run --example client GetApiProductCyclePeriodJson cargo run --example client GetApiProductPeriodJson +cargo run --example client GetApiProductCyclePeriodJson ``` ### HTTPS @@ -89,6 +114,8 @@ The generated library has a few optional features that can be activated through * The constructed client implements the API trait by making remote API call. * `conversions` * This defaults to disabled and creates extra derives on models to allow "transmogrification" between objects of structurally similar types. +* `cli` + * This defaults to disabled and is required for building the included CLI tool. See https://doc.rust-lang.org/cargo/reference/manifest.html#the-features-section for how to use features in your `Cargo.toml`. @@ -99,8 +126,8 @@ All URIs are relative to *https://endoflife.date* Method | HTTP request | Description ------------- | ------------- | ------------- [**get-api-all.json**](docs/default_api.md#get-api-all.json) | **GET** /api/all.json | All Products -[**get-api-:product-:cycle.json**](docs/default_api.md#get-api-:product-:cycle.json) | **GET** /api/{product}/{cycle}.json | Single cycle details [**get-api-:product.json**](docs/default_api.md#get-api-:product.json) | **GET** /api/{product}.json | Get All Details +[**get-api-:product-:cycle.json**](docs/default_api.md#get-api-:product-:cycle.json) | **GET** /api/{product}/{cycle}.json | Single cycle details ## Documentation For Models diff --git a/clients/rust-server/generated/api/openapi.yaml b/clients/rust-server/generated/api/openapi.yaml index 3a90018..4bb03bb 100644 --- a/clients/rust-server/generated/api/openapi.yaml +++ b/clients/rust-server/generated/api/openapi.yaml @@ -82,7 +82,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/rust-server/generated/bin/cli.rs b/clients/rust-server/generated/bin/cli.rs new file mode 100644 index 0000000..35ee45c --- /dev/null +++ b/clients/rust-server/generated/bin/cli.rs @@ -0,0 +1,207 @@ +//! CLI tool driving the API client +use anyhow::{anyhow, Context, Result}; +use log::{debug, info}; +// models may be unused if all inputs are primitive types +#[allow(unused_imports)] +use openapi_client::{ + models, ApiNoContext, Client, ContextWrapperExt, + GetApiAllPeriodJsonResponse, + GetApiProductPeriodJsonResponse, + GetApiProductCyclePeriodJsonResponse, +}; +use simple_logger::SimpleLogger; +use structopt::StructOpt; +use swagger::{AuthData, ContextBuilder, EmptyContext, Push, XSpanIdString}; + +type ClientContext = swagger::make_context_ty!( + ContextBuilder, + EmptyContext, + Option, + XSpanIdString +); + +#[derive(StructOpt, Debug)] +#[structopt( + name = "endoflife.date", + version = "0.0.1", + about = "CLI access to endoflife.date" +)] +struct Cli { + #[structopt(subcommand)] + operation: Operation, + + /// Address or hostname of the server hosting this API, including optional port + #[structopt(short = "a", long, default_value = "http://localhost")] + server_address: String, + + /// Path to the client private key if using client-side TLS authentication + #[cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))] + #[structopt(long, requires_all(&["client-certificate", "server-certificate"]))] + client_key: Option, + + /// Path to the client's public certificate associated with the private key + #[cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))] + #[structopt(long, requires_all(&["client-key", "server-certificate"]))] + client_certificate: Option, + + /// Path to CA certificate used to authenticate the server + #[cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))] + #[structopt(long)] + server_certificate: Option, + + /// If set, write output to file instead of stdout + #[structopt(short, long)] + output_file: Option, + + #[structopt(flatten)] + verbosity: clap_verbosity_flag::Verbosity, +} + +#[derive(StructOpt, Debug)] +enum Operation { + /// All Products + GetApiAllPeriodJson { + }, + /// Get All Details + GetApiProductPeriodJson { + /// Product URL as per the canonical URL on the endofife.date website + product: String, + }, + /// Single cycle details + GetApiProductCyclePeriodJson { + /// Product URL as per the canonical URL on the endofife.date website + product: String, + /// Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. + cycle: String, + }, +} + +#[cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))] +fn create_client(args: &Cli, context: ClientContext) -> Result>> { + if args.client_certificate.is_some() { + debug!("Using mutual TLS"); + let client = Client::try_new_https_mutual( + &args.server_address, + args.server_certificate.clone().unwrap(), + args.client_key.clone().unwrap(), + args.client_certificate.clone().unwrap(), + ) + .context("Failed to create HTTPS client")?; + Ok(Box::new(client.with_context(context))) + } else if args.server_certificate.is_some() { + debug!("Using TLS with pinned server certificate"); + let client = + Client::try_new_https_pinned(&args.server_address, args.server_certificate.clone().unwrap()) + .context("Failed to create HTTPS client")?; + Ok(Box::new(client.with_context(context))) + } else { + debug!("Using client without certificates"); + let client = + Client::try_new(&args.server_address).context("Failed to create HTTP(S) client")?; + Ok(Box::new(client.with_context(context))) + } +} + +#[cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))] +fn create_client(args: &Cli, context: ClientContext) -> Result>> { + let client = + Client::try_new(&args.server_address).context("Failed to create HTTP(S) client")?; + Ok(Box::new(client.with_context(context))) +} + +#[tokio::main] +async fn main() -> Result<()> { + let args = Cli::from_args(); + if let Some(log_level) = args.verbosity.log_level() { + SimpleLogger::new().with_level(log_level.to_level_filter()).init()?; + } + + debug!("Arguments: {:?}", &args); + + let auth_data: Option = None; + + #[allow(trivial_casts)] + let context = swagger::make_context!( + ContextBuilder, + EmptyContext, + auth_data, + XSpanIdString::default() + ); + + let client = create_client(&args, context)?; + + let result = match args.operation { + Operation::GetApiAllPeriodJson { + } => { + info!("Performing a GetApiAllPeriodJson request"); + + let result = client.get_api_all_period_json( + ).await?; + debug!("Result: {:?}", result); + + match result { + GetApiAllPeriodJsonResponse::OK + (body) + => "OK\n".to_string() + + + &serde_json::to_string_pretty(&body)?, + } + } + Operation::GetApiProductPeriodJson { + product, + } => { + info!("Performing a GetApiProductPeriodJson request on {:?}", ( + &product + )); + + let result = client.get_api_product_period_json( + product, + ).await?; + debug!("Result: {:?}", result); + + match result { + GetApiProductPeriodJsonResponse::OK + (body) + => "OK\n".to_string() + + + &serde_json::to_string_pretty(&body)?, + } + } + Operation::GetApiProductCyclePeriodJson { + product, + cycle, + } => { + info!("Performing a GetApiProductCyclePeriodJson request on {:?}", ( + &product, + &cycle + )); + + let result = client.get_api_product_cycle_period_json( + product, + cycle, + ).await?; + debug!("Result: {:?}", result); + + match result { + GetApiProductCyclePeriodJsonResponse::OK + (body) + => "OK\n".to_string() + + + &serde_json::to_string_pretty(&body)?, + } + } + }; + + if let Some(output_file) = args.output_file { + std::fs::write(output_file, result)? + } else { + println!("{}", result); + } + Ok(()) +} + +// May be unused if all inputs are primitive types +#[allow(dead_code)] +fn parse_json<'a, T: serde::de::Deserialize<'a>>(json_string: &'a str) -> Result { + serde_json::from_str(json_string).map_err(|err| anyhow!("Error parsing input: {}", err)) +} diff --git a/clients/rust-server/generated/docs/Cycle.md b/clients/rust-server/generated/docs/Cycle.md index 52f5eb3..58e1310 100644 --- a/clients/rust-server/generated/docs/Cycle.md +++ b/clients/rust-server/generated/docs/Cycle.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **release_date** | [***chrono::naive::NaiveDate**](date.md) | Release Date for the first release in this cycle | [optional] [default to None] **eol** | [***models::CycleEol**](cycle_eol.md) | | [optional] [default to None] **latest** | **String** | Latest release in this cycle | [optional] [default to None] -**link** | **String** | Link to changelog for the latest release, if available | [optional] [default to None] +**link** | **swagger::Nullable** | Link to changelog for the latest release, if available | [optional] [default to None] **lts** | [***models::CycleLts**](cycle_lts.md) | | [optional] [default to None] **support** | [***models::CycleSupport**](cycle_support.md) | | [optional] [default to None] **discontinued** | [***models::CycleDiscontinued**](cycle_discontinued.md) | | [optional] [default to None] diff --git a/clients/rust-server/generated/docs/default_api.md b/clients/rust-server/generated/docs/default_api.md index 51f5eea..da6c874 100644 --- a/clients/rust-server/generated/docs/default_api.md +++ b/clients/rust-server/generated/docs/default_api.md @@ -5,8 +5,8 @@ All URIs are relative to *https://endoflife.date* Method | HTTP request | Description ------------- | ------------- | ------------- **get-api-all.json**](default_api.md#get-api-all.json) | **GET** /api/all.json | All Products -**get-api-:product-:cycle.json**](default_api.md#get-api-:product-:cycle.json) | **GET** /api/{product}/{cycle}.json | Single cycle details **get-api-:product.json**](default_api.md#get-api-:product.json) | **GET** /api/{product}.json | Get All Details +**get-api-:product-:cycle.json**](default_api.md#get-api-:product-:cycle.json) | **GET** /api/{product}/{cycle}.json | Single cycle details # **get-api-all.json** @@ -33,22 +33,21 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get-api-:product-:cycle.json** -> models::Cycle get-api-:product-:cycle.json(product, cycle) -Single cycle details +# **get-api-:product.json** +> Vec get-api-:product.json(product) +Get All Details -Gets details of a single cycle +Get EoL dates of all cycles of a given product. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **String**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **String**| Release Cycle for which the details must be fetched | ### Return type -[**models::Cycle**](cycle.md) +[**Vec**](cycle.md) ### Authorization @@ -61,21 +60,22 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get-api-:product.json** -> Vec get-api-:product.json(product) -Get All Details +# **get-api-:product-:cycle.json** +> models::Cycle get-api-:product-:cycle.json(product, cycle) +Single cycle details -Get EoL dates of all cycles of a given product. +Gets details of a single cycle ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **String**| Product URL as per the canonical URL on the endofife.date website | + **cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type -[**Vec**](cycle.md) +[**models::Cycle**](cycle.md) ### Authorization diff --git a/clients/rust-server/generated/examples/client/client_auth.rs b/clients/rust-server/generated/examples/client/client_auth.rs new file mode 100644 index 0000000..0a582d3 --- /dev/null +++ b/clients/rust-server/generated/examples/client/client_auth.rs @@ -0,0 +1,17 @@ +use openapi_client::Claims; +use jsonwebtoken::{encode, errors::Error as JwtError, Algorithm, EncodingKey, Header}; +use log::debug; + +/// build an encrypted token with the provided claims. +pub fn build_token(my_claims: Claims, key: &[u8]) -> Result { + + // Ensure that you set the correct algorithm and correct key. + // See https://github.com/Keats/jsonwebtoken for more information. + let header = + Header { kid: Some("signing_key".to_owned()), alg: Algorithm::HS512, ..Default::default() }; + + let token = encode(&header, &my_claims, &EncodingKey::from_secret(key))?; + debug!("Derived token: {:?}", token); + + Ok(token) +} diff --git a/clients/rust-server/generated/examples/client/main.rs b/clients/rust-server/generated/examples/client/main.rs index e461380..c34ff67 100644 --- a/clients/rust-server/generated/examples/client/main.rs +++ b/clients/rust-server/generated/examples/client/main.rs @@ -4,13 +4,16 @@ #[allow(unused_imports)] use futures::{future, Stream, stream}; #[allow(unused_imports)] -use openapi_client::{Api, ApiNoContext, Client, ContextWrapperExt, models, +use openapi_client::{Api, ApiNoContext, Claims, Client, ContextWrapperExt, models, GetApiAllPeriodJsonResponse, - GetApiProductCyclePeriodJsonResponse, GetApiProductPeriodJsonResponse, + GetApiProductCyclePeriodJsonResponse, }; use clap::{App, Arg}; +// NOTE: Set environment variable RUST_LOG to the name of the executable (or "cargo run") to activate console logging for all loglevels. +// See https://docs.rs/env_logger/latest/env_logger/ for more details + #[allow(unused_imports)] use log::info; @@ -20,6 +23,10 @@ use swagger::{AuthData, ContextBuilder, EmptyContext, Has, Push, XSpanIdString}; type ClientContext = swagger::make_context_ty!(ContextBuilder, EmptyContext, Option, XSpanIdString); +mod client_auth; +use client_auth::build_token; + + // rt may be unused if there are no examples #[allow(unused_mut)] fn main() { @@ -30,8 +37,8 @@ fn main() { .help("Sets the operation to run") .possible_values(&[ "GetApiAllPeriodJson", - "GetApiProductCyclePeriodJson", "GetApiProductPeriodJson", + "GetApiProductCyclePeriodJson", ]) .required(true) .index(1)) @@ -50,14 +57,39 @@ fn main() { .help("Port to contact")) .get_matches(); + // Create Bearer-token with a fixed key (secret) for test purposes. + // In a real (production) system this Bearer token should be obtained via an external Identity/Authentication-server + // Ensure that you set the correct algorithm and encodingkey that matches what is used on the server side. + // See https://github.com/Keats/jsonwebtoken for more information + let auth_token = build_token( + Claims { + sub: "tester@acme.com".to_owned(), + company: "ACME".to_owned(), + iss: "my_identity_provider".to_owned(), + // added a very long expiry time + aud: "org.acme.Resource_Server".to_string(), + exp: 10000000000, + // In this example code all available Scopes are added, so the current Bearer Token gets fully authorization. + scopes: + "".to_owned() + }, + b"secret").unwrap(); + + let auth_data = if !auth_token.is_empty() { + Some(AuthData::Bearer(swagger::auth::Bearer { token: auth_token})) + } else { + // No Bearer-token available, so return None + None + }; + let is_https = matches.is_present("https"); let base_url = format!("{}://{}:{}", - if is_https { "https" } else { "http" }, - matches.value_of("host").unwrap(), - matches.value_of("port").unwrap()); + if is_https { "https" } else { "http" }, + matches.value_of("host").unwrap(), + matches.value_of("port").unwrap()); let context: ClientContext = - swagger::make_context!(ContextBuilder, EmptyContext, None as Option, XSpanIdString::default()); + swagger::make_context!(ContextBuilder, EmptyContext, auth_data, XSpanIdString::default()); let mut client : Box> = if matches.is_present("https") { // Using Simple HTTPS @@ -80,6 +112,12 @@ fn main() { )); info!("{:?} (X-Span-ID: {:?})", result, (client.context() as &dyn Has).get().clone()); }, + Some("GetApiProductPeriodJson") => { + let result = rt.block_on(client.get_api_product_period_json( + "product_example".to_string() + )); + info!("{:?} (X-Span-ID: {:?})", result, (client.context() as &dyn Has).get().clone()); + }, Some("GetApiProductCyclePeriodJson") => { let result = rt.block_on(client.get_api_product_cycle_period_json( "product_example".to_string(), @@ -87,12 +125,6 @@ fn main() { )); info!("{:?} (X-Span-ID: {:?})", result, (client.context() as &dyn Has).get().clone()); }, - Some("GetApiProductPeriodJson") => { - let result = rt.block_on(client.get_api_product_period_json( - "product_example".to_string() - )); - info!("{:?} (X-Span-ID: {:?})", result, (client.context() as &dyn Has).get().clone()); - }, _ => { panic!("Invalid operation provided") } diff --git a/clients/rust-server/generated/examples/server/main.rs b/clients/rust-server/generated/examples/server/main.rs index 39f7b35..c193507 100644 --- a/clients/rust-server/generated/examples/server/main.rs +++ b/clients/rust-server/generated/examples/server/main.rs @@ -1,10 +1,13 @@ //! Main binary entry point for openapi_client implementation. +// This is the amended version that adds Authorization via Inversion of Control. #![allow(missing_docs)] + use clap::{App, Arg}; mod server; +mod server_auth; /// Create custom server, wire it to the autogenerated router, diff --git a/clients/rust-server/generated/examples/server/server.rs b/clients/rust-server/generated/examples/server/server.rs index b5db793..f07bebd 100644 --- a/clients/rust-server/generated/examples/server/server.rs +++ b/clients/rust-server/generated/examples/server/server.rs @@ -56,6 +56,7 @@ pub async fn create(addr: &str, https: bool) { let tls_acceptor = ssl.build(); let tcp_listener = TcpListener::bind(&addr).await.unwrap(); + info!("Starting a server (with https)"); loop { if let Ok((tcp, _)) = tcp_listener.accept().await { let ssl = Ssl::new(tls_acceptor.context()).unwrap(); @@ -75,6 +76,7 @@ pub async fn create(addr: &str, https: bool) { } } } else { + info!("Starting a server (over http, so no TLS)"); // Using HTTP hyper::server::Server::bind(&addr).serve(service).await.unwrap() } @@ -92,11 +94,17 @@ impl Server { } +use jsonwebtoken::{decode, encode, errors::Error as JwtError, Algorithm, DecodingKey, EncodingKey, Header, TokenData, Validation}; +use serde::{Deserialize, Serialize}; +use swagger::auth::Authorization; +use crate::server_auth; + + use openapi_client::{ Api, GetApiAllPeriodJsonResponse, - GetApiProductCyclePeriodJsonResponse, GetApiProductPeriodJsonResponse, + GetApiProductCyclePeriodJsonResponse, }; use openapi_client::server::MakeService; use std::error::Error; @@ -111,28 +119,28 @@ impl Api for Server where C: Has + Send + Sync context: &C) -> Result { info!("get_api_all_period_json() - X-Span-ID: {:?}", context.get().0.clone()); - Err(ApiError("Generic failure".into())) + Err(ApiError("Api-Error: Operation is NOT implemented".into())) } - /// Single cycle details - async fn get_api_product_cycle_period_json( + /// Get All Details + async fn get_api_product_period_json( &self, product: String, - cycle: String, - context: &C) -> Result + context: &C) -> Result { - info!("get_api_product_cycle_period_json(\"{}\", \"{}\") - X-Span-ID: {:?}", product, cycle, context.get().0.clone()); - Err(ApiError("Generic failure".into())) + info!("get_api_product_period_json(\"{}\") - X-Span-ID: {:?}", product, context.get().0.clone()); + Err(ApiError("Api-Error: Operation is NOT implemented".into())) } - /// Get All Details - async fn get_api_product_period_json( + /// Single cycle details + async fn get_api_product_cycle_period_json( &self, product: String, - context: &C) -> Result + cycle: String, + context: &C) -> Result { - info!("get_api_product_period_json(\"{}\") - X-Span-ID: {:?}", product, context.get().0.clone()); - Err(ApiError("Generic failure".into())) + info!("get_api_product_cycle_period_json(\"{}\", \"{}\") - X-Span-ID: {:?}", product, cycle, context.get().0.clone()); + Err(ApiError("Api-Error: Operation is NOT implemented".into())) } } diff --git a/clients/rust-server/generated/examples/server/server_auth.rs b/clients/rust-server/generated/examples/server/server_auth.rs new file mode 100644 index 0000000..bdaad31 --- /dev/null +++ b/clients/rust-server/generated/examples/server/server_auth.rs @@ -0,0 +1,127 @@ +use swagger::{ + ApiError, + auth::{Basic, Bearer}, + Has, + XSpanIdString}; +use openapi_client::{AuthenticationApi, Claims}; +use crate::server::Server; +use jsonwebtoken::{decode, errors as JwtError, decode_header, DecodingKey, TokenData, Validation}; +use swagger::auth::Authorization; +use log::{error, debug}; + +// NOTE: Set environment variable RUST_LOG to the name of the executable (or "cargo run") to activate console logging for all loglevels. +// See https://docs.rs/env_logger/latest/env_logger/ for more details + + +/// Get a dummy claim with full permissions (all scopes) for testing purposes +fn full_permission_claim() -> Claims { + // In this example code all available Scopes are added, so the current Bearer Token gets fully authorization. + Claims { + sub: "tester@acme.com".to_owned(), + company: "ACME".to_owned(), + iss: "mini-bank-IDP".to_owned(), + aud: "org.acme.Resource_Server".to_string(), + // added a very long expiry time + exp: 10000000000, + scopes: + "".to_owned() + } +} + + + +/// Extract the data from a Bearer token using the provided Key (secret) and using the HS512-algorithm in this example. +fn extract_token_data(token: &str, key: &[u8]) -> Result, JwtError::Error> { + + // Ensure that you set the correct algorithm and correct key. + // See https://github.com/Keats/jsonwebtoken for more information. + let header = decode_header(token)?; + let validation = { + let mut validation = Validation::new(header.alg); + validation.set_audience(&["org.acme.Resource_Server"]); + validation.validate_exp = true; + validation + }; + + let token_data = decode::( + &token, + &DecodingKey::from_secret(key), + &validation, + )?; + + Ok(token_data) +} + +/// Build a swagger-Authorization based on the claims (Assuming claims have been extracted from a validated token) +fn build_authorization(claims: Claims) -> Authorization { + let mut scopes = std::collections::BTreeSet::::new(); + claims + .scopes + .split(",") + .map(|s| s.trim()) + .for_each(|s| {let _ = scopes.insert(s.to_string()); }); + let scopes = swagger::auth::Scopes::Some(scopes); + + Authorization{ + subject: claims.sub, + scopes, + issuer: Some(claims.iss)} +} + +fn get_jwt_error_string(error: JwtError::Error) -> String { + match error.kind() { + JwtError::ErrorKind::InvalidSignature => "Incorrect token signature".to_owned(), + JwtError::ErrorKind::InvalidAlgorithm => "The Algorithm is not correct".to_owned(), + JwtError::ErrorKind::ExpiredSignature => "The token has expired".to_owned(), + JwtError::ErrorKind::Base64(e) => format!("Base64 decode failed: {e}"), + JwtError::ErrorKind::Json(e) => format!("JSON decoding: {e}"), + JwtError::ErrorKind::Utf8(e) => format!("Invalid UTF-8: {e}"), + _ => error.to_string() + } +} + + +impl AuthenticationApi for Server where C: Has + Send + Sync { + + /// Implementation of the method to map a Bearer-token to an Authorization + fn bearer_authorization(&self, bearer: &Bearer) -> Result { + debug!("\tAuthorizationApi: Received Bearer-token, {bearer:#?}"); + + match extract_token_data(&bearer.token, b"secret") { + Ok(auth_data) => { + debug!("\tUnpack auth_data as: {auth_data:#?}"); + let authorization = build_authorization(auth_data.claims); + Ok(authorization) + }, + Err(err) => { + let msg = get_jwt_error_string(err); + error!("Failed to unpack Bearer-token: {msg}"); + Err(ApiError(msg)) + } + } + } + + /// Implementation of the method to map an api-key to an Authorization + fn apikey_authorization(&self, api_key: &str) -> Result { + debug!("\tAuthorizationApi: Received api-key, {api_key:#?}"); + + // TODO: insert the logic to map received apikey to the set of claims + let claims = full_permission_claim(); + + // and build an authorization out of it + Ok(build_authorization(claims)) + } + + /// Implementation of the method to map a basic authentication (username and password) to an Authorization + fn basic_authorization(&self, basic: &Basic) -> Result { + debug!("\tAuthorizationApi: Received Basic-token, {basic:#?}"); + + // TODO: insert the logic to map received apikey to the set of claims + let claims = full_permission_claim(); + + // and build an authorization out of it + Ok(build_authorization(claims)) + } + +} + diff --git a/clients/rust-server/generated/src/auth.rs b/clients/rust-server/generated/src/auth.rs new file mode 100644 index 0000000..cbaba3d --- /dev/null +++ b/clients/rust-server/generated/src/auth.rs @@ -0,0 +1,62 @@ +use std::collections::BTreeSet; +use crate::server::Authorization; +use serde::{Deserialize, Serialize}; +use swagger::{ApiError, auth::{Basic, Bearer}}; + +#[derive(Debug, Serialize, Deserialize)] +pub struct Claims { + pub sub: String, + pub iss: String, + pub aud: String, + pub company: String, + pub exp: u64, + pub scopes: String, +} + + +pub trait AuthenticationApi { + + /// Method should be implemented (see example-code) to map Bearer-token to an Authorization + fn bearer_authorization(&self, token: &Bearer) -> Result; + + /// Method should be implemented (see example-code) to map ApiKey to an Authorization + fn apikey_authorization(&self, token: &str) -> Result; + + /// Method should be implemented (see example-code) to map Basic (Username:password) to an Authorization + fn basic_authorization(&self, basic: &Basic) -> Result; +} + +// Implement it for AllowAllAuthenticator (dummy is needed, but should not used as we have Bearer authorization) +use swagger::auth::{AllowAllAuthenticator, RcBound, Scopes}; + +fn dummy_authorization() -> Authorization { + // Is called when MakeAllowAllAuthenticator is added to the stack. This is not needed as we have Bearer-authorization in the example-code. + // However, if you want to use it anyway this can not be unimplemented, so dummy implementation added. + // unimplemented!() + Authorization{ + subject: "Dummmy".to_owned(), + scopes: Scopes::Some(BTreeSet::new()), // create an empty scope, as this should not be used + issuer: None + } +} + +impl AuthenticationApi for AllowAllAuthenticator +where + RC: RcBound, + RC::Result: Send + 'static { + + /// Get method to map Bearer-token to an Authorization + fn bearer_authorization(&self, _token: &Bearer) -> Result { + Ok(dummy_authorization()) + } + + /// Get method to map api-key to an Authorization + fn apikey_authorization(&self, _apikey: &str) -> Result { + Ok(dummy_authorization()) + } + + /// Get method to map basic token to an Authorization + fn basic_authorization(&self, _basic: &Basic) -> Result { + Ok(dummy_authorization()) + } +} diff --git a/clients/rust-server/generated/src/client/mod.rs b/clients/rust-server/generated/src/client/mod.rs index 109f590..cc9c9d1 100644 --- a/clients/rust-server/generated/src/client/mod.rs +++ b/clients/rust-server/generated/src/client/mod.rs @@ -37,8 +37,8 @@ const ID_ENCODE_SET: &AsciiSet = &FRAGMENT_ENCODE_SET.add(b'|'); use crate::{Api, GetApiAllPeriodJsonResponse, - GetApiProductCyclePeriodJsonResponse, - GetApiProductPeriodJsonResponse + GetApiProductPeriodJsonResponse, + GetApiProductCyclePeriodJsonResponse }; /// Convert input into a base path, e.g. "http://example:123". Also checks the scheme as it goes. @@ -430,11 +430,13 @@ impl Api for Client where let body = body .into_raw() .map_err(|e| ApiError(format!("Failed to read response: {}", e))).await?; + let body = str::from_utf8(&body) .map_err(|e| ApiError(format!("Response was not valid UTF8: {}", e)))?; - let body = serde_json::from_str::>(body).map_err(|e| { - ApiError(format!("Response body did not match the schema: {}", e)) - })?; + let body = serde_json::from_str::>(body) + .map_err(|e| ApiError(format!("Response body did not match the schema: {}", e)))?; + + Ok(GetApiAllPeriodJsonResponse::OK (body) ) @@ -459,18 +461,16 @@ impl Api for Client where } } - async fn get_api_product_cycle_period_json( + async fn get_api_product_period_json( &self, param_product: String, - param_cycle: String, - context: &C) -> Result + context: &C) -> Result { let mut client_service = self.client_service.clone(); let mut uri = format!( - "{}/api/{product}/{cycle}.json", + "{}/api/{product}.json", self.base_path ,product=utf8_percent_encode(¶m_product.to_string(), ID_ENCODE_SET) - ,cycle=utf8_percent_encode(¶m_cycle.to_string(), ID_ENCODE_SET) ); // Query parameters @@ -511,12 +511,14 @@ impl Api for Client where let body = body .into_raw() .map_err(|e| ApiError(format!("Failed to read response: {}", e))).await?; + let body = str::from_utf8(&body) .map_err(|e| ApiError(format!("Response was not valid UTF8: {}", e)))?; - let body = serde_json::from_str::(body).map_err(|e| { - ApiError(format!("Response body did not match the schema: {}", e)) - })?; - Ok(GetApiProductCyclePeriodJsonResponse::OK + let body = serde_json::from_str::>(body) + .map_err(|e| ApiError(format!("Response body did not match the schema: {}", e)))?; + + + Ok(GetApiProductPeriodJsonResponse::OK (body) ) } @@ -540,16 +542,18 @@ impl Api for Client where } } - async fn get_api_product_period_json( + async fn get_api_product_cycle_period_json( &self, param_product: String, - context: &C) -> Result + param_cycle: String, + context: &C) -> Result { let mut client_service = self.client_service.clone(); let mut uri = format!( - "{}/api/{product}.json", + "{}/api/{product}/{cycle}.json", self.base_path ,product=utf8_percent_encode(¶m_product.to_string(), ID_ENCODE_SET) + ,cycle=utf8_percent_encode(¶m_cycle.to_string(), ID_ENCODE_SET) ); // Query parameters @@ -590,12 +594,14 @@ impl Api for Client where let body = body .into_raw() .map_err(|e| ApiError(format!("Failed to read response: {}", e))).await?; + let body = str::from_utf8(&body) .map_err(|e| ApiError(format!("Response was not valid UTF8: {}", e)))?; - let body = serde_json::from_str::>(body).map_err(|e| { - ApiError(format!("Response body did not match the schema: {}", e)) - })?; - Ok(GetApiProductPeriodJsonResponse::OK + let body = serde_json::from_str::(body) + .map_err(|e| ApiError(format!("Response body did not match the schema: {}", e)))?; + + + Ok(GetApiProductCyclePeriodJsonResponse::OK (body) ) } diff --git a/clients/rust-server/generated/src/context.rs b/clients/rust-server/generated/src/context.rs index fadd880..ee8e118 100644 --- a/clients/rust-server/generated/src/context.rs +++ b/clients/rust-server/generated/src/context.rs @@ -8,7 +8,8 @@ use std::marker::PhantomData; use std::task::{Poll, Context}; use swagger::auth::{AuthData, Authorization, Bearer, Scopes}; use swagger::{EmptyContext, Has, Pop, Push, XSpanIdString}; -use crate::Api; +use crate::{Api, AuthenticationApi}; +use log::error; pub struct MakeAddContext { inner: T, @@ -89,7 +90,7 @@ impl Service> for AddContext, Result=C>, C: Push, Result=D>, D: Send + 'static, - T: Service<(Request, D)> + T: Service<(Request, D)> + AuthenticationApi { type Error = T::Error; type Future = T::Future; diff --git a/clients/rust-server/generated/src/lib.rs b/clients/rust-server/generated/src/lib.rs index eaf747b..e859829 100644 --- a/clients/rust-server/generated/src/lib.rs +++ b/clients/rust-server/generated/src/lib.rs @@ -1,19 +1,25 @@ -#![allow(missing_docs, trivial_casts, unused_variables, unused_mut, unused_imports, unused_extern_crates, non_camel_case_types)] -#![allow(unused_imports, unused_attributes)] -#![allow(clippy::derive_partial_eq_without_eq, clippy::disallowed_names, clippy::too_many_arguments)] +#![allow(missing_docs, trivial_casts, unused_variables, unused_mut, unused_imports, unused_extern_crates, unused_attributes, non_camel_case_types)] +#![allow(clippy::derive_partial_eq_without_eq, clippy::disallowed_names)] use async_trait::async_trait; use futures::Stream; use std::error::Error; +use std::collections::BTreeSet; use std::task::{Poll, Context}; use swagger::{ApiError, ContextWrapper}; use serde::{Serialize, Deserialize}; +use crate::server::Authorization; + type ServiceError = Box; pub const BASE_PATH: &str = ""; pub const API_VERSION: &str = "0.0.1"; +mod auth; +pub use auth::{AuthenticationApi, Claims}; + + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub enum GetApiAllPeriodJsonResponse { /// OK @@ -22,17 +28,17 @@ pub enum GetApiAllPeriodJsonResponse { } #[derive(Debug, PartialEq, Serialize, Deserialize)] -pub enum GetApiProductCyclePeriodJsonResponse { +pub enum GetApiProductPeriodJsonResponse { /// OK OK - (models::Cycle) + (Vec) } #[derive(Debug, PartialEq, Serialize, Deserialize)] -pub enum GetApiProductPeriodJsonResponse { +pub enum GetApiProductCyclePeriodJsonResponse { /// OK OK - (Vec) + (models::Cycle) } /// API @@ -48,6 +54,12 @@ pub trait Api { &self, context: &C) -> Result; + /// Get All Details + async fn get_api_product_period_json( + &self, + product: String, + context: &C) -> Result; + /// Single cycle details async fn get_api_product_cycle_period_json( &self, @@ -55,12 +67,6 @@ pub trait Api { cycle: String, context: &C) -> Result; - /// Get All Details - async fn get_api_product_period_json( - &self, - product: String, - context: &C) -> Result; - } /// API where `Context` isn't passed on every API call @@ -77,6 +83,12 @@ pub trait ApiNoContext { &self, ) -> Result; + /// Get All Details + async fn get_api_product_period_json( + &self, + product: String, + ) -> Result; + /// Single cycle details async fn get_api_product_cycle_period_json( &self, @@ -84,12 +96,6 @@ pub trait ApiNoContext { cycle: String, ) -> Result; - /// Get All Details - async fn get_api_product_period_json( - &self, - product: String, - ) -> Result; - } /// Trait to extend an API to make it easy to bind it to a context. @@ -124,25 +130,25 @@ impl + Send + Sync, C: Clone + Send + Sync> ApiNoContext for Contex self.api().get_api_all_period_json(&context).await } - /// Single cycle details - async fn get_api_product_cycle_period_json( + /// Get All Details + async fn get_api_product_period_json( &self, product: String, - cycle: String, - ) -> Result + ) -> Result { let context = self.context().clone(); - self.api().get_api_product_cycle_period_json(product, cycle, &context).await + self.api().get_api_product_period_json(product, &context).await } - /// Get All Details - async fn get_api_product_period_json( + /// Single cycle details + async fn get_api_product_cycle_period_json( &self, product: String, - ) -> Result + cycle: String, + ) -> Result { let context = self.context().clone(); - self.api().get_api_product_period_json(product, &context).await + self.api().get_api_product_cycle_period_json(product, cycle, &context).await } } diff --git a/clients/rust-server/generated/src/models.rs b/clients/rust-server/generated/src/models.rs index 2f43e99..0844187 100644 --- a/clients/rust-server/generated/src/models.rs +++ b/clients/rust-server/generated/src/models.rs @@ -81,34 +81,24 @@ impl Cycle { impl std::string::ToString for Cycle { fn to_string(&self) -> String { let params: Vec> = vec![ - // Skipping cycle in query parameter serialization - - // Skipping releaseDate in query parameter serialization - - // Skipping eol in query parameter serialization - - + // Skipping non-primitive type cycle in query parameter serialization + // Skipping non-primitive type releaseDate in query parameter serialization + // Skipping non-primitive type eol in query parameter serialization self.latest.as_ref().map(|latest| { [ "latest".to_string(), latest.to_string(), ].join(",") }), - - self.link.as_ref().map(|link| { [ "link".to_string(), link.as_ref().map_or("null".to_string(), |x| x.to_string()), ].join(",") }), - - // Skipping lts in query parameter serialization - - // Skipping support in query parameter serialization - - // Skipping discontinued in query parameter serialization - + // Skipping non-primitive type lts in query parameter serialization + // Skipping non-primitive type support in query parameter serialization + // Skipping non-primitive type discontinued in query parameter serialization ]; params.into_iter().flatten().collect::>().join(",") @@ -130,7 +120,7 @@ impl std::str::FromStr for Cycle { pub release_date: Vec, pub eol: Vec, pub latest: Vec, - pub link: Vec, + pub link: Vec>, pub lts: Vec, pub support: Vec, pub discontinued: Vec, @@ -226,73 +216,100 @@ impl std::convert::TryFrom for header::IntoHeaderVal } } +#[cfg(feature = "server")] +impl std::convert::TryFrom>> for hyper::header::HeaderValue { + type Error = String; + + fn try_from(hdr_values: header::IntoHeaderValue>) -> std::result::Result { + let hdr_values : Vec = hdr_values.0.into_iter().map(|hdr_value| { + hdr_value.to_string() + }).collect(); + + match hyper::header::HeaderValue::from_str(&hdr_values.join(", ")) { + std::result::Result::Ok(hdr_value) => std::result::Result::Ok(hdr_value), + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to convert {:?} into a header - {}", + hdr_values, e)) + } + } +} + +#[cfg(feature = "server")] +impl std::convert::TryFrom for header::IntoHeaderValue> { + type Error = String; + + fn try_from(hdr_values: hyper::header::HeaderValue) -> std::result::Result { + match hdr_values.to_str() { + std::result::Result::Ok(hdr_values) => { + let hdr_values : std::vec::Vec = hdr_values + .split(',') + .filter_map(|hdr_value| match hdr_value.trim() { + "" => std::option::Option::None, + hdr_value => std::option::Option::Some({ + match ::from_str(hdr_value) { + std::result::Result::Ok(value) => std::result::Result::Ok(value), + std::result::Result::Err(err) => std::result::Result::Err( + format!("Unable to convert header value '{}' into Cycle - {}", + hdr_value, err)) + } + }) + }).collect::, String>>()?; + + std::result::Result::Ok(header::IntoHeaderValue(hdr_values)) + }, + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to parse header: {:?} as a string - {}", + hdr_values, e)), + } + } +} /// Release Cycle -#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, validator::Validate)] +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "conversion", derive(frunk::LabelledGeneric))] -pub struct CycleCycle { +pub struct CycleCycle(swagger::AnyOf2); + +impl std::convert::From> for CycleCycle { + fn from(x: swagger::AnyOf2) -> Self { + CycleCycle(x) + } } +impl std::convert::From for swagger::AnyOf2 { + fn from(x: CycleCycle) -> Self { + x.0 + } +} -impl CycleCycle { - #[allow(clippy::new_without_default)] - pub fn new() -> CycleCycle { - CycleCycle { - } +impl std::ops::Deref for CycleCycle { + type Target = swagger::AnyOf2; + fn deref(&self) -> &swagger::AnyOf2 { + &self.0 + } +} + +impl std::ops::DerefMut for CycleCycle { + fn deref_mut(&mut self) -> &mut swagger::AnyOf2 { + &mut self.0 } } /// Converts the CycleCycle value to the Query Parameters representation (style=form, explode=false) /// specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde serializer -impl std::string::ToString for CycleCycle { +impl ::std::string::ToString for CycleCycle { fn to_string(&self) -> String { - let params: Vec> = vec![ - ]; - - params.into_iter().flatten().collect::>().join(",") + // ToString for this model is not supported + "".to_string() } } /// Converts Query Parameters representation (style=form, explode=false) to a CycleCycle value /// as specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde deserializer -impl std::str::FromStr for CycleCycle { - type Err = String; +impl ::std::str::FromStr for CycleCycle { + type Err = &'static str; fn from_str(s: &str) -> std::result::Result { - /// An intermediate representation of the struct to use for parsing. - #[derive(Default)] - #[allow(dead_code)] - struct IntermediateRep { - } - - let mut intermediate_rep = IntermediateRep::default(); - - // Parse into intermediate representation - let mut string_iter = s.split(','); - let mut key_result = string_iter.next(); - - while key_result.is_some() { - let val = match string_iter.next() { - Some(x) => x, - None => return std::result::Result::Err("Missing value while parsing CycleCycle".to_string()) - }; - - if let Some(key) = key_result { - #[allow(clippy::match_single_binding)] - match key { - _ => return std::result::Result::Err("Unexpected key while parsing CycleCycle".to_string()) - } - } - - // Get the next key - key_result = string_iter.next(); - } - - // Use the intermediate representation to return the struct - std::result::Result::Ok(CycleCycle { - }) + std::result::Result::Err("Parsing CycleCycle is not supported") } } @@ -334,73 +351,100 @@ impl std::convert::TryFrom for header::IntoHeaderVal } } +#[cfg(feature = "server")] +impl std::convert::TryFrom>> for hyper::header::HeaderValue { + type Error = String; + + fn try_from(hdr_values: header::IntoHeaderValue>) -> std::result::Result { + let hdr_values : Vec = hdr_values.0.into_iter().map(|hdr_value| { + hdr_value.to_string() + }).collect(); + + match hyper::header::HeaderValue::from_str(&hdr_values.join(", ")) { + std::result::Result::Ok(hdr_value) => std::result::Result::Ok(hdr_value), + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to convert {:?} into a header - {}", + hdr_values, e)) + } + } +} + +#[cfg(feature = "server")] +impl std::convert::TryFrom for header::IntoHeaderValue> { + type Error = String; + + fn try_from(hdr_values: hyper::header::HeaderValue) -> std::result::Result { + match hdr_values.to_str() { + std::result::Result::Ok(hdr_values) => { + let hdr_values : std::vec::Vec = hdr_values + .split(',') + .filter_map(|hdr_value| match hdr_value.trim() { + "" => std::option::Option::None, + hdr_value => std::option::Option::Some({ + match ::from_str(hdr_value) { + std::result::Result::Ok(value) => std::result::Result::Ok(value), + std::result::Result::Err(err) => std::result::Result::Err( + format!("Unable to convert header value '{}' into CycleCycle - {}", + hdr_value, err)) + } + }) + }).collect::, String>>()?; + + std::result::Result::Ok(header::IntoHeaderValue(hdr_values)) + }, + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to parse header: {:?} as a string - {}", + hdr_values, e)), + } + } +} /// Whether this cycle is now discontinued. -#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, validator::Validate)] +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "conversion", derive(frunk::LabelledGeneric))] -pub struct CycleDiscontinued { +pub struct CycleDiscontinued(swagger::AnyOf2); + +impl std::convert::From> for CycleDiscontinued { + fn from(x: swagger::AnyOf2) -> Self { + CycleDiscontinued(x) + } } +impl std::convert::From for swagger::AnyOf2 { + fn from(x: CycleDiscontinued) -> Self { + x.0 + } +} -impl CycleDiscontinued { - #[allow(clippy::new_without_default)] - pub fn new() -> CycleDiscontinued { - CycleDiscontinued { - } +impl std::ops::Deref for CycleDiscontinued { + type Target = swagger::AnyOf2; + fn deref(&self) -> &swagger::AnyOf2 { + &self.0 + } +} + +impl std::ops::DerefMut for CycleDiscontinued { + fn deref_mut(&mut self) -> &mut swagger::AnyOf2 { + &mut self.0 } } /// Converts the CycleDiscontinued value to the Query Parameters representation (style=form, explode=false) /// specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde serializer -impl std::string::ToString for CycleDiscontinued { +impl ::std::string::ToString for CycleDiscontinued { fn to_string(&self) -> String { - let params: Vec> = vec![ - ]; - - params.into_iter().flatten().collect::>().join(",") + // ToString for this model is not supported + "".to_string() } } /// Converts Query Parameters representation (style=form, explode=false) to a CycleDiscontinued value /// as specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde deserializer -impl std::str::FromStr for CycleDiscontinued { - type Err = String; +impl ::std::str::FromStr for CycleDiscontinued { + type Err = &'static str; fn from_str(s: &str) -> std::result::Result { - /// An intermediate representation of the struct to use for parsing. - #[derive(Default)] - #[allow(dead_code)] - struct IntermediateRep { - } - - let mut intermediate_rep = IntermediateRep::default(); - - // Parse into intermediate representation - let mut string_iter = s.split(','); - let mut key_result = string_iter.next(); - - while key_result.is_some() { - let val = match string_iter.next() { - Some(x) => x, - None => return std::result::Result::Err("Missing value while parsing CycleDiscontinued".to_string()) - }; - - if let Some(key) = key_result { - #[allow(clippy::match_single_binding)] - match key { - _ => return std::result::Result::Err("Unexpected key while parsing CycleDiscontinued".to_string()) - } - } - - // Get the next key - key_result = string_iter.next(); - } - - // Use the intermediate representation to return the struct - std::result::Result::Ok(CycleDiscontinued { - }) + std::result::Result::Err("Parsing CycleDiscontinued is not supported") } } @@ -442,73 +486,100 @@ impl std::convert::TryFrom for header::IntoHeaderVal } } +#[cfg(feature = "server")] +impl std::convert::TryFrom>> for hyper::header::HeaderValue { + type Error = String; + + fn try_from(hdr_values: header::IntoHeaderValue>) -> std::result::Result { + let hdr_values : Vec = hdr_values.0.into_iter().map(|hdr_value| { + hdr_value.to_string() + }).collect(); + + match hyper::header::HeaderValue::from_str(&hdr_values.join(", ")) { + std::result::Result::Ok(hdr_value) => std::result::Result::Ok(hdr_value), + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to convert {:?} into a header - {}", + hdr_values, e)) + } + } +} + +#[cfg(feature = "server")] +impl std::convert::TryFrom for header::IntoHeaderValue> { + type Error = String; + + fn try_from(hdr_values: hyper::header::HeaderValue) -> std::result::Result { + match hdr_values.to_str() { + std::result::Result::Ok(hdr_values) => { + let hdr_values : std::vec::Vec = hdr_values + .split(',') + .filter_map(|hdr_value| match hdr_value.trim() { + "" => std::option::Option::None, + hdr_value => std::option::Option::Some({ + match ::from_str(hdr_value) { + std::result::Result::Ok(value) => std::result::Result::Ok(value), + std::result::Result::Err(err) => std::result::Result::Err( + format!("Unable to convert header value '{}' into CycleDiscontinued - {}", + hdr_value, err)) + } + }) + }).collect::, String>>()?; + + std::result::Result::Ok(header::IntoHeaderValue(hdr_values)) + }, + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to parse header: {:?} as a string - {}", + hdr_values, e)), + } + } +} /// End of Life Date for this release cycle -#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, validator::Validate)] +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "conversion", derive(frunk::LabelledGeneric))] -pub struct CycleEol { +pub struct CycleEol(swagger::AnyOf2); + +impl std::convert::From> for CycleEol { + fn from(x: swagger::AnyOf2) -> Self { + CycleEol(x) + } } +impl std::convert::From for swagger::AnyOf2 { + fn from(x: CycleEol) -> Self { + x.0 + } +} -impl CycleEol { - #[allow(clippy::new_without_default)] - pub fn new() -> CycleEol { - CycleEol { - } +impl std::ops::Deref for CycleEol { + type Target = swagger::AnyOf2; + fn deref(&self) -> &swagger::AnyOf2 { + &self.0 + } +} + +impl std::ops::DerefMut for CycleEol { + fn deref_mut(&mut self) -> &mut swagger::AnyOf2 { + &mut self.0 } } /// Converts the CycleEol value to the Query Parameters representation (style=form, explode=false) /// specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde serializer -impl std::string::ToString for CycleEol { +impl ::std::string::ToString for CycleEol { fn to_string(&self) -> String { - let params: Vec> = vec![ - ]; - - params.into_iter().flatten().collect::>().join(",") + // ToString for this model is not supported + "".to_string() } } /// Converts Query Parameters representation (style=form, explode=false) to a CycleEol value /// as specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde deserializer -impl std::str::FromStr for CycleEol { - type Err = String; +impl ::std::str::FromStr for CycleEol { + type Err = &'static str; fn from_str(s: &str) -> std::result::Result { - /// An intermediate representation of the struct to use for parsing. - #[derive(Default)] - #[allow(dead_code)] - struct IntermediateRep { - } - - let mut intermediate_rep = IntermediateRep::default(); - - // Parse into intermediate representation - let mut string_iter = s.split(','); - let mut key_result = string_iter.next(); - - while key_result.is_some() { - let val = match string_iter.next() { - Some(x) => x, - None => return std::result::Result::Err("Missing value while parsing CycleEol".to_string()) - }; - - if let Some(key) = key_result { - #[allow(clippy::match_single_binding)] - match key { - _ => return std::result::Result::Err("Unexpected key while parsing CycleEol".to_string()) - } - } - - // Get the next key - key_result = string_iter.next(); - } - - // Use the intermediate representation to return the struct - std::result::Result::Ok(CycleEol { - }) + std::result::Result::Err("Parsing CycleEol is not supported") } } @@ -550,73 +621,100 @@ impl std::convert::TryFrom for header::IntoHeaderVal } } +#[cfg(feature = "server")] +impl std::convert::TryFrom>> for hyper::header::HeaderValue { + type Error = String; + + fn try_from(hdr_values: header::IntoHeaderValue>) -> std::result::Result { + let hdr_values : Vec = hdr_values.0.into_iter().map(|hdr_value| { + hdr_value.to_string() + }).collect(); + + match hyper::header::HeaderValue::from_str(&hdr_values.join(", ")) { + std::result::Result::Ok(hdr_value) => std::result::Result::Ok(hdr_value), + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to convert {:?} into a header - {}", + hdr_values, e)) + } + } +} + +#[cfg(feature = "server")] +impl std::convert::TryFrom for header::IntoHeaderValue> { + type Error = String; + + fn try_from(hdr_values: hyper::header::HeaderValue) -> std::result::Result { + match hdr_values.to_str() { + std::result::Result::Ok(hdr_values) => { + let hdr_values : std::vec::Vec = hdr_values + .split(',') + .filter_map(|hdr_value| match hdr_value.trim() { + "" => std::option::Option::None, + hdr_value => std::option::Option::Some({ + match ::from_str(hdr_value) { + std::result::Result::Ok(value) => std::result::Result::Ok(value), + std::result::Result::Err(err) => std::result::Result::Err( + format!("Unable to convert header value '{}' into CycleEol - {}", + hdr_value, err)) + } + }) + }).collect::, String>>()?; + + std::result::Result::Ok(header::IntoHeaderValue(hdr_values)) + }, + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to parse header: {:?} as a string - {}", + hdr_values, e)), + } + } +} /// Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. -#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, validator::Validate)] +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "conversion", derive(frunk::LabelledGeneric))] -pub struct CycleLts { +pub struct CycleLts(swagger::AnyOf2); + +impl std::convert::From> for CycleLts { + fn from(x: swagger::AnyOf2) -> Self { + CycleLts(x) + } } +impl std::convert::From for swagger::AnyOf2 { + fn from(x: CycleLts) -> Self { + x.0 + } +} -impl CycleLts { - #[allow(clippy::new_without_default)] - pub fn new() -> CycleLts { - CycleLts { - } +impl std::ops::Deref for CycleLts { + type Target = swagger::AnyOf2; + fn deref(&self) -> &swagger::AnyOf2 { + &self.0 + } +} + +impl std::ops::DerefMut for CycleLts { + fn deref_mut(&mut self) -> &mut swagger::AnyOf2 { + &mut self.0 } } /// Converts the CycleLts value to the Query Parameters representation (style=form, explode=false) /// specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde serializer -impl std::string::ToString for CycleLts { +impl ::std::string::ToString for CycleLts { fn to_string(&self) -> String { - let params: Vec> = vec![ - ]; - - params.into_iter().flatten().collect::>().join(",") + // ToString for this model is not supported + "".to_string() } } /// Converts Query Parameters representation (style=form, explode=false) to a CycleLts value /// as specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde deserializer -impl std::str::FromStr for CycleLts { - type Err = String; +impl ::std::str::FromStr for CycleLts { + type Err = &'static str; fn from_str(s: &str) -> std::result::Result { - /// An intermediate representation of the struct to use for parsing. - #[derive(Default)] - #[allow(dead_code)] - struct IntermediateRep { - } - - let mut intermediate_rep = IntermediateRep::default(); - - // Parse into intermediate representation - let mut string_iter = s.split(','); - let mut key_result = string_iter.next(); - - while key_result.is_some() { - let val = match string_iter.next() { - Some(x) => x, - None => return std::result::Result::Err("Missing value while parsing CycleLts".to_string()) - }; - - if let Some(key) = key_result { - #[allow(clippy::match_single_binding)] - match key { - _ => return std::result::Result::Err("Unexpected key while parsing CycleLts".to_string()) - } - } - - // Get the next key - key_result = string_iter.next(); - } - - // Use the intermediate representation to return the struct - std::result::Result::Ok(CycleLts { - }) + std::result::Result::Err("Parsing CycleLts is not supported") } } @@ -658,73 +756,100 @@ impl std::convert::TryFrom for header::IntoHeaderVal } } +#[cfg(feature = "server")] +impl std::convert::TryFrom>> for hyper::header::HeaderValue { + type Error = String; + + fn try_from(hdr_values: header::IntoHeaderValue>) -> std::result::Result { + let hdr_values : Vec = hdr_values.0.into_iter().map(|hdr_value| { + hdr_value.to_string() + }).collect(); + + match hyper::header::HeaderValue::from_str(&hdr_values.join(", ")) { + std::result::Result::Ok(hdr_value) => std::result::Result::Ok(hdr_value), + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to convert {:?} into a header - {}", + hdr_values, e)) + } + } +} + +#[cfg(feature = "server")] +impl std::convert::TryFrom for header::IntoHeaderValue> { + type Error = String; + + fn try_from(hdr_values: hyper::header::HeaderValue) -> std::result::Result { + match hdr_values.to_str() { + std::result::Result::Ok(hdr_values) => { + let hdr_values : std::vec::Vec = hdr_values + .split(',') + .filter_map(|hdr_value| match hdr_value.trim() { + "" => std::option::Option::None, + hdr_value => std::option::Option::Some({ + match ::from_str(hdr_value) { + std::result::Result::Ok(value) => std::result::Result::Ok(value), + std::result::Result::Err(err) => std::result::Result::Err( + format!("Unable to convert header value '{}' into CycleLts - {}", + hdr_value, err)) + } + }) + }).collect::, String>>()?; + + std::result::Result::Ok(header::IntoHeaderValue(hdr_values)) + }, + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to parse header: {:?} as a string - {}", + hdr_values, e)), + } + } +} /// Whether this release cycle has active support -#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, validator::Validate)] +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "conversion", derive(frunk::LabelledGeneric))] -pub struct CycleSupport { +pub struct CycleSupport(swagger::AnyOf2); + +impl std::convert::From> for CycleSupport { + fn from(x: swagger::AnyOf2) -> Self { + CycleSupport(x) + } +} + +impl std::convert::From for swagger::AnyOf2 { + fn from(x: CycleSupport) -> Self { + x.0 + } } +impl std::ops::Deref for CycleSupport { + type Target = swagger::AnyOf2; + fn deref(&self) -> &swagger::AnyOf2 { + &self.0 + } +} -impl CycleSupport { - #[allow(clippy::new_without_default)] - pub fn new() -> CycleSupport { - CycleSupport { - } +impl std::ops::DerefMut for CycleSupport { + fn deref_mut(&mut self) -> &mut swagger::AnyOf2 { + &mut self.0 } } /// Converts the CycleSupport value to the Query Parameters representation (style=form, explode=false) /// specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde serializer -impl std::string::ToString for CycleSupport { +impl ::std::string::ToString for CycleSupport { fn to_string(&self) -> String { - let params: Vec> = vec![ - ]; - - params.into_iter().flatten().collect::>().join(",") + // ToString for this model is not supported + "".to_string() } } /// Converts Query Parameters representation (style=form, explode=false) to a CycleSupport value /// as specified in https://swagger.io/docs/specification/serialization/ /// Should be implemented in a serde deserializer -impl std::str::FromStr for CycleSupport { - type Err = String; +impl ::std::str::FromStr for CycleSupport { + type Err = &'static str; fn from_str(s: &str) -> std::result::Result { - /// An intermediate representation of the struct to use for parsing. - #[derive(Default)] - #[allow(dead_code)] - struct IntermediateRep { - } - - let mut intermediate_rep = IntermediateRep::default(); - - // Parse into intermediate representation - let mut string_iter = s.split(','); - let mut key_result = string_iter.next(); - - while key_result.is_some() { - let val = match string_iter.next() { - Some(x) => x, - None => return std::result::Result::Err("Missing value while parsing CycleSupport".to_string()) - }; - - if let Some(key) = key_result { - #[allow(clippy::match_single_binding)] - match key { - _ => return std::result::Result::Err("Unexpected key while parsing CycleSupport".to_string()) - } - } - - // Get the next key - key_result = string_iter.next(); - } - - // Use the intermediate representation to return the struct - std::result::Result::Ok(CycleSupport { - }) + std::result::Result::Err("Parsing CycleSupport is not supported") } } @@ -766,3 +891,48 @@ impl std::convert::TryFrom for header::IntoHeaderVal } } +#[cfg(feature = "server")] +impl std::convert::TryFrom>> for hyper::header::HeaderValue { + type Error = String; + + fn try_from(hdr_values: header::IntoHeaderValue>) -> std::result::Result { + let hdr_values : Vec = hdr_values.0.into_iter().map(|hdr_value| { + hdr_value.to_string() + }).collect(); + + match hyper::header::HeaderValue::from_str(&hdr_values.join(", ")) { + std::result::Result::Ok(hdr_value) => std::result::Result::Ok(hdr_value), + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to convert {:?} into a header - {}", + hdr_values, e)) + } + } +} + +#[cfg(feature = "server")] +impl std::convert::TryFrom for header::IntoHeaderValue> { + type Error = String; + + fn try_from(hdr_values: hyper::header::HeaderValue) -> std::result::Result { + match hdr_values.to_str() { + std::result::Result::Ok(hdr_values) => { + let hdr_values : std::vec::Vec = hdr_values + .split(',') + .filter_map(|hdr_value| match hdr_value.trim() { + "" => std::option::Option::None, + hdr_value => std::option::Option::Some({ + match ::from_str(hdr_value) { + std::result::Result::Ok(value) => std::result::Result::Ok(value), + std::result::Result::Err(err) => std::result::Result::Err( + format!("Unable to convert header value '{}' into CycleSupport - {}", + hdr_value, err)) + } + }) + }).collect::, String>>()?; + + std::result::Result::Ok(header::IntoHeaderValue(hdr_values)) + }, + std::result::Result::Err(e) => std::result::Result::Err(format!("Unable to parse header: {:?} as a string - {}", + hdr_values, e)), + } + } +} diff --git a/clients/rust-server/generated/src/server/mod.rs b/clients/rust-server/generated/src/server/mod.rs index 4a6b4a8..54c352e 100644 --- a/clients/rust-server/generated/src/server/mod.rs +++ b/clients/rust-server/generated/src/server/mod.rs @@ -14,8 +14,7 @@ use swagger::auth::Scopes; use url::form_urlencoded; #[allow(unused_imports)] -use crate::models; -use crate::header; +use crate::{models, header, AuthenticationApi}; pub use crate::context; @@ -23,10 +22,12 @@ type ServiceFuture = BoxFuture<'static, Result, crate::ServiceErr use crate::{Api, GetApiAllPeriodJsonResponse, - GetApiProductCyclePeriodJsonResponse, - GetApiProductPeriodJsonResponse + GetApiProductPeriodJsonResponse, + GetApiProductCyclePeriodJsonResponse }; +mod server_auth; + mod paths { use lazy_static::lazy_static; @@ -55,6 +56,7 @@ mod paths { } } + pub struct MakeService where T: Api + Clone + Send + 'static, C: Has + Send + Sync + 'static @@ -88,9 +90,9 @@ impl hyper::service::Service for MakeService where } fn call(&mut self, target: Target) -> Self::Future { - future::ok(Service::new( - self.api_impl.clone(), - )) + let service = Service::new(self.api_impl.clone()); + + future::ok(service) } } @@ -146,16 +148,20 @@ impl hyper::service::Service<(Request, C)> for Service where self.api_impl.poll_ready(cx) } - fn call(&mut self, req: (Request, C)) -> Self::Future { async fn run(mut api_impl: T, req: (Request, C)) -> Result, crate::ServiceError> where - T: Api + Clone + Send + 'static, - C: Has + Send + Sync + 'static - { - let (request, context) = req; - let (parts, body) = request.into_parts(); - let (method, uri, headers) = (parts.method, parts.uri, parts.headers); - let path = paths::GLOBAL_REGEX_SET.matches(uri.path()); - - match method { + fn call(&mut self, req: (Request, C)) -> Self::Future { + async fn run( + mut api_impl: T, + req: (Request, C), + ) -> Result, crate::ServiceError> where + T: Api + Clone + Send + 'static, + C: Has + Send + Sync + 'static + { + let (request, context) = req; + let (parts, body) = request.into_parts(); + let (method, uri, headers) = (parts.method, parts.uri, parts.headers); + let path = paths::GLOBAL_REGEX_SET.matches(uri.path()); + + match method { // GetApiAllPeriodJson - GET /api/all.json hyper::Method::GET if path.matched(paths::ID_API_ALL_JSON) => { @@ -177,9 +183,11 @@ impl hyper::service::Service<(Request, C)> for Service where response.headers_mut().insert( CONTENT_TYPE, HeaderValue::from_str("application/json") - .expect("Unable to create Content-Type header for GET_API_ALL_PERIOD_JSON_OK")); - let body_content = serde_json::to_string(&body).expect("impossible to fail to serialize"); - *response.body_mut() = Body::from(body_content); + .expect("Unable to create Content-Type header for application/json")); + // JSON Body + let body = serde_json::to_string(&body).expect("impossible to fail to serialize"); + *response.body_mut() = Body::from(body); + }, }, Err(_) => { @@ -193,15 +201,15 @@ impl hyper::service::Service<(Request, C)> for Service where Ok(response) }, - // GetApiProductCyclePeriodJson - GET /api/{product}/{cycle}.json - hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_CYCLE_JSON) => { + // GetApiProductPeriodJson - GET /api/{product}.json + hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_JSON) => { // Path parameters let path: &str = uri.path(); let path_params = - paths::REGEX_API_PRODUCT_CYCLE_JSON + paths::REGEX_API_PRODUCT_JSON .captures(path) .unwrap_or_else(|| - panic!("Path {} matched RE API_PRODUCT_CYCLE_JSON in set but failed match against \"{}\"", path, paths::REGEX_API_PRODUCT_CYCLE_JSON.as_str()) + panic!("Path {} matched RE API_PRODUCT_JSON in set but failed match against \"{}\"", path, paths::REGEX_API_PRODUCT_JSON.as_str()) ); let param_product = match percent_encoding::percent_decode(path_params["product"].as_bytes()).decode_utf8() { @@ -218,23 +226,8 @@ impl hyper::service::Service<(Request, C)> for Service where .expect("Unable to create Bad Request response for invalid percent decode")) }; - let param_cycle = match percent_encoding::percent_decode(path_params["cycle"].as_bytes()).decode_utf8() { - Ok(param_cycle) => match param_cycle.parse::() { - Ok(param_cycle) => param_cycle, - Err(e) => return Ok(Response::builder() - .status(StatusCode::BAD_REQUEST) - .body(Body::from(format!("Couldn't parse path parameter cycle: {}", e))) - .expect("Unable to create Bad Request response for invalid path parameter")), - }, - Err(_) => return Ok(Response::builder() - .status(StatusCode::BAD_REQUEST) - .body(Body::from(format!("Couldn't percent-decode path parameter as UTF-8: {}", &path_params["cycle"]))) - .expect("Unable to create Bad Request response for invalid percent decode")) - }; - - let result = api_impl.get_api_product_cycle_period_json( + let result = api_impl.get_api_product_period_json( param_product, - param_cycle, &context ).await; let mut response = Response::new(Body::empty()); @@ -245,16 +238,18 @@ impl hyper::service::Service<(Request, C)> for Service where match result { Ok(rsp) => match rsp { - GetApiProductCyclePeriodJsonResponse::OK + GetApiProductPeriodJsonResponse::OK (body) => { *response.status_mut() = StatusCode::from_u16(200).expect("Unable to turn 200 into a StatusCode"); response.headers_mut().insert( CONTENT_TYPE, HeaderValue::from_str("application/json") - .expect("Unable to create Content-Type header for GET_API_PRODUCT_CYCLE_PERIOD_JSON_OK")); - let body_content = serde_json::to_string(&body).expect("impossible to fail to serialize"); - *response.body_mut() = Body::from(body_content); + .expect("Unable to create Content-Type header for application/json")); + // JSON Body + let body = serde_json::to_string(&body).expect("impossible to fail to serialize"); + *response.body_mut() = Body::from(body); + }, }, Err(_) => { @@ -268,15 +263,15 @@ impl hyper::service::Service<(Request, C)> for Service where Ok(response) }, - // GetApiProductPeriodJson - GET /api/{product}.json - hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_JSON) => { + // GetApiProductCyclePeriodJson - GET /api/{product}/{cycle}.json + hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_CYCLE_JSON) => { // Path parameters let path: &str = uri.path(); let path_params = - paths::REGEX_API_PRODUCT_JSON + paths::REGEX_API_PRODUCT_CYCLE_JSON .captures(path) .unwrap_or_else(|| - panic!("Path {} matched RE API_PRODUCT_JSON in set but failed match against \"{}\"", path, paths::REGEX_API_PRODUCT_JSON.as_str()) + panic!("Path {} matched RE API_PRODUCT_CYCLE_JSON in set but failed match against \"{}\"", path, paths::REGEX_API_PRODUCT_CYCLE_JSON.as_str()) ); let param_product = match percent_encoding::percent_decode(path_params["product"].as_bytes()).decode_utf8() { @@ -293,8 +288,23 @@ impl hyper::service::Service<(Request, C)> for Service where .expect("Unable to create Bad Request response for invalid percent decode")) }; - let result = api_impl.get_api_product_period_json( + let param_cycle = match percent_encoding::percent_decode(path_params["cycle"].as_bytes()).decode_utf8() { + Ok(param_cycle) => match param_cycle.parse::() { + Ok(param_cycle) => param_cycle, + Err(e) => return Ok(Response::builder() + .status(StatusCode::BAD_REQUEST) + .body(Body::from(format!("Couldn't parse path parameter cycle: {}", e))) + .expect("Unable to create Bad Request response for invalid path parameter")), + }, + Err(_) => return Ok(Response::builder() + .status(StatusCode::BAD_REQUEST) + .body(Body::from(format!("Couldn't percent-decode path parameter as UTF-8: {}", &path_params["cycle"]))) + .expect("Unable to create Bad Request response for invalid percent decode")) + }; + + let result = api_impl.get_api_product_cycle_period_json( param_product, + param_cycle, &context ).await; let mut response = Response::new(Body::empty()); @@ -305,16 +315,18 @@ impl hyper::service::Service<(Request, C)> for Service where match result { Ok(rsp) => match rsp { - GetApiProductPeriodJsonResponse::OK + GetApiProductCyclePeriodJsonResponse::OK (body) => { *response.status_mut() = StatusCode::from_u16(200).expect("Unable to turn 200 into a StatusCode"); response.headers_mut().insert( CONTENT_TYPE, HeaderValue::from_str("application/json") - .expect("Unable to create Content-Type header for GET_API_PRODUCT_PERIOD_JSON_OK")); - let body_content = serde_json::to_string(&body).expect("impossible to fail to serialize"); - *response.body_mut() = Body::from(body_content); + .expect("Unable to create Content-Type header for application/json")); + // JSON Body + let body = serde_json::to_string(&body).expect("impossible to fail to serialize"); + *response.body_mut() = Body::from(body); + }, }, Err(_) => { @@ -331,11 +343,16 @@ impl hyper::service::Service<(Request, C)> for Service where _ if path.matched(paths::ID_API_ALL_JSON) => method_not_allowed(), _ if path.matched(paths::ID_API_PRODUCT_JSON) => method_not_allowed(), _ if path.matched(paths::ID_API_PRODUCT_CYCLE_JSON) => method_not_allowed(), - _ => Ok(Response::builder().status(StatusCode::NOT_FOUND) - .body(Body::empty()) - .expect("Unable to create Not Found response")) + _ => Ok(Response::builder().status(StatusCode::NOT_FOUND) + .body(Body::empty()) + .expect("Unable to create Not Found response")) + } } - } Box::pin(run(self.api_impl.clone(), req)) } + Box::pin(run( + self.api_impl.clone(), + req, + )) + } } /// Request parser for `Api`. @@ -346,10 +363,10 @@ impl RequestParser for ApiRequestParser { match *request.method() { // GetApiAllPeriodJson - GET /api/all.json hyper::Method::GET if path.matched(paths::ID_API_ALL_JSON) => Some("GetApiAllPeriodJson"), - // GetApiProductCyclePeriodJson - GET /api/{product}/{cycle}.json - hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_CYCLE_JSON) => Some("GetApiProductCyclePeriodJson"), // GetApiProductPeriodJson - GET /api/{product}.json hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_JSON) => Some("GetApiProductPeriodJson"), + // GetApiProductCyclePeriodJson - GET /api/{product}/{cycle}.json + hyper::Method::GET if path.matched(paths::ID_API_PRODUCT_CYCLE_JSON) => Some("GetApiProductCyclePeriodJson"), _ => None, } } diff --git a/clients/rust-server/generated/src/server/server_auth.rs b/clients/rust-server/generated/src/server/server_auth.rs new file mode 100644 index 0000000..ba78eb2 --- /dev/null +++ b/clients/rust-server/generated/src/server/server_auth.rs @@ -0,0 +1,28 @@ +use super::Service; +use crate::{Api, AuthenticationApi}; +use swagger::{ + ApiError, + Authorization, + auth::{Basic, Bearer}, + Has, + XSpanIdString}; + +impl AuthenticationApi for Service where +T: Api + Clone + Send + 'static + AuthenticationApi, +C: Has + Has> + Send + Sync + 'static { + + /// Passthrough of the task to the api-implementation + fn bearer_authorization(&self, token: &Bearer) -> Result { + self.api_impl.bearer_authorization(token) + } + + /// Passthrough of the task to the api-implementation + fn apikey_authorization(&self, token: &str) -> Result { + self.api_impl.apikey_authorization(token) + } + + /// Passthrough of the task to the api-implementation + fn basic_authorization(&self, basic: &Basic) -> Result { + self.api_impl.basic_authorization(basic) + } +} diff --git a/clients/rust/generated/.openapi-generator/VERSION b/clients/rust/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/rust/generated/.openapi-generator/VERSION +++ b/clients/rust/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/rust/generated/Cargo.toml b/clients/rust/generated/Cargo.toml index ceaf663..20108bc 100644 --- a/clients/rust/generated/Cargo.toml +++ b/clients/rust/generated/Cargo.toml @@ -10,6 +10,7 @@ edition = "2021" serde = { version = "^1.0", features = ["derive"] } serde_with = { version = "^3.8", default-features = false, features = ["base64", "std", "macros"] } serde_json = "^1.0" +serde_repr = "^0.1" url = "^2.5" uuid = { version = "^1.8", features = ["serde", "v4"] } reqwest = { version = "^0.12", features = ["json", "multipart"] } diff --git a/clients/rust/generated/README.md b/clients/rust/generated/README.md index 4afd92c..2037bf4 100644 --- a/clients/rust/generated/README.md +++ b/clients/rust/generated/README.md @@ -10,7 +10,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: 0.0.1 -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation diff --git a/clients/rust/generated/docs/DefaultApi.md b/clients/rust/generated/docs/DefaultApi.md index c01a807..76a3f71 100644 --- a/clients/rust/generated/docs/DefaultApi.md +++ b/clients/rust/generated/docs/DefaultApi.md @@ -50,7 +50,7 @@ Gets details of a single cycle Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **product** | **String** | Product URL as per the canonical URL on the endofife.date website | [required] | -**cycle** | **String** | Release Cycle for which the details must be fetched | [required] | +**cycle** | **String** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | [required] | ### Return type diff --git a/clients/rust/generated/src/apis/configuration.rs b/clients/rust/generated/src/apis/configuration.rs index 01ecb6b..c41926a 100644 --- a/clients/rust/generated/src/apis/configuration.rs +++ b/clients/rust/generated/src/apis/configuration.rs @@ -19,7 +19,6 @@ pub struct Configuration { pub oauth_access_token: Option, pub bearer_access_token: Option, pub api_key: Option, - // TODO: take an oauth2 token source, similar to the go one } pub type BasicAuth = (String, Option); @@ -47,7 +46,6 @@ impl Default for Configuration { oauth_access_token: None, bearer_access_token: None, api_key: None, - } } } diff --git a/clients/rust/generated/src/lib.rs b/clients/rust/generated/src/lib.rs index a1837b9..e152062 100644 --- a/clients/rust/generated/src/lib.rs +++ b/clients/rust/generated/src/lib.rs @@ -1,6 +1,7 @@ #![allow(unused_imports)] #![allow(clippy::too_many_arguments)] +extern crate serde_repr; extern crate serde; extern crate serde_json; extern crate url; diff --git a/clients/scala-akka-http-server/generated/.openapi-generator/VERSION b/clients/scala-akka-http-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-akka-http-server/generated/.openapi-generator/VERSION +++ b/clients/scala-akka-http-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-akka-http-server/generated/README.md b/clients/scala-akka-http-server/generated/README.md index e944082..4cdbdca 100644 --- a/clients/scala-akka-http-server/generated/README.md +++ b/clients/scala-akka-http-server/generated/README.md @@ -2,7 +2,7 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) -This Scala akka-http framework project was generated by OpenAPI Generator 7.6.0. +This Scala akka-http framework project was generated by OpenAPI Generator 7.9.0. ## API diff --git a/clients/scala-akka/generated/.openapi-generator/VERSION b/clients/scala-akka/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-akka/generated/.openapi-generator/VERSION +++ b/clients/scala-akka/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-akka/generated/README.md b/clients/scala-akka/generated/README.md index c01ab8c..d3d3293 100644 --- a/clients/scala-akka/generated/README.md +++ b/clients/scala-akka/generated/README.md @@ -2,7 +2,7 @@ endoflife.date - API version: 0.0.1 - - Generator version: 7.6.0 + - Generator version: 7.9.0 Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) diff --git a/clients/scala-akka/generated/docs/DefaultApi.md b/clients/scala-akka/generated/docs/DefaultApi.md index 51ed558..e947442 100644 --- a/clients/scala-akka/generated/docs/DefaultApi.md +++ b/clients/scala-akka/generated/docs/DefaultApi.md @@ -117,7 +117,7 @@ object Example extends App { val apiInstance = DefaultApi("https://endoflife.date") val product: String = product_example // String | Product URL as per the canonical URL on the endofife.date website - val cycle: String = cycle_example // String | Release Cycle for which the details must be fetched + val cycle: String = cycle_example // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. val request = apiInstance.getApiProductCycleJson(product, cycle) val response = apiInvoker.execute(request) @@ -148,7 +148,7 @@ object Example extends App { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **String**| Product URL as per the canonical URL on the endofife.date website | - **cycle** | **String**| Release Cycle for which the details must be fetched | + **cycle** | **String**| Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/scala-akka/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala b/clients/scala-akka/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala index 5d0b8f8..7d341be 100644 --- a/clients/scala-akka/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala +++ b/clients/scala-akka/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala @@ -41,7 +41,7 @@ class DefaultApi(baseUrl: String) { * code 200 : Cycle (OK) * * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ def getApiProductCycleJson(product: String, cycle: String): ApiRequest[Cycle] = ApiRequest[Cycle](ApiMethods.GET, baseUrl, "/api/{product}/{cycle}.json", "application/json") diff --git a/clients/scala-finch/generated/.openapi-generator/VERSION b/clients/scala-finch/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-finch/generated/.openapi-generator/VERSION +++ b/clients/scala-finch/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-gatling/generated/.openapi-generator/VERSION b/clients/scala-gatling/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-gatling/generated/.openapi-generator/VERSION +++ b/clients/scala-gatling/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-lagom-server/generated/.openapi-generator/VERSION b/clients/scala-lagom-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-lagom-server/generated/.openapi-generator/VERSION +++ b/clients/scala-lagom-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-lagom-server/generated/src/main/scala/io/swagger/client/api/DefaultApi.scala b/clients/scala-lagom-server/generated/src/main/scala/io/swagger/client/api/DefaultApi.scala index 1a63719..0d3ad30 100644 --- a/clients/scala-lagom-server/generated/src/main/scala/io/swagger/client/api/DefaultApi.scala +++ b/clients/scala-lagom-server/generated/src/main/scala/io/swagger/client/api/DefaultApi.scala @@ -46,7 +46,7 @@ trait DefaultApi extends Service { * Gets details of a single cycle * * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. * @return Cycle */ def getApiProductCycleJson(product: String, cycle: String): ServiceCall[NotUsed ,Cycle] diff --git a/clients/scala-play-server/generated/.openapi-generator/VERSION b/clients/scala-play-server/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-play-server/generated/.openapi-generator/VERSION +++ b/clients/scala-play-server/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-play-server/generated/README.md b/clients/scala-play-server/generated/README.md index 6511897..f8a9ef7 100644 --- a/clients/scala-play-server/generated/README.md +++ b/clients/scala-play-server/generated/README.md @@ -2,7 +2,7 @@ Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) -This Scala Play Framework project was generated by OpenAPI Generator 7.6.0 at 2024-07-10T09:11:31.374855606Z[Etc/UTC]. +This Scala Play Framework project was generated by OpenAPI Generator 7.9.0 at 2024-11-03T10:26:06.423739496Z[Etc/UTC]. ## API diff --git a/clients/scala-play-server/generated/app/api/DefaultApi.scala b/clients/scala-play-server/generated/app/api/DefaultApi.scala index a4a7a8d..4ac77fe 100644 --- a/clients/scala-play-server/generated/app/api/DefaultApi.scala +++ b/clients/scala-play-server/generated/app/api/DefaultApi.scala @@ -3,7 +3,7 @@ package api import play.api.libs.json._ import model.Cycle -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") trait DefaultApi { /** * All Products @@ -15,7 +15,7 @@ trait DefaultApi { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ def getApiProductCycleJson(product: String, cycle: String): Cycle diff --git a/clients/scala-play-server/generated/app/api/DefaultApiController.scala b/clients/scala-play-server/generated/app/api/DefaultApiController.scala index e3169ef..3ab8def 100644 --- a/clients/scala-play-server/generated/app/api/DefaultApiController.scala +++ b/clients/scala-play-server/generated/app/api/DefaultApiController.scala @@ -6,7 +6,7 @@ import play.api.libs.json._ import play.api.mvc._ import model.Cycle -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Singleton class DefaultApiController @Inject()(cc: ControllerComponents, api: DefaultApi) extends AbstractController(cc) { /** @@ -25,7 +25,7 @@ class DefaultApiController @Inject()(cc: ControllerComponents, api: DefaultApi) /** * GET /api/:product/:cycle.json * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ def getApiProductCycleJson(product: String, cycle: String): Action[AnyContent] = Action { request => def executeApi(): Cycle = { diff --git a/clients/scala-play-server/generated/app/api/DefaultApiImpl.scala b/clients/scala-play-server/generated/app/api/DefaultApiImpl.scala index 7daf58f..257dad9 100644 --- a/clients/scala-play-server/generated/app/api/DefaultApiImpl.scala +++ b/clients/scala-play-server/generated/app/api/DefaultApiImpl.scala @@ -5,7 +5,7 @@ import model.Cycle /** * Provides a default implementation for [[DefaultApi]]. */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") class DefaultApiImpl extends DefaultApi { /** * @inheritdoc diff --git a/clients/scala-play-server/generated/app/model/Cycle.scala b/clients/scala-play-server/generated/app/model/Cycle.scala index a8cd37b..2a00924 100644 --- a/clients/scala-play-server/generated/app/model/Cycle.scala +++ b/clients/scala-play-server/generated/app/model/Cycle.scala @@ -9,7 +9,7 @@ import java.time.LocalDate * @param latest Latest release in this cycle * @param link Link to changelog for the latest release, if available */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") case class Cycle( cycle: Option[CycleCycle], releaseDate: Option[LocalDate], diff --git a/clients/scala-play-server/generated/app/model/CycleCycle.scala b/clients/scala-play-server/generated/app/model/CycleCycle.scala index 636af0d..602d740 100644 --- a/clients/scala-play-server/generated/app/model/CycleCycle.scala +++ b/clients/scala-play-server/generated/app/model/CycleCycle.scala @@ -5,7 +5,7 @@ import play.api.libs.json._ /** * Release Cycle */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") case class CycleCycle( ) diff --git a/clients/scala-play-server/generated/app/model/CycleDiscontinued.scala b/clients/scala-play-server/generated/app/model/CycleDiscontinued.scala index b4d51e4..4c11bc3 100644 --- a/clients/scala-play-server/generated/app/model/CycleDiscontinued.scala +++ b/clients/scala-play-server/generated/app/model/CycleDiscontinued.scala @@ -5,7 +5,7 @@ import play.api.libs.json._ /** * Whether this cycle is now discontinued. */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") case class CycleDiscontinued( ) diff --git a/clients/scala-play-server/generated/app/model/CycleEol.scala b/clients/scala-play-server/generated/app/model/CycleEol.scala index 7aa00be..f9c0053 100644 --- a/clients/scala-play-server/generated/app/model/CycleEol.scala +++ b/clients/scala-play-server/generated/app/model/CycleEol.scala @@ -5,7 +5,7 @@ import play.api.libs.json._ /** * End of Life Date for this release cycle */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") case class CycleEol( ) diff --git a/clients/scala-play-server/generated/app/model/CycleLts.scala b/clients/scala-play-server/generated/app/model/CycleLts.scala index ad24bfe..051b039 100644 --- a/clients/scala-play-server/generated/app/model/CycleLts.scala +++ b/clients/scala-play-server/generated/app/model/CycleLts.scala @@ -5,7 +5,7 @@ import play.api.libs.json._ /** * Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") case class CycleLts( ) diff --git a/clients/scala-play-server/generated/app/model/CycleSupport.scala b/clients/scala-play-server/generated/app/model/CycleSupport.scala index 35a0c4b..53ea1e4 100644 --- a/clients/scala-play-server/generated/app/model/CycleSupport.scala +++ b/clients/scala-play-server/generated/app/model/CycleSupport.scala @@ -5,7 +5,7 @@ import play.api.libs.json._ /** * Whether this release cycle has active support */ -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") case class CycleSupport( ) diff --git a/clients/scala-play-server/generated/app/org/openapitools/Module.scala b/clients/scala-play-server/generated/app/org/openapitools/Module.scala index 8f6fb47..d6e90e0 100644 --- a/clients/scala-play-server/generated/app/org/openapitools/Module.scala +++ b/clients/scala-play-server/generated/app/org/openapitools/Module.scala @@ -4,7 +4,7 @@ import api._ import play.api.inject.{Binding, Module => PlayModule} import play.api.{Configuration, Environment} -@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-07-10T09:11:31.374855606Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = Array("org.openapitools.codegen.languages.ScalaPlayFrameworkServerCodegen"), date = "2024-11-03T10:26:06.423739496Z[Etc/UTC]", comments = "Generator version: 7.9.0") class Module extends PlayModule { override def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]] = Seq( bind[DefaultApi].to[DefaultApiImpl] diff --git a/clients/scala-play-server/generated/public/openapi.json b/clients/scala-play-server/generated/public/openapi.json index 5af8745..5d2d05b 100644 --- a/clients/scala-play-server/generated/public/openapi.json +++ b/clients/scala-play-server/generated/public/openapi.json @@ -104,7 +104,7 @@ }, "style" : "simple" }, { - "description" : "Release Cycle for which the details must be fetched", + "description" : "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", "explode" : false, "in" : "path", "name" : "cycle", diff --git a/clients/scala-sttp/generated/.openapi-generator/VERSION b/clients/scala-sttp/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scala-sttp/generated/.openapi-generator/VERSION +++ b/clients/scala-sttp/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scala-sttp/generated/README.md b/clients/scala-sttp/generated/README.md index 89b89f1..3ea7c58 100644 --- a/clients/scala-sttp/generated/README.md +++ b/clients/scala-sttp/generated/README.md @@ -2,7 +2,7 @@ endoflife.date - API version: 0.0.1 - - Generator version: 7.6.0 + - Generator version: 7.9.0 Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) diff --git a/clients/scala-sttp/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala b/clients/scala-sttp/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala index 5594528..57ad694 100644 --- a/clients/scala-sttp/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala +++ b/clients/scala-sttp/generated/src/main/scala/org/openapitools/client/api/DefaultApi.scala @@ -42,7 +42,7 @@ class DefaultApi(baseUrl: String) { * code 200 : Cycle (OK) * * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. */ def getApiProductCycleJson(product: String, cycle: String ): Request[Either[ResponseException[String, Exception], Cycle], Any] = diff --git a/clients/scalatra/generated/.openapi-generator/VERSION b/clients/scalatra/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scalatra/generated/.openapi-generator/VERSION +++ b/clients/scalatra/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/scalaz/generated/.openapi-generator/VERSION b/clients/scalaz/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/scalaz/generated/.openapi-generator/VERSION +++ b/clients/scalaz/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/spring/generated/.openapi-generator/VERSION b/clients/spring/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/spring/generated/.openapi-generator/VERSION +++ b/clients/spring/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/spring/generated/src/main/java/org/openapitools/api/ApiApi.java b/clients/spring/generated/src/main/java/org/openapitools/api/ApiApi.java index 91afc24..49547a6 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/api/ApiApi.java +++ b/clients/spring/generated/src/main/java/org/openapitools/api/ApiApi.java @@ -1,5 +1,5 @@ /** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.6.0). + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.9.0). * https://openapi-generator.tech * Do not edit the class manually. */ @@ -32,7 +32,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Validated @Tag(name = "api", description = "the api API") public interface ApiApi { @@ -86,7 +86,7 @@ default ResponseEntity> getApiAllJson( * Gets details of a single cycle * * @param product Product URL as per the canonical URL on the endofife.date website (required) - * @param cycle Release Cycle for which the details must be fetched (required) + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. (required) * @return OK (status code 200) */ @Operation( @@ -108,7 +108,7 @@ default ResponseEntity> getApiAllJson( default ResponseEntity getApiProductCycleJson( @Parameter(name = "product", description = "Product URL as per the canonical URL on the endofife.date website", required = true, in = ParameterIn.PATH) @PathVariable("product") String product, - @Parameter(name = "cycle", description = "Release Cycle for which the details must be fetched", required = true, in = ParameterIn.PATH) @PathVariable("cycle") String cycle + @Parameter(name = "cycle", description = "Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.", required = true, in = ParameterIn.PATH) @PathVariable("cycle") String cycle ) { getRequest().ifPresent(request -> { for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) { diff --git a/clients/spring/generated/src/main/java/org/openapitools/api/ApiApiController.java b/clients/spring/generated/src/main/java/org/openapitools/api/ApiApiController.java index 6e35174..2218584 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/api/ApiApiController.java +++ b/clients/spring/generated/src/main/java/org/openapitools/api/ApiApiController.java @@ -26,7 +26,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") @Controller @RequestMapping("${openapi.endoflifeDate.base-path:}") public class ApiApiController implements ApiApi { diff --git a/clients/spring/generated/src/main/java/org/openapitools/model/Cycle.java b/clients/spring/generated/src/main/java/org/openapitools/model/Cycle.java index 55d6387..004bd3a 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/model/Cycle.java +++ b/clients/spring/generated/src/main/java/org/openapitools/model/Cycle.java @@ -31,7 +31,7 @@ @Schema(name = "cycle", description = "Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.") @JsonTypeName("cycle") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class Cycle { private CycleCycle cycle; @@ -59,7 +59,7 @@ public Cycle cycle(CycleCycle cycle) { /** * Get cycle * @return cycle - */ + */ @Valid @Schema(name = "cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("cycle") @@ -79,7 +79,7 @@ public Cycle releaseDate(LocalDate releaseDate) { /** * Release Date for the first release in this cycle * @return releaseDate - */ + */ @Valid @Size(min = 10, max = 10) @Schema(name = "releaseDate", description = "Release Date for the first release in this cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("releaseDate") @@ -99,7 +99,7 @@ public Cycle eol(CycleEol eol) { /** * Get eol * @return eol - */ + */ @Valid @Schema(name = "eol", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("eol") @@ -119,7 +119,7 @@ public Cycle latest(String latest) { /** * Latest release in this cycle * @return latest - */ + */ @Size(min = 1) @Schema(name = "latest", description = "Latest release in this cycle", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("latest") @@ -139,7 +139,7 @@ public Cycle link(String link) { /** * Link to changelog for the latest release, if available * @return link - */ + */ @Size(min = 1) @Schema(name = "link", description = "Link to changelog for the latest release, if available", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("link") @@ -159,7 +159,7 @@ public Cycle lts(CycleLts lts) { /** * Get lts * @return lts - */ + */ @Valid @Schema(name = "lts", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("lts") @@ -179,7 +179,7 @@ public Cycle support(CycleSupport support) { /** * Get support * @return support - */ + */ @Valid @Schema(name = "support", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("support") @@ -199,7 +199,7 @@ public Cycle discontinued(CycleDiscontinued discontinued) { /** * Get discontinued * @return discontinued - */ + */ @Valid @Schema(name = "discontinued", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("discontinued") diff --git a/clients/spring/generated/src/main/java/org/openapitools/model/CycleCycle.java b/clients/spring/generated/src/main/java/org/openapitools/model/CycleCycle.java index 5ea8c2f..9f6a9c6 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/model/CycleCycle.java +++ b/clients/spring/generated/src/main/java/org/openapitools/model/CycleCycle.java @@ -20,7 +20,7 @@ @Schema(name = "cycle_cycle", description = "Release Cycle") @JsonTypeName("cycle_cycle") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleCycle { @Override diff --git a/clients/spring/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java b/clients/spring/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java index c4373e1..c50e72a 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java +++ b/clients/spring/generated/src/main/java/org/openapitools/model/CycleDiscontinued.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_discontinued", description = "Whether this cycle is now discontinued.") @JsonTypeName("cycle_discontinued") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleDiscontinued { @Override diff --git a/clients/spring/generated/src/main/java/org/openapitools/model/CycleEol.java b/clients/spring/generated/src/main/java/org/openapitools/model/CycleEol.java index 300e4cd..cd70f14 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/model/CycleEol.java +++ b/clients/spring/generated/src/main/java/org/openapitools/model/CycleEol.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_eol", description = "End of Life Date for this release cycle") @JsonTypeName("cycle_eol") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleEol { @Override diff --git a/clients/spring/generated/src/main/java/org/openapitools/model/CycleLts.java b/clients/spring/generated/src/main/java/org/openapitools/model/CycleLts.java index 36503bc..1fcf64c 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/model/CycleLts.java +++ b/clients/spring/generated/src/main/java/org/openapitools/model/CycleLts.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_lts", description = "Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well if the release enters LTS status on a given date. ") @JsonTypeName("cycle_lts") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleLts { @Override diff --git a/clients/spring/generated/src/main/java/org/openapitools/model/CycleSupport.java b/clients/spring/generated/src/main/java/org/openapitools/model/CycleSupport.java index c0d139d..d4df56a 100644 --- a/clients/spring/generated/src/main/java/org/openapitools/model/CycleSupport.java +++ b/clients/spring/generated/src/main/java/org/openapitools/model/CycleSupport.java @@ -19,7 +19,7 @@ @Schema(name = "cycle_support", description = "Whether this release cycle has active support") @JsonTypeName("cycle_support") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-07-10T09:11:47.023291794Z[Etc/UTC]", comments = "Generator version: 7.6.0") +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-03T10:26:16.790507711Z[Etc/UTC]", comments = "Generator version: 7.9.0") public class CycleSupport { @Override diff --git a/clients/spring/generated/src/main/resources/openapi.yaml b/clients/spring/generated/src/main/resources/openapi.yaml index f71d219..6d4ba7b 100644 --- a/clients/spring/generated/src/main/resources/openapi.yaml +++ b/clients/spring/generated/src/main/resources/openapi.yaml @@ -85,7 +85,9 @@ paths: schema: type: string style: simple - - description: Release Cycle for which the details must be fetched + - description: Release Cycle for which the details must be fetched. Any slash + character in the cycle name will be replaced with dashes. For example FreeBSD's + releng/14.0 becomes releng-14.0. explode: false in: path name: cycle diff --git a/clients/swift5/generated/.openapi-generator/VERSION b/clients/swift5/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/swift5/generated/.openapi-generator/VERSION +++ b/clients/swift5/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIHelper.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIHelper.swift index 6dd1b44..7c975bb 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIHelper.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIHelper.swift @@ -61,6 +61,8 @@ public struct APIHelper { return collection .compactMap { value in convertAnyToString(value) } .joined(separator: ",") + } else if let value = source as? any RawRepresentable { + return "\(value.rawValue)" } return source } diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIs/DefaultAPI.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIs/DefaultAPI.swift index 9703595..32d0a83 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIs/DefaultAPI.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/APIs/DefaultAPI.swift @@ -58,7 +58,7 @@ open class DefaultAPI { Single cycle details - parameter product: (path) Product URL as per the canonical URL on the endofife.date website - - parameter cycle: (path) Release Cycle for which the details must be fetched + - parameter cycle: (path) Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @@ -79,7 +79,7 @@ open class DefaultAPI { - GET /api/{product}/{cycle}.json - Gets details of a single cycle - parameter product: (path) Product URL as per the canonical URL on the endofife.date website - - parameter cycle: (path) Release Cycle for which the details must be fetched + - parameter cycle: (path) Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. - returns: RequestBuilder */ open class func getApiProductCycleJsonWithRequestBuilder(product: String, cycle: String) -> RequestBuilder { diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Extensions.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Extensions.swift index ac04dba..286c500 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Extensions.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Extensions.swift @@ -153,9 +153,12 @@ extension KeyedEncodingContainerProtocol { } public mutating func encode(_ value: Decimal, forKey key: Self.Key) throws { - var mutableValue = value - let stringValue = NSDecimalString(&mutableValue, Locale(identifier: "en_US")) - try encode(stringValue, forKey: key) + let decimalNumber = NSDecimalNumber(decimal: value) + let numberFormatter = NumberFormatter() + numberFormatter.numberStyle = .decimal + numberFormatter.locale = Locale(identifier: "en_US") + let formattedString = numberFormatter.string(from: decimalNumber) ?? "\(value)" + try encode(formattedString, forKey: key) } public mutating func encodeIfPresent(_ value: Decimal?, forKey key: Self.Key) throws { diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Models.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Models.swift index 3d9e25e..e6dc494 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Models.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Models.swift @@ -111,7 +111,7 @@ open class Response { } public final class RequestTask { - private var lock = NSRecursiveLock() + private let lock = NSRecursiveLock() private var task: URLSessionDataTaskProtocol? internal func set(task: URLSessionDataTaskProtocol) { diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/SynchronizedDictionary.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/SynchronizedDictionary.swift index acf7ff4..fbaa624 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/SynchronizedDictionary.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/SynchronizedDictionary.swift @@ -9,28 +9,18 @@ import Foundation internal struct SynchronizedDictionary { private var dictionary = [K: V]() - private let queue = DispatchQueue( - label: "SynchronizedDictionary", - qos: DispatchQoS.userInitiated, - attributes: [DispatchQueue.Attributes.concurrent], - autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit, - target: nil - ) + private let lock = NSRecursiveLock() internal subscript(key: K) -> V? { get { - var value: V? - - queue.sync { - value = self.dictionary[key] - } - - return value + lock.lock() + defer { lock.unlock() } + return self.dictionary[key] } set { - queue.sync(flags: DispatchWorkItemFlags.barrier) { - self.dictionary[key] = newValue - } + lock.lock() + defer { lock.unlock() } + self.dictionary[key] = newValue } } } diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/URLSessionImplementations.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/URLSessionImplementations.swift index 8b37151..cbbb21f 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/URLSessionImplementations.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/URLSessionImplementations.swift @@ -585,7 +585,7 @@ private class FormDataEncoding: ParameterEncoding { func mimeType(for url: URL) -> String { let pathExtension = url.pathExtension - if #available(iOS 15, macOS 11, *) { + if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *) { #if canImport(UniformTypeIdentifiers) if let utType = UTType(filenameExtension: pathExtension) { return utType.preferredMIMEType ?? "application/octet-stream" diff --git a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Validation.swift b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Validation.swift index b520bd7..6a0d4c9 100644 --- a/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Validation.swift +++ b/clients/swift5/generated/OpenAPIClient/Classes/OpenAPIs/Validation.swift @@ -20,6 +20,12 @@ public struct NumericRule { public var multipleOf: T? } +public struct ArrayRule { + public var minItems: Int? + public var maxItems: Int? + public var uniqueItems: Bool +} + public enum StringValidationErrorKind: Error { case minLength, maxLength, pattern } @@ -28,6 +34,10 @@ public enum NumericValidationErrorKind: Error { case minimum, maximum, multipleOf } +public enum ArrayValidationErrorKind: Error { + case minItems, maxItems, uniqueItems +} + public struct ValidationError: Error { public fileprivate(set) var kinds: Set } @@ -123,4 +133,29 @@ public struct Validator { } return numeric } + + /// Validate a array against a rule. + /// - Parameter array: The Array you wish to validate. + /// - Parameter rule: The ArrayRule you wish to use for validation. + /// - Returns: A validated array. + /// - Throws: `ValidationError` if the string is invalid against the rule. + public static func validate(_ array: Array, against rule: ArrayRule) throws -> Array { + var error = ValidationError(kinds: []) + if let minItems = rule.minItems, !(minItems <= array.count) { + error.kinds.insert(.minItems) + } + if let maxItems = rule.maxItems, !(array.count <= maxItems) { + error.kinds.insert(.maxItems) + } + if rule.uniqueItems { + let unique = Set(array) + if unique.count != array.count { + error.kinds.insert(.uniqueItems) + } + } + guard error.kinds.isEmpty else { + throw error + } + return array + } } diff --git a/clients/swift5/generated/README.md b/clients/swift5/generated/README.md index e153e17..14ce75f 100644 --- a/clients/swift5/generated/README.md +++ b/clients/swift5/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.Swift5ClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/swift5/generated/docs/DefaultAPI.md b/clients/swift5/generated/docs/DefaultAPI.md index 4591935..1478d01 100644 --- a/clients/swift5/generated/docs/DefaultAPI.md +++ b/clients/swift5/generated/docs/DefaultAPI.md @@ -70,7 +70,7 @@ Gets details of a single cycle import OpenAPIClient let product = "product_example" // String | Product URL as per the canonical URL on the endofife.date website -let cycle = "cycle_example" // String | Release Cycle for which the details must be fetched +let cycle = "cycle_example" // String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. // Single cycle details DefaultAPI.getApiProductCycleJson(product: product, cycle: cycle) { (response, error) in @@ -90,7 +90,7 @@ DefaultAPI.getApiProductCycleJson(product: product, cycle: cycle) { (response, e Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | **String** | Product URL as per the canonical URL on the endofife.date website | - **cycle** | **String** | Release Cycle for which the details must be fetched | + **cycle** | **String** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | ### Return type diff --git a/clients/typescript-angular/generated/.openapi-generator/VERSION b/clients/typescript-angular/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-angular/generated/.openapi-generator/VERSION +++ b/clients/typescript-angular/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-angular/generated/README.md b/clients/typescript-angular/generated/README.md index de16f95..28d0c83 100644 --- a/clients/typescript-angular/generated/README.md +++ b/clients/typescript-angular/generated/README.md @@ -1,5 +1,9 @@ ## @ +Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) + +The version of the OpenAPI document: 0.0.1 + ### Building To install the required dependencies and to build the typescript sources run: diff --git a/clients/typescript-angular/generated/api/default.service.ts b/clients/typescript-angular/generated/api/default.service.ts index 7e2e7b8..a84c1af 100644 --- a/clients/typescript-angular/generated/api/default.service.ts +++ b/clients/typescript-angular/generated/api/default.service.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -157,7 +155,7 @@ export class DefaultService { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ diff --git a/clients/typescript-angular/generated/model/cycle.ts b/clients/typescript-angular/generated/model/cycle.ts index 4894219..393d3ac 100644 --- a/clients/typescript-angular/generated/model/cycle.ts +++ b/clients/typescript-angular/generated/model/cycle.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/clients/typescript-angular/generated/model/cycleCycle.ts b/clients/typescript-angular/generated/model/cycleCycle.ts index d6062db..409af3b 100644 --- a/clients/typescript-angular/generated/model/cycleCycle.ts +++ b/clients/typescript-angular/generated/model/cycleCycle.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/clients/typescript-angular/generated/model/cycleDiscontinued.ts b/clients/typescript-angular/generated/model/cycleDiscontinued.ts index 6908016..c13fb2c 100644 --- a/clients/typescript-angular/generated/model/cycleDiscontinued.ts +++ b/clients/typescript-angular/generated/model/cycleDiscontinued.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/clients/typescript-angular/generated/model/cycleEol.ts b/clients/typescript-angular/generated/model/cycleEol.ts index a8cb5fd..ef6ee50 100644 --- a/clients/typescript-angular/generated/model/cycleEol.ts +++ b/clients/typescript-angular/generated/model/cycleEol.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/clients/typescript-angular/generated/model/cycleLts.ts b/clients/typescript-angular/generated/model/cycleLts.ts index a26414a..6d8c509 100644 --- a/clients/typescript-angular/generated/model/cycleLts.ts +++ b/clients/typescript-angular/generated/model/cycleLts.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/clients/typescript-angular/generated/model/cycleSupport.ts b/clients/typescript-angular/generated/model/cycleSupport.ts index bc72857..0071f1a 100644 --- a/clients/typescript-angular/generated/model/cycleSupport.ts +++ b/clients/typescript-angular/generated/model/cycleSupport.ts @@ -1,8 +1,6 @@ /** * endoflife.date - * Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki) * - * The version of the OpenAPI document: 0.0.1 * Contact: blah+oapicf@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/clients/typescript-aurelia/generated/.openapi-generator/VERSION b/clients/typescript-aurelia/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-aurelia/generated/.openapi-generator/VERSION +++ b/clients/typescript-aurelia/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-aurelia/generated/DefaultApi.ts b/clients/typescript-aurelia/generated/DefaultApi.ts index fc1a2e3..73189f8 100644 --- a/clients/typescript-aurelia/generated/DefaultApi.ts +++ b/clients/typescript-aurelia/generated/DefaultApi.ts @@ -84,7 +84,7 @@ export class DefaultApi extends Api { * Single cycle details * Gets details of a single cycle * @param params.product Product URL as per the canonical URL on the endofife.date website - * @param params.cycle Release Cycle for which the details must be fetched + * @param params.cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ async getApiProductCycleJson(params: IGetApiProductCycleJsonParams): Promise { // Verify required parameters are set diff --git a/clients/typescript-axios/generated/.openapi-generator/VERSION b/clients/typescript-axios/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-axios/generated/.openapi-generator/VERSION +++ b/clients/typescript-axios/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-axios/generated/api.ts b/clients/typescript-axios/generated/api.ts index e068e1a..7c53273 100644 --- a/clients/typescript-axios/generated/api.ts +++ b/clients/typescript-axios/generated/api.ts @@ -154,7 +154,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * Gets details of a single cycle * @summary Single cycle details * @param {string} product Product URL as per the canonical URL on the endofife.date website - * @param {string} cycle Release Cycle for which the details must be fetched + * @param {string} cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -248,7 +248,7 @@ export const DefaultApiFp = function(configuration?: Configuration) { * Gets details of a single cycle * @summary Single cycle details * @param {string} product Product URL as per the canonical URL on the endofife.date website - * @param {string} cycle Release Cycle for which the details must be fetched + * @param {string} cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -287,18 +287,18 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiAllJson(options?: any): AxiosPromise> { + getApiAllJson(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getApiAllJson(options).then((request) => request(axios, basePath)); }, /** * Gets details of a single cycle * @summary Single cycle details * @param {string} product Product URL as per the canonical URL on the endofife.date website - * @param {string} cycle Release Cycle for which the details must be fetched + * @param {string} cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiProductCycleJson(product: string, cycle: string, options?: any): AxiosPromise { + getApiProductCycleJson(product: string, cycle: string, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getApiProductCycleJson(product, cycle, options).then((request) => request(axios, basePath)); }, /** @@ -308,7 +308,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiProductJson(product: string, options?: any): AxiosPromise> { + getApiProductJson(product: string, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getApiProductJson(product, options).then((request) => request(axios, basePath)); }, }; @@ -336,7 +336,7 @@ export class DefaultApi extends BaseAPI { * Gets details of a single cycle * @summary Single cycle details * @param {string} product Product URL as per the canonical URL on the endofife.date website - * @param {string} cycle Release Cycle for which the details must be fetched + * @param {string} cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi diff --git a/clients/typescript-fetch/generated/.openapi-generator/VERSION b/clients/typescript-fetch/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-fetch/generated/.openapi-generator/VERSION +++ b/clients/typescript-fetch/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-fetch/generated/models/Cycle.ts b/clients/typescript-fetch/generated/models/Cycle.ts index 0595423..1a93333 100644 --- a/clients/typescript-fetch/generated/models/Cycle.ts +++ b/clients/typescript-fetch/generated/models/Cycle.ts @@ -18,30 +18,35 @@ import { CycleLtsFromJSON, CycleLtsFromJSONTyped, CycleLtsToJSON, + CycleLtsToJSONTyped, } from './CycleLts'; import type { CycleDiscontinued } from './CycleDiscontinued'; import { CycleDiscontinuedFromJSON, CycleDiscontinuedFromJSONTyped, CycleDiscontinuedToJSON, + CycleDiscontinuedToJSONTyped, } from './CycleDiscontinued'; import type { CycleSupport } from './CycleSupport'; import { CycleSupportFromJSON, CycleSupportFromJSONTyped, CycleSupportToJSON, + CycleSupportToJSONTyped, } from './CycleSupport'; import type { CycleCycle } from './CycleCycle'; import { CycleCycleFromJSON, CycleCycleFromJSONTyped, CycleCycleToJSON, + CycleCycleToJSONTyped, } from './CycleCycle'; import type { CycleEol } from './CycleEol'; import { CycleEolFromJSON, CycleEolFromJSONTyped, CycleEolToJSON, + CycleEolToJSONTyped, } from './CycleEol'; /** @@ -79,7 +84,7 @@ export interface Cycle { * @type {string} * @memberof Cycle */ - link?: string; + link?: string | null; /** * * @type {CycleLts} @@ -128,10 +133,15 @@ export function CycleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cyc }; } -export function CycleToJSON(value?: Cycle | null): any { + export function CycleToJSON(json: any): Cycle { + return CycleToJSONTyped(json, false); + } + + export function CycleToJSONTyped(value?: Cycle | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'cycle': CycleCycleToJSON(value['cycle']), diff --git a/clients/typescript-fetch/generated/models/CycleCycle.ts b/clients/typescript-fetch/generated/models/CycleCycle.ts index a6b0502..87a124f 100644 --- a/clients/typescript-fetch/generated/models/CycleCycle.ts +++ b/clients/typescript-fetch/generated/models/CycleCycle.ts @@ -36,7 +36,11 @@ export function CycleCycleFromJSONTyped(json: any, ignoreDiscriminator: boolean) return json; } -export function CycleCycleToJSON(value?: CycleCycle | null): any { + export function CycleCycleToJSON(json: any): CycleCycle { + return CycleCycleToJSONTyped(json, false); + } + + export function CycleCycleToJSONTyped(value?: CycleCycle | null, ignoreDiscriminator: boolean = false): any { return value; } diff --git a/clients/typescript-fetch/generated/models/CycleDiscontinued.ts b/clients/typescript-fetch/generated/models/CycleDiscontinued.ts index cf97afc..a939583 100644 --- a/clients/typescript-fetch/generated/models/CycleDiscontinued.ts +++ b/clients/typescript-fetch/generated/models/CycleDiscontinued.ts @@ -36,7 +36,11 @@ export function CycleDiscontinuedFromJSONTyped(json: any, ignoreDiscriminator: b return json; } -export function CycleDiscontinuedToJSON(value?: CycleDiscontinued | null): any { + export function CycleDiscontinuedToJSON(json: any): CycleDiscontinued { + return CycleDiscontinuedToJSONTyped(json, false); + } + + export function CycleDiscontinuedToJSONTyped(value?: CycleDiscontinued | null, ignoreDiscriminator: boolean = false): any { return value; } diff --git a/clients/typescript-fetch/generated/models/CycleEol.ts b/clients/typescript-fetch/generated/models/CycleEol.ts index 85714e9..3bd0a0c 100644 --- a/clients/typescript-fetch/generated/models/CycleEol.ts +++ b/clients/typescript-fetch/generated/models/CycleEol.ts @@ -36,7 +36,11 @@ export function CycleEolFromJSONTyped(json: any, ignoreDiscriminator: boolean): return json; } -export function CycleEolToJSON(value?: CycleEol | null): any { + export function CycleEolToJSON(json: any): CycleEol { + return CycleEolToJSONTyped(json, false); + } + + export function CycleEolToJSONTyped(value?: CycleEol | null, ignoreDiscriminator: boolean = false): any { return value; } diff --git a/clients/typescript-fetch/generated/models/CycleLts.ts b/clients/typescript-fetch/generated/models/CycleLts.ts index a0c8340..e2474d2 100644 --- a/clients/typescript-fetch/generated/models/CycleLts.ts +++ b/clients/typescript-fetch/generated/models/CycleLts.ts @@ -37,7 +37,11 @@ export function CycleLtsFromJSONTyped(json: any, ignoreDiscriminator: boolean): return json; } -export function CycleLtsToJSON(value?: CycleLts | null): any { + export function CycleLtsToJSON(json: any): CycleLts { + return CycleLtsToJSONTyped(json, false); + } + + export function CycleLtsToJSONTyped(value?: CycleLts | null, ignoreDiscriminator: boolean = false): any { return value; } diff --git a/clients/typescript-fetch/generated/models/CycleSupport.ts b/clients/typescript-fetch/generated/models/CycleSupport.ts index 2d7f757..9c32ca3 100644 --- a/clients/typescript-fetch/generated/models/CycleSupport.ts +++ b/clients/typescript-fetch/generated/models/CycleSupport.ts @@ -36,7 +36,11 @@ export function CycleSupportFromJSONTyped(json: any, ignoreDiscriminator: boolea return json; } -export function CycleSupportToJSON(value?: CycleSupport | null): any { + export function CycleSupportToJSON(json: any): CycleSupport { + return CycleSupportToJSONTyped(json, false); + } + + export function CycleSupportToJSONTyped(value?: CycleSupport | null, ignoreDiscriminator: boolean = false): any { return value; } diff --git a/clients/typescript-inversify/generated/.openapi-generator/VERSION b/clients/typescript-inversify/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-inversify/generated/.openapi-generator/VERSION +++ b/clients/typescript-inversify/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-inversify/generated/api/default.service.ts b/clients/typescript-inversify/generated/api/default.service.ts index 7b6cc71..2fe5f69 100644 --- a/clients/typescript-inversify/generated/api/default.service.ts +++ b/clients/typescript-inversify/generated/api/default.service.ts @@ -60,7 +60,7 @@ export class DefaultService { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public getApiProductCycleJson(product: string, cycle: string, observe?: 'body', headers?: Headers): Observable; diff --git a/clients/typescript-jquery/generated/.openapi-generator/VERSION b/clients/typescript-jquery/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-jquery/generated/.openapi-generator/VERSION +++ b/clients/typescript-jquery/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-jquery/generated/api/DefaultApi.ts b/clients/typescript-jquery/generated/api/DefaultApi.ts index 89e8153..e6fbb79 100644 --- a/clients/typescript-jquery/generated/api/DefaultApi.ts +++ b/clients/typescript-jquery/generated/api/DefaultApi.ts @@ -106,7 +106,7 @@ export class DefaultApi { * Gets details of a single cycle * @summary Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public getApiProductCycleJson(product: string, cycle: string, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise< { response: JQueryXHR; body: models.Cycle; }, diff --git a/clients/typescript-nestjs/generated/.openapi-generator/VERSION b/clients/typescript-nestjs/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-nestjs/generated/.openapi-generator/VERSION +++ b/clients/typescript-nestjs/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-nestjs/generated/api/default.service.ts b/clients/typescript-nestjs/generated/api/default.service.ts index b198e55..e00403f 100644 --- a/clients/typescript-nestjs/generated/api/default.service.ts +++ b/clients/typescript-nestjs/generated/api/default.service.ts @@ -11,7 +11,7 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@nestjs/common'; +import { Injectable, Optional } from '@nestjs/common'; import { HttpService } from '@nestjs/axios'; import { AxiosResponse } from 'axios'; import { Observable, from, of, switchMap } from 'rxjs'; @@ -49,7 +49,6 @@ export class DefaultService { */ public getApiAllJson(): Observable>>; public getApiAllJson(): Observable { - let headers = {...this.defaultHeaders}; let accessTokenObservable: Observable = of(null); @@ -85,13 +84,12 @@ export class DefaultService { * Single cycle details * Gets details of a single cycle * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ public getApiProductCycleJson(product: string, cycle: string, ): Observable>; public getApiProductCycleJson(product: string, cycle: string, ): Observable { - if (product === null || product === undefined) { throw new Error('Required parameter product was null or undefined when calling getApiProductCycleJson.'); } @@ -140,7 +138,6 @@ export class DefaultService { */ public getApiProductJson(product: string, ): Observable>>; public getApiProductJson(product: string, ): Observable { - if (product === null || product === undefined) { throw new Error('Required parameter product was null or undefined when calling getApiProductJson.'); } diff --git a/clients/typescript-nestjs/generated/configuration.ts b/clients/typescript-nestjs/generated/configuration.ts index 39cf69e..1ee763a 100644 --- a/clients/typescript-nestjs/generated/configuration.ts +++ b/clients/typescript-nestjs/generated/configuration.ts @@ -4,7 +4,7 @@ export interface ConfigurationParameters { apiKeys?: {[ key: string ]: string}; username?: string; password?: string; - accessToken?: string | (() => string); + accessToken?: string | Promise | (() => string | Promise); basePath?: string; withCredentials?: boolean; } @@ -13,7 +13,7 @@ export class Configuration { apiKeys?: {[ key: string ]: string}; username?: string; password?: string; - accessToken?: string | (() => string); + accessToken?: string | Promise | (() => string | Promise); basePath?: string; withCredentials?: boolean; diff --git a/clients/typescript-node/generated/.openapi-generator/VERSION b/clients/typescript-node/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-node/generated/.openapi-generator/VERSION +++ b/clients/typescript-node/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-node/generated/api/defaultApi.ts b/clients/typescript-node/generated/api/defaultApi.ts index c32fdea..bb9d5fe 100644 --- a/clients/typescript-node/generated/api/defaultApi.ts +++ b/clients/typescript-node/generated/api/defaultApi.ts @@ -152,7 +152,7 @@ export class DefaultApi { * Gets details of a single cycle * @summary Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public async getApiProductCycleJson (product: string, cycle: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Cycle; }> { const localVarPath = this.basePath + '/api/{product}/{cycle}.json' diff --git a/clients/typescript-node/generated/model/models.ts b/clients/typescript-node/generated/model/models.ts index d0cce52..92a15ef 100644 --- a/clients/typescript-node/generated/model/models.ts +++ b/clients/typescript-node/generated/model/models.ts @@ -51,6 +51,23 @@ let typeMap: {[index: string]: any} = { "CycleSupport": CycleSupport, } +// Check if a string starts with another string without using es6 features +function startsWith(str: string, match: string): boolean { + return str.substring(0, match.length) === match; +} + +// Check if a string ends with another string without using es6 features +function endsWith(str: string, match: string): boolean { + return str.length >= match.length && str.substring(str.length - match.length) === match; +} + +const nullableSuffix = " | null"; +const optionalSuffix = " | undefined"; +const arrayPrefix = "Array<"; +const arraySuffix = ">"; +const mapPrefix = "{ [key: string]: "; +const mapSuffix = "; }"; + export class ObjectSerializer { public static findCorrectType(data: any, expectedType: string) { if (data == undefined) { @@ -87,20 +104,35 @@ export class ObjectSerializer { } } - public static serialize(data: any, type: string) { + public static serialize(data: any, type: string): any { if (data == undefined) { return data; } else if (primitives.indexOf(type.toLowerCase()) !== -1) { return data; - } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 - let subType: string = type.replace("Array<", ""); // Array => Type> - subType = subType.substring(0, subType.length - 1); // Type> => Type + } else if (endsWith(type, nullableSuffix)) { + let subType: string = type.slice(0, -nullableSuffix.length); // Type | null => Type + return ObjectSerializer.serialize(data, subType); + } else if (endsWith(type, optionalSuffix)) { + let subType: string = type.slice(0, -optionalSuffix.length); // Type | undefined => Type + return ObjectSerializer.serialize(data, subType); + } else if (startsWith(type, arrayPrefix)) { + let subType: string = type.slice(arrayPrefix.length, -arraySuffix.length); // Array => Type let transformedData: any[] = []; for (let index = 0; index < data.length; index++) { let datum = data[index]; transformedData.push(ObjectSerializer.serialize(datum, subType)); } return transformedData; + } else if (startsWith(type, mapPrefix)) { + let subType: string = type.slice(mapPrefix.length, -mapSuffix.length); // { [key: string]: Type; } => Type + let transformedData: { [key: string]: any } = {}; + for (let key in data) { + transformedData[key] = ObjectSerializer.serialize( + data[key], + subType, + ); + } + return transformedData; } else if (type === "Date") { return data.toISOString(); } else { @@ -125,22 +157,37 @@ export class ObjectSerializer { } } - public static deserialize(data: any, type: string) { + public static deserialize(data: any, type: string): any { // polymorphism may change the actual type. type = ObjectSerializer.findCorrectType(data, type); if (data == undefined) { return data; } else if (primitives.indexOf(type.toLowerCase()) !== -1) { return data; - } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 - let subType: string = type.replace("Array<", ""); // Array => Type> - subType = subType.substring(0, subType.length - 1); // Type> => Type + } else if (endsWith(type, nullableSuffix)) { + let subType: string = type.slice(0, -nullableSuffix.length); // Type | null => Type + return ObjectSerializer.deserialize(data, subType); + } else if (endsWith(type, optionalSuffix)) { + let subType: string = type.slice(0, -optionalSuffix.length); // Type | undefined => Type + return ObjectSerializer.deserialize(data, subType); + } else if (startsWith(type, arrayPrefix)) { + let subType: string = type.slice(arrayPrefix.length, -arraySuffix.length); // Array => Type let transformedData: any[] = []; for (let index = 0; index < data.length; index++) { let datum = data[index]; transformedData.push(ObjectSerializer.deserialize(datum, subType)); } return transformedData; + } else if (startsWith(type, mapPrefix)) { + let subType: string = type.slice(mapPrefix.length, -mapSuffix.length); // { [key: string]: Type; } => Type + let transformedData: { [key: string]: any } = {}; + for (let key in data) { + transformedData[key] = ObjectSerializer.deserialize( + data[key], + subType, + ); + } + return transformedData; } else if (type === "Date") { return new Date(data); } else { diff --git a/clients/typescript-redux-query/generated/.openapi-generator/VERSION b/clients/typescript-redux-query/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-redux-query/generated/.openapi-generator/VERSION +++ b/clients/typescript-redux-query/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript-rxjs/generated/.openapi-generator/VERSION b/clients/typescript-rxjs/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript-rxjs/generated/.openapi-generator/VERSION +++ b/clients/typescript-rxjs/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript/generated/.gitattributes b/clients/typescript/generated/.gitattributes new file mode 100644 index 0000000..7bf5a17 --- /dev/null +++ b/clients/typescript/generated/.gitattributes @@ -0,0 +1,8 @@ +**/* linguist-generated +*.md linguist-documentation + +.gitattributes text +.gitattributes export-ignore + +.gitignore text +.gitignore export-ignore diff --git a/clients/typescript/generated/.openapi-generator/FILES b/clients/typescript/generated/.openapi-generator/FILES index faa6830..8879328 100644 --- a/clients/typescript/generated/.openapi-generator/FILES +++ b/clients/typescript/generated/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.gitattributes .gitignore .openapi-generator-ignore DefaultApi.md diff --git a/clients/typescript/generated/.openapi-generator/VERSION b/clients/typescript/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/typescript/generated/.openapi-generator/VERSION +++ b/clients/typescript/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/typescript/generated/DefaultApi.md b/clients/typescript/generated/DefaultApi.md index 96ccd8b..78427d5 100644 --- a/clients/typescript/generated/DefaultApi.md +++ b/clients/typescript/generated/DefaultApi.md @@ -18,17 +18,15 @@ Return a list of all products. Each of these can be used for the other API endpo ```typescript -import { } from ''; -import * as fs from 'fs'; +import { createConfiguration, DefaultApi } from ''; -const configuration = .createConfiguration(); -const apiInstance = new .DefaultApi(configuration); +const configuration = createConfiguration(); +const apiInstance = new DefaultApi(configuration); -let body:any = {}; +const request = {}; -apiInstance.getApiAllJson(body).then((data:any) => { - console.log('API called successfully. Returned data: ' + data); -}).catch((error:any) => console.error(error)); +const data = await apiInstance.getApiAllJson(request); +console.log('API called successfully. Returned data:', data); ``` @@ -66,22 +64,21 @@ Gets details of a single cycle ```typescript -import { } from ''; -import * as fs from 'fs'; +import { createConfiguration, DefaultApi } from ''; +import type { DefaultApiGetApiProductCycleJsonRequest } from ''; -const configuration = .createConfiguration(); -const apiInstance = new .DefaultApi(configuration); +const configuration = createConfiguration(); +const apiInstance = new DefaultApi(configuration); -let body:.DefaultApiGetApiProductCycleJsonRequest = { - // string | Product URL as per the canonical URL on the endofife.date website +const request: DefaultApiGetApiProductCycleJsonRequest = { + // Product URL as per the canonical URL on the endofife.date website product: "product_example", - // string | Release Cycle for which the details must be fetched + // Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. cycle: "cycle_example", }; -apiInstance.getApiProductCycleJson(body).then((data:any) => { - console.log('API called successfully. Returned data: ' + data); -}).catch((error:any) => console.error(error)); +const data = await apiInstance.getApiProductCycleJson(request); +console.log('API called successfully. Returned data:', data); ``` @@ -90,7 +87,7 @@ apiInstance.getApiProductCycleJson(body).then((data:any) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **product** | [**string**] | Product URL as per the canonical URL on the endofife.date website | defaults to undefined - **cycle** | [**string**] | Release Cycle for which the details must be fetched | defaults to undefined + **cycle** | [**string**] | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. | defaults to undefined ### Return type @@ -123,20 +120,19 @@ Get EoL dates of all cycles of a given product. ```typescript -import { } from ''; -import * as fs from 'fs'; +import { createConfiguration, DefaultApi } from ''; +import type { DefaultApiGetApiProductJsonRequest } from ''; -const configuration = .createConfiguration(); -const apiInstance = new .DefaultApi(configuration); +const configuration = createConfiguration(); +const apiInstance = new DefaultApi(configuration); -let body:.DefaultApiGetApiProductJsonRequest = { - // string | Product URL as per the canonical URL on the endofife.date website +const request: DefaultApiGetApiProductJsonRequest = { + // Product URL as per the canonical URL on the endofife.date website product: "product_example", }; -apiInstance.getApiProductJson(body).then((data:any) => { - console.log('API called successfully. Returned data: ' + data); -}).catch((error:any) => console.error(error)); +const data = await apiInstance.getApiProductJson(request); +console.log('API called successfully. Returned data:', data); ``` diff --git a/clients/typescript/generated/apis/DefaultApi.ts b/clients/typescript/generated/apis/DefaultApi.ts index 6ed75ae..58454a1 100644 --- a/clients/typescript/generated/apis/DefaultApi.ts +++ b/clients/typescript/generated/apis/DefaultApi.ts @@ -43,7 +43,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory { * Gets details of a single cycle * Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public async getApiProductCycleJson(product: string, cycle: string, _options?: Configuration): Promise { let _config = _options || this.configuration; diff --git a/clients/typescript/generated/http/http.ts b/clients/typescript/generated/http/http.ts index 4f24155..b0d0d47 100644 --- a/clients/typescript/generated/http/http.ts +++ b/clients/typescript/generated/http/http.ts @@ -33,6 +33,8 @@ export class HttpException extends Error { */ export type RequestBody = undefined | string | FormData | URLSearchParams; +type Headers = Record; + function ensureAbsoluteUrl(url: string) { if (url.startsWith("http://") || url.startsWith("https://")) { return url; @@ -44,7 +46,7 @@ function ensureAbsoluteUrl(url: string) { * Represents an HTTP request context */ export class RequestContext { - private headers: { [key: string]: string } = {}; + private headers: Headers = {}; private body: RequestBody = undefined; private url: URL; @@ -93,7 +95,7 @@ export class RequestContext { return this.httpMethod; } - public getHeaders(): { [key: string]: string } { + public getHeaders(): Headers { return this.headers; } @@ -105,6 +107,10 @@ export class RequestContext { this.url.searchParams.set(name, value); } + public appendQueryParam(name: string, value: string) { + this.url.searchParams.append(name, value); + } + /** * Sets a cookie with the name and value. NO check for duplicate cookies is performed * @@ -156,7 +162,7 @@ export class SelfDecodingBody implements ResponseBody { export class ResponseContext { public constructor( public httpStatusCode: number, - public headers: { [key: string]: string }, + public headers: Headers, public body: ResponseBody ) {} @@ -167,8 +173,8 @@ export class ResponseContext { * Parameter names are converted to lower case * The first parameter is returned with the key `""` */ - public getParsedHeader(headerName: string): { [parameter: string]: string } { - const result: { [parameter: string]: string } = {}; + public getParsedHeader(headerName: string): Headers { + const result: Headers = {}; if (!this.headers[headerName]) { return result; } @@ -241,7 +247,7 @@ export function wrapHttpLibrary(promiseHttpLibrary: PromiseHttpLibrary): HttpLib export class HttpInfo extends ResponseContext { public constructor( public httpStatusCode: number, - public headers: { [key: string]: string }, + public headers: Headers, public body: ResponseBody, public data: T, ) { diff --git a/clients/typescript/generated/index.ts b/clients/typescript/generated/index.ts index 89069bd..6d00126 100644 --- a/clients/typescript/generated/index.ts +++ b/clients/typescript/generated/index.ts @@ -2,11 +2,11 @@ export * from "./http/http"; export * from "./auth/auth"; export * from "./models/all"; export { createConfiguration } from "./configuration" -export { Configuration } from "./configuration" +export type { Configuration } from "./configuration" export * from "./apis/exception"; export * from "./servers"; export { RequiredError } from "./apis/baseapi"; -export { PromiseMiddleware as Middleware } from './middleware'; +export type { PromiseMiddleware as Middleware } from './middleware'; export { PromiseDefaultApi as DefaultApi } from './types/PromiseAPI'; diff --git a/clients/typescript/generated/models/Cycle.ts b/clients/typescript/generated/models/Cycle.ts index 5113fcb..b20a0fb 100644 --- a/clients/typescript/generated/models/Cycle.ts +++ b/clients/typescript/generated/models/Cycle.ts @@ -41,6 +41,8 @@ export class Cycle { static readonly discriminator: string | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "cycle", @@ -98,4 +100,3 @@ export class Cycle { public constructor() { } } - diff --git a/clients/typescript/generated/models/CycleCycle.ts b/clients/typescript/generated/models/CycleCycle.ts index 0afb0ff..6e3c7c1 100644 --- a/clients/typescript/generated/models/CycleCycle.ts +++ b/clients/typescript/generated/models/CycleCycle.ts @@ -19,6 +19,8 @@ export class CycleCycle { static readonly discriminator: string | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ ]; @@ -29,4 +31,3 @@ export class CycleCycle { public constructor() { } } - diff --git a/clients/typescript/generated/models/CycleDiscontinued.ts b/clients/typescript/generated/models/CycleDiscontinued.ts index ef1b681..f117878 100644 --- a/clients/typescript/generated/models/CycleDiscontinued.ts +++ b/clients/typescript/generated/models/CycleDiscontinued.ts @@ -19,6 +19,8 @@ export class CycleDiscontinued { static readonly discriminator: string | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ ]; @@ -29,4 +31,3 @@ export class CycleDiscontinued { public constructor() { } } - diff --git a/clients/typescript/generated/models/CycleEol.ts b/clients/typescript/generated/models/CycleEol.ts index f99d0fd..875171b 100644 --- a/clients/typescript/generated/models/CycleEol.ts +++ b/clients/typescript/generated/models/CycleEol.ts @@ -19,6 +19,8 @@ export class CycleEol { static readonly discriminator: string | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ ]; @@ -29,4 +31,3 @@ export class CycleEol { public constructor() { } } - diff --git a/clients/typescript/generated/models/CycleLts.ts b/clients/typescript/generated/models/CycleLts.ts index 5a1d457..4bc845f 100644 --- a/clients/typescript/generated/models/CycleLts.ts +++ b/clients/typescript/generated/models/CycleLts.ts @@ -19,6 +19,8 @@ export class CycleLts { static readonly discriminator: string | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ ]; @@ -29,4 +31,3 @@ export class CycleLts { public constructor() { } } - diff --git a/clients/typescript/generated/models/CycleSupport.ts b/clients/typescript/generated/models/CycleSupport.ts index a8fb79d..475bdb9 100644 --- a/clients/typescript/generated/models/CycleSupport.ts +++ b/clients/typescript/generated/models/CycleSupport.ts @@ -19,6 +19,8 @@ export class CycleSupport { static readonly discriminator: string | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ ]; @@ -29,4 +31,3 @@ export class CycleSupport { public constructor() { } } - diff --git a/clients/typescript/generated/models/ObjectSerializer.ts b/clients/typescript/generated/models/ObjectSerializer.ts index b9e6167..dc8c8f9 100644 --- a/clients/typescript/generated/models/ObjectSerializer.ts +++ b/clients/typescript/generated/models/ObjectSerializer.ts @@ -88,6 +88,13 @@ const supportedMimeTypePredicatesWithPriority: MimeTypePredicate[] = [ isFormUrlencodedMimeType, ]; +const nullableSuffix = " | null"; +const optionalSuffix = " | undefined"; +const arrayPrefix = "Array<"; +const arraySuffix = ">"; +const mapPrefix = "{ [key: string]: "; +const mapSuffix = "; }"; + export class ObjectSerializer { public static findCorrectType(data: any, expectedType: string) { if (data == undefined) { @@ -112,8 +119,11 @@ export class ObjectSerializer { } else { if (data[discriminatorProperty]) { var discriminatorType = data[discriminatorProperty]; - if(typeMap[discriminatorType]){ - return discriminatorType; // use the type given in the discriminator + let mapping = typeMap[expectedType].mapping; + if (mapping != undefined && mapping[discriminatorType]) { + return mapping[discriminatorType]; // use the type given in the discriminator + } else if(typeMap[discriminatorType]) { + return discriminatorType; } else { return expectedType; // discriminator did not map to a type } @@ -124,19 +134,35 @@ export class ObjectSerializer { } } - public static serialize(data: any, type: string, format: string) { + public static serialize(data: any, type: string, format: string): any { if (data == undefined) { return data; } else if (primitives.indexOf(type.toLowerCase()) !== -1) { return data; - } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 - let subType: string = type.replace("Array<", ""); // Array => Type> - subType = subType.substring(0, subType.length - 1); // Type> => Type + } else if (type.endsWith(nullableSuffix)) { + let subType: string = type.slice(0, -nullableSuffix.length); // Type | null => Type + return ObjectSerializer.serialize(data, subType, format); + } else if (type.endsWith(optionalSuffix)) { + let subType: string = type.slice(0, -optionalSuffix.length); // Type | undefined => Type + return ObjectSerializer.serialize(data, subType, format); + } else if (type.startsWith(arrayPrefix)) { + let subType: string = type.slice(arrayPrefix.length, -arraySuffix.length); // Array => Type let transformedData: any[] = []; for (let date of data) { transformedData.push(ObjectSerializer.serialize(date, subType, format)); } return transformedData; + } else if (type.startsWith(mapPrefix)) { + let subType: string = type.slice(mapPrefix.length, -mapSuffix.length); // { [key: string]: Type; } => Type + let transformedData: { [key: string]: any } = {}; + for (let key in data) { + transformedData[key] = ObjectSerializer.serialize( + data[key], + subType, + format, + ); + } + return transformedData; } else if (type === "Date") { if (format == "date") { let month = data.getMonth()+1 @@ -169,21 +195,37 @@ export class ObjectSerializer { } } - public static deserialize(data: any, type: string, format: string) { + public static deserialize(data: any, type: string, format: string): any { // polymorphism may change the actual type. type = ObjectSerializer.findCorrectType(data, type); if (data == undefined) { return data; } else if (primitives.indexOf(type.toLowerCase()) !== -1) { return data; - } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 - let subType: string = type.replace("Array<", ""); // Array => Type> - subType = subType.substring(0, subType.length - 1); // Type> => Type + } else if (type.endsWith(nullableSuffix)) { + let subType: string = type.slice(0, -nullableSuffix.length); // Type | null => Type + return ObjectSerializer.deserialize(data, subType, format); + } else if (type.endsWith(optionalSuffix)) { + let subType: string = type.slice(0, -optionalSuffix.length); // Type | undefined => Type + return ObjectSerializer.deserialize(data, subType, format); + } else if (type.startsWith(arrayPrefix)) { + let subType: string = type.slice(arrayPrefix.length, -arraySuffix.length); // Array => Type let transformedData: any[] = []; for (let date of data) { transformedData.push(ObjectSerializer.deserialize(date, subType, format)); } return transformedData; + } else if (type.startsWith(mapPrefix)) { + let subType: string = type.slice(mapPrefix.length, -mapSuffix.length); // { [key: string]: Type; } => Type + let transformedData: { [key: string]: any } = {}; + for (let key in data) { + transformedData[key] = ObjectSerializer.deserialize( + data[key], + subType, + format, + ); + } + return transformedData; } else if (type === "Date") { return new Date(data); } else { diff --git a/clients/typescript/generated/package.json b/clients/typescript/generated/package.json index 26878da..ce47167 100644 --- a/clients/typescript/generated/package.json +++ b/clients/typescript/generated/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/clients/typescript/generated/types/ObjectParamAPI.ts b/clients/typescript/generated/types/ObjectParamAPI.ts index 6b74973..39d8d89 100644 --- a/clients/typescript/generated/types/ObjectParamAPI.ts +++ b/clients/typescript/generated/types/ObjectParamAPI.ts @@ -17,12 +17,14 @@ export interface DefaultApiGetApiAllJsonRequest { export interface DefaultApiGetApiProductCycleJsonRequest { /** * Product URL as per the canonical URL on the endofife.date website + * Defaults to: undefined * @type string * @memberof DefaultApigetApiProductCycleJson */ product: string /** - * Release Cycle for which the details must be fetched + * Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. + * Defaults to: undefined * @type string * @memberof DefaultApigetApiProductCycleJson */ @@ -32,6 +34,7 @@ export interface DefaultApiGetApiProductCycleJsonRequest { export interface DefaultApiGetApiProductJsonRequest { /** * Product URL as per the canonical URL on the endofife.date website + * Defaults to: undefined * @type string * @memberof DefaultApigetApiProductJson */ diff --git a/clients/typescript/generated/types/ObservableAPI.ts b/clients/typescript/generated/types/ObservableAPI.ts index b68559f..8c3207c 100644 --- a/clients/typescript/generated/types/ObservableAPI.ts +++ b/clients/typescript/generated/types/ObservableAPI.ts @@ -34,14 +34,14 @@ export class ObservableDefaultApi { // build promise chain let middlewarePreObservable = from(requestContextPromise); - for (let middleware of this.configuration.middleware) { + for (const middleware of this.configuration.middleware) { middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); } return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). pipe(mergeMap((response: ResponseContext) => { let middlewarePostObservable = of(response); - for (let middleware of this.configuration.middleware) { + for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getApiAllJsonWithHttpInfo(rsp))); @@ -60,21 +60,21 @@ export class ObservableDefaultApi { * Gets details of a single cycle * Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public getApiProductCycleJsonWithHttpInfo(product: string, cycle: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.getApiProductCycleJson(product, cycle, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); - for (let middleware of this.configuration.middleware) { + for (const middleware of this.configuration.middleware) { middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); } return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). pipe(mergeMap((response: ResponseContext) => { let middlewarePostObservable = of(response); - for (let middleware of this.configuration.middleware) { + for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getApiProductCycleJsonWithHttpInfo(rsp))); @@ -85,7 +85,7 @@ export class ObservableDefaultApi { * Gets details of a single cycle * Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public getApiProductCycleJson(product: string, cycle: string, _options?: Configuration): Observable { return this.getApiProductCycleJsonWithHttpInfo(product, cycle, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); @@ -101,14 +101,14 @@ export class ObservableDefaultApi { // build promise chain let middlewarePreObservable = from(requestContextPromise); - for (let middleware of this.configuration.middleware) { + for (const middleware of this.configuration.middleware) { middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); } return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). pipe(mergeMap((response: ResponseContext) => { let middlewarePostObservable = of(response); - for (let middleware of this.configuration.middleware) { + for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getApiProductJsonWithHttpInfo(rsp))); diff --git a/clients/typescript/generated/types/PromiseAPI.ts b/clients/typescript/generated/types/PromiseAPI.ts index f828ab5..b2678f0 100644 --- a/clients/typescript/generated/types/PromiseAPI.ts +++ b/clients/typescript/generated/types/PromiseAPI.ts @@ -43,7 +43,7 @@ export class PromiseDefaultApi { * Gets details of a single cycle * Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public getApiProductCycleJsonWithHttpInfo(product: string, cycle: string, _options?: Configuration): Promise> { const result = this.api.getApiProductCycleJsonWithHttpInfo(product, cycle, _options); @@ -54,7 +54,7 @@ export class PromiseDefaultApi { * Gets details of a single cycle * Single cycle details * @param product Product URL as per the canonical URL on the endofife.date website - * @param cycle Release Cycle for which the details must be fetched + * @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD\'s releng/14.0 becomes releng-14.0. */ public getApiProductCycleJson(product: string, cycle: string, _options?: Configuration): Promise { const result = this.api.getApiProductCycleJson(product, cycle, _options); diff --git a/clients/wsdl-schema/generated/.openapi-generator/VERSION b/clients/wsdl-schema/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/wsdl-schema/generated/.openapi-generator/VERSION +++ b/clients/wsdl-schema/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/wsdl-schema/generated/service.wsdl b/clients/wsdl-schema/generated/service.wsdl index edc47bf..d7566a1 100644 --- a/clients/wsdl-schema/generated/service.wsdl +++ b/clients/wsdl-schema/generated/service.wsdl @@ -158,7 +158,7 @@ - Release Cycle for which the details must be fetched + Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. diff --git a/clients/xojo-client/generated/.openapi-generator/VERSION b/clients/xojo-client/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/xojo-client/generated/.openapi-generator/VERSION +++ b/clients/xojo-client/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/xojo-client/generated/OpenAPIClient/APIs/DefaultApi.xojo_code b/clients/xojo-client/generated/OpenAPIClient/APIs/DefaultApi.xojo_code index 36b2cab..c44a6eb 100644 --- a/clients/xojo-client/generated/OpenAPIClient/APIs/DefaultApi.xojo_code +++ b/clients/xojo-client/generated/OpenAPIClient/APIs/DefaultApi.xojo_code @@ -128,7 +128,7 @@ Protected Class DefaultApi // Single cycle details // - // - parameter product: (path) Product URL as per the canonical URL on the endofife.date website - // - parameter cycle: (path) Release Cycle for which the details must be fetched + // - parameter cycle: (path) Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. // // Invokes DefaultApiCallbackHandler.GetApiProductCycleJsonCallback(Cycle) on completion. // diff --git a/clients/xojo-client/generated/README.md b/clients/xojo-client/generated/README.md index 849ad3e..69c7169 100644 --- a/clients/xojo-client/generated/README.md +++ b/clients/xojo-client/generated/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 0.0.1 - Package version: -- Generator version: 7.6.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.XojoClientCodegen For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients) diff --git a/clients/zapier/generated/.openapi-generator/VERSION b/clients/zapier/generated/.openapi-generator/VERSION index 93c8dda..4bc5d61 100644 --- a/clients/zapier/generated/.openapi-generator/VERSION +++ b/clients/zapier/generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/clients/zapier/generated/apis/DefaultApi.js b/clients/zapier/generated/apis/DefaultApi.js index ec9f1f8..311d293 100644 --- a/clients/zapier/generated/apis/DefaultApi.js +++ b/clients/zapier/generated/apis/DefaultApi.js @@ -22,7 +22,6 @@ module.exports = { method: 'GET', removeMissingValuesFrom: { params: true, body: true }, headers: { - 'Authorization': 'Bearer {{bundle.authData.access_token}}', 'Content-Type': '', 'Accept': 'application/json', }, @@ -31,9 +30,9 @@ module.exports = { body: { }, } - return z.request(options).then((response) => { + return z.request(utils.requestOptionsMiddleware(z, bundle, options)).then((response) => { response.throwForStatus(); - const results = response.json; + const results = utils.responseOptionsMiddleware(z, bundle, 'getApiAll.json', response.json); return { data: results }; }) }, @@ -65,7 +64,6 @@ module.exports = { method: 'GET', removeMissingValuesFrom: { params: true, body: true }, headers: { - 'Authorization': 'Bearer {{bundle.authData.access_token}}', 'Content-Type': '', 'Accept': 'application/json', }, @@ -74,9 +72,9 @@ module.exports = { body: { }, } - return z.request(options).then((response) => { + return z.request(utils.requestOptionsMiddleware(z, bundle, options)).then((response) => { response.throwForStatus(); - const results = response.json; + const results = utils.responseOptionsMiddleware(z, bundle, 'getApiProduct.json', response.json); return results; }) }, @@ -101,7 +99,7 @@ module.exports = { }, { key: 'cycle', - label: 'Release Cycle for which the details must be fetched', + label: 'Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.', type: 'string', required: true, }, @@ -115,7 +113,6 @@ module.exports = { method: 'GET', removeMissingValuesFrom: { params: true, body: true }, headers: { - 'Authorization': 'Bearer {{bundle.authData.access_token}}', 'Content-Type': '', 'Accept': 'application/json', }, @@ -124,9 +121,9 @@ module.exports = { body: { }, } - return z.request(options).then((response) => { + return z.request(utils.requestOptionsMiddleware(z, bundle, options)).then((response) => { response.throwForStatus(); - const results = response.json; + const results = utils.responseOptionsMiddleware(z, bundle, 'getApiProductCycle.json', response.json); return results; }) }, diff --git a/clients/zapier/generated/index.js b/clients/zapier/generated/index.js index 8f60b0c..2e98dba 100644 --- a/clients/zapier/generated/index.js +++ b/clients/zapier/generated/index.js @@ -1,5 +1,5 @@ const authentication = require('./authentication'); -const { searchActions, createActions } = require('./operations/actions'); +const { searchActions, createActions, triggers } = require('./operations/actions'); module.exports = { version: require('./package.json').version, @@ -7,4 +7,5 @@ module.exports = { authentication: authentication, searches: searchActions(), creates: createActions(), + triggers: triggers(), }; diff --git a/clients/zapier/generated/operations/actions.js b/clients/zapier/generated/operations/actions.js index ce01812..34af518 100644 --- a/clients/zapier/generated/operations/actions.js +++ b/clients/zapier/generated/operations/actions.js @@ -1,5 +1,5 @@ const DefaultApi = require('../apis/DefaultApi'); -const { searchMiddleware, hasSearchRequisites, isSearchAction } = require('../utils/utils'); +const { triggerMiddleware, isTrigger, searchMiddleware, hasSearchRequisites, isSearchAction, isCreateAction } = require('../utils/utils'); const actions = { [DefaultApi.getApiAll.json.key]: DefaultApi.getApiAll.json, @@ -9,5 +9,6 @@ const actions = { module.exports = { searchActions: () => Object.entries(actions).reduce((actions, [key, value]) => isSearchAction(key) && hasSearchRequisites(value) ? {...actions, [key]: searchMiddleware(value)} : actions, {}), - createActions: () => Object.entries(actions).reduce((actions, [key, value]) => !isSearchAction(key) ? {...actions, [key]: value} : actions, {}), -} \ No newline at end of file + createActions: () => Object.entries(actions).reduce((actions, [key, value]) => isCreateAction(key) ? {...actions, [key]: value} : actions, {}), + triggers: () => Object.entries(actions).reduce((actions, [key, value]) => isTrigger(key) ? {...actions, [key]: triggerMiddleware(value)} : actions, {}), +} diff --git a/clients/zapier/generated/utils/utils.js b/clients/zapier/generated/utils/utils.js index 201a15f..3c787e0 100644 --- a/clients/zapier/generated/utils/utils.js +++ b/clients/zapier/generated/utils/utils.js @@ -23,6 +23,38 @@ const searchMiddleware = (action) => { return action } +const isCreateAction = (key) => { + // TODO: return true if the key is a "create" action for your API + return !isSearchAction(key); +} + +const isTrigger = (key) => { + // TODO: custom logic + return false +} + +const triggerMiddleware = (action) => { + return action +} + +const requestOptionsMiddleware = (z, bundle, requestOptions) => { + // TODO: modify the request options for all outgoing request to your api + // if you are using session authentication without a Bearer token. + // This may be true if your API uses basic authentication or api keys. + return requestOptions +} + +const responseOptionsMiddleware = (z, bundle, key, json) => { + // TODO: modify if your response needs to be transformed before returning the + // data to Zapier. For example, you may need to map an id field to the + // "id" field. For example, map "contactId": 1 to "id": 1. Or wrap your + // response in a json object. For example, { data: response }. + // + // Note that if the type being returned from the endpoint is a primitive + // type, the response is automatically wrapped like this: { data: response }. + return json +} + module.exports = { replacePathParameters: replacePathParameters, childMapping: childMapping, @@ -31,4 +63,9 @@ module.exports = { hasSearchRequisites: hasSearchRequisites, isSearchAction: isSearchAction, searchMiddleware: searchMiddleware, -} \ No newline at end of file + requestOptionsMiddleware: requestOptionsMiddleware, + responseOptionsMiddleware: responseOptionsMiddleware, + isTrigger: isTrigger, + triggerMiddleware: triggerMiddleware, + isCreateAction: isCreateAction, +}