budrobundy69 / budrobundy69/openapi-angular-spring-example
🔄 Generate and Integrate OpenAPI TypeScript Client for Angular
未关闭
🎨 frontend
🛠️ setup
- 主要语言
- HTML
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
### 🔄 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
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。