diff --git a/responder/ext/openapi/__init__.py b/responder/ext/openapi/__init__.py index bd2fb34..7121af7 100644 --- a/responder/ext/openapi/__init__.py +++ b/responder/ext/openapi/__init__.py @@ -216,7 +216,7 @@ class OpenAPISchema: f"{self.docs_theme}.html", title=self.title, version=self.version, - schema_url="/schema.yml", + schema_url=self.openapi_route, ) def static_url(self, asset):