package io.swagger.model; import groovy.transform.Canonical import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @Canonical class User { /* Username of the user */ String username = null /* role of the user */ String role = null }