swaggerNewbie
3 years agoNew Member
Annotations
I have no idea if I'm posting this is the wrong place, but hope someone can kindly help me or point me in the right direction
Im using swagger-ui in java that produces the following example
errorRecordList": [ { "errorCode": "ERROR_CODE1" }
How do I annotate the java code for errorCode ? This is an enum, but swagger ui seems to always pull the first value in the enum
maybe it should be errorCode : "ERROR_CODE1|ERROR_CODE2" for each enum of that type. right ?