diff --git a/apps/webservice/src/app/api/v1/environments/openapi.ts b/apps/webservice/src/app/api/v1/environments/openapi.ts index b87b3586..e7142250 100644 --- a/apps/webservice/src/app/api/v1/environments/openapi.ts +++ b/apps/webservice/src/app/api/v1/environments/openapi.ts @@ -84,7 +84,7 @@ export const openapi: Swagger.SwaggerV3 = { additionalProperties: true, }, }, - required: ["id", "systemId"], + required: ["id", "name", "systemId"], }, }, }, diff --git a/openapi.v1.json b/openapi.v1.json index 38c68829..9d85d8b6 100644 --- a/openapi.v1.json +++ b/openapi.v1.json @@ -87,6 +87,7 @@ }, "required": [ "id", + "name", "systemId" ] }