UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

43 lines 1.29 kB
export const pathItems = { get: { tags: ['main', 'user', 'current-user'], description: "Fetch the logged in user's profile.", operationId: 'getCurrentUser', responses: { 200: { description: "The user's profile.", content: { 'application/json': { schema: { $ref: '#/components/schemas/User', }, }, }, }, }, security: [{ studio: [] }], }, put: { tags: ['main', 'user', 'current-user'], description: "Update the logged in user's profile.", operationId: 'patchCurrentUser', requestBody: { required: true, $ref: '#/components/requestBodies/user', }, responses: { 200: { description: "The user's profile.", content: { 'application/json': { schema: { $ref: '#/components/schemas/User', }, }, }, }, }, security: [{ studio: [] }], }, }; //# sourceMappingURL=current.js.map