mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 06:46:14 +00:00
Use openapi info params on init of API
This commit is contained in:
+3
-3
@@ -117,9 +117,9 @@ class API:
|
|||||||
if openapi or docs_route:
|
if openapi or docs_route:
|
||||||
self.openapi = OpenAPISchema(
|
self.openapi = OpenAPISchema(
|
||||||
app=self,
|
app=self,
|
||||||
title="Web Service",
|
title=title,
|
||||||
version="1.0",
|
version=version,
|
||||||
openapi="3.0.2",
|
openapi=openapi,
|
||||||
docs_route=docs_route,
|
docs_route=docs_route,
|
||||||
description=description,
|
description=description,
|
||||||
terms_of_service=terms_of_service,
|
terms_of_service=terms_of_service,
|
||||||
|
|||||||
Reference in New Issue
Block a user