forked from loafle/openapi-generator-original
Update README file of objc client
This commit is contained in:
parent
3f017af464
commit
a25d3f2543
@ -164,6 +164,7 @@ public class ObjcClientCodegen extends DefaultCodegen implements CodegenConfig {
|
|||||||
supportingFiles.add(new SupportingFile("Configuration-body.mustache", swaggerFolder, classPrefix + "Configuration.m"));
|
supportingFiles.add(new SupportingFile("Configuration-body.mustache", swaggerFolder, classPrefix + "Configuration.m"));
|
||||||
supportingFiles.add(new SupportingFile("Configuration-header.mustache", swaggerFolder, classPrefix + "Configuration.h"));
|
supportingFiles.add(new SupportingFile("Configuration-header.mustache", swaggerFolder, classPrefix + "Configuration.h"));
|
||||||
supportingFiles.add(new SupportingFile("podspec.mustache", "", podName + ".podspec"));
|
supportingFiles.add(new SupportingFile("podspec.mustache", "", podName + ".podspec"));
|
||||||
|
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
# {{podName}}
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
The API client library requires ARC (Automatic Reference Counting) to be enabled in your Xcode project.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
To install it, put the API client library in your project and then simply add the following line to your Podfile:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
pod "{{podName}}", :path => "/path/to/lib"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
{{#apiInfo}}{{#apis}}{{^hasMore}}{{infoEmail}}
|
||||||
|
{{/hasMore}}{{/apis}}{{/apiInfo}}
|
||||||
|
|
@ -1,29 +1,19 @@
|
|||||||
# SwaggerClient
|
# SwaggerClient
|
||||||
|
|
||||||
[](https://travis-ci.org/geekerzp/SwaggerClient)
|
|
||||||
[](http://cocoapods.org/pods/SwaggerClient)
|
|
||||||
[](http://cocoapods.org/pods/SwaggerClient)
|
|
||||||
[](http://cocoapods.org/pods/SwaggerClient)
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
To run the example project, clone the repo, and run `pod install` from the Example directory first.
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
The API client library requires ARC (Automatic Reference Counting) to be enabled in your Xcode project.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
SwaggerClient is available through [CocoaPods](http://cocoapods.org). To install
|
To install it, put the API client library in your project and then simply add the following line to your Podfile:
|
||||||
it, simply add the following line to your Podfile:
|
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
pod "SwaggerClient"
|
pod "SwaggerClient", :path => "/path/to/lib"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
geekerzp, geekerzp@gmail.com
|
apiteam@swagger.io
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
SwaggerClient is available under the MIT license. See the LICENSE file for more info.
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user