add api
Showing
This diff is collapsed.
| ... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
| "start": "ng serve", | "start": "ng serve", | ||
| "build": "ng build", | "build": "ng build", | ||
| "watch": "ng build --watch --configuration development", | "watch": "ng build --watch --configuration development", | ||
| "test": "ng test" | "test": "ng test", | ||
| "gen": "ng-openapi-gen --input http://localhost:3000/docs-json --output src/app/api" | |||
| }, | }, | ||
| "private": true, | "private": true, | ||
| "dependencies": { | "dependencies": { | ||
| ... | @@ -43,6 +44,7 @@ | ... | @@ -43,6 +44,7 @@ |
| "karma-coverage": "~2.1.0", | "karma-coverage": "~2.1.0", | ||
| "karma-jasmine": "~4.0.0", | "karma-jasmine": "~4.0.0", | ||
| "karma-jasmine-html-reporter": "~1.7.0", | "karma-jasmine-html-reporter": "~1.7.0", | ||
| "ng-openapi-gen": "^0.23.0", | |||
| "typescript": "~4.6.2" | "typescript": "~4.6.2" | ||
| } | } | ||
| } | } |
src/app/api/api.module.ts
0 → 100644
src/app/api/base-service.ts
0 → 100644
src/app/api/models.ts
0 → 100644
src/app/api/models/match.ts
0 → 100644
This diff is collapsed.
src/app/api/services.ts
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment