I am working on defining an API in a Swagger editor using YAML. I am trying to present the following response organ:
{ success: true, ids: [123456, ...] }
and this is what my YAML looks like:
definitions: SuccessfulResponse: type: object properties: success: type: boolean description: True if the all operations were successful ids: type: array items: id: type: string
Ive tried a few different ways, but kinda like, but nothing seems valid

How to correctly describe the return object specified above ive?
source share