diff options
Diffstat (limited to 'Connexion.md')
-rw-r--r-- | Connexion.md | 17 |
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 |