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
|
* Defines a empty response object
|
||||||
*/
|
*/
|
||||||
export class ResponseEmpty {
|
export class ResponseEmpty {
|
||||||
|
@IsString()
|
||||||
|
response: string = "nothing here"
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
|
|||||||
/**
|
/**
|
||||||
* The orgs associated teams.
|
* The orgs associated teams.
|
||||||
*/
|
*/
|
||||||
@IsObject()
|
|
||||||
@IsArray()
|
@IsArray()
|
||||||
teams: RunnerTeam[];
|
teams: RunnerTeam[];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user