Request body is empty when using MockMvc, application/x-www-form-urlencoded and param

Open
#545 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, spring

Research direction

Start by running the reproducible repository linked in the issue and inspect the generated Asciidoc for the application/x-www-form-urlencoded MockMvc request. Trace how the request body and parameters are captured, then verify that the generated documentation includes them for the form request.

Written by the indexing model from the issue text.

Description

status: waiting-for-triage

Reproducible repository at: https://github.com/unlimitedsola/restdocs-empty-body-issue

The generated asciidoc doesn't contain any request body/parameter

Dominant language
Java
Stars
1.2k
Forks
731
PR merge metrics
No merged PRs in 30d

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 spring-projects/spring-restdocs

All issues in spring-projects/spring-restdocs

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.