Skip to content

Commit b52498d

Browse files
committed
fixed OPENAPI setup in template
1 parent bc5df1b commit b52498d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ellar_cli/scaffolding/project_template/project_name/server.ellar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def bootstrap() -> App:
2626
#
2727
# document = document_builder.build_document(application)
2828
# module = OpenAPIDocumentModule.setup(
29+
# app=application,
2930
# document=document,
3031
# docs_ui=SwaggerUI(),
3132
# guards=[]
3233
# )
33-
# application.install_module(module)
3434
return application

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies = [
4343
# exclude 0.11.2 and 0.11.3 due to https://github.com/sdispater/tomlkit/issues/225
4444
"tomlkit >=0.11.1,<1.0.0,!=0.11.2,!=0.11.3",
4545
"uvicorn[standard] == 0.27.1",
46-
"ellar >= 0.6.6",
46+
"ellar >= 0.7.1",
4747
]
4848

4949
[project.scripts]

0 commit comments

Comments
 (0)