swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API

Results 365 swagger-core issues
Sort by recently updated
recently updated
newest added

**Swagger Core Version: 2.2.12** I have a very simple REST API to explain the problem I'm having. The model looks like following: ![image](https://i.stack.imgur.com/gkTZL.png) When I go to swagger-ui page, the...

**shouldScan** method parameter does nothing inside setScan(boolean shouldScan) swagger-jaxrs BeanConfig.java ``` public void setScan(boolean shouldScan) { scanAndRead(); new SwaggerContextService() .withConfigId(configId) .withScannerId(scannerId) .withContextId(contextId) .withServletConfig(servletConfig) .withSwaggerConfig(this) .withScanner(this) .withBasePath(getBasePath()) .withPathBasedConfig(isUsePathBasedConfig()) .initConfig() .initScanner(); }...

We are trying to represent a tree of logic operators with Dtos using simple inheritance. This is essentially what our Dtos look like: ```java @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY,...

Hi! description: we detect that some assertions in your test code have the wrong parameter orders. For example, the test case named ''getParameterAnnotationsTest()'' in ''ReflectionUtilsTest.java'' writes the assertion as ![截屏2022-08-15...

When I use serialization of io.swagger.v3.oas.models.OpenAPI I got following exception in the log (28 times), it looks as though it does not impact on generated JSON file. (!) JDK 18...

Hello, is it possible to specify `servers` in the generated `swagger.json` in any way, besides manually editing it? I am using an external configuation file `openapi-configuration.yaml` together with `swagger-maven-plugin` in...

I am updating a project from Swagger v2. I found that the `required` attribute of `@Schema` is deprecated, and `requiredMode` should be used instead. The default value of `requiredMode` is...

XFrog triggers an alert on packages io.swagger.core : - swagger-annotations-jakarta - swagger-models-jakarta - swagger-core-jakarta https://blog.oversecured.com/Introducing-MavenGate-a-supply-chain-attack-method-for-Java-and-Android-applications https://www.sonatype.com/sonatypes-ongoing-commitment-to-maven-central

According to [wiki](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Getting-started#note-jakarta-namespace-support-since-version-217), jakarta namespace is supported by dedicated artifacts, which means that swagger-core should depend on old (pre-jakarta) dependencies: 1. jakarta.xml.bind-api -> jaxb-api ([here](https://github.com/swagger-api/swagger-core/blob/2344ce4c9c0c6e667d6e441bb0516e6df28750c6/modules/swagger-core/pom.xml#L56)) 2. jakarta.validation-api -> validation-api ([here](https://github.com/swagger-api/swagger-core/blob/2344ce4c9c0c6e667d6e441bb0516e6df28750c6/modules/swagger-core/pom.xml#L126C25-L126C47))...

Hi, I got bounced here from CXF Jira so I apologize in advance if it's not the right place to open this issue. Basic repro project is here: https://github.com/apache/cxf/tree/cxf-3.4.3/distribution/src/main/release/samples/jax_rs/description_openapi_v3_web ....