Skip to content

Commit

Permalink
Fixed empty value for example response in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmunteanu committed Mar 13, 2021
1 parent 9b14a95 commit 6b6d678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/openapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Example:
type_ = 'articles'
schema = ArticleSchema
@with_openapi_info(responses={'200': ArticleSchema, '404': })
@with_openapi_info(responses={'200': ArticleSchema, '404': ResourceNotFound})
async def get(self, id: Any, *args, **kwargs) -> Response:
...
Expand Down

0 comments on commit 6b6d678

Please sign in to comment.