forked from loafle/openapi-generator-original
* Add `ResumableTask` to `URLSessionImplementations.mustache` - Makes it testable - Implementations can return something _other_ than a URLSessionDataTask if they want to implement another request format (sockets maybe?) - Default implementation for `URLSession` provided * Regenerate examples * Add more properties and rename to `CancelableResumableTask` * Regen samples * Rename missed reference * Missed some generated classes somehow * Rename from `CancellableResumableTask` to `URLSessionDataTaskProtocol` Rename from `resumableTask` to `dataTaskFromProtocol` --------- Co-authored-by: welshm-ideogram <welsh@Mikes-MacBook-Pro.local>
Swift5 API client for PetstoreClient
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version:
- Generator version: 7.6.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.Swift5ClientCodegen
Installation
Carthage
Run carthage update
CocoaPods
Run pod install
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
PetsAPI | petsGet | GET /pets | |
PetsAPI | showPetById | GET /pets/{petId} | Info for a specific pet |
Documentation For Models
Documentation For Authorization
Endpoints do not require authorization.