forked from loafle/openapi-generator-original
[swift5] update visibility modifiers (#5204)
This commit is contained in:
parent
a0eb149df5
commit
5bf501af40
@ -384,7 +384,7 @@ fileprivate class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataD
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -305,6 +305,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -265,6 +265,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -265,6 +265,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -265,6 +265,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -265,6 +265,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -305,6 +305,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body).then {
|
||||
// when the promise is fulfilled
|
||||
@ -490,10 +490,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -265,6 +265,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -305,6 +305,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
// TODO RxSwift sample code not yet implemented. To contribute, please open a ticket via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
```
|
||||
@ -433,10 +433,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// TODO RxSwift sample code not yet implemented. To contribute, please open a ticket via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -265,6 +265,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = ECAB17FF35111B5E14DAAC08 /* Build configuration list for PBXProject "PetstoreClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
@ -32,7 +32,7 @@ Test serialization of outer boolean types
|
||||
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
|
||||
import PetstoreClient
|
||||
|
||||
let body = false // Bool | Input boolean as post body (optional)
|
||||
let body = true // Bool | Input boolean as post body (optional)
|
||||
|
||||
FakeAPI.fakeOuterBooleanSerialize(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
@ -517,10 +517,10 @@ Fake endpoint to test group parameters (optional)
|
||||
import PetstoreClient
|
||||
|
||||
let requiredStringGroup = 987 // Int | Required String in group parameters
|
||||
let requiredBooleanGroup = false // Bool | Required Boolean in group parameters
|
||||
let requiredBooleanGroup = true // Bool | Required Boolean in group parameters
|
||||
let requiredInt64Group = 987 // Int64 | Required Integer in group parameters
|
||||
let stringGroup = 987 // Int | String in group parameters (optional)
|
||||
let booleanGroup = false // Bool | Boolean in group parameters (optional)
|
||||
let booleanGroup = true // Bool | Boolean in group parameters (optional)
|
||||
let int64Group = 987 // Int64 | Integer in group parameters (optional)
|
||||
|
||||
// Fake endpoint to test group parameters (optional)
|
||||
|
@ -1 +1 @@
|
||||
4.2.3-SNAPSHOT
|
||||
4.3.0-SNAPSHOT
|
@ -187,6 +187,8 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1020;
|
||||
TargetAttributes = {
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 87FDCE50021B77EB5CF8EF08 /* Build configuration list for PBXProject "TestClient" */;
|
||||
compatibilityVersion = "Xcode 10.0";
|
||||
|
@ -384,7 +384,7 @@ private class SessionDelegate: NSObject, URLSessionDelegate, URLSessionDataDeleg
|
||||
|
||||
var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
|
||||
|
||||
public func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
|
||||
|
||||
var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user