Fix for the 404 in the swagger doc
This commit is contained in:
parent
aaeef4a27e
commit
bd07763455
|
@ -1,6 +1,9 @@
|
|||
import { IsString } from 'class-validator';
|
||||
|
||||
/**
|
||||
* Defines a empty response object
|
||||
*/
|
||||
export class ResponseEmpty {
|
||||
@IsString()
|
||||
response: string = "nothing here"
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
|
|||
/**
|
||||
* The orgs associated teams.
|
||||
*/
|
||||
@IsObject()
|
||||
@IsArray()
|
||||
teams: RunnerTeam[];
|
||||
|
||||
|
|
Loading…
Reference in New Issue