docs(#744): align Tess request schemas
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Jarvis
2026-07-13 12:15:07 -05:00
parent 7aea94e274
commit 25b9d642b9

View File

@@ -124,6 +124,7 @@ paths:
{ {
summary: Submit Mos handoff, summary: Submit Mos handoff,
parameters: [{ $ref: '#/components/parameters/correlation' }], parameters: [{ $ref: '#/components/parameters/correlation' }],
requestBody: { $ref: '#/components/requestBodies/MosHandoff' },
responses: { '200': { description: Receipt } }, responses: { '200': { description: Receipt } },
}, },
} }
@@ -260,6 +261,28 @@ components:
}, },
}, },
} }
MosHandoff:
{
required: true,
content:
{
application/json:
{
schema:
{
type: object,
required: [idempotencyKey, summary],
properties:
{
idempotencyKey: { type: string },
summary: { type: string },
context: { type: string },
missionId: { type: string },
},
},
},
},
}
Attach: Attach:
{ {
content: content:
@@ -277,6 +300,7 @@ components:
schema: schema:
{ {
type: object, type: object,
required: [content, idempotencyKey],
properties: { content: { type: string }, idempotencyKey: { type: string } }, properties: { content: { type: string }, idempotencyKey: { type: string } },
}, },
}, },
@@ -288,7 +312,14 @@ components:
content: content:
{ {
application/json: application/json:
{ schema: { type: object, properties: { approvalRef: { type: string } } } }, {
schema:
{
type: object,
required: [approvalRef],
properties: { approvalRef: { type: string } },
},
},
}, },
} }
Preference: Preference:
@@ -323,7 +354,7 @@ components:
schema: schema:
{ {
type: object, type: object,
required: [content, source, category], required: [content],
properties: properties:
{ {
content: { type: string }, content: { type: string },