Adding Decorators for comments
This commit is contained in:
@ -26,9 +26,20 @@ type AddValueResponse {
|
||||
}
|
||||
|
||||
service TestService {
|
||||
@Description("Add two numbers")
|
||||
@Param("request", "Parameter containing the two numbers")
|
||||
AddValuesSingleParam(request: AddValueRequest): AddValueResponse;
|
||||
|
||||
@Description("Add two numbers")
|
||||
@Param("value1", "The first value")
|
||||
@Param("value2", "The second value")
|
||||
AddValuesMultipleParams(value1: number, value2: number): number;
|
||||
|
||||
@Description("Does literaly nothing")
|
||||
@Param("param1", "Some number")
|
||||
ReturningVoid(param1: number): void;
|
||||
|
||||
@Description("Just sends an Event with a String")
|
||||
@Param("param1", "Parameter with some string for event")
|
||||
notification OnEvent(param1: string);
|
||||
}
|
||||
|
Reference in New Issue
Block a user