Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
openapi doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Jan 24, 2019
1 parent ae4022f commit 47c9027
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ to create an openapi RESTful application:
```python
def create_app():
app = rest(
openapi=settings.api_info(),
openapi=dict(
title='A REST API',
...
),
base_path='/v1,
allowed_tags=[...],
validate_docs=True,
Expand Down

0 comments on commit 47c9027

Please sign in to comment.