Skip to content

Commit

Permalink
Remove example code (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: GODrums <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 15, 2024
1 parent eef2dfa commit 93de045
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 652 deletions.
43 changes: 0 additions & 43 deletions server/application-server/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,6 @@ servers:
- url: /
description: Default Server URL
paths:
/hello:
get:
tags:
- hello
summary: "Retrieves all {@link Hello Hello} entities."
description: "Retrieves all {@link Hello Hello} entities."
operationId: getAllHellos
responses:
"200":
description: A set of all Hello entities
content:
application/json:
schema:
uniqueItems: true
type: array
items:
$ref: "#/components/schemas/Hello"
post:
tags:
- hello
summary: "Creates a new {@link Hello Hello} entity with the current timestamp."
description: "Creates a new {@link Hello Hello} entity with the current timestamp."
operationId: addHello
responses:
"200":
description: The created Hello entity
content:
application/json:
schema:
$ref: "#/components/schemas/Hello"
/user/{login}:
get:
tags:
Expand Down Expand Up @@ -147,19 +117,6 @@ paths:
type: string
components:
schemas:
Hello:
type: object
properties:
id:
type: integer
description: Unique identifier for a Hello entity.
format: int64
timestamp:
type: string
description: |-
Timestamp of when the Hello entity was created.
This field is mandatory.
format: date-time
IssueCommentDTO:
type: object
properties:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions webapp/src/app/core/modules/openapi/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ api.module.ts
api/admin.service.ts
api/admin.serviceInterface.ts
api/api.ts
api/hello.service.ts
api/hello.serviceInterface.ts
api/leaderboard.service.ts
api/leaderboard.serviceInterface.ts
api/pull-request.service.ts
Expand All @@ -17,7 +15,6 @@ configuration.ts
encoder.ts
git_push.sh
index.ts
model/hello.ts
model/issue-comment-dto.ts
model/issue-comment.ts
model/leaderboard-entry.ts
Expand Down
5 changes: 1 addition & 4 deletions webapp/src/app/core/modules/openapi/api/api.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
export * from './admin.service';
import { AdminService } from './admin.service';
export * from './admin.serviceInterface';
export * from './hello.service';
import { HelloService } from './hello.service';
export * from './hello.serviceInterface';
export * from './leaderboard.service';
import { LeaderboardService } from './leaderboard.service';
export * from './leaderboard.serviceInterface';
Expand All @@ -13,4 +10,4 @@ export * from './pull-request.serviceInterface';
export * from './user.service';
import { UserService } from './user.service';
export * from './user.serviceInterface';
export const APIS = [AdminService, HelloService, LeaderboardService, PullRequestService, UserService];
export const APIS = [AdminService, LeaderboardService, PullRequestService, UserService];
Loading

0 comments on commit 93de045

Please sign in to comment.