Closed anthony-foulfoin closed 9 years ago
We could do something like that :
@RestApiParam([...], allowedvalues=Status.class)
With this enum :
enum Status { ONLINE, OFFLINE, BLOCKED, PUBLISHED, [...] }
If we already have an enum, it avoids to do something like that :
@RestApiParam([...], allowedvalues=['ONLINE', 'OFFLINE', 'BLOCKED', 'PUBLISHED', ...])
Available in 0.3.1 Thanks
We could do something like that :
With this enum :
If we already have an enum, it avoids to do something like that :