Skip to content

Commit

Permalink
Update to conform to latest Execute Service definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
go0ty committed May 9, 2016
1 parent e29484d commit dc4839a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion swagger-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,16 @@ definitions:
type: string
resourceMetadata:
$ref: '#/definitions/ResourceMetadata'
ServiceDataType:
type: object
description: "The JSON representation of some Resource that is fed in as an input to a Service execution."
properties:
type:
type: string
description: "The type of the data. See the Service documentation for details on the type."
mimeType:
type: string
description: "The mime type of the data."
ResourceMetadata:
type: object
description: "Describes general Metadata containers for certain types of metadata that apply to Piazza Services and Data. Such as classification, author, availability, etc. All properties for Metadata are optional, and none are enforced or required. However, good practice dictates to specify as much metadata as possible when able."
Expand Down Expand Up @@ -1254,8 +1264,10 @@ definitions:
dataInputs:
type: object
description: "The Inputs for the execution."
additionalProperties:
$ref: '#/definitions/ServiceDataType'
dataOutput:
type: object
$ref: '#/definitions/ServiceDataType'
description: "The Output for the execution."
EventType:
type: object
Expand Down

0 comments on commit dc4839a

Please sign in to comment.