yiisoft / yiisoft/docs

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.

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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.