forked from loafle/openapi-generator-original
* StackOverflowFix for Issue 8671 * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
@@ -228,7 +228,7 @@ For this test, the body for this request much reference a schema named `File`.
|
||||
// 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 = FileSchemaTestClass(file: File(sourceURI: "sourceURI_example"), files: [File(sourceURI: "sourceURI_example")]) // FileSchemaTestClass |
|
||||
let body = FileSchemaTestClass(file: File(sourceURI: "sourceURI_example"), files: [nil]) // FileSchemaTestClass |
|
||||
|
||||
FakeAPI.testBodyWithFileSchema(body: body) { (response, error) in
|
||||
guard error == nil else {
|
||||
|
||||
Reference in New Issue
Block a user