mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 05:36:09 +00:00
* StackOverflowFix for Issue 8671 * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
@@ -216,7 +216,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).then {
|
||||
// when the promise is fulfilled
|
||||
|
||||
Reference in New Issue
Block a user