You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-guide/schemas.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -313,6 +313,11 @@ Computes the component's name from the serializer.
313
313
314
314
You may see warnings if your API has duplicate component names. If so you can override `get_component_name()` or pass the `component_name``__init__()` kwarg (see below) to provide different names.
315
315
316
+
#### `get_reference()`
317
+
318
+
Returns a reference to the serializer component. This may be useful if you override `get_schema()`.
319
+
320
+
316
321
#### `map_serializer()`
317
322
318
323
Maps serializers to their OpenAPI representations.
0 commit comments