HashMap in Open API 3.0.3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023
09:25 PM
01-31-2023
09:25 PM
HashMap in Open API 3.0.3
Is there any other way to define the key and value of the HashMap instead of using additionalProperties keyword?
I want to define the schema and give example for both key and value. But while using additionalProperties we can give schema for value only, key is by default a string but how to give example for it.
Labels:
- Labels:
-
Swagger Core
-
Swagger Editor
-
Swagger UI
0 REPLIES 0
