This is a small optimization but it can help with things like a /healthcheck endpoint.
We'd just need to add a special case in Operator.solve to do self._app = _SimpleOperationApp or something like that.
The alternative is to just tell users to use Stalette routes for this use case, but then they won't get documented in OpenAPI.
This is a small optimization but it can help with things like a
/healthcheck
endpoint. We'd just need to add a special case inOperator.solve
to doself._app = _SimpleOperationApp
or something like that.The alternative is to just tell users to use Stalette routes for this use case, but then they won't get documented in OpenAPI.