fix(swagger): enable in production
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m15s
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m15s
This commit is contained in:
@@ -9,6 +9,7 @@ import jakarta.ws.rs.GET;
|
||||
import jakarta.ws.rs.Path;
|
||||
import jakarta.ws.rs.Produces;
|
||||
import org.eclipse.microprofile.jwt.JsonWebToken;
|
||||
import org.eclipse.microprofile.openapi.annotations.Operation;
|
||||
import org.jboss.resteasy.reactive.NoCache;
|
||||
|
||||
@Path("/hello")
|
||||
@@ -58,6 +59,7 @@ public class ExampleResource {
|
||||
@GET
|
||||
@Produces("text/html")
|
||||
@NoCache
|
||||
@Operation(hidden = true)
|
||||
public String getTokens() {
|
||||
StringBuilder response = new StringBuilder().append("<html>")
|
||||
.append("<body>")
|
||||
|
||||
Reference in New Issue
Block a user