Skip to content

Commit 0bb222e

Browse files
committed
openapi update
1 parent 48499b9 commit 0bb222e

2 files changed

Lines changed: 91 additions & 31 deletions

File tree

frontends/api/src/generated/v1/api.ts

Lines changed: 54 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/specs/v1.yaml

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6951,19 +6951,19 @@ paths:
69516951
content:
69526952
application/json:
69536953
schema:
6954-
$ref: '#/components/schemas/PatchedLearningPathRelationshipRequest'
6954+
$ref: '#/components/schemas/PatchedLearningPathRelationshipCreateRequest'
69556955
application/x-www-form-urlencoded:
69566956
schema:
6957-
$ref: '#/components/schemas/PatchedLearningPathRelationshipRequest'
6957+
$ref: '#/components/schemas/PatchedLearningPathRelationshipCreateRequest'
69586958
multipart/form-data:
69596959
schema:
6960-
$ref: '#/components/schemas/PatchedLearningPathRelationshipRequest'
6960+
$ref: '#/components/schemas/PatchedLearningPathRelationshipCreateRequest'
69616961
responses:
69626962
'200':
69636963
content:
69646964
application/json:
69656965
schema:
6966-
$ref: '#/components/schemas/LearningPathRelationship'
6966+
$ref: '#/components/schemas/LearningPathRelationshipCreate'
69676967
description: ''
69686968
delete:
69696969
operationId: learningpaths_items_destroy
@@ -11900,6 +11900,34 @@ components:
1190011900
- id
1190111901
- parent
1190211902
- resource
11903+
LearningPathRelationshipCreate:
11904+
type: object
11905+
description: |-
11906+
Create serializer for nested learning path items.
11907+
11908+
The parent is derived from the nested route and must not be client-supplied.
11909+
properties:
11910+
id:
11911+
type: integer
11912+
readOnly: true
11913+
resource:
11914+
allOf:
11915+
- $ref: '#/components/schemas/LearningResource'
11916+
readOnly: true
11917+
position:
11918+
type: integer
11919+
maximum: 2147483647
11920+
minimum: 0
11921+
parent:
11922+
type: integer
11923+
readOnly: true
11924+
child:
11925+
type: integer
11926+
required:
11927+
- child
11928+
- id
11929+
- parent
11930+
- resource
1190311931
LearningPathRelationshipCreateRequest:
1190411932
type: object
1190511933
description: |-
@@ -13985,16 +14013,17 @@ components:
1398514013
type: array
1398614014
items:
1398714015
$ref: '#/components/schemas/VideoResource'
13988-
PatchedLearningPathRelationshipRequest:
14016+
PatchedLearningPathRelationshipCreateRequest:
1398914017
type: object
13990-
description: Specialized serializer for a LearningPath relationship
14018+
description: |-
14019+
Create serializer for nested learning path items.
14020+
14021+
The parent is derived from the nested route and must not be client-supplied.
1399114022
properties:
1399214023
position:
1399314024
type: integer
1399414025
maximum: 2147483647
1399514026
minimum: 0
13996-
parent:
13997-
type: integer
1399814027
child:
1399914028
type: integer
1400014029
PatchedLearningPathResourceRequest:

0 commit comments

Comments
 (0)