Updated the openapi description
continuous-integration/drone/pr Build is passing Details

ref #111
This commit is contained in:
Nicolai Ort 2021-01-20 20:07:16 +01:00
parent da1fe34249
commit 191569792c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export class RunnerSelfServiceController {
@ResponseSchema(ResponseSelfServiceRunner)
@ResponseSchema(RunnerNotFoundError, { statusCode: 404 })
@OnUndefined(RunnerNotFoundError)
@OpenAPI({ description: 'Lists all information about yourself. <br> Please provide your runner jwt for auth.' })
@OpenAPI({ description: 'Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.' })
async get(@Param('jwt') token: string) {
return (new ResponseSelfServiceRunner(await this.getRunner(token)));
}