Adding minimal config

This commit is contained in:
Martin Karkowski 2020-08-24 23:09:26 +02:00
parent 7014cf194b
commit 7954d18dc8

View File

@ -37,7 +37,7 @@ export class CLWithInterface {
* @param a Parameter a
* @param b Parameter b
*/
@exportMethodToOpenAPI()
@exportMethodToOpenAPI({})
@exportMethodToDispatcher({
url: 'exportedFunction'
})
@ -49,13 +49,11 @@ export class CLWithInterface {
return await operator(a, b);
}
@exportMethodToOpenAPI()
@exportMethodToOpenAPI({})
@exportMethodToDispatcher({
url: 'exportedFunction'
})
async exportedFunctionShouldBeHosted(/* COMMENT */ a: number, b?: number) {
// Comment etc.
return a + b || 0;
}