Remove redundant consumes property for get operation
This commit is contained in:
@@ -192,7 +192,6 @@ makeRootPathItem = ("/", p)
|
|||||||
getOp = (mempty :: Operation)
|
getOp = (mempty :: Operation)
|
||||||
& tags .~ Set.fromList ["/"]
|
& tags .~ Set.fromList ["/"]
|
||||||
& produces ?~ makeMimeList [ApplicationJSON, OpenAPI]
|
& produces ?~ makeMimeList [ApplicationJSON, OpenAPI]
|
||||||
& consumes ?~ makeMimeList [ApplicationJSON, OpenAPI]
|
|
||||||
& at 200 ?~ "OK"
|
& at 200 ?~ "OK"
|
||||||
pr = (mempty :: PathItem) & get ?~ getOp
|
pr = (mempty :: PathItem) & get ?~ getOp
|
||||||
p = pr
|
p = pr
|
||||||
|
|||||||
Reference in New Issue
Block a user