diff --git a/src/shared/openApiSpec.ts b/src/shared/openApiSpec.ts index 7e83a1d..b52c43d 100644 --- a/src/shared/openApiSpec.ts +++ b/src/shared/openApiSpec.ts @@ -448,7 +448,7 @@ export const openApiSpecificationForV2Api: OAS3Options = { type: { type: 'string', enum: Object.values(DeployTypes) }, dockerfilePath: { type: 'string', example: 'Dockerfile' }, deploymentDependsOn: { type: 'string', example: '{redis}' }, - builder: { type: 'json' }, + builder: { type: 'string', example: 'docker' }, ecr: { type: 'string', example: '123456789012.dkr.ecr.us-west-2.amazonaws.com/myapp' }, }, required: ['name', 'type', 'dockerfilePath', 'deploymentDependsOn', 'builder', 'ecr'], @@ -492,7 +492,7 @@ export const openApiSpecificationForV2Api: OAS3Options = { createdAt: { type: 'string', format: 'date-time' }, updatedAt: { type: 'string', format: 'date-time' }, sha: { type: 'string', example: 'a1b2c3d4e5f6g7h8i9j0' }, - initEnv: { type: 'json' }, + initEnv: { type: 'string', example: 'NODE_ENV=production' }, initDockerImage: { type: 'string', example: 'node:14-alpine' }, deployable: { $ref: '#/components/schemas/Deployable' }, repository: { $ref: '#/components/schemas/Repository' },