lib/processors
Methods
(static) processBody(req, method)
- Source:
Parameters:
Name |
Type |
Description |
req |
|
|
method |
|
|
- Source:
Parameters:
Name |
Type |
Description |
req |
|
|
method |
|
|
spec |
|
|
(static) processPath(req, method, pathKey)
- Source:
Parameters:
Name |
Type |
Description |
req |
|
|
method |
|
|
pathKey |
|
|
(static) processQuery(req, method)
- Source:
Parameters:
Name |
Type |
Description |
req |
|
|
method |
|
|
(static) processResponse(res, method)
- Source:
Parameters:
Name |
Type |
Description |
res |
|
|
method |
|
|
(inner) appendChunkIfNeeded(res, method, chunks, chunk)
- Source:
Parameters:
Name |
Type |
Description |
res |
|
|
method |
|
|
chunks |
|
|
chunk |
|
|
(inner) isCompressed(res) → {boolean}
- Source:
Parameters:
Name |
Type |
Description |
res |
|
|
Returns:
-
Type
-
boolean
(inner) updateProduces(res, method)
- Source:
Parameters:
Name |
Type |
Description |
res |
|
|
method |
|
|
(inner) updateResponses(res, method, chunks)
- Source:
Parameters:
Name |
Type |
Description |
res |
|
|
method |
|
|
chunks |
|
|
(inner) updateSecurity(method, headerName)
- Source:
Parameters:
Name |
Type |
Description |
method |
|
|
headerName |
|
|
(inner) updateSecurityDefinitions(spec, headerName)
- Source:
Parameters:
Name |
Type |
Description |
spec |
|
|
headerName |
|
|