Validate an OpenAPI Spec using Swagger CLI which calls Swagger Parser.
Details
If the api is deemed invalid, an error will be thrown.
This function is VERY and may be altered, changed, or removed in the future.
Examples
if (FALSE) { # \dontrun{
pr <- plumb_api("plumber", "01-append")
validate_api_spec(pr)
} # }