Redocly / Redocly/redoc

Request samples reflects the change of `petType`

Open
#99 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

Steps to reproduce:

  1. navigate to: http://rebilly.github.io/ReDoc/
  2. pick pet -> Add a new pet to the store
  3. change petType from: Cat to Dog

Is:
SectonRequest samples doesn't reflect the change (Cat is still there, instead of Dog)

Expected:
SectonRequest samples reflects the change

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

Reproduce the issue from the ReDoc demo URL using the pet Add a new pet to the store entry point. Trace how changing petType updates the Request samples section, then verify that the displayed sample changes from Cat to Dog.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.