summaryrefslogtreecommitdiff
path: root/Connexion.md
blob: 0d186ca87c77be9ff6aeed1eb869db2e25bac4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.