Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalik committed Jul 13, 2023
2 parents 217151d + e4c10ad commit f941215
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/docs/guides/api-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ You can extend OpenAPI spec with custom attributes, for example to add `termsOfS
```Python
api = NinjaAPI(
openapi_extra={
"info": {
"termsOfService": "https://example.com/terms/",
}
}

"info": {
"termsOfService": "https://example.com/terms/",
}
},
title="Demo API",
description="This is a demo API with dynamic OpenAPI info section"
Expand Down

0 comments on commit f941215

Please sign in to comment.