Closed IvanGoncharov closed 8 years ago
According to RAML spec:
Responses MUST be a map of one or more HTTP status codes, where each status code itself is a map that describes that status code.
But raml-parser validates following constructions:
raml-parser
responses: 204:
Real life example: https://github.com/raml-apis/GitHub/blob/staging/api.raml#L2121
At the same time, RAML was designed so that missing stuff does not punish you, when a value is mandatory, the RAML spec says so, otherwise, a null is allowed.
According to RAML spec:
But
raml-parser
validates following constructions:Real life example: https://github.com/raml-apis/GitHub/blob/staging/api.raml#L2121