swagger-api / swagger-api/swagger-codegen
Examples don't actually work...
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/swagger-api/swagger-codegen/tree/master/samples/server/petstore/nodejs
cloned [master] branch.
update swagger yaml file to point to the local server rather than pet store online.
try PUT new pet with the XML example
<pre>Error: Parameter (body) failed schema validation<br>
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 with the samples/server/petstore/nodejs example and its Swagger YAML file. Reproduce the PUT request using the XML example after pointing the YAML at the local server, then inspect the reported body schema validation error. Done means the documented XML example is accepted without that validation failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, openapi
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100