revert: feat: Allow to skip submitting empty values in form data (#5830)

This reverts commit b9b32c9c93.

Refs #6203 #5830
This commit is contained in:
Vladimir Gorej
2020-07-07 15:04:35 +02:00
parent e3b3bf03d4
commit 1b6cb7d1bf
10 changed files with 27 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
import { OrderedMap, Map } from "immutable"
import { OrderedMap } from "immutable"
import { isOAS3 as isOAS3Helper } from "./helpers"
@@ -26,11 +26,6 @@ export const requestBodyValue = onlyOAS3((state, path, method) => {
}
)
export const requestBodyInclusionSetting = onlyOAS3((state, path, method) => {
return state.getIn(["requestData", path, method, "bodyInclusion"]) || Map()
}
)
export const activeExamplesMember = onlyOAS3((state, path, method, type, name) => {
return state.getIn(["examples", path, method, type, name, "activeExample"]) || null
}