swagger-api / swagger-api/swagger-codegen

Automatically generate client side angular 2 - typescript codes when building ASP.NET Core WebAPI Projects

Open
#5,906 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: TypeScript General: Question
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hi

Just want to ask if it is possible to automatically generate client side angular 2 typescript codes when building or running ASPNET Core WebAPI projects.

What I mean is instead of manually navigating to the endpoint that has the swagger json spec, copying and pasting it in code-gen and downloading the generated codes, is it possible to automatically generate them when building or running ASP NET Core WebAPI projects.

Thanks in advance

Thanks
Jude Alquiza

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

The issue mentions ASP.NET Core WebAPI projects, a Swagger JSON endpoint, and Angular 2 TypeScript code generation, but names no files or tests. First clarify whether generation should run during build, startup, or both, then inspect the existing code-generation entry points and integration documentation; done should include an agreed trigger and generated client output.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, csharp, typescript
Domain
api, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.