swagger-api / swagger-api/swagger-codegen
undefined response schema of type array in swagger genarated html2 doc
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Whenever i am try to generate a html2 doc using swagger codegen. In the generated html2 doc i have some schema which are of type "array" is being shown as undefined. i see in the latest release 3.0.7 for codegen there is a similar issue which is said to be resolved. but i dont think its been fixed yet. i still have the same issue when i am using codgen 3.0.7
Swagger-codegen version
3.0.7
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
- Go to https://editor.swagger.io/
- Generate html2 document in Generate client
- In the html2 doc we are missing some schema objects which are undefined
Related issues/PRs
https://github.com/swagger-api/swagger-codegen/issues/7714
Suggest a fix/enhancement
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 issue in https://editor.swagger.io/ with Swagger Codegen 3.0.7 and inspect the generated html2 document; no declaration file or command is provided in this report. Review related issue #7714 for context, and consider the issue done when array-type schemas render with their definitions instead of undefined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100