Replies: 1 comment
-
|
@dscreve I’m sorry for the late response. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
How can I use enum values for headers definition.
I have defined this :
public enum Headers {
public struct ClientType: Codable {
public var clientType: WSClientType
public enum CodingKeys: String, CodingKey {
}
Where WSClientType is an enum.
Then, I use it :
headers: .all(of:.type(Headers.ClientType.self)),
But I have a message in Swagger :
Resolver error at paths./pledger/auth/checkAccessToken.post.parameters.2.schema.$ref
Could not resolve reference: Could not resolve pointer: /components/schemas/WSClientType does not exist in document
Any idea ?
Beta Was this translation helpful? Give feedback.
All reactions