Does the parameters object allow an example property, like this?
parameters:
- name: lat
in: query
description: latitude
type: string
required: true
example: 1.2.3
- name: lng
in: query
description: longitude
type: string
required: true
example: 4.5.6
I didn't see this listed in the parameters object documentation
<https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameter-object>.
However, when I add it, this populates the query parameter field in Swagger
UI with the example value, which is what I want it to do.
Did I just not see this parameter listed in the docs? Or is it a new
feature not yet added to the docs?
Thanks,
Tom
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.