swagger params in body code example
Example 1: swagger query parameter
parameters:
- in: query
name: limit
schema:
type: integer
required: false
description: The numbers of items to return
Example 2: swagger parameters oneof
# Correct
oneOf:
- type: string
- type: integer