renamed enum classes

This commit is contained in:
2026-04-06 01:28:31 +02:00
parent be0821b0be
commit 8b1a604dc2
3 changed files with 31 additions and 20 deletions
@@ -0,0 +1,16 @@
package com.vaessl.app.connection;
public enum Endpoint {
HOMEBOX_LOGIN("/api/v1/users/login"), LOGIN("/login");
private final String value;
private Endpoint(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
@@ -1,14 +0,0 @@
package com.vaessl.app.connection;
import lombok.Getter;
@Getter
public enum Endpoints {
HOMEBOX_LOGIN("/api/v1/users/login");
private final String endpoint;
Endpoints(String endpoint){
this.endpoint = endpoint;
}
}