-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from GLCharge/feature/SBE-538-client-library
feat(SBE-538): client library
- Loading branch information
Showing
17 changed files
with
14,593 additions
and
3,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## OCPI 2.2.1 | ||
|
||
This client is generated from OpenAPI specification that was created based on | ||
[OCPI 2.2.1 documentation](https://evroaming.org/app/uploads/2021/11/OCPI-2.2.1.pdf) | ||
|
||
Specification can be found in subfolder `api/2.2.1.spec.yml` | ||
|
||
## Generation requirements | ||
- [oapi-codegen](https://github.com/deepmap/oapi-codegen#overview) | ||
|
||
# Generation step by step | ||
Steps to generate changes for the client | ||
|
||
1) Adjust the OpenAPI specification `api/2.2.1.spec.yml` | ||
2) Make sure you are in `2.2.1` path | ||
3) Make sure you have installed the [oapi-codegen](https://github.com/deepmap/oapi-codegen#overview) package | ||
4) Regenerate the client using this command | ||
```shell | ||
oapi-codegen -package OCPI api/2.2.1.spec.yml > client.go | ||
``` |
Oops, something went wrong.