cancel
Showing results for 
Search instead for 
Did you mean: 

How to define HashMap <Long,Object> ?

SOLVED
Highlighted
New Contributor

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

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


Helen Kosova
SmartBear Documentation Team Lead
________________________
Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

2 REPLIES 2
Highlighted
Moderator

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


Helen Kosova
SmartBear Documentation Team Lead
________________________
Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

Highlighted
New Contributor

okay, thank you

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors