Skip to content

Latest commit

 

History

History
135 lines (83 loc) · 3.51 KB

2016-11-12-<BOSM-Bangalore-Open-Source-Meetup>-<Microservices-with-Swagger-Flask-and-Docker>.md

File metadata and controls

135 lines (83 loc) · 3.51 KB

Microservices with Swagger, Flask and Docker

BOSM - Bangalore Open Source Meetup

Tech Lead, Full-Stack & DevOps - @Appknox http://dhilipsiva.com [email protected]


@dhilipsiva

  • Tech Lead, Full-Stack & DevOps - @Appknox
  • I code for Web, Mobile, Embedded & IoT. Open-Source Fanatic. Big Data & Machine Learning Enthusiast. Dad. Atheist
  • So primarily a Developer + little bit of this & that
  • Jack of all trades & Master of none

I have no idea what I am talking about 😜


The Open API Specification - V2.0 (f.k.a. Swagger Specification)

The OpenAPI Specification (originally known as the Swagger Specification) is a specification for machine-readable interface files for describing, producing, consuming, and visualizing RESTful web services. (Quoted from Wikipedia)

Swagger™ is a project used to describe and document RESTful APIs.

https://github.com/OAI/OpenAPI-Specification


Uses

  • Language Neutral & Machine Readable Format
  • APIs can be defined in JSON or YAML
  • API-First Development
  • Tooling Support (core, UI, codegen, editor)

History

  • 2010: Tony Tam @Wordnik founded Swagger
  • 2010-2014: Development, Growth, Adoption, Tooling, Community
  • Early 2015: Swagger acquired by SmartBear
  • Late 2015: Swagger donated to "Linux Foundation" as“OpenAPI Specification”

Google Search Activity

Google


GitHub - Starts / Forks / Pulls

GitHub 1


Issues / Events / Commits

GitHub 2


Tooling


Few of the Language Tools


Break


Hands On

Connection Example Repo: https://github.com/ds-forks/connexion-example

swagger-codegen generate -i swagger.yaml -l java -o /tmp/swag
connexion run swagger.yaml --stub --debug

Docker

    $ docker build -t connexion-example .
    $ docker run -d -p 8080:8080 connexion-example
    $ ./test.sh # do some test HTTP requests

Thanks! 🙏

Copyright © 2016 dhilipsiva

This copy is released under the MIT License

Source Code SlideShare Link

Questions:question:

http://dhilipsiva.com