swagger-api / swagger-api/swagger-codegen
error generating model for valid swagger document
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
From @stoicflame on May 19, 2016 18:47
When I paste this JSON into the Swagger editor, I get no validation errors. But when I attempt to download a client library, I get:
Could not process model 'xml_ns0_category'
Having looked at xml_ns0_category, I don't see anything wrong with it and the error message isn't particularly helpful.
Copied from original issue: swagger-api/swagger-editor#942
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 failure with the linked swagger.json in the Swagger editor and client-library generation flow, focusing on model xml_ns0_category. Trace why this valid document cannot process that model, then make the failure actionable or allow generation to complete and verify the result with the same document.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100