Skip to content

Commit

Permalink
Merge pull request #33 from pkeroulas/v1.0-dev-fix-raml
Browse files Browse the repository at this point in the history
Fix silly copy-paste mistakes in API RAML and schemas
  • Loading branch information
garethsb authored Nov 30, 2023
2 parents 91ff29c + 602ccd5 commit 8655e0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions APIs/AnnotationAPI.raml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resources-get-200.json
type: Flows
type: Resources
/{flowId}:
uriParameters:
flowId:
Expand All @@ -144,7 +144,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resource-get-200.json
type: Flow
type: Resource
404:
description: Returned when the requested Flow ID does not exist
body:
Expand Down Expand Up @@ -187,7 +187,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resources-get-200.json
type: Devices
type: Resources
/{deviceId}:
uriParameters:
deviceId:
Expand All @@ -199,7 +199,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resource-get-200.json
type: Device
type: Resource
404:
description: Returned when the requested Device ID does not exist
body:
Expand Down Expand Up @@ -242,7 +242,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resources-get-200.json
type: Senders
type: Resources
/{senderId}:
uriParameters:
senderId:
Expand All @@ -254,7 +254,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resource-get-200.json
type: Sender
type: Resource
404:
description: Returned when the requested Sender ID does not exist
body:
Expand Down Expand Up @@ -297,7 +297,7 @@ documentation:
200:
body:
example: !include ../examples/annotationapi-node-resources-get-200.json
type: Receivers
type: Resources
/{receiverId}:
uriParameters:
receiverId:
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/annotationapi-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"type": "array",
"description": "Describes the Annotation API base resource",
"title": "Annotation API base resource",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/annotationapi-node-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"type": "array",
"description": "Describes the Annotation API node resource",
"title": "Annotation API node resource",
"items": {
Expand Down

0 comments on commit 8655e0c

Please sign in to comment.