summaryrefslogtreecommitdiff
path: root/Connexion.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-05-17 09:03:45 +0200
committerJasper Ras <jras@hostnet.nl>2025-05-17 09:03:45 +0200
commitd4bd3ad4a869c87fcfa4f83b42555a6c8e1bc746 (patch)
tree74cbfcd6ff623e272be389dd7d40d8e45d1f96d5 /Connexion.md
parent78211f96953bc1a63570f2430cee4ad92c841ce4 (diff)
vault backup: 2025-05-17 09:03:45
Diffstat (limited to 'Connexion.md')
-rw-r--r--Connexion.md17
1 files changed, 17 insertions, 0 deletions
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