Redocly / Redocly/redoc

Item minimum/maximum not shown for array of numbers

Open
#2,261 1 comment 0 reactions 1 assignee View on GitHub

@AlexVarchuk is already working on this.

Since May 8, 2023.

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

Description

Consider the following snippet:

type: array
nullable: true
items:
  type: number
  nullable: true
  minimum: 1
  maximum: 9

It is rendered like this:

image

The minimum and maximum values are not shown anywhere.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.