fix: no serializer found on native
This commit is contained in:
parent
b4e1876307
commit
136ebd1480
@ -4,10 +4,13 @@ import java.util.List;
|
||||
|
||||
import fr.la_banquise.backend.data.model.Instance;
|
||||
import fr.la_banquise.backend.data.model.Tp;
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
/**
|
||||
* DashboardResponse
|
||||
*/
|
||||
@RegisterForReflection
|
||||
public class DashboardResponse {
|
||||
public List<Tp> tps;
|
||||
public List<Instance> instances;
|
||||
|
@ -2,12 +2,14 @@ package fr.la_banquise.backend.rest.response;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
/**
|
||||
* LoggedUserResponse
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@RegisterForReflection
|
||||
public class LoggedUserResponse {
|
||||
public String username;
|
||||
public Set<String> roles;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package fr.la_banquise.backend.rest.response;
|
||||
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import io.smallrye.common.constraint.Nullable;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@ -7,6 +8,7 @@ import lombok.AllArgsConstructor;
|
||||
* PracticalResponse
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@RegisterForReflection
|
||||
public class PracticalResponse {
|
||||
public String name;
|
||||
public String description;
|
||||
|
Loading…
x
Reference in New Issue
Block a user