fastapi-jsonrpc
fastapi-jsonrpc copied to clipboard
JSON-RPC server based on fastapi
My `pytest` run failed due to a `DeprecationWarning`. I can suppress this for now, but was wondering if a fix for this is possible? ``` app.bind_entrypoint(api_v1) .venv\Lib\site-packages\fastapi_jsonrpc\__init__.py:1528: in bind_entrypoint self.on_event('shutdown')(ep.shutdown)...
According to [JSON-RPC 2.0 Specification](https://www.jsonrpc.org/specification#parameter_structures) , the `params` field of request object may be either by-position (Array) or by-name (Object). However the current implementation of fastapi-jsonrpc forces to use by-name...
I understand that I can add examples to endpoints via ```python @api.method() def endpoint(value1: str = Body(example='test'), value2: int = Body(example=3)) ... ``` What to do if I want to...
https://github.com/smagafurov/fastapi-jsonrpc/issues/67
I tried to write swagger doc with mulitple samples in request body but failed. Here is my code: ``` @api_v1.method() def echo( data: str = Body(..., examples=['123', '456']), ) ->...
Hi, I started using this library and works great. Langchain library provides several out of the box [tools](https://python.langchain.com/v0.1/docs/modules/tools/) (aka functions) for use with LLMs. I am trying to reuse these...
In application test if we try to override dependency [according to guide](https://fastapi.tiangolo.com/advanced/testing-dependencies/) it will not override dependencies of jsonrpc entrypoint.
Hi, If I am adding routes using Entrypoint.add_method_route(), is there a way to remove safely ? I have a use case where the JSON-RPC methods are added dynamically and also...
Hi, I am trying to parse an OpenAPI 3.0 spec document (like the ones shown below) and convert operationIds into JSON-RPC methods. I have a generic function that can translate...