You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure what I need to write to set the summary of a method.
@Accept('text/plain')
@Path('mypath')
export class MyService {
/**
* This description will be used to describe the get operation of path '/mypath' on the generated swagger
* @param test And this will describe the parameter test of this same operation
*/
@GET
@Path('secondpath')
test2( @QueryParam('testParam')test?: string ): Person {
return {name: 'OK'};
}
}
This sets the "description" property of the swagger.json.
How to set the summary property?
The text was updated successfully, but these errors were encountered:
I'm unsure what I need to write to set the summary of a method.
This sets the "description" property of the swagger.json.
How to set the summary property?
The text was updated successfully, but these errors were encountered: