import { IApiSchemaUI, ERequestMethod, EAPICategoryRedis, EApiRequestBodyType } from 'store-types';
import * as ST from 'store-types';
import * as T from 'types';
let apiSchema: IApiSchemaUI = {
path: '/hello-world',
name: 'Hello World',
requestMethod: ERequestMethod.POST,
categoryRedis: EAPICategoryRedis.GET_DATA,
reqBodySchema: {
name: <T.ISchemaProperty>{
__type: T.EType.string,
validations: {
required: true
}
}
},
reqQueryParametersSchema: {
queryParam: <T.ISchemaProperty>{
__type: T.EType.string,
validations: {
required: true
}
}
},
errorList: [
'Unable to process this request',
],
};
module.exports = apiSchema;