Skip to content

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages