Fix trivial mistake in Swagger documentation
This commit is contained in:
parent
fb29ba8114
commit
4c7f7add98
@ -1107,8 +1107,8 @@ instance ToSchema SubmissionsView where
|
||||
return $ NamedSchema (Just "Tag") $ mempty
|
||||
& type_ .~ SwaggerObject
|
||||
& properties .~
|
||||
fromList [ ("tests", submissionViewsSchema)
|
||||
, ("submissions", testRefsSchema)
|
||||
fromList [ ("submissions", submissionViewsSchema)
|
||||
, ("tests", testRefsSchema)
|
||||
]
|
||||
& required .~ [ "tests", "submission" ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user