Comments (1)
First we can see implementation in this project: https://pjrpc.readthedocs.io/en/stable/pjrpc/specification.html
From docs:
pjrpc provides two schema extractors: pjrpc.server.specs.extractors.pydantic.PydanticSchemaExtractor and pjrpc.server.specs.extractors.docstring.DocstringSchemaExtractor. They uses pydantic models or python docstrings for method summary, description, errors, examples and schema extraction respectively. You can implement your own schema extractor inheriting it from pjrpc.server.specs.extractors.BaseSchemaExtractor and implementing abstract methods.
from fastapi-jsonrpc.
Related Issues (20)
- License HOT 2
- Providing an example value for a parameter HOT 1
- Support Fastapi 0.64: missing data examples in openapi schema HOT 2
- Possible incorrect parsing of JSON RPC request: params considered required HOT 1
- OpenAPI Becomes Invalid for Datamodel code generator HOT 2
- Query Parameter HOT 2
- Logs from JSON-RPC views are missing when running in pytest HOT 3
- New FastAPI version breaks fastapi-jsonrpc HOT 3
- Using Entrypoint instance outside main module leads to "Method not found" HOT 1
- No validation error if id is not passed with request HOT 4
- Upgrade to FastAPI >= 0.80 HOT 2
- Support by-position parameters HOT 5
- Multiple OpenAPI examples HOT 1
- Unhandled UnicodeDecodeError when parsing body HOT 3
- Handle pydantic v2 HOT 3
- additionalProp1 on FastApi > 0.99 (OpenAPI 3.1.0) HOT 2
- Kwargs are not passed from Entrypoint to methods HOT 2
- Validation errors cannot be processed on latest version of fastapi HOT 1
- ORJSONResponse support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-jsonrpc.