@@ -16,11 +16,12 @@ const VersionResponse: HttpResponse = {
1616} ;
1717
1818/**
19- * Ping Check
19+ * Ping AWM
20+ *
21+ * Test your connection to the Advanced Wallet Manager (AWM) server.
2022 *
2123 * @tag Advanced Wallets
22- * @operationId v1.health.ping
23- * @private
24+ * @operationId v1.health.ping.awm
2425 */
2526const PingRoute = httpRoute ( {
2627 method : 'POST' ,
@@ -31,11 +32,12 @@ const PingRoute = httpRoute({
3132} ) ;
3233
3334/**
34- * Version Check
35+ * Check AWM Version
36+ *
37+ * Check your version of the Advanced Wallet Manager (AWM) server.
3538 *
3639 * @tag Advanced Wallets
37- * @operationId v1.health.version
38- * @private
40+ * @operationId v1.health.version.awm
3941 */
4042const VersionRoute = httpRoute ( {
4143 method : 'GET' ,
@@ -46,10 +48,10 @@ const VersionRoute = httpRoute({
4648} ) ;
4749
4850export const HealthCheckApiSpec = apiSpec ( {
49- 'v1.health.ping' : {
51+ 'v1.health.ping.awm ' : {
5052 post : PingRoute ,
5153 } ,
52- 'v1.health.version' : {
54+ 'v1.health.version.awm ' : {
5355 get : VersionRoute ,
5456 } ,
5557} ) ;
@@ -60,7 +62,7 @@ export function createHealthCheckRouter(): WrappedRouter<typeof HealthCheckApiSp
6062 decodeErrorFormatter : customDecodeErrorFormatter ,
6163 } ) ;
6264 // Ping endpoint handler
63- router . post ( 'v1.health.ping' , [
65+ router . post ( 'v1.health.ping.awm ' , [
6466 responseHandler ( ( ) =>
6567 Response . ok ( {
6668 status : 'advanced wallet manager server is ok!' ,
@@ -70,7 +72,7 @@ export function createHealthCheckRouter(): WrappedRouter<typeof HealthCheckApiSp
7072 ] ) ;
7173
7274 // Version endpoint handler
73- router . get ( 'v1.health.version' , [
75+ router . get ( 'v1.health.version.awm ' , [
7476 responseHandler ( ( ) =>
7577 Response . ok ( {
7678 version : pjson . version ,
0 commit comments