wip: swagger p3
This commit is contained in:
@@ -6,6 +6,7 @@ import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import org.eclipse.microprofile.openapi.annotations.media.Schema;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -51,10 +52,15 @@ public class SimpleReqAffiliation {
|
||||
@AllArgsConstructor
|
||||
@RegisterForReflection
|
||||
public static class AffiliationMember {
|
||||
@Schema(description = "Nom du membre", example = "Doe")
|
||||
String lname;
|
||||
@Schema(description = "Prénom du membre", example = "John")
|
||||
String fname;
|
||||
@Schema(description = "Email du membre", example = "john.doe@test.com")
|
||||
String email;
|
||||
@Schema(description = "Numéro de licence du membre", example = "12345")
|
||||
int licence;
|
||||
@Schema(description = "Rôle du membre", example = "MEMBRE")
|
||||
RoleAsso role;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user