Skip to content

Commit 8b0491f

Browse files
committed
change get_examples to _get_examples since AutoSchema provided by this package now overrides _get_examples
1 parent 77c790f commit 8b0491f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/openapi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ REST_FRAMEWORK = {
196196

197197
### Already using a custom `AutoSchema` class
198198
If you're already overriding the `AutoSchema` class provided by drf-spectacular, be sure to inherit from the
199-
AutoSchema class provided by this package instead. Also, if you're overriding `get_examples` and/or
199+
AutoSchema class provided by this package instead. Also, if you're overriding `_get_examples` and/or
200200
`_get_response_bodies`, be sure to call `super`.
201201

202202

0 commit comments

Comments
 (0)