swagger optional query parameter code example
Example 1: query parameter swagger
parameters:
- in: query
name: offset
schema:
type: integer
description: The number of items to skip before starting to collect the result set
- in: query
name: limit
schema:
type: integer
description: The numbers of items to return
Example 2: swagger query parameter
parameters:
- in: query
name: limit
schema:
type: integer
required: false
description: The numbers of items to return