diff --git a/docs/api-guide/schemas.md b/docs/api-guide/schemas.md index e39cd21a8..b4832b369 100644 --- a/docs/api-guide/schemas.md +++ b/docs/api-guide/schemas.md @@ -181,8 +181,8 @@ dictionary For example you might wish to add terms of service to the [top-level ``` class TOSSchemaGenerator(SchemaGenerator): - def get_schema(self): - schema = super().get_schema() + def get_schema(self, *args, **kwargs): + schema = super().get_schema(*args, **kwargs) schema["info"]["termsOfService"] = "https://example.com/tos.html" return schema ```