Forum Discussion
RonRatovsky
6 years agoModerator
You can use additionalProperties to describe arbitrary key names.
additionalProperties: type: object properties: Count: type: integer Value: type: integer
Or alternatively:
additionalProperties: $ref: '#/definitions/MyCommonModel'
Where MyCommonModel will be the definition of the value object used here.