swagger-api / swagger-api/swagger-codegen

Code Generator Error

Open
#7,691 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

I can not generated client for TypeScript Angular 2.

Unable to build target: Could not generate api file for 'Calendar'

Details:
Object
code: 1
type: "error"
message: "Unable to build target: Could not generate api file for 'Calendar'"

Swagger-codegen version

http://editor2.swagger.io and https://editor.swagger.io

Swagger declaration file content or url

https://gist.github.com/murad88/b56d8aa40e8a57749627c8abec903666

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the TypeScript Angular 2 generation using the declaration file at the linked gist and either editor.swagger.io or editor2.swagger.io. Start with the reported failure for the Calendar API, then identify which part of the declaration or generator prevents the api file from being created. Done means the client generates successfully without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.