Skip to content

Commit 4232d05

Browse files
committed
Merge branch 'master' into fork/damiankaplon/refs-enum
2 parents efc29d6 + 52c993a commit 4232d05

File tree

31 files changed

+251
-56
lines changed

31 files changed

+251
-56
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
name: Bug Report
3+
about: Report an issue in swagger-core
4+
title: "[Bug]: "
5+
labels: Bug
6+
assignees: ''
7+
---
8+
9+
## Description of the problem/issue
10+
11+
<!--
12+
Provide a clear and concise description of the problem.
13+
To help us understand the issue better, consider including:
14+
- What are you trying to achieve using swagger-core?
15+
- Are specific annotations not behaving as expected? (e.g., @Schema, @Parameter, @Operation)
16+
- Are generated OpenAPI specs missing information or incorrect?
17+
- Are you using swagger-core with JAX-RS, Spring, or another framework?
18+
- Did this issue affect code generation (e.g., Swagger Codegen/OpenAPI Generator)?
19+
-->
20+
21+
## Affected Version
22+
23+
<!-- What version of swagger-core are you using? -->
24+
e.g. 2.2.21
25+
26+
<!-- Can you identify when the issue was introduced?
27+
If yes, please provide the earliest version you know the bug exists in. -->
28+
Earliest version the bug appears in (if known):
29+
e.g. 2.2.17
30+
31+
## Steps to Reproduce
32+
33+
<!-- Provide a step-by-step list on how to reproduce the issue.
34+
Include any relevant OpenAPI definitions, configuration, or code snippets. -->
35+
36+
1. ...
37+
2. ...
38+
3. ...
39+
40+
## Expected Behavior
41+
42+
<!-- What should have happened? -->
43+
44+
## Actual Behavior
45+
46+
<!-- What actually happened instead? -->
47+
48+
## Logs / Stack Traces
49+
50+
<!-- Paste relevant log output or error messages, if any. -->
51+
52+
## Additional Context
53+
54+
<!-- Add any other context, links, or screenshots about the problem here. -->
55+
56+
## Checklist
57+
58+
- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-core/issues) and this is not a duplicate.
59+
- [ ] I have provided sufficient information for maintainers to reproduce the issue.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: Question
3+
about: Ask a question about swagger-core usage or behavior
4+
title: "[Question]: "
5+
labels: Question
6+
assignees: ''
7+
---
8+
9+
## Question
10+
11+
<!--
12+
Please clearly describe your question or the problem you're trying to solve.
13+
To help us answer faster, consider including:
14+
- What are you trying to achieve with swagger-core?
15+
- Which version are you using?
16+
- What have you tried so far?
17+
- Are you encountering unexpected behavior or error messages?
18+
-->
19+
20+
## Affected Version
21+
22+
<!-- What version of swagger-core are you using? -->
23+
e.g. 2.2.21
24+
25+
## Context
26+
27+
<!--
28+
Provide any relevant code snippets, configuration, OpenAPI definitions,
29+
or links to documentation you are referring to.
30+
-->
31+
32+
```java
33+
// Example code snippet here
34+
```
35+
36+
## Additional Details
37+
38+
<!-- Add any other information that might help us understand your question. -->
39+
40+
## Checklist
41+
42+
- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-core/issues) and documentation before asking.
43+
- [ ] I have provided enough information for others to understand my question.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: Feature Request
3+
about: Suggest a new feature or enhancement for swagger-core
4+
title: "[Feature]: "
5+
labels: Feature
6+
assignees: ''
7+
---
8+
9+
## Feature Description
10+
11+
<!--
12+
Describe the feature you'd like to see.
13+
- What problem does it solve?
14+
- How would it improve swagger-core?
15+
- Is it related to OpenAPI spec support, annotation improvements, integration, etc.?
16+
-->
17+
18+
## Use Case
19+
20+
<!--
21+
Explain how you (or others) would use this feature in a real-world project.
22+
Include context to help understand why this is valuable.
23+
-->
24+
25+
## Suggested Solution (optional)
26+
27+
<!--
28+
If you have an idea for how the feature could be implemented, share it here.
29+
This could include proposed APIs, annotations, or behavior.
30+
-->
31+
32+
## Alternatives Considered
33+
34+
<!--
35+
Have you tried other ways to solve this problem?
36+
Are there any existing workarounds?
37+
-->
38+
39+
## Additional Context
40+
41+
<!--
42+
Include any other information, references, or related issues.
43+
Screenshots, links to OpenAPI specs, or code snippets can help too.
44+
-->
45+
46+
## Checklist
47+
48+
- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-core/issues) to ensure this is not a duplicate.
49+
- [ ] This feature would be useful to more than just my use case.
50+
- [ ] I have provided enough detail for the maintainers to understand the scope of the request.

