add changes at schema to the main branch <HMS-4066>

This commit is contained in:
Michal Gold 2024-05-28 11:06:12 +03:00
parent 64c590c0db
commit 0e71489a9f
5 changed files with 23 additions and 4 deletions

View file

@ -572,10 +572,23 @@ paths:
required: true
description: UUID of a blueprint
summary: create new compose from blueprint
description: "create new compose from blueprint"
description: "create new compose from blueprint, optionally specifying the target image types to build"
operationId: composeBlueprint
tags:
- blueprint
requestBody:
required: false
description: "list of target image types that the user wants to build for this compose"
content:
application/json:
schema:
type: object
properties:
image_types:
type: array
items:
$ref: "#/components/schemas/ImageTypes"
example: ["azure", "aws"]
responses:
'201':
description: compose was created