Adds application/json to inspect type (#853)
This commit is contained in:
committed by
Joe Nelson
parent
10f6ce45db
commit
0cf49bb8b6
@@ -237,7 +237,7 @@ makeRootPathItem = ("/", p)
|
||||
where
|
||||
getOp = (mempty :: Operation)
|
||||
& tags .~ Set.fromList ["/"]
|
||||
& produces ?~ makeMimeList [CTOpenAPI]
|
||||
& produces ?~ makeMimeList [CTOpenAPI, CTApplicationJSON]
|
||||
& at 200 ?~ "OK"
|
||||
pr = (mempty :: PathItem) & get ?~ getOp
|
||||
p = pr
|
||||
|
||||
Reference in New Issue
Block a user