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.1687298655
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.1687298655.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| boids_api-0.0.1687298655-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 54.2 kB
Release files / boids_api-0.0.1687298655.tar.gz
| Download URL | boids_api-0.0.1687298655.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c6f1ffb0f7893f5c1e93f28690d80a367a17085b0177f8f92785080968e3210
|
|
BLAKE2b-256 checksum How to use checksums |
c25aeaf1c03e6f1f8ef34e233b13414636ef539a810a2a3b8a8c9042411f8367
|
| 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.1687298655-py2.py3-none-any.whl
| Download URL | boids_api-0.0.1687298655-py2.py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c4fb2815d498b8727ae7c7fe19406161ad53d9d4eac5ac9bbb46081f95b47ff1
|
|
BLAKE2b-256 checksum How to use checksums |
cc5a964496d8b17aa150fbb13f0d0a71401ebec46141ccbefba8475bc72ba878
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|