Browse Source

Added schema description to Greeting

master
Jim Martens 9 months ago
parent
commit
c2a04b9bba
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      template-server/src/main/java/de/twomartens/templateservice/entity/Greeting.java

+ 2
- 0
template-server/src/main/java/de/twomartens/templateservice/entity/Greeting.java 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;
}

Loading…
Cancel
Save