在WSO2 API Manager中发布现有API
我正在尝试使用API管理器发布API。我收到以下错误:“ API验证失败。”我的API也有一个密码,但是我找不到如何将其添加到API Manager。 src =“ https://i.sstatic.net/t0q8g.png” alt =“ Open API验证失败”>
I am trying to publish an API using the API Manager. I am getting the following error: "API validation failed." My API also has a password, but I can not find out how to add this to the API Manager.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在尝试使用OpenAPI定义创建API。当您在此处提供URL时,将验证OpenAPI定义。请确保您在该URL中具有有效的OpenAPI定义。
如果您正在尝试创建一个没有OpenAPI定义的简单API,请使用“从头开始”选项启动并在此处提供后端URL。
You are trying to create an API using an OpenAPI definition. The OpenAPI definition is validated when you provide the URL here. Please make sure that you have a valid OpenAPI definition in that URL.
If you are a trying to create a simple API without an OpenAPI definition, please use the option Start from Scratch and provide your backend URL there.
如果OpenAPI定义受密码保护,则API Manager将无法检索OpenAPI定义。您可以将OpenAPI定义下载到文件系统中。然后使用OpenAPI文件选项创建API。
请参阅 - https://apim.docs.wso2.com/en/latest/design/design/create-preate-api/create/create-rest-rest-api /create-a-a-api-api-from-an-openapi-definition/#创建 - an-api in-api in-as-in-api-in-basic-flow
If the OpenAPI definition is password protected, then API Manager is not able to retrieve the OpenAPI definition. You can download the OpenAPI definition into the file system. Then use the OpenAPI file option to create an API.
Refer - https://apim.docs.wso2.com/en/latest/design/create-api/create-rest-api/create-a-rest-api-from-an-openapi-definition/#create-an-api-using-the-basic-flow