bugfix: OpenAPI path components should begin with a slash.

This commit is contained in:
Mathew Polzin
2019-01-27 12:46:13 -08:00
parent 75ec4f156e
commit e4ef61fd56
@@ -933,7 +933,7 @@ public struct OpenAPISchema {
}
public var rawValue: String {
return components.joined(separator: "/")
return "/\(components.joined(separator: "/"))"
}
public func encode(to encoder: Encoder) throws {