swagger-api / swagger-api/swagger-ui

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.

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

Description

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

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

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.