.github/pull_request_template.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Pull Request
2+
3+
Thank you for contributing to **swagger-core**!
4+
5+
Please fill out the following information to help us review your PR efficiently.
6+
7+
---
8+
9+
## Description
10+
11+
<!--
12+
Describe what this PR changes:
13+
- What problem does it solve?
14+
- Is it a bug fix, new feature, or refactor?
15+
- Link to any related issues.
16+
-->
17+
18+
Fixes: <!-- e.g. #123 (optional) -->
19+
20+
## Type of Change
21+
22+
<!-- Check all that apply: -->
23+
24+
- [ ] 🐛 Bug fix
25+
- [ ] ✨ New feature
26+
- [ ] ♻️ Refactor (non-breaking change)
27+
- [ ] 🧪 Tests
28+
- [ ] 📝 Documentation
29+
- [ ] 🧹 Chore (build or tooling)
30+
31+
## Checklist
32+
33+
<!-- Please check all that apply before requesting review: -->
34+
35+
- [ ] I have added/updated tests as needed
36+
- [ ] I have added/updated documentation where applicable
37+
- [ ] The PR title is descriptive
38+
- [ ] The code builds and passes tests locally
39+
- [ ] I have linked related issues (if any)
40+
41+
## Screenshots / Additional Context
42+
43+
<!-- Optional: Add logs, screenshots, or notes for reviewers -->

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ The OpenAPI Specification has undergone several revisions since initial creation
2323

