简体   繁体   English

Azure 开发人员门户中缺少定义

[英]Missing definitions in Azure Developer Portal

I am developing some APIs and Swagger is showing correctly all the related info, definitions included:我正在开发一些 API,Swagger 正确显示了所有相关信息,包括定义:

在此处输入图像描述

But when the API is published into Azure Developer Portal some definitions are not shown.但是当 API 发布到 Azure 开发者门户中时,一些定义没有显示。 I mean, the link is visible but it doesn't do anything我的意思是,链接是可见的,但它没有做任何事情

在此处输入图像描述

This happen only for some APIs.这只发生在某些 API 上。

Does anyone know is this is something I have misconfigured?有谁知道这是我配置错误的东西吗?

Thanks in advance提前致谢

There's an open issue on GitHub: https://github.com/Azure/api-management-developer-portal/issues/1889 GitHub 上有一个未解决的问题: https://github.com/Azure/api-management-developer-portal/issues/1889

When I navigate through the different objects defined in my yaml via Developer Portal some links don't work because some of them are not loaded.当我通过 Developer Portal 浏览在 yaml 中定义的不同对象时,某些链接不起作用,因为其中一些没有加载。
For instance in next screenshot you can see an outboundInvoice object but in the developer portal the link to it doesn't work.例如,在下一个屏幕截图中,您可以看到 outboundInvoice object,但在开发人员门户中,指向它的链接不起作用。 I've even added a "definitions" object (you also can see it in that screenshot) that explicitly references all objects used but has made no difference.我什至添加了一个“定义”object(您也可以在该屏幕截图中看到它),它明确引用了所有使用的对象,但没有任何区别。
I have the feeling it has to do with inheritance: when there's no inheritance objects look to load correctly.我觉得它与 inheritance 有关:当没有 inheritance 对象时,看起来可以正确加载。 But I might be wrong.但我可能错了。

在此处输入图像描述

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS Api Developer portal如何添加综合介绍? - How to add comprehensive introduction to AWS Api Developer portal? 从java Annotations生成swagger docus,缺少安全定义 - Generate swagger docus from java Annotations, missing security definitions 如何创建可以导入Azure API管理门户的Web API - How to create Web API that can be imported into Azure API Management Portal Azure API管理中单个阵列的多个阵列定义 - Multiple array definitions for single array in Azure API-management 无法访问Azure API应用。 Swagger文档在Azure Web门户中运行正常 - Cannot access Azure API App. Swagger doc is working fine in the Azure Web Portal Azure APIM中是否有任何中央存储库来保存保持定义,策略等? - Is there any central repository in Azure APIM to save keep definitions, policy etc.? 摇摇欲坠地引用externalFile中的定义 - Swagger reference to definitions in externalFile Swagger标题定义 - Swagger header definitions Logic App中的Swagger API连接器(通过Azure API管理)中的缺少订阅密钥字段 - Missing Subscription Key field in Swagger API connector (trough Azure API Management) in Logic App 如何在定义中重用草率定义? - How to reuse swagger definition in definitions?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM