I am writing a swagger definition file for an API. The API is a for a GET request
/path/to/my/api:
get:
summary: My Custom API
description: |
For a list of strings, you can describe as follows:
type: array
items:
type: string
Ref: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject
Example: