From d4bd3ad4a869c87fcfa4f83b42555a6c8e1bc746 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Sat, 17 May 2025 09:03:45 +0200 Subject: vault backup: 2025-05-17 09:03:45 --- Connexion.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Connexion.md (limited to 'Connexion.md') diff --git a/Connexion.md b/Connexion.md new file mode 100644 index 0000000..0d186ca --- /dev/null +++ b/Connexion.md @@ -0,0 +1,17 @@ +--- +tags: + - python +--- +# Requests +Parameter name for body data is unsurprisingly: body. Can be overriden in the spec using x-body-name. + +# Response +Endpoints return a tuple: data, status_code, headers. + +Data can be a dict or array if application/json. +Status_code is an int. +Headers is just a dict. +# Security +All standard auth mechanisms are supported. + +Works by registering a validation function (on the spec or via env var) that requests are routed through that does validation on the credentials. \ No newline at end of file -- cgit v1.2.3