Comments (2)
I'm looking to take on this issue. I do have a question.
Is it that the document should not have something like:Body <usage/4-request-data/#specifying-a-content-type>
_?
and should instead render something of the form request.get_json
, request.headers
, etc. ?
from litestar.
Those links inside <...>
have changed or something - So finding where they are supposed to be will just be a bit of digging. like the first one,
request.files
Use `UploadFile <usage/4-request-data/#file-uploads>`_
Should probably be pointing to https://docs.litestar.dev/2/usage/requests.html#file-uploads which would be something like UploadFile <usage/requests/file-uploads>`_
instead, and the same for the others:
request.form
request.form(), prefer `Body <usage/4-request-data/#specifying-a-content-type>`_
request.get_json
request.json(), prefer the `data keyword argument <usage/4-request-data/#request-body>`_
And they would all just be hyperlinks to their respective sections
from litestar.
Related Issues (20)
- Enhancement: add after_startup and before_shutdown hooks
- Bug: docs website is not up-to-date HOT 3
- Bug: Custom plugin with lifespan breaks channel startup hook HOT 1
- Bug: Duplication in request URL path when configuring OpenAPI Servers
- Bug: cant easily catch http disconnect in a stream
- Enhancement: Peristance / ttl no limit for redis streams HOT 1
- Enhancement: Add path of routes in schema typescript HOT 1
- Enhancement: litestar.types.ExceptionHandler HOT 2
- Bug: Schema generation fails for model with Annotated NewType. HOT 2
- Bug: DTOData class not behaving as expected and PydanticDTO class error validation HOT 1
- Bug: Routing based on path parameter data type is not using first matching route handler HOT 1
- Bug: TextClause default value in mapped_column raises ValueError: Unexpected default type
- Enabled caching and RateLimitMiddleware duplicate all `Ratelimt-*` headers in response
- Bug: FormMultiDict is incorrectly created HOT 7
- Docs: Add `RepositoryService` usage and function from `SQLAlchemyPlugin`
- Bug: Invalid OpenAPI schema keys generated for generic types
- Enhancement: Allow parameter of type `Iterable` to be processed as `list` HOT 3
- Docs: status_code for handlers is incorrect
- Bug: Can't use `Response[None]` as return annotation for `head` requests HOT 3
- Bug: Openapi failing validation with python-openapi/openapi-spec-validator HOT 2
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 litestar.