swagger-api / swagger-api/swagger-parser
Does OpenAPIV3Parser support OpenAPI 3.0.1 definition parsing?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 867
- Forks
- 560
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 7
Description
Following code, support parsing the OAS2 and open API 3.0.0 definition when saving the file with space.
OpenAPI openAPI = new OpenAPIV3Parser().read("swagger v1.json");
But following code doesn't work for open API 3.0.1 definition when saving the file with space.
OpenAPI openAPI = new OpenAPIV3Parser().read("swagger v1.json");
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with OpenAPIV3Parser.read using the OpenAPI 3.0.1 definition and a file path containing spaces, then compare it with the reported OAS2 and OpenAPI 3.0.0 cases. Done means the 3.0.1 definition parses successfully when saved under a path with spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100