UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

37 lines 1.15 kB
export const pathItems = { parameters: [{ $ref: '#/components/parameters/appId' }], get: { tags: ['main', 'app', 'secret', 'ssl'], description: 'Get the SSL certificate of an app', operationId: 'getAppSslSecret', responses: { 200: { description: 'The SSL secret of the app.', $ref: '#/components/schemas/SSLSecret', }, }, security: [{ studio: [] }], }, put: { tags: ['main', 'app', 'secret', 'ssl'], description: 'Update the app’s SSL secret', operationId: 'updateAppSslSecret', requestBody: { content: { 'application/json': { schema: { $ref: '#/components/schemas/SSLSecret', }, }, }, }, responses: { 200: { description: 'The updated SSL secret.', $ref: '#/components/schemas/SSLSecret', }, }, security: [{ studio: [] }, { cli: ['apps:write'] }], }, }; //# sourceMappingURL=ssl.js.map