@appsemble/utils
Version:
Utility functions used in Appsemble internally
92 lines • 2.56 kB
JavaScript
export const pathItems = {
parameters: [
{ $ref: '#/components/parameters/appId' },
{
name: 'userId',
in: 'path',
description: 'The ID of the member to perform the operation on',
required: true,
schema: { $ref: '#/components/schemas/User/properties/id' },
},
],
get: {
tags: ['main', 'app', 'scim'],
security: [{ scim: [] }],
operationId: 'getAppScimUser',
responses: {
200: {
description: 'SCIM user',
content: {
'application/scim+json': {
schema: {
$ref: '#/components/schemas/ScimUser',
},
},
},
},
},
},
delete: {
tags: ['main', 'app', 'scim'],
security: [{ scim: [] }],
operationId: 'deleteAppScimUser',
responses: {
204: {
description: 'SCIM user',
},
},
},
put: {
tags: ['main', 'app', 'scim'],
security: [{ scim: [] }],
operationId: 'updateAppScimUser',
requestBody: {
content: {
'application/json': {
schema: {
type: 'object',
additionalProperties: true,
},
},
'application/scim+json': {
schema: {
type: 'object',
additionalProperties: true,
},
},
},
},
responses: {
200: {
description: 'SCIM user',
},
},
},
patch: {
tags: ['main', 'app', 'scim'],
security: [{ scim: [] }],
operationId: 'patchAppScimUser',
requestBody: {
content: {
'application/json': {
schema: {
type: 'object',
additionalProperties: true,
},
},
'application/scim+json': {
schema: {
type: 'object',
additionalProperties: true,
},
},
},
},
responses: {
200: {
description: 'SCIM user',
},
},
},
};
//# sourceMappingURL=userId.js.map