swagger-api / swagger-api/swagger-codegen
[Typescript-Angular] No package.json
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I expected the client generator to generate a package.json file for publishing it to NPM and installing dependencies / loading it as an Angular Module. But there has not been generated any package.json!
Swagger-codegen version
3.0.57
Swagger declaration file content or url
I used this command: swagger-codegen generate -i https://petstore.swagger.io/v2/swagger.json -l typescript-angular -o .
Command line used for generation
Ran under MacOS, Codegen installed using brew.
Steps to reproduce
run swagger-codegen generate -i https://petstore.swagger.io/v2/swagger.json -l typescript-angular -o .
Suggest a fix/enhancement
at least putting a readme in the generated output showing what to do after generation would be great... or tell me here, what do with the generated code 😆
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
Reproduce the issue with the documented swagger-codegen command and the Petstore Swagger URL, then inspect the generated TypeScript-Angular output. Confirm whether package.json or a README is expected for publishing, dependency installation, and Angular module use; done means the generated output provides the requested packaging guidance or file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100