budrobundy69 / budrobundy69/openapi-angular-spring-example

🔄 Generate and Integrate OpenAPI TypeScript Client for Angular

Aperta
#20 0 commenti 0 reazioni 1 assegnatario Rivendicata da @budrobundy69 Vedi su GitHub
🎨 frontend 🛠️ setup
Lingua principale
HTML
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 🔄 Generate and Integrate OpenAPI TypeScript Client for Angular

**Goal:** Generate a TypeScript client from the OpenAPI spec served by the Spring Boot backend and integrate it into the Angular 19 frontend.

---

### ✅ Tasks

#### 1. Ensure OpenAPI Endpoint is Available

Verify that Spring Boot backend exposes the OpenAPI spec (JSON):

- Example URL: `http://localhost:8080/v3/api-docs`
- Provided by: `springdoc-openapi-starter-webflux-ui`

#### 2. Install OpenAPI Generator CLI

Install locally or globally:

```bash
npm install @openapitools/openapi-generator-cli -D

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.