Added schema description to Greeting

This commit is contained in:
Jim Martens 2020-07-07 22:41:18 +02:00
parent a5e4924eb7
commit c2a04b9bba
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package de.twomartens.templateservice.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
@Builder
@ -11,6 +12,7 @@ import lombok.*;
public class Greeting {
@NonNull
@Schema(description = "This message is displayed")
private final String message;
}