Forum Discussion

AnnaBo's avatar
AnnaBo
New Contributor
4 years ago
Solved

How to define HashMap <Long,Object> ?

Hi I understood how to define a HashMap <String, Object> with OpenApi - but I need to define one with Long: <Long,Object>. How can I achieve that?
  • HKosova's avatar
    4 years ago

    This is not supported. OpenAPI Specification only supports maps with string keys.