Problem on "REST API Quick start" — missed content negotiator

Open Beginner friendly
#488 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Domain
documentation

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.

Description

type:bug
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

Dominant language
JavaScript
Stars
252
Forks
98
Avg merge
7h 12m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yiisoft/docs

All issues in yiisoft/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.