forked from loafle/openapi-generator-original
* add auto-generated readme for cpprestsdk client * update cpprest client sample * remove error message from cmake
36 lines
1005 B
Markdown
36 lines
1005 B
Markdown
# C++ API client
|
|
|
|
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
|
|
## Overview
|
|
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI spec](https://openapis.org) from a remote server, you can easily generate an API client.
|
|
|
|
- API version: 1.0.0
|
|
- Package version:
|
|
- Build package: org.openapitools.codegen.languages.CppRestSdkClientCodegen
|
|
|
|
- API namespace: org.openapitools.client.api
|
|
- Model namespace: org.openapitools.client.model
|
|
|
|
## Installation
|
|
|
|
### Prerequisites
|
|
|
|
Install [cpprestsdk](https://github.com/Microsoft/cpprestsdk).
|
|
|
|
- Windows: `vcpkg install cpprestsdk cpprestsdk:x64-windows`
|
|
- Mac: `brew install cpprestsdk`
|
|
- Linux: `sudo apt-get install libcpprest-dev`
|
|
|
|
### Build
|
|
|
|
```sh
|
|
cmake -DCPPREST_ROOT=/usr -DCMAKE_CXX_FLAGS="-I/usr/local/opt/openssl/include" -DCMAKE_MODULE_LINKER_FLAGS="-L/usr/local/opt/openssl/lib"
|
|
make
|
|
```
|
|
|
|
## Author
|
|
|
|
|
|
|