Skip to content

Commit

Permalink
remove operation response validation from default validations.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Sep 4, 2023
1 parent a63c6cf commit 50795e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/OpenAPIKit/Validator/Validator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -184,7 +183,6 @@ public final class Validator {
///
public convenience init() {
self.init(validations: [
.init(.operationsContainResponses),
.init(.documentTagNamesAreUnique),
.init(.pathItemParametersAreUnique),
.init(.operationParametersAreUnique),
Expand Down

0 comments on commit 50795e2

Please sign in to comment.