concept number in category swagger

appears as: number, Number, numbers
Designing APIs with Swagger and OpenAPI

This is an excerpt from Manning's book Designing APIs with Swagger and OpenAPI.

From it we know that it is a GET method and that it has at least one query parameter called maxRating. This parameter accepts a number from 1 to 5 inclusive.

Table 5.1. The rating field requirements
Field Type Description Limits

rating

number

The rating of how good an experience it was, higher is better.

1-5 inclusive, whole number