forked from loafle/openapi-generator-original
* [Swift6] create Swift6 generator * [Swift6] create Swift6 generator * Update vapor integration * Update bitrise stack to Xcode 16 * [Swift6] tryped throws * [Swift6] tryped throws * [Swift6] combine deferred and api static method * [Swift6] update readme * [Swift6] fix some errors * [Swift6] fix some errors * [Swift6] fix some errors * [Swift6] update docs * [Swift6] update docs * Use multiline comments for examples in csharp generator (#19079) * multi * gen * Uncomment File::deleteOnExit (#19624) * [Core/Rust Server] Check references in additionalProperties correctly when checking freeForm status (#19605) * Check references in additionalProperties correctly Handle references in additionalProperties correctly when determining free-form status * Update samples * [Rust Server] Handle arrays in forms (#19625) * [Rust Server] Handle arrays in forms correctly * [Rust Server] Add tests * Update samples * [Swift6] fix CI * [Swift6] fix CI * [Swift6] fix CI * [Swift6] fix CI --------- Co-authored-by: Liri S <reallyliri@gmail.com> Co-authored-by: Beppe Catanese <1771700+gcatanese@users.noreply.github.com> Co-authored-by: Richard Whitehouse <git@richardwhiuk.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
1.1 KiB
1.1 KiB
DefaultAPI
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
rootGet | GET / |
rootGet
open class func rootGet(completion: @escaping (_ data: Banana?, _ error: Error?) -> Void)
Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import PetstoreClient
DefaultAPI.rootGet() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]