Created
July 11, 2021 09:54
-
-
Save evrentan/109cb25aaf7d08f35546eea1a5afe6dd to your computer and use it in GitHub Desktop.
@ApiModelProperty Annotation Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tan.myswaggeruiexample.dto; | |
import com.tan.myswaggeruiexample.dto.shared.AbstractGenericDtoType; | |
import io.swagger.annotations.ApiModelProperty; | |
import lombok.EqualsAndHashCode; | |
import lombok.Getter; | |
import lombok.Setter; | |
import lombok.ToString; | |
@Getter | |
@Setter | |
@ToString | |
@EqualsAndHashCode(callSuper = true) | |
public class Customer extends AbstractGenericDtoType { | |
@ApiModelProperty(notes = "Customer Type") | |
private String customerType; | |
@ApiModelProperty(notes = "Customer Full Name") | |
private String customerFullName; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment