[MP: OpenAPI] Could you please help to advise about @Schema?

54 views
Skip to first unread message

Charlee Chitsuk

unread,
Feb 14, 2019, 8:09:33 PM2/14/19
to Eclipse MicroProfile
Dear team,

Regarding to the "MP: OpenAPI 1.0" and "@Schema"[1], I've tried to define the schema for map[1] and found that there is no attribute named "additionalProperties". This lead me to write the "OASFilter" to add it via the "filterOpenAPI(OpenAPI openAPI)" and the map of "Schema"[2].

Do we have any reason for not including the "additionalProperties" to the "@Schema"? Is it a bad practice to set it via annotation? 

Could you please help to advise? Thank you very much for your help in advance. I'm looking forward to hearing from you soon.

Regards,

Reply all
Reply to author
Forward
0 new messages