Skip to content

Commit

Permalink
fix: add agent create stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Oct 30, 2024
1 parent 223704b commit 37f1619
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
22 changes: 22 additions & 0 deletions schemas/agent-create-spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/AgentCreateSpecResult",
"definitions": {
"AgentCreateSpecResult": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"errorMessage": {
"type": "string"
},
"jobSpec": {
"type": "string"
}
},
"required": ["isSuccess"],
"additionalProperties": false
}
}
}
19 changes: 19 additions & 0 deletions schemas/agent-create.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/AgentCreateResult",
"definitions": {
"AgentCreateResult": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"errorMessage": {
"type": "string"
}
},
"required": ["isSuccess"],
"additionalProperties": false
}
}
}

0 comments on commit 37f1619

Please sign in to comment.