Adds application/json to inspect type (#853)

This commit is contained in:
Feynman Liang
2017-04-06 10:43:56 -05:00
committed by Joe Nelson
parent 10f6ce45db
commit 0cf49bb8b6
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ responseContentTypeOrError accepts action = serves contentTypesForRequest accept
ActionUpdate -> [CTApplicationJSON, CTSingularJSON, CTTextCSV]
ActionDelete -> [CTApplicationJSON, CTSingularJSON, CTTextCSV]
ActionInvoke -> [CTApplicationJSON, CTSingularJSON]
ActionInspect -> [CTOpenAPI]
ActionInspect -> [CTOpenAPI, CTApplicationJSON]
ActionInfo -> [CTTextCSV]
serves sProduces cAccepts =
case mutuallyAgreeable sProduces cAccepts of