diff --git a/api/public/swagger.yaml b/api/public/swagger.yaml index 4575edc..b2f481a 100644 --- a/api/public/swagger.yaml +++ b/api/public/swagger.yaml @@ -694,7 +694,7 @@ paths: value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400} 'Example 3': value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400} - summary: "Admin only task. Create client with the following attributes:\nClientId,\nClientSecret,\naccessTokenExpiryDays (optional),\nrefreshTokenExpiryDays (optional)" + summary: "Admin only task. Create client with the following attributes:\nClientId,\nClientSecret,\naccessTokenExpiration (optional),\nrefreshTokenExpiration (optional)" tags: - Client security: diff --git a/api/src/controllers/client.ts b/api/src/controllers/client.ts index dae173c..b6b6350 100644 --- a/api/src/controllers/client.ts +++ b/api/src/controllers/client.ts @@ -13,8 +13,8 @@ export class ClientController { * @summary Admin only task. Create client with the following attributes: * ClientId, * ClientSecret, - * accessTokenExpiryDays (optional), - * refreshTokenExpiryDays (optional) + * accessTokenExpiration (optional), + * refreshTokenExpiration (optional) * */ @Example({