mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
bugfix: OpenAPI path components should begin with a slash.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user