Forum Discussion

AnnaBo's avatar
AnnaBo
New Contributor
5 years ago

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?

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

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

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