budrobundy69 / budrobundy69/openapi-angular-spring-example

🔄 Generate and Integrate OpenAPI TypeScript Client for Angular

Đang mở
#20 0 bình luận 0 reaction 1 người được giao Được @budrobundy69 nhận Xem trên GitHub
🎨 frontend 🛠️ setup
Ngôn ngữ chính
HTML
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 🔄 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.