Skip to content

Commit

Permalink
Merge pull request #4 from GLCharge/feature/SBE-538-client-library
Browse files Browse the repository at this point in the history
feat(SBE-538): client library
  • Loading branch information
radekkrejcirik01 authored Jun 1, 2023
2 parents a2dd8e4 + 9fc9df6 commit a638184
Show file tree
Hide file tree
Showing 17 changed files with 14,593 additions and 3,912 deletions.
Binary file modified .DS_Store
Binary file not shown.
20 changes: 20 additions & 0 deletions 2.2.1/README.md
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
```
Loading

0 comments on commit a638184

Please sign in to comment.