Minor text updates

This commit is contained in:
Tuan Dang
2024-09-12 17:26:56 -07:00
parent f63da87c7f
commit bb3da75870
2 changed files with 2 additions and 2 deletions

View File

@@ -1084,7 +1084,7 @@ export const CERTIFICATE_AUTHORITIES = {
serialNumber: "The serial number of the CA certificate"
},
GET_CERT_BY_ID: {
caId: "The ID of the CA to get the certificate from",
caId: "The ID of the CA to get the CA certificate from",
caCertId: "The ID of the CA certificate to get"
},
GET_CA_CERTS: {

View File

@@ -149,7 +149,7 @@ export const registerCaRouter = async (server: FastifyZodProvider) => {
rateLimit: readLimit
},
schema: {
description: "Public endpoint for fetching DER-encoded Certificate of CA",
description: "Get DER-encoded certificate of CA",
params: z.object({
caId: z.string().trim().describe(CERTIFICATE_AUTHORITIES.GET_CERT_BY_ID.caId),
caCertId: z.string().trim().describe(CERTIFICATE_AUTHORITIES.GET_CERT_BY_ID.caCertId)