docs(#744): align Tess request schemas
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
This commit is contained in:
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user