我正在尝试将我的API文档上载到GCP Cloud端点,但是当我使用以下命令时:
gcloud endpoints services deploy openapi.yaml
我收到以下错误:
ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config.
'location: "unknown location"
kind:ERROR
message: "Cannot find a valid OpenAPI 2.0 spec in the input files"'
有人知道为什么会这样吗?