UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

53 lines 1.91 kB
export const pathItems = { post: { description: 'Register new OAuth2 client credentials for the authenticated user.', tags: ['main', 'user', 'current-user', 'auth', 'oauth2', 'client-credentials'], operationId: 'registerCurrentUserOAuth2ClientCredentials', requestBody: { description: 'The OAuth2 client credentials', required: true, content: { 'application/json': { schema: { $ref: '#/components/schemas/OAuth2ClientCredentials', }, }, }, }, responses: { 201: { description: 'The newly created client credentials', content: { 'application/json': { schema: { $ref: '#/components/schemas/OAuth2ClientCredentials', }, }, }, }, }, security: [{ studio: [] }], }, get: { description: 'Get a list of client credentials for the authenticated user', tags: ['main', 'user', 'current-user', 'auth', 'oauth2', 'client-credentials'], operationId: 'listCurrentUserOAuth2ClientCredentials', responses: { 200: { description: 'A list of client credentials entities.', content: { 'application/json': { schema: { type: 'array', items: { $ref: '#/components/schemas/OAuth2ClientCredentials', }, }, }, }, }, }, security: [{ studio: [] }], }, }; //# sourceMappingURL=clientCredentials.js.map