Open Sal0g opened 5 years ago
@Sal0g thanks for reporting the issue. Is it correct to say that it works fine with Int32
but not Int64
for Integer type?
Yes, it seems that Int32
in the yaml definition is getting translated into Int/Int?
whereas Int64
gets translated into Int64
in the generated Swift code.
Description
When using using Objc compatible code, the produced code is not valid in Swift 3/4.
Using openapi-generator Version 3.3.2
with the command:
and the config file api-generation-config.json:
and the yaml:
produces this code:
resulting in the error:
- ERROR | xcodebuild: ModelA.swift: error: value of type 'Int64' has no member 'map'
This occurs for type Int64 and Bool.