Skip to content

Commit

Permalink
Make responses optional on OperationObject
Browse files Browse the repository at this point in the history
  • Loading branch information
remidewitte authored Feb 21, 2024
1 parent 65434df commit 27f3474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/openapi31.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit 27f3474

Please sign in to comment.