manifest
Version:
The backend for AI code editors
32 lines (31 loc) • 921 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getForbiddenResponse = getForbiddenResponse;
function getForbiddenResponse() {
return {
description: 'Forbidden',
content: {
'application/json': {
schema: {
type: 'object',
properties: {
message: {
type: 'string'
},
error: {
type: 'string'
},
statusCode: {
type: 'number'
}
}
},
example: {
message: 'Forbidden resource',
error: 'Forbidden',
statusCode: 403
}
}
}
};
}