@risemaxi/api-client
Version:
Client Library for Rise
33 lines (32 loc) • 784 B
JavaScript
// <EndpointSchemaLookup>
export function getEndpointSchema(method, path) {
switch (method) {
case "post":
switch (path) {
default:
return undefined;
}
case "get":
switch (path) {
default:
return undefined;
}
case "patch":
switch (path) {
default:
return undefined;
}
case "delete":
switch (path) {
default:
return undefined;
}
case "put":
switch (path) {
default:
return undefined;
}
default:
return undefined;
}
}