Peter Van den Bosch
Peter Van den Bosch
`mutuallyExclusiveParameters ` use case: when a search is possible on either a ("alternate" non-primary) ID or a name, but not on both at the same time. GET /employers?enterpriseNumber=1234&name=Smals ```JSON {...
use case `incompleteParameterGroup`: when searching on alternate id, both query params alternateIdType and alternateIdValue need to be present. other use case: if searching a person on house number, then the...
@wsalembi questioned practice of using key/value properties during this discussion; I opened #124 to add this discussion to backlog.
@jpraet , I changed the issue opener, removing some parts I split off to new separate issues: * #125 * #126
Discussed on WG: If there are many cases to standardize, use a common prefix like urn:problem-type:belgif:input-validation:invalidCombination: or urn:problem-type:belgif:input-validation:dependencyViolation:. The name "parameter" in OpenAPI isn't used for fields within the body...
no progress yet, I'll keep you posted. I expect to work on it +/- two weeks before the next WG.
Overview of relevant JSON Schema keywords: - allOf: valid against all of listed schemas - anyOf: valid against at least one of schemas - oneOf: valid against exactly one of...
Proposal: 1. urn:problem-type:belgif:input-validation:zeroOrOneOfRequired 2. urn:problem-type:belgif:input-validation:exactlyOneOfRequired (exactlyOneOf is clearer to me than just 'oneOf') 3. urn:problem-type:belgif:input-validation:allOfOrNoneRequired 4. urn:problem-type:belgif:input-validation:mustBeEqual 5. urn:problem-type:belgif:input-validation:anyOfRequired _update_: edited based on @jpraet 's feedback While theoretically you could...
> but then it is inconsistent for allOrNone as I would expect that one to be called allOrNoneRequired. > existing issue types [and problem types] are named after "what went...
A half attempt at alternative "what went wrong" naming style: * zeroOrOneOfRequired --> moreThanOne (ambiguous - does it mean the violation or expectation) or tooMany (doesn't mention that 1 is...