forked from filipg/gonito
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
|
return $ NamedSchema (Just "Tag") $ mempty
|
||||||
& type_ .~ SwaggerObject
|
& type_ .~ SwaggerObject
|
||||||
& properties .~
|
& properties .~
|
||||||
fromList [ ("tests", submissionViewsSchema)
|
fromList [ ("submissions", submissionViewsSchema)
|
||||||
, ("submissions", testRefsSchema)
|
, ("tests", testRefsSchema)
|
||||||
]
|
]
|
||||||
& required .~ [ "tests", "submission" ]
|
& required .~ [ "tests", "submission" ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user