We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e721cd commit 5e23b55Copy full SHA for 5e23b55
docs/api-guide/schemas.md
@@ -181,8 +181,8 @@ dictionary For example you might wish to add terms of service to the [top-level
181
182
```
183
class TOSSchemaGenerator(SchemaGenerator):
184
- def get_schema(self):
185
- schema = super().get_schema()
+ def get_schema(self, *args, **kwargs):
+ schema = super().get_schema(*args, **kwargs)
186
schema["info"]["termsOfService"] = "https://example.com/tos.html"
187
return schema
188
0 commit comments