Skip to content

Commit b3019d9

Browse files
Note requirements explicitly.
1 parent 0c7d606 commit b3019d9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/api-guide/parsers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ Parses `JSON` request content.
6969

7070
Parses `YAML` request content.
7171

72+
Requires the `pyyaml` package to be installed.
73+
7274
**.media_type**: `application/yaml`
7375

7476
## XMLParser
@@ -79,6 +81,8 @@ Note that the `XML` markup language is typically used as the base language for m
7981

8082
If you are considering using `XML` for your API, you may want to consider implementing a custom renderer and parser for your specific requirements, and using an existing domain-specific media-type, or creating your own custom XML-based media-type.
8183

84+
Requires the `defusedxml` package to be installed.
85+
8286
**.media_type**: `application/xml`
8387

8488
## FormParser

docs/api-guide/renderers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ The javascript callback function must be set by the client including a `callback
9090

9191
Renders the request data into `YAML`.
9292

93+
Requires the `pyyaml` package to be installed.
94+
9395
**.media_type**: `application/yaml`
9496

9597
**.format**: `'.yaml'`

0 commit comments

Comments
 (0)