swagger-api / swagger-api/validator-badge

the online validator doesn't give the exactly results.

Open
#112 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
227
Forks
81
Avg merge
2h 3m
Merged PRs (30d)
1

Description

I tried to validate the swagger yaml file with http://online.swagger.io/validator, it gives me the {} result. My understanding is that the yaml file is OK.But actually, it shows error at http://editor.swagger.io/#/.

My yaml file https://raw.githubusercontent.com/vmware/harbor/master/docs/swagger.yaml.
Can you point me?

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 by retrieving docs/swagger.yaml from the linked Harbor repository and comparing its result from online.swagger.io/validator with the errors shown in editor.swagger.io. Identify whether the validator and editor apply different OpenAPI or Swagger rules, then document the cause and the expected validation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, yaml
Domain
api, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.