From 802cb75237602c222dfbec08628b4859ec593c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Quenneville?= Date: Wed, 13 Nov 2024 10:38:49 -0500 Subject: [PATCH] Require schemas for APIs When consuming an API from a client, a schema makes your life easier. Not only does it provide documentation, but it also can integrate into automated tooling such as type-checkers and code generators. On the back end, it's nice to plug a schema into a unit test to guarantee that the implementation matches the spec. Depending on the system you use, schemas can also be used to generate API docs or test fixtures. --- tech-stack/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tech-stack/README.md b/tech-stack/README.md index a56bf28a..9573358b 100644 --- a/tech-stack/README.md +++ b/tech-stack/README.md @@ -36,6 +36,7 @@ while building applications. ### API - Use GraphQL as an API layer when connecting a mobile app to a web service. +- Use a schema to describe the shape of the inputs and outputs of an API endpoint. ### Web