A REST proxy for indicepa.
An auto-generated REST proxy with TLS support for indicepa. Authentication token is passed via:
Authorization: bearer XXXX
A sample method is
curl -kv https://localhost:8443/robipolli/indicepa/1.0.0/amministrazioni-aoo?cod_amm=c_c143 -H"Authorization: bearer XXXXX"
This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a swagger-enabled Flask server.
This example uses the Connexion library on top of Flask.
Python 3.6+
To run the server, please execute the following from the root directory:
./run.sh
and open your browser to here:
https://localhost:8443/robipolli/indicepa/1.0.0/ui/
Your Swagger definition lives here:
http://localhost:8443/robipolli/indicepa/1.0.0/swagger.json
To launch the integration tests, use tox:
sudo pip install tox
tox
To run the server on a Docker container, please execute the following from the root directory:
# starting up a container
docker-compose up