forked from loafle/openapi-generator-original
[swift4] Use RequestBuilder directly for RxSwift and PromiseKit (#1718)
* remove default implementation * avoid insert blank lines
This commit is contained in:
committed by
William Cheng
parent
c62a1f11ee
commit
c13e089c85
@@ -23,7 +23,6 @@ open class Swift4TestAPI {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Get all of the models
|
||||
- GET /allModels
|
||||
|
||||
@@ -12,14 +12,10 @@ import Foundation
|
||||
|
||||
public struct SampleSubClass: Codable {
|
||||
|
||||
public var baseClassStringProp: String?
|
||||
public var baseClassIntegerProp: Int?
|
||||
public var subClassStringProp: String?
|
||||
public var subClassIntegerProp: Int?
|
||||
|
||||
public init(baseClassStringProp: String?, baseClassIntegerProp: Int?, subClassStringProp: String?, subClassIntegerProp: Int?) {
|
||||
self.baseClassStringProp = baseClassStringProp
|
||||
self.baseClassIntegerProp = baseClassIntegerProp
|
||||
public init(subClassStringProp: String?, subClassIntegerProp: Int?) {
|
||||
self.subClassStringProp = subClassStringProp
|
||||
self.subClassIntegerProp = subClassIntegerProp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user