Problem on "REST API Quick start" — missed content negotiator
Open
Beginner friendly
Nobody has claimed this yet.
type:bug
- Dominant language
- JavaScript
- Stars
- 252
- Forks
- 98
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 4
Description
Description
It should be mentioned about ContentNegotiatorDataResponseMiddleware in "Returning JSON responses" section.
Usage example: https://github.com/yiisoft/app-api/blob/master/config/web/di/application.php
Link to page: Quick start
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the REST API Quick start page and locate the “Returning JSON responses” section. Review the linked application.php usage example, then document ContentNegotiatorDataResponseMiddleware there; the task is done when the middleware is clearly mentioned with the relevant usage context.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 85/100