-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
FlowAPIIssues related to the FlowKit APIIssues related to the FlowKit APIbugSomething isn't workingSomething isn't working
Description
In FlowAPI 1.27.0:
ERROR in app: Exception on request GET /api/0/spec/openapi.json
Traceback (most recent call last):
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/quart/app.py", line 1403, in handle_request
return await self.full_dispatch_request(request_context)
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/quart/app.py", line 1441, in full_dispatch_request
result = await self.handle_user_exception(error)
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/quart/app.py", line 1029, in handle_user_exception
raise error
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/quart/app.py", line 1439, in full_dispatch_request
result = await self.dispatch_request(request_context)
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/quart/app.py", line 1535, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore
File "/FlowKit-1.27.0/flowapi/flowapi/api_spec.py", line 86, in get_api_spec
spec = await get_spec(request.socket, request.request_id)
File "/FlowKit-1.27.0/flowapi/flowapi/api_spec.py", line 49, in get_spec
*schema_to_scopes(spec.to_dict()),
File "/FlowKit-1.27.0/flowapi/flowapi/permissions.py", line 134, in schema_to_scopes
resolved_queries = ResolvingParser(spec_string=dumps(schema)).specification[
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/prance/__init__.py", line 285, in __init__
BaseParser.__init__(self, url=url, spec_string=spec_string, lazy=lazy, **kwargs)
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/prance/__init__.py", line 110, in __init__
self.backend = self.options.get("backend", default_validation_backend())
File "/root/.local/share/virtualenvs/flowapi-EpSznUqu/lib/python3.8/site-packages/prance/util/__init__.py", line 63, in default_validation_backend
raise RuntimeError(
RuntimeError: No validation backend available! Install one of "flex", "openapi-spec-validator" or "swagger-spec-validator".
Metadata
Metadata
Assignees
Labels
FlowAPIIssues related to the FlowKit APIIssues related to the FlowKit APIbugSomething isn't workingSomething isn't working