Fix trivial mistake in Swagger documentation

This commit is contained in:
Filip Gralinski 2021-02-15 11:32:51 +01:00
parent fb29ba8114
commit 4c7f7add98

View File

@ -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" ]