From 50795e217c780fe07d6909b57a11b2123b378c68 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Mon, 4 Sep 2023 11:46:58 -0500 Subject: [PATCH] remove operation response validation from default validations. --- Sources/OpenAPIKit/Validator/Validator.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/OpenAPIKit/Validator/Validator.swift b/Sources/OpenAPIKit/Validator/Validator.swift index d6f9a2bc1..e9344344e 100644 --- a/Sources/OpenAPIKit/Validator/Validator.swift +++ b/Sources/OpenAPIKit/Validator/Validator.swift @@ -170,7 +170,6 @@ public final class Validator { /// `Validator.blank`. /// /// The default validations are - /// - Operations must contain at least one response. /// - Document-level tag names are unique. /// - Parameters are unique within each Path Item. /// - Parameters are unique within each Operation. @@ -184,7 +183,6 @@ public final class Validator { /// public convenience init() { self.init(validations: [ - .init(.operationsContainResponses), .init(.documentTagNamesAreUnique), .init(.pathItemParametersAreUnique), .init(.operationParametersAreUnique),