2023-09-25 05:58:13 +02:00
|
|
|
# TimeManager
|
2023-09-25 11:02:04 +02:00
|
|
|
Template für einen Spring-Angular-Service
|
2023-09-25 05:58:13 +02:00
|
|
|
|
2023-09-25 11:02:04 +02:00
|
|
|
## Generate Angular Client Code with OpenAPI Generator
|
|
|
|
1. Install the latest version of "openapi-generator-cli"
|
|
|
|
```bash
|
|
|
|
npm install @openapitools/openapi-generator-cli -g
|
|
|
|
```
|
|
|
|
2. Generate Code
|
|
|
|
```bash
|
|
|
|
npx @openapitools/openapi-generator-cli generate -i openapi.yaml -g typescript-angular -o frontend/src/api/
|
|
|
|
```
|