swagger-api / swagger-api/swagger-parser

Does OpenAPIV3Parser support OpenAPI 3.0.1 definition parsing?

Open
#1,390 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.