Skip to content

Commit

Permalink
fix: fixing typo in code example for custom docs viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeyes committed Dec 20, 2023
1 parent 6f27eee commit ef4da8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guides/api-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ In a Django template, for example:
To create your own view for OpenaAPI - create a class inherited from DocsBase and overwrite `render_page`` method:

```python
form ninja.openapi.docs import DocsBase
from ninja.openapi.docs import DocsBase

class MyDocsViewer(DocsBase)
def render_page(self, request, api):
Expand Down

0 comments on commit ef4da8c

Please sign in to comment.