OpenAPI generated server
Overview
This server was generated by the OpenAPI Generator project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a OpenAPI-enabled Flask server.
This example uses the Connexion library on top of Flask.
Requirements
Python 3.5.2+
Usage
To run the server, please execute the following from the root directory:
pip3 install -r requirements.txt
python3 -m boids_api
and open your browser to here:
http://localhost:8080/api/v1/ui/
Your OpenAPI definition lives here:
http://localhost:8080/api/v1/openapi.json
To launch the integration tests, use tox:
sudo pip install tox
tox
Running with Docker
To run the server on a Docker container, please execute the following from the root directory:
# building the image
docker build -t boids_api .
# starting up a container
docker run -p 8080:8080 boids_api
Metadata
Release files for boids-api 0.0.1687298275
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| boids_api-0.0.1687298275.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| boids_api-0.0.1687298275-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 54.2 kB
Release files / boids_api-0.0.1687298275.tar.gz
| Download URL | boids_api-0.0.1687298275.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc6f53f4601339a0e9116b3f5e7b14e9c23019c44ff87c430ef9c4bbf5980894
|
|
BLAKE2b-256 checksum How to use checksums |
8dd99f96002c4eb1a0e88434c066bc7fa14cd8d982feb20392898c8fec9337ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / boids_api-0.0.1687298275-py2.py3-none-any.whl
| Download URL | boids_api-0.0.1687298275-py2.py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1378272ffe7496e32a55b3a45e5cfbe7c78998da08597a4659fa5be98263e0c7
|
|
BLAKE2b-256 checksum How to use checksums |
9ec5430de6526f1c648a043a1266d354ea0332b231e2371d7fdecb3bf789f7a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|