Adding minimal config
This commit is contained in:
parent
7014cf194b
commit
7954d18dc8
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user