How to generate Map with Swagger Codegen?

后端 未结 1 921
别那么骄傲
别那么骄傲 2021-01-24 13:53

I\'m working on an API where we define the API definition in the swagger.yaml file. The API which I am working on returns an output object which contains a map.

Output Ob

相关标签:
1条回答
  • 2021-01-24 14:18

    Your map definition is correct. There's an open issue with Swagger Codegen about the way it translates OpenAPI maps to Java code: https://github.com/swagger-api/swagger-codegen/issues/5187

    0 讨论(0)
提交回复
热议问题