From 27f3474505f18f729f77ca44baed27e0e9a9d7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Dewitte?= Date: Wed, 21 Feb 2024 22:50:16 +0100 Subject: [PATCH] Make responses optional on OperationObject --- src/model/openapi31.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/openapi31.ts b/src/model/openapi31.ts index 48b6dbe..54e44d0 100644 --- a/src/model/openapi31.ts +++ b/src/model/openapi31.ts @@ -100,7 +100,7 @@ export interface OperationObject extends ISpecificationExtension { operationId?: string; parameters?: (ParameterObject | ReferenceObject)[]; requestBody?: RequestBodyObject | ReferenceObject; - responses: ResponsesObject; + responses?: ResponsesObject; callbacks?: CallbacksObject; deprecated?: boolean; security?: SecurityRequirementObject[];