False values are displayed as "null" in OperationExtRow

Open Beginner friendly
#9,130 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
javascript
Domain
frontend

Research direction

Start with src/core/components/operation-extension-row.jsx at the linked location and trace how boolean extension values are rendered. Reproduce an extension whose value is false, then verify that the displayed value remains false rather than null and add regression coverage for that behavior.

Written by the indexing model from the issue text.

Description

I wonder why false values here are displayed as null? I didn't find anything disallowing to use boolean as an extension value.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

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 swagger-api/swagger-ui

All issues in swagger-api/swagger-ui

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.