pub fn check_specification(
spec: Option<&JsonText>,
files: Option<&JsonText>,
) -> Result<(), ValidateError>Expand description
Check a specification and then the composition files an operation reads.
Invalid text is the INVALID_TEXT load failure located at its
specification path, or at the file name followed by its path in the file;
an invalid file name is located at the empty path. A value beyond its limits
is INVALID_FORM_INPUT naming spec or files. Each value is checked in
walk order: the first failure of the value decides its error.