Skip to content

Commit

Permalink
[WFLY-19345] some changes in microprofile-openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeshnas93 committed Jun 13, 2024
1 parent 7aac51e commit d24bd04
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.wildfly.quickstart.microprofile.openapi;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;

@Path("/")
public class RootResource {

@GET
@Produces(MediaType.TEXT_PLAIN)
public String getRootResponse() {
return "MicroProfile OpenAPI quickstart deployed successfully. You can find the available operations in the included README file.";
}
}

2 changes: 1 addition & 1 deletion microprofile-openapi/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<body>
<div style="text-align:center">

<h1>Hello There! Welcome to JBoss!</h1>
<h1>Hello There! Welcome to WildFly!</h1>
<h2>The microprofile-openapi application has been deployed and running successfully.</h2>

</div>
Expand Down

0 comments on commit d24bd04

Please sign in to comment.