You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -23,7 +23,7 @@ public struct {{classname}}: Codable {
23
23
{{/allVars}}
24
24
25
25
{{#hasVars}}
26
-
public init({{#allVars}}{{name}}: {{{datatypeWithEnum}}}{{^required}}?{{/required}}{{#hasMore}}, {{/hasMore}}{{/allVars}}) {
26
+
public init({{#allVars}}{{name}}: {{{datatypeWithEnum}}}{{#unwrapRequired}}?{{/unwrapRequired}}{{^unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}{{#hasMore}}, {{/hasMore}}{{/allVars}}) {
27
27
{{#allVars}}
28
28
self.{{name}} = {{name}}
29
29
{{/allVars}}
@@ -52,7 +52,7 @@ public struct {{classname}}: Codable {
52
52
var container = encoder.container(keyedBy: String.self)
Copy file name to clipboardExpand all lines: samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,6 @@ open class FakeClassnameTags123API: APIBase {
0 commit comments