[英]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.