Skip to content

Commit

Permalink
[TM-714] Remove the workdays mutation endpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Apr 16, 2024
1 parent bf1fe4a commit 386523d
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 545 deletions.
19 changes: 0 additions & 19 deletions app/Http/Controllers/V2/Workdays/DeleteWorkdayController.php

This file was deleted.

61 changes: 0 additions & 61 deletions app/Http/Controllers/V2/Workdays/StoreWorkdayController.php

This file was deleted.

20 changes: 0 additions & 20 deletions app/Http/Controllers/V2/Workdays/UpdateWorkdayController.php

This file was deleted.

19 changes: 0 additions & 19 deletions openapi-src/V2/definitions/V2WorkdayCreate.yml

This file was deleted.

15 changes: 0 additions & 15 deletions openapi-src/V2/definitions/V2WorkdayUpdate.yml

This file was deleted.

4 changes: 0 additions & 4 deletions openapi-src/V2/definitions/_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ V2SeedingPaginated:
$ref: './V2SeedingPaginated.yml'
V2WorkdayRead:
$ref: './V2WorkdayRead.yml'
V2WorkdayCreate:
$ref: './V2WorkdayCreate.yml'
V2WorkdayUpdate:
$ref: './V2WorkdayUpdate.yml'
V2WorkdaysPaginated:
$ref: './V2WorkdaysPaginated.yml'
V2DisturbanceRead:
Expand Down
12 changes: 0 additions & 12 deletions openapi-src/V2/paths/Workdays/delete-v2-workday-uuid.yml

This file was deleted.

14 changes: 0 additions & 14 deletions openapi-src/V2/paths/Workdays/patch-v2-workday-uuid.yml

This file was deleted.

14 changes: 0 additions & 14 deletions openapi-src/V2/paths/Workdays/post-v2-workday.yml

This file was deleted.

8 changes: 0 additions & 8 deletions openapi-src/V2/paths/_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,6 @@
/v2/update-requests/{ENTITY}/{UUID}:
get:
$ref: './UpdateRequests/get-v2-update-requests-entity-uuid.yml'
/v2/workdays:
post:
$ref: './Workdays/post-v2-workday.yml'
/v2/workdays/{UUID}:
patch:
$ref: './Workdays/patch-v2-workday-uuid.yml'
delete:
$ref: './Workdays/delete-v2-workday-uuid.yml'
/v2/workdays/{ENTITY}/{UUID}:
get:
$ref: './Workdays/get-v2-workdays-entity-uuid.yml'
Expand Down
160 changes: 0 additions & 160 deletions resources/docs/swagger-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9266,42 +9266,6 @@ definitions:
type: string
indigeneity:
type: string
V2WorkdayCreate:
title: V2WorkdayCreate
type: object
properties:
model_type:
type: string
model_uuid:
type: string
amount:
type: integer
collection:
type: string
gender:
type: string
age:
type: string
ethnicity:
type: string
indigeneity:
type: string
V2WorkdayUpdate:
title: V2WorkdayUpdate
type: object
properties:
amount:
type: integer
collection:
type: string
gender:
type: string
age:
type: string
ethnicity:
type: string
indigeneity:
type: string
V2WorkdaysPaginated:
type: object
properties:
Expand Down Expand Up @@ -57602,130 +57566,6 @@ paths:
type: object
created_by:
type: object
/v2/workdays:
post:
operationId: post-v2-workday
summary: Crates a workday
tags:
- V2 Workdays
responses:
'201':
description: Created
schema:
title: V2WorkdayRead
type: object
properties:
uuid:
type: string
amount:
type: integer
collection:
type: string
gender:
type: string
age:
type: string
ethnicity:
type: string
indigeneity:
type: string
parameters:
- in: body
name: body
schema:
title: V2WorkdayCreate
type: object
properties:
model_type:
type: string
model_uuid:
type: string
amount:
type: integer
collection:
type: string
gender:
type: string
age:
type: string
ethnicity:
type: string
indigeneity:
type: string
'/v2/workdays/{UUID}':
patch:
operationId: patch-v2-workday-uuid
summary: Update a workday
tags:
- V2 Workdays
parameters:
- type: string
name: UUID
in: path
required: true
responses:
'200':
description: OK
schema:
type: object
properties:
data:
type: array
items:
title: V2WorkdayRead
type: object
properties:
uuid:
type: string
amount:
type: integer
collection:
type: string
gender:
type: string
age:
type: string
ethnicity:
type: string
indigeneity:
type: string
links:
type: object
properties:
first:
type: string
last:
type: string
prev:
type: string
next:
type: string
meta:
type: object
properties:
current_page:
type: integer
from:
type: integer
last_page:
type: integer
next:
type: integer
unfiltered_total:
type: integer
delete:
operationId: delete-v2-workday-uuid
summary: Delete a workday
tags:
- V2 Workdays
parameters:
- type: string
name: UUID
in: path
required: true
responses:
'200':
description: OK
'/v2/workdays/{ENTITY}/{UUID}':
get:
operationId: get-v2-workdays-entity-uuid
Expand Down
Loading

0 comments on commit 386523d

Please sign in to comment.