Open nathanchia opened 11 months ago
public var errorCode: AnyCodable? // <-- TODO: Want errorCode and detail to both be type String.
what about using customized templates (e.g. via -t option in CLI) ?
Hi, sorry for the late response. I tested it locally and I can reproduce the issue. I have no idea why, but I think it may be an issue with your spec file? Sorry but I don't currently have much time to look into this.
Hello, I'm new to using openapi-generator. Like the title says, I ran the command below to generate a Swift Client:
All the models generated only contain type AnyCodable? even though I explicitly defined them in my yaml file. Is there a way to configure this so that only specified types are used? I used version 3.0.3 before this and it worked fine. However, now I need to implement an interceptor for refresh token logic using taskCompletionShouldRetry.
Generated Model:
Yaml file:
Thank you.
cc: @4brunu