2424
Swagger core Version | Release Date | OpenAPI Spec compatibility | Notes | Status
2525
------------------------- | ------------ | -------------------------- | ----- | ----
26-
2.2.34 (**current stable**)| 2025-06-20 | 3.x | [tag v2.2.34](https://github.com/swagger-api/swagger-core/tree/v2.2.34) | Supported
26+
2.2.35 (**current stable**)| 2025-07-31 | 3.x | [tag v2.2.35](https://github.com/swagger-api/swagger-core/tree/v2.2.35) | Supported
27+
2.2.34 | 2025-06-20 | 3.x | [tag v2.2.34](https://github.com/swagger-api/swagger-core/tree/v2.2.34) | Supported
2728
2.2.33 | 2025-06-12 | 3.x | [tag v2.2.33](https://github.com/swagger-api/swagger-core/tree/v2.2.33) | Supported
2829
2.2.32 | 2025-05-14 | 3.x | [tag v2.2.32](https://github.com/swagger-api/swagger-core/tree/v2.2.32) | Supported
2930
2.2.31 | 2025-05-13 | 3.x | [tag v2.2.31](https://github.com/swagger-api/swagger-core/tree/v2.2.31) | Supported
@@ -127,7 +128,7 @@ You need the following installed and available in your $PATH:
127128
* Jackson 2.4.5 or greater
128129

129130

130-
### To build from source (currently 2.2.35-SNAPSHOT)
131+
### To build from source (currently 2.2.36-SNAPSHOT)
131132
```
132133
# first time building locally
133134
mvn -N

modules/swagger-annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>io.swagger.core.v3</groupId>
55
<artifactId>swagger-project</artifactId>
6-
<version>2.2.35-SNAPSHOT</version>
6+
<version>2.2.36-SNAPSHOT</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/swagger-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>io.swagger.core.v3</groupId>
55
<artifactId>swagger-project</artifactId>
6-
<version>2.2.35-SNAPSHOT</version>
6+
<version>2.2.36-SNAPSHOT</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/swagger-eclipse-transformer-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.swagger.core.v3</groupId>
66
<artifactId>swagger-project</artifactId>
7-
<version>2.2.35-SNAPSHOT</version>
7+
<version>2.2.36-SNAPSHOT</version>
88
<relativePath>../..</relativePath>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>

modules/swagger-gradle-plugin/README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In many cases it is sufficient to set it to the `classpath` value, like:
1414

1515
Alternatively provide as value a classpath with the following dependencies (replacing the provided [`javax` ones](https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/SwaggerPlugin.java#L16-L25)):
1616

17-
* org.apache.commons:commons-lang3:3.12.0
17+
* org.apache.commons:commons-lang3:3.18.0
1818
* io.swagger.core.v3:swagger-jaxrs2-jakarta:2.2.9
1919
* jakarta.ws.rs:jakarta.ws.rs-api:3.0.0
2020
* jakarta.servlet:jakarta.servlet-api:5.0.0
@@ -26,7 +26,7 @@ Alternatively provide as value a classpath with the following dependencies (repl
2626

2727
```
2828
plugins {
29-
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.34"
29+
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.35"
3030
}
3131
```
3232
### Gradle 1.x and 2.0
@@ -43,7 +43,7 @@ buildscript {
4343
}
4444
}
4545
dependencies {
46-
classpath "io.swagger.core.v3:swagger-gradle-plugin:2.2.34"
46+
classpath "io.swagger.core.v3:swagger-gradle-plugin:2.2.35"
4747
}
4848
}
4949
@@ -123,14 +123,13 @@ info:
123123
url: http://www.apache.org/licenses/LICENSE-2.0.html
124124
```
125125
126-
Since version 2.1.6, `sortOutput` parameter is available, allowing to sort object properties and map keys alphabetically.
127-
Since version 2.1.6, `objectMapperProcessorClass` allows to configure also the ObjectMapper instance used to serialize the resolved OpenAPI
128-
Since version 2.1.9, `alwaysResolveAppPath` parameter is available, allowing to trigger resolving of Application Path from annotation also not in runtime (e.g. using servlet in separate application, or in maven plugin at build time, etc)
129-
Since version 2.2.12, `openapi31` parameter is available, if set to true the resolved spec will be processed into a 3.1.0 specification by resolving according to OAS 3.1 rules
130-
Since version 2.1.15, `skipResolveAppPath` parameter is available, allowing to skip resolving of Application Path from annotation
131-
Since version 2.2.17, `defaultResponseCode` parameter is available, allowing to set the code used when resolving responses with no http status code annotation
132-
Since version 2.2.17, `defaultResponseCode` parameter is available, allowing to set the code used when resolving responses with no http status code annotation
133-
Since version 2.2.24, `schemaResolution` parameter is available, allowing to specify how object schemas and object properties within schemas are resolved for OAS 3.0 specification
134-
Since version 2.2.28, `openAPIVersion` parameter is available, allowing to specify the version of the OpenAPI specification to be used for the resolved spec.
135-
Since version 2.2.29, `groupsValidationStrategy` parameter is available, allowing to specify the strategy for resolving Validation annotations (`never`, `always`, `neverIfNoContext`).
136-
Since version 2.2.29, `validatorProcessorClass` parameter is available, allowing to specify a custom validator processor class, implementation of `io.swagger.v3.core.util.ValidatorProcessor`.
126+
- Since version 2.1.6, `sortOutput` parameter is available, allowing to sort object properties and map keys alphabetically.
127+
- Since version 2.1.6, `objectMapperProcessorClass` allows to configure also the ObjectMapper instance used to serialize the resolved OpenAPI
128+
- Since version 2.1.9, `alwaysResolveAppPath` parameter is available, allowing to trigger resolving of Application Path from annotation also not in runtime (e.g. using servlet in separate application, or in maven plugin at build time, etc)
129+
- Since version 2.2.12, `openapi31` parameter is available, if set to true the resolved spec will be processed into a 3.1.0 specification by resolving according to OAS 3.1 rules
130+
- Since version 2.1.15, `skipResolveAppPath` parameter is available, allowing to skip resolving of Application Path from annotation
131+
- Since version 2.2.17, `defaultResponseCode` parameter is available, allowing to set the code used when resolving responses with no http status code annotation
132+
- Since version 2.2.24, `schemaResolution` parameter is available, allowing to specify how object schemas and object properties within schemas are resolved for OAS 3.0 specification
133+
- Since version 2.2.28, `openAPIVersion` parameter is available, allowing to specify the version of the OpenAPI specification to be used for the resolved spec.
134+
- Since version 2.2.29, `groupsValidationStrategy` parameter is available, allowing to specify the strategy for resolving Validation annotations (`never`, `always`, `neverIfNoContext`).
135+
- Since version 2.2.29, `validatorProcessorClass` parameter is available, allowing to specify a custom validator processor class, implementation of `io.swagger.v3.core.util.ValidatorProcessor`.

modules/swagger-gradle-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ compileJava {
2424

2525
dependencies {
2626
implementation gradleApi()
27-
implementation 'org.apache.commons:commons-lang3:3.14.0'
27+
implementation 'org.apache.commons:commons-lang3:3.18.0'
2828

2929
testImplementation gradleTestKit()
3030
testImplementation('com.github.tomakehurst:wiremock:2.27.2') {

0 commit comments

Comments
 (0)