swagger-api / swagger-api/swagger-codegen
Is there any way to generate example json file?
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Is there any way to generate example json file?
ex) Pet.json
https://github.com/swagger-api/swagger-codegen/blob/master/samples/yaml/pet.yml#L145
{
"id": "123456",
"name": "hoge"
}
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 reviewing samples/yaml/pet.yml and the linked example to clarify the expected JSON output; no implementation file or test is named. Done should mean the requested example JSON generation behavior is defined and verified against the Pet example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100