Added schema description to Greeting
This commit is contained in:
parent
a5e4924eb7
commit
c2a04b9bba
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue