swagger-api / swagger-api/swagger-client
Resolver hangs on definition with circular references
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 765
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 6
Description
From @hugobarona on September 26, 2018 13:28
Hi there, this is still an issue for me, using this spec: https://github.com/hugobarona/OpenApiSpecification/blob/master/circular_reference_swagger2_spec.yaml. Could you please have a look? I am trying to finalize the spec and i am not able to use the editor to validate it. thanks
Copied from original issue: swagger-api/swagger-editor#1888
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 by reproducing the hang with the circular_reference_swagger2_spec.yaml linked in the issue, using the resolver path that processes the definition. Trace where circular references stop making progress and verify that the resolver completes while still validating the specification without hanging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100