Skip to content

Commit

Permalink
Add main_viewpoint_guid property to Swagger (#333)
Browse files Browse the repository at this point in the history
* Add main_viewpoint_guid property to Swagger

* Rename property
  • Loading branch information
GeorgDangl committed Apr 22, 2024
1 parent 0504978 commit 582d1be
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Schemas/Collaboration/Topic/topic_GET.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"$ref": "../RelatedTopic/related_topic_GET.json"
}
},
"main_viewpoint_guid": {
"default_viewpoint_guid": {
"type": ["string", "null"]
},
"authorization": {
Expand Down
2 changes: 1 addition & 1 deletion Schemas/Collaboration/Topic/topic_POST.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"custom_fields": {
"$ref": "custom_fields.json"
},
"main_viewpoint_guid": {
"default_viewpoint_guid": {
"type": ["string", "null"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion Schemas/Collaboration/Topic/topic_PUT.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"custom_fields": {
"$ref": "custom_fields.json"
},
"main_viewpoint_guid": {
"default_viewpoint_guid": {
"type": ["string", "null"]
}
}
Expand Down
9 changes: 9 additions & 0 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,9 @@ components:
nullable: true
items:
type: string
default_viewpoint_guid:
type: string
nullable: true
topic_POST:
type: object
required:
Expand Down Expand Up @@ -2327,6 +2330,9 @@ components:
due_date:
type: string
nullable: true
default_viewpoint_guid:
type: string
nullable: true
topic_PUT:
type: object
required:
Expand Down Expand Up @@ -2371,6 +2377,9 @@ components:
due_date:
type: string
nullable: true
default_viewpoint_guid:
type: string
nullable: true
# viewpoint schemas
bitmap_GET:
type: object
Expand Down

0 comments on commit 582d1be

Please sign in to comment.