Our current deployment patterns require me to manually write my swagger json output that will be consumed by the Swagger-based UI in use at my company. I\'d like the json I
To have example values, you just have to add an "example" property where needed:
exampleDefinition:
type: object
description: Request details for Example Definition
properties:
action:
type: string
description: Specifies the action to be taken
example: An action value
applyToBase:
type: string
description: >-
A boolean value that defines the behaviour of the request against the base
example: An apply to base value
addOnIDs:
type: string
description: The identifiers for the add-ons
example: an ID
Unfortunately the online editor don't propose them but SwaggerUI does: