📝 Change limit default parameter to 10 in Query docs (#366)

Rest of docs reference 10 as the default.
This commit is contained in:
Ben Williams 2019-07-13 00:22:21 +01:00 committed by Sebastián Ramírez
parent dc483478eb
commit 3ec4342282
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"
@app.get("/items/")
async def read_item(skip: int = 0, limit: int = 100):
async def read_item(skip: int = 0, limit: int = 10):
return fake_items_db[skip : skip + limit]