Swagger generator does not make properties as required

Hi There ,

Using Class diagram to design APIs and Swagger generator for documenting the design.

Generated Swagger file does not have required tag for properties, as the objects are designed by Class diagram which does not have required flag , how to mark the class attributes as required. Tried to set multiplicity to 1 , it did not work.

Regards

Hi venkatesh.boya,

Thank you for your post. I have forwarded your question to our team to study. When there is an answer, I will share with you.

Best regards,
Jick Yeung

Hi venkatesh.boya,

“required” works when multiplicity is set to 1, , or 1…. Could you try it?

Best regards,
Jick Yeung