Closed paveltobias closed 5 years ago
swagger: "2.0" info: title: Example version: 0.0.1 host: ex.amp.le basePath: /ex/amp/le/ schemes: - https consumes: - application/json produces: - application/json paths: /dictionaries: get: responses: 200: description: OK schema: $ref: "#/definitions/Dictionary" definitions: Dictionary: type: object additionalProperties: $ref: "#/definitions/DictionaryItem" DictionaryItem: type: object properties: value: type: string required: - value
export interface Dictionary { [key: string]: DictionaryItem; }
export interface Dictionary { }
Example Swagger
Expected Result (Excerpt)
Actual Result (Excerpt)