solr icon indicating copy to clipboard operation
solr copied to clipboard

Update swagger3 to v2.2.41

Open solrbot opened this issue 11 months ago • 1 comments

This PR contains the following updates:

Package Type Update Change
io.swagger.core.v3.swagger-gradle-plugin plugin patch 2.2.22 -> 2.2.41
io.swagger.core.v3:swagger-jaxrs2-jakarta dependencies patch 2.2.22 -> 2.2.41
io.swagger.core.v3:swagger-annotations-jakarta dependencies patch 2.2.22 -> 2.2.41

Release Notes

swagger-api/swagger-core (io.swagger.core.v3:swagger-jaxrs2-jakarta)

v2.2.41: Swagger-core 2.2.41 released!

  • Fix/annotated type caching 5003 (#​5005)
  • #​4852 Unit test and fix to allow recursive models to process without StackOverflow (#​5004)
  • fix: Refactor JsonAssert and apply to json/yaml assertions (#​5002)
  • fix: use arraySchema when deciding required of an array (#​4998)
  • fix: NotBlank and NotEmpty annotations follow NotNull behavior (#​4968)

v2.2.40: Swagger-core 2.2.40 released!

  • fix: remove superfluous ref for a composed schema. Fixes #​4959 (#​5000)
  • Bump classgraph version to 4.8.184 (#​4992)
  • fix(test): Make serialization tests robust against key reordering (#​4990)

v2.2.39: Swagger-core 2.2.39 released!

  • chore: remove System.out and printStackTrace to align with Sonar rules S106 and S1148 (#​4988)
  • fix: adjust docs about RequiredMode.AUTO + small refactor (#​4982)
  • Fix a non-deterministic assertion in ServletUtilsTest (#​4981)
  • Fix(core): Prevent redundant schema resolution by fixing AnnotatedType equality (#​4975)

v2.2.38: Swagger-core 2.2.38 released!

  • honor array schema description when generating OpenAPI 3.1 (#​4942)

v2.2.37: Swagger-core 2.2.37 released!

  • fix: prevent leaking properties to enum schema when Schema#implementa… (#​4970)
  • refs enumAsRef Issue 4932 (#​4969)
  • fix: add booleanSchemaValue to Schema's hashCode and equals (#​4958)
  • fix: Fix missing items on nested @​ArraySchema items in OAS 3.1 (#​4949)

v2.2.36: Swagger-core 2.2.36 released!

  • fix: Fix ClassCastException on resolving JsonSchema. This solves issu… (#​4950)

v2.2.35: Swagger-core 2.2.35 released!

  • chore: bump jackson versions to 2.19.2 (#​4943)
  • Bump github classgraph version to 4.8.181 (#​4940)
  • chore: update common lang3 to 3.18 (#​4938)
  • chore: add GitHub issue and pull request templates (#​4934)
  • docs: provide a better formatting for README (#​4930)
  • Revert temp workarounds for sonatype 502 (#​4922)
  • Ticket-4910 | Added FailedApiResponse.java (#​4911)

v2.2.34: Swagger-core 2.2.34 released!

  • fix: add condition for prefixing parameter (#​4916)

v2.2.33: Swagger-core 2.2.33 released!

v2.2.32: Swagger-core 2.2.32 released!

  • Add $dynamicRef (#​4891)
  • chore: migrate Sonatype OSSRH to Central Portal (#​4890)

v2.2.31: Swagger-core 2.2.31 released!

  • Consistent usage of TestNG (#​4885)
  • refs #​4878 - fix model resolution for global path parameters with openAPI 3.1 (#​4884)
  • fix Schema/JSONSchema instance creation for oas31 (#​4883)
  • issue-4850: fix extensions 'x-' prefix decoration for oas 3.1 (#​4880)
  • Add support for jakarta.validation.constraints.Email (#​4876)
  • Include Nonnull annotation from Jakarta Annotations for required items (#​4875)
  • feat: Support other types than string in enum schemas (#​4874)
  • refs #​4065 - fix 'explode' resolution for parameters (#​4873)
  • Add unittest for v3.1 which has both ref and description (#​4815)

v2.2.30: Swagger-core 2.2.30 released!

v2.2.29: Swagger-core 2.2.29 released!

NOTE:

ModelResolver.addRequiredItem breaks compatibility in this version, please use 2.2.30 to get back to a compatible release

v2.2.28: Swagger-core 2.2.28 released!

  • fix DateSchema enum and default serialization (#​4830)
  • update deps (Jackson to 2.18.2, fix quotes in tests) (#​4828)
  • fix #​4316 - additionalProperties and ArraySchema.implementation processing (#​4823)
  • allow specifying openAPI version (e.g. 3.0.4, 3.1.1) (#​4816)
  • Fix: Avoid caching AnnotationIntrospector to support custom module loading (#​4728)

v2.2.27: Swagger-core 2.2.27 released!

  • fix: swagger-api/swagger-ui#10220 (#​4806)
  • Fix for record component annotations on fields with JsonProperty annotations (#​4795)
  • Fix java.lang.NullPointerException and remove stack trace output from ModelResolver (#​4793)
  • Move applySchemaResolution check to a method (#​4791)
  • feat(gradle-plugin): enable lazy evaluation, implicit task dependencies and fixing setEncoding (#​4761)

v2.2.26: Swagger-core 2.2.26 released!

  • fix CI (java17 module substitution) (#​4785)
  • refs #​4771 - schema resolution for container types and oas31 (#​4784)
  • refs-#​4760-Fix enum type annotations processing (#​4780)
  • Fix java record type use annotations support (#​4773)
  • fix findJsonValueType (#​4764)
  • refs-#​4737 add scanning for other OAS elements besides paths (#​4762)
  • bump jetty to 9.4.56.v20240826 (#​4758)
  • Update findJsonValueType method to provide better support for Jackson… (#​4756)
  • Implement Tests to check basic Java Record processing result (#​4749)

v2.2.25: Swagger-core 2.2.25 released!

  • schema resolution options - Phase 4: granular schema resolution via @​Schema.schemaResolution (#​4748)
  • schema resolution options - Phase 3: global all-of-ref (#​4747)
  • add schemaResolution to readme (#​4745)

v2.2.24: Swagger-core 2.2.24 released!

  • Update dependencies (#​4740)
  • Make Jackson ObjectMapper initialization thread safe (#​4739)
  • schema resolution options - Phase 2: global allOf (#​4738)
  • schema resolution options - Phase 1: global inline (#​4735)
  • refs-#​4703/#​4702-@​Pattern/@​Size annotations handling on collections (#​4734)
  • fix-SWG-11909-NPE during webhooks processing with <convertToOpenAPI31> (#​4733)
  • refs #​4715 - change JsonSchemaDialect to one accepted by Swagger-UI (#​4729)
  • Fix thread safety in Json.mapper() (#​4710)
  • Removed unnecessary cast that crashes for 3.1 schema (#​4698)

v2.2.23: Swagger-core 2.2.23 released!


Configuration

📅 Schedule: Branch creation - Every minute ( * * * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

solrbot avatar Jan 24 '25 00:01 solrbot

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: gradle/libs.versions.toml
Command failed: ./gradlew --console=plain --dependency-verification lenient -q :dependencies :platform:dependencies :solr:dependencies :solr:api:dependencies :solr:benchmark:dependencies :solr:core:dependencies :solr:cross-dc-manager:dependencies :solr:distribution:dependencies :solr:docker:dependencies :solr:documentation:dependencies :solr:example:dependencies :solr:modules:dependencies :solr:packaging:dependencies :solr:server:dependencies :solr:solr-ref-guide:dependencies :solr:solrj:dependencies :solr:solrj-streaming:dependencies :solr:solrj-zookeeper:dependencies :solr:test-framework:dependencies :solr:ui:dependencies :solr:webapp:dependencies :solr:modules:analysis-extras:dependencies :solr:modules:clustering:dependencies :solr:modules:cross-dc:dependencies :solr:modules:cuvs:dependencies :solr:modules:extraction:dependencies :solr:modules:gcs-repository:dependencies :solr:modules:jwt-auth:dependencies :solr:modules:langid:dependencies :solr:modules:language-models:dependencies :solr:modules:ltr:dependencies :solr:modules:opentelemetry:dependencies :solr:modules:s3-repository:dependencies :solr:modules:scripting:dependencies :solr:modules:sql:dependencies --update-locks io.swagger.core.v3.swagger-gradle-plugin:io.swagger.core.v3.swagger-gradle-plugin.gradle.plugin,io.swagger.core.v3:swagger-jaxrs2-jakarta,io.swagger.core.v3:swagger-annotations-jakarta

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/renovate/repos/github/apache/solr/solr/api/build.gradle' line: 18

* What went wrong:
An exception occurred applying plugin request [id: 'io.swagger.core.v3.swagger-gradle-plugin', version: '2.2.41']
> Failed to apply plugin 'io.swagger.core.v3.swagger-gradle-plugin'.
   > Could not create task ':solr:api:resolve'.
      > Cannot invoke "org.gradle.api.tasks.SourceSetContainer.getByName(String)" because the return value of "org.gradle.api.plugins.ExtensionContainer.findByType(java.lang.Class)" is null

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 11s

File name: undefined
Command failed: ./gradlew resolveAndLockAll --write-locks

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/renovate/repos/github/apache/solr/solr/api/build.gradle' line: 18

* What went wrong:
An exception occurred applying plugin request [id: 'io.swagger.core.v3.swagger-gradle-plugin', version: '2.2.41']
> Failed to apply plugin 'io.swagger.core.v3.swagger-gradle-plugin'.
   > Could not create task ':solr:api:resolve'.
      > Cannot invoke "org.gradle.api.tasks.SourceSetContainer.getByName(String)" because the return value of "org.gradle.api.plugins.ExtensionContainer.findByType(java.lang.Class)" is null

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 10s

File name: undefined
Command failed: ./gradlew kotlinUpgradeYarnLock

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/renovate/repos/github/apache/solr/solr/api/build.gradle' line: 18

* What went wrong:
An exception occurred applying plugin request [id: 'io.swagger.core.v3.swagger-gradle-plugin', version: '2.2.41']
> Failed to apply plugin 'io.swagger.core.v3.swagger-gradle-plugin'.
   > Could not create task ':solr:api:resolve'.
      > Cannot invoke "org.gradle.api.tasks.SourceSetContainer.getByName(String)" because the return value of "org.gradle.api.plugins.ExtensionContainer.findByType(java.lang.Class)" is null

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 10s

File name: undefined
Command failed: ./gradlew updateLicenses

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/renovate/repos/github/apache/solr/solr/api/build.gradle' line: 18

* What went wrong:
An exception occurred applying plugin request [id: 'io.swagger.core.v3.swagger-gradle-plugin', version: '2.2.41']
> Failed to apply plugin 'io.swagger.core.v3.swagger-gradle-plugin'.
   > Could not create task ':solr:api:resolve'.
      > Cannot invoke "org.gradle.api.tasks.SourceSetContainer.getByName(String)" because the return value of "org.gradle.api.plugins.ExtensionContainer.findByType(java.lang.Class)" is null

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 10s

solrbot avatar Jan 24 '25 12:01 solrbot