Files
Authenticator/api/Authenticator.api
2025-10-07 10:22:34 +08:00

30 lines
455 B
Plaintext

syntax = "v1"
info (
title: "Authenticator API"
desc: "Authenticator API"
author: "cialloo"
date: "2025-10-07"
version: "v1"
)
type (
PingReq {}
PingResp {
ok bool `json:"ok"`
}
)
@server (
prefix: /api/authenticator
)
service Authenticator {
@doc (
summary: "Ping the server to check if it's alive"
description: "Ping the server to check if it's alive"
)
@handler pingHandler
get /ping (PingReq) returns (PingResp)
}