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

Swagger Spec to Java POJOs

Results 220 swagger-parser issues
Sort by recently updated
recently updated
newest added

Hi, I'm getting ClassCastException when the same parameter from $ref is used in different places in different APIs. In this PR I've added a test case for this problem. Exception:...

Hi, I've discovered what seems to be an issue when OpenAPIV3Parser parses specifications containing default values for enum types. When **io.swagger.v3.parser.OpenAPIV3Parser#read(java.lang.String)** parses default values for enums, the returned OpenAPI model...

Relates to https://github.com/swagger-api/swagger-parser/issues/1524 - also consistent with swagger-core ObjectMapperFactory that adds JavaTimeModule by default.

Hi team, Please find the attached yml file contents. The Swagger editor validates this yml file to indicate no errors; however, I get the following error when I use the...

Version: 2.0.16 The yaml project is in a structure as follows petstore.yml at root and pet.yml and def.yml in a sub directory named /pet and pet.yml $ref an object definition...

Getting Exception on Windows when reading a API spec packaged in the jar file to validate requests. `OpenAPIV3Parser.readContentFromLocation()` uses the underlying `sun.nio.file.Paths` to find the API specs... on unix, this...

Hi team, This PR is to solve issue #1601 (Parser does not validate GET request with request body) Please review the PR and merge the same. Thanks, Mohammed Rizwan

When trying to convert "swagger" : "2.0" to "openapi" : "3.0.1" in Java project using: swaggerConverter.readContents(content, null, options); with options: ParseOptions options = new ParseOptions(); options.setFlatten(true); options.setResolve(true); using version: '2.0.27'...

See the following repo for a minimal reproduction of this issue: * https://github.com/simondean/swagger-request-validator-filename-issue * https://github.com/simondean/swagger-request-validator-filename-issue/blob/main/src/test/java/IssueDemoTest.java * https://github.com/simondean/swagger-request-validator-filename-issue/blob/main/example-openapi.yaml Here's an example OpenAPI spec that demonstrates the issue: https://github.com/simondean/swagger-request-validator-filename-issue/blob/main/example-openapi.yaml ```yaml openapi: 3.0.1...

Redirected here from https://github.com/swagger-api/swagger-codegen/issues/5080 ##### Description Poor error message on incorrectly written inheritance: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') ##### Swagger-codegen version current master; HEAD =...