Grammofy
Published in

Grammofy

Testing Your Python API App with JSON Schema

When writing JSON APIs you always want to make sure your endpoints deliver the data they are supposed to deliver. A good way to ensure your code acts the way it should is writing some tests. A really nice way to test JSON APIs is verifying the request’s JSON response against a JSON Schema.

If you are not familiar with JSON Schema yet, you can find the specification and more detailed information on the official web site and lots of nice explanatory examples here.

--

--

--

Grammofy is a streaming service for classical music.

Recommended from Medium

Functional test coverage in Golang

Task Management Software for Getting Things Done

10 Cool Python Project Ideas for Python Developers

Cool Python Project Ideas for Python Developers

Why PVS-Studio Doesn’t Offer Automatic Fixes

Deploy Flask server to an EC2 instance

Python + Golden Gate + Autonomous Database

Run Hashtopolis agent in macOS Catalina

Practical-1 |Practical-2 | Practical-3 | Practical-4 | Practical-5 | Practical-6 | Practical-7 |…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Paul Götze

Paul Götze

Creator of adoptoposs.org & zarenwitze.de. Authoring code. Comics addict and fan of bad jokes.

More from Medium

How to Create a Python Plugin System with Stevedore

Create your own WSL distro using Docker

Create a Multi-service Development Environment With VS Code and Docker

Page Object Model (POM) in Selenium Python