swagger docs parameters in body 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 parameters oneof
# Correct
oneOf:
- type: string
- type: integer