Skip to content

Comments

Update swagger3 to v2.2.43#3077

Open
solrbot wants to merge 3 commits intoapache:mainfrom
solrbot:renovate/swagger3
Open

Update swagger3 to v2.2.43#3077
solrbot wants to merge 3 commits intoapache:mainfrom
solrbot:renovate/swagger3

Conversation

@solrbot
Copy link
Collaborator

@solrbot solrbot commented Jan 24, 2025

This PR contains the following updates:

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

Release Notes

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

v2.2.43: Swagger-core 2.2.43 released!

  • fix: add missing @​ArraysSchema.arraySchema properties (#​5049)
  • refactor: introduce class responsible for how bean validation annotations affect schemas (#​5047)
  • fix: treat example values starting with numbers as strings (#​5046)
  • refactor: add an overloaded method for resolving required so that the field type can be utilized (#​5042)
  • test: Add test showing how @​JsonSubTypes can be used with @​Schema-oneOf annotations (#​5030)
  • chore: update commons-lang3 to 3.20 (#​5026)

v2.2.42: Swagger-core 2.2.42 released!

  • fix: apply minItems/minLength from @​NotEmpty/@​NotBlank regardless of requiredMode (#​5033)
  • chore: update logback-core dependency (#​5029)

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 (#​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 - Only on Sunday ( * * * * 0 ) (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

@github-actions github-actions bot added dependencies Dependency upgrades tool:build labels Jan 24, 2025
@solrbot
Copy link
Collaborator Author

solrbot commented Jan 24, 2025

⚠️ 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-jetty: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.43']
> 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.43']
> 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 9s

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.43']
> 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 9s

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.43']
> 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 9s

@solrbot solrbot force-pushed the renovate/swagger3 branch 3 times, most recently from 73ab527 to f24314e Compare February 9, 2025 20:19
@solrbot solrbot changed the title chore(deps): update swagger3 to v2.2.28 Update swagger3 to v2.2.28 Feb 11, 2025
@solrbot solrbot changed the title Update swagger3 to v2.2.28 chore(deps): update swagger3 to v2.2.28 Feb 15, 2025
@solrbot solrbot changed the title chore(deps): update swagger3 to v2.2.28 Update swagger3 to v2.2.28 Feb 16, 2025
@solrbot solrbot changed the title Update swagger3 to v2.2.28 chore(deps): update swagger3 to v2.2.28 Feb 16, 2025
@solrbot solrbot changed the title chore(deps): update swagger3 to v2.2.28 Update swagger3 to v2.2.28 Feb 26, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from e6002c7 to b4343cf Compare March 10, 2025 16:15
@solrbot solrbot changed the title Update swagger3 to v2.2.28 Update swagger3 to v2.2.29 Mar 10, 2025
@solrbot solrbot changed the title Update swagger3 to v2.2.29 chore(deps): update swagger3 to v2.2.29 Mar 21, 2025
@solrbot solrbot changed the title chore(deps): update swagger3 to v2.2.29 Update swagger3 to v2.2.29 Mar 22, 2025
@solrbot solrbot changed the title Update swagger3 to v2.2.29 chore(deps): update swagger3 to v2.2.29 Mar 24, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from b4343cf to 450b613 Compare March 26, 2025 01:24
@solrbot solrbot changed the title chore(deps): update swagger3 to v2.2.29 Update swagger3 to v2.2.29 Apr 3, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from 450b613 to 90babcf Compare April 7, 2025 12:24
@solrbot solrbot changed the title Update swagger3 to v2.2.29 Update swagger3 to v2.2.30 Apr 7, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from 90babcf to 0f2dcf6 Compare May 26, 2025 07:50
@solrbot solrbot changed the title Update swagger3 to v2.2.30 Update swagger3 to v2.2.32 May 26, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from 0f2dcf6 to dc0c12d Compare June 13, 2025 08:33
@solrbot solrbot changed the title Update swagger3 to v2.2.32 Update swagger3 to v2.2.33 Jun 13, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from dc0c12d to 6603784 Compare June 20, 2025 12:45
@solrbot solrbot changed the title Update swagger3 to v2.2.33 Update swagger3 to v2.2.34 Jun 20, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch from 6603784 to c9047f3 Compare August 4, 2025 08:51
@solrbot solrbot changed the title Update swagger3 to v2.2.36 Update swagger3 Sep 21, 2025
@solrbot solrbot changed the title Update swagger3 Update swagger3 to v2.2.37 Sep 21, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch 2 times, most recently from 29595eb to a0a02f3 Compare October 4, 2025 12:55
@solrbot solrbot changed the title Update swagger3 to v2.2.37 Update swagger3 to v2.2.38 Oct 4, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch 3 times, most recently from 472b77e to 932203a Compare October 18, 2025 12:57
@solrbot solrbot changed the title Update swagger3 to v2.2.38 Update swagger3 to v2.2.39 Oct 18, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch 3 times, most recently from f7c7fcd to 778d5a2 Compare October 23, 2025 02:26
@solrbot solrbot changed the title Update swagger3 to v2.2.39 Update swagger3 to v2.2.40 Nov 2, 2025
@solrbot solrbot changed the title Update swagger3 to v2.2.40 Update swagger3 to v2.2.41 Nov 29, 2025
@solrbot solrbot force-pushed the renovate/swagger3 branch 3 times, most recently from 49fe955 to 56653ca Compare December 18, 2025 20:53
@solrbot solrbot changed the title Update swagger3 to v2.2.41 Update swagger3 to v2.2.42 Jan 27, 2026
@solrbot solrbot changed the title Update swagger3 to v2.2.42 Update swagger3 to v2.2.43 Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency upgrades tool:build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant