fixed and updates openapi shema

This commit is contained in:
vabene1111
2021-05-20 11:43:31 +02:00
parent 9a8049f71b
commit e774845ade
6 changed files with 662 additions and 37 deletions

View File

@ -288,7 +288,7 @@ class RecipeSchema(AutoSchema):
def get_path_parameters(self, path, method):
if not is_list_view(path, method, self.view):
return []
return super(RecipeSchema, self).get_path_parameters(path,method)
parameters = super().get_path_parameters(path, method)
parameters.append({