Skip to content

Commit

Permalink
update error test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Nov 1, 2024
1 parent e66baba commit b73751a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/OpenAPIKitErrorReportingTests/SchemaErrorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ final class SchemaErrorTests: XCTestCase {

XCTAssertEqual(openAPIError.localizedDescription,
"""
Inconsistency encountered when parsing `OpenAPI Schema`: Found 'nullable' property. This property is not supported by OpenAPI v3.1.0. OpenAPIKit has translated it into 'type: ["null", ...]'.. at path: .paths['/hello/world'].get.responses.200.content['application/json'].schema
Inconsistency encountered when parsing `OpenAPI Schema`: Found 'nullable' property. This property is not supported by OpenAPI v3.1.x. OpenAPIKit has translated it into 'type: ["null", ...]'.. at path: .paths['/hello/world'].get.responses.200.content['application/json'].schema
""")
XCTAssertEqual(openAPIError.codingPath.map { $0.stringValue }, [
"paths",
Expand Down

0 comments on commit b73751a

Please sign in to comment.