Skip to content
Snippets Groups Projects
Commit 66132ab1 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC: corrected the documentation of the example-client

parent 28365de4
No related branches found
No related tags found
1 merge request!1DOC: corrected the documentation of the example-client
......@@ -4,10 +4,18 @@ You can create a python client from the OpenAPI specification using for example
the python module openapi-python-client (`pip install openapi-python-client`).
Generate the client code (in this folder) with
`openapi-python-client generate --path ../api/src/main/resources/api.yaml`
`openapi-python-client generate --url https://gitlab.indiscale.com/fdo/fdo-manager-service/-/raw/main/api/src/main/resources/api.yaml?ref_type=heads`
Add the module to your python environment: `pip install ./fdo-manager-service-api-client`.
Please have a look at `test-client.py`. You may make minor modifications to
test the client by running `test-client.py`.
Please have a look at `test-client.py`.
# Using the mockup service
Please see `README.md` in the fdo manager service repository:
https://gitlab.indiscale.com/fdo/fdo-manager-service/-/blob/main/README.md?ref_type=heads
Please use the mockup repository in order to test the client, see the following section:
https://gitlab.indiscale.com/fdo/fdo-manager-service/-/blob/main/README.md?ref_type=heads#use-mockup-repository
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment