swagger-core
swagger-core copied to clipboard
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
If a property has no annotation, but only a getter, it should be read-only. For example. ```java public class Cap { public String getBrand() { return "no brand"; } }...
I have a jaxrs endpoint which has to accept a complicated multipart message using Jersey. This is the endpoint: ``` @POST @Consumes("multipart/mixed") @Produces("application/json") @Path("tool/{id}/pipelineparams") @Operation(summary = "Does something", requestBody =...
Dependency: io.swagger.core.v3:swagger-jaxrs2:2.0.10 I'm trying to add `@Hidden` annotation to my class to remove it from the `yaml`, but it is not working. If I add it to a field, it...
[MRE](https://github.com/swagger-api/swagger-core/files/14922879/openapi-mre.zip) # Steps To Repro 1. unzip the MRE 2. mvn clean install 3. mvn spring-boot:run 4. navigate to http://localhost:8080/swagger-ui.html in browser # Expected Swagger UI # Observed ``` SEVERE:...
# Problem I need a JSONSchema URL to type some entity (such as a JSONFile, yaml file), e.g.: ```json5 { "$schema": "https://petstore.com/api/schemas/foo/bar", "bar": { ... } } ``` ...but such...
The cast to ComposedSchema here: https://github.com/swagger-api/swagger-core/blob/95c8253c5239f6e980acd0b2998d037b35eb8761/modules/swagger-core/src/main/ java/io/swagger/v3/core/util/AnnotationsUtils.java#L827 https://github.com/swagger-api/swagger-core/blob/95c8253c5239f6e980acd0b2998d037b35eb8761/modules/swagger-core/src/main/ java/io/swagger/v3/core/util/AnnotationsUtils.java#L834 https://github.com/swagger-api/swagger-core/blob/95c8253c5239f6e980acd0b2998d037b35eb8761/modules/swagger-core/src/main/ java/io/swagger/v3/core/util/AnnotationsUtils.java#L841  Will cause a ClassCastException when generating OpenAPI 3.1 ComposedSchema is only created when OpenAPI is not 3.1. See:...
Bumps commons-io:commons-io from 2.11.0 to 2.16.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...
Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.6.4 to 3.12.0. Release notes Sourced from org.apache.maven.plugins:maven-plugin-plugin's releases. 3.12.0 Release Notes - Maven Plugin Tools - Version 3.12.0 3.11.0 Release Notes - Maven Plugin Tools -...
Bumps [org.apache.maven.plugins:maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.3.0 to 3.3.1. Commits f80596e [maven-release-plugin] prepare release maven-source-plugin-3.3.1 7626998 Bump apache/maven-gh-actions-shared from 3 to 4 83c963c Bump org.apache.maven.plugins:maven-plugins from 39 to 41 (#18) 40ae495 Bump org.codehaus.plexus:plexus-archiver...
Dears, I'm not sure whether this is a bug or a misunderstanding on me... --- env: Gradle + Kotlin + swagger-core jax-rs version: swagger-core 2.2.21 --- In my use case,...