Posts tagged with "OpenAPI"

OpenAPI is a set of standards to help you define and create modern APIs that are machine readable and can be easily consumed. There is a large amount of quality tooling available to you if you choose to create your APIs in such a way. There are also a number of benefits from being able to make machine readable API specifications including:

  • Unambiguous definition of what API endpoints are supported and what format they are expecting.
  • The ability to automatically check API endpoint routing matches the required specification.
  • The ability to automatically validate API requests.

Knowledge transfer, especially when considering compatibility concerns, is greatly improved by well documented APIs. As such we have found that using machine readable API specifications has greatly improved our productivity when we are making and consuming APIs.

1 Post

Pytest fixtures with Flask

Recently I've been working on a web API with Flask, here's how I went about making unit tests with pytest work well with Flask and testing the API via requests.

Published on May 27th, 2018 by Janis Lesinskis.