Skip to content

Basic REST project with Flask , Connexion by Zalando , OpenApi3, Docker and tox

License

Notifications You must be signed in to change notification settings

kevinmmartins/python-flask-connexion-example-openapi3

Repository files navigation

Basic project with Flask , Connexion and OpenApi 3

Build Status

Basic Python project using Flask and Connexion by Zalando

https://github.com/zalando/connexion

Requirements

  • Docker Compose 1.21.2+
  • Python 3.6 +

Run with Docker Compose

# building the container
sudo docker-compose build

# starting up a container
sudo docker-compose up

Build the virtual environment

virtualenv -p /usr/bin/python3.6 venv
source venv/bin/activate
pip3 install -r requirements.txt
pip3 install -r test-requirements.txt

Swagger definition

http://localhost:8081/v1/swagger.json

Health Check

http://localhost:8081/v1/basic/ping

Launch tests

source venv/bin/activate
tox

About

Basic REST project with Flask , Connexion by Zalando , OpenApi3, Docker and tox

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published