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.Instance;
|
||||||
import fr.la_banquise.backend.data.model.Tp;
|
import fr.la_banquise.backend.data.model.Tp;
|
||||||
|
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DashboardResponse
|
* DashboardResponse
|
||||||
*/
|
*/
|
||||||
|
@RegisterForReflection
|
||||||
public class DashboardResponse {
|
public class DashboardResponse {
|
||||||
public List<Tp> tps;
|
public List<Tp> tps;
|
||||||
public List<Instance> instances;
|
public List<Instance> instances;
|
||||||
|
@ -2,12 +2,14 @@ package fr.la_banquise.backend.rest.response;
|
|||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LoggedUserResponse
|
* LoggedUserResponse
|
||||||
*/
|
*/
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
@RegisterForReflection
|
||||||
public class LoggedUserResponse {
|
public class LoggedUserResponse {
|
||||||
public String username;
|
public String username;
|
||||||
public Set<String> roles;
|
public Set<String> roles;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package fr.la_banquise.backend.rest.response;
|
package fr.la_banquise.backend.rest.response;
|
||||||
|
|
||||||
|
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||||
import io.smallrye.common.constraint.Nullable;
|
import io.smallrye.common.constraint.Nullable;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
|
|
||||||
@ -7,6 +8,7 @@ import lombok.AllArgsConstructor;
|
|||||||
* PracticalResponse
|
* PracticalResponse
|
||||||
*/
|
*/
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
@RegisterForReflection
|
||||||
public class PracticalResponse {
|
public class PracticalResponse {
|
||||||
public String name;
|
public String name;
|
||||||
public String description;
|
public String description;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user