Validate returns an error if the swagger file is invalid or uses fields
we don't support. Note that this isn't a comprehensive check for all things
we don't support, so this may not return an error, but the Swagger file might
have values we don't support