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

It's useful for libraries `springdoc` or `micronaut-openapi`

Fix #4711: check allowableValues for enum.

I'm using springdoc in a spring boot application. I have a controller method which its only parameter is annotated with @Schema(implementation = String.class, allowableValues = {"foo", "bar"}) When I check...

Closes #4672 Instead of following the suggested approach in the issue, a more elegant method was used, where the initialization is delegated to the JVM code for static initialization. See...

According to the [documentation for dictionaries](https://swagger.io/docs/specification/data-models/dictionaries/), they can contain free-form objects which are specified in one of the following forms: ``` type: object "additionalProperties": {} ``` ``` type: object "additionalProperties":...

When save openapi to yaml ( `ObjectMapperFactory.createYaml(true).writeValueAsString(openApi)` ) 1. some fields (with null type) in extensions disappear 2. in licence section "extensions" word appear, but it shouldn't be there As...

## Why - lazy configuration: The lack cause pain when working in a remotely up to date gradle enviroment and - fixed immutable task dependencies: this is a blocker since...

Some properties of `ResolveTask`, like for example `classpath` or `buildClasspath` support lazy configuration and task dependency inference because their type allows assigning a `FileCollection` which supports these Gradle features. Unfortunately...

Currently the Gradle plugin [hardcodes dependencies from `resolve` task to `classes`, `compileJava`, `compileTestJava`, and `testClasses` tasks](https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/SwaggerPlugin.java#L27:L39). There is no need to do any of that because the task dependencies will...