It can be defined as follows:
'/fsfd/User/{first_key}':
get:
tags:
- User
summary: Retrieve information on a user.
description: 'Use GET to retrieve information on a user. To do this, specify the user key or email address immediately after /xapis/User/.'
parameters:
- name: first_key
in: path
description: A user key (for example, _abcde12345_) or email address (for example, _user@example.com_).
required: true
schema:
type: string
example: 'user@example.com'
# Or with multiple examples
# (but this is not supported in Swagger UI and Editor yet)
# examples:
# user_key:
# summary: Example of a user key
# value: abcde12345
# email_address:
# summary: Example of an email address
# value: 'user@example.com'