API定义 [英] API Definition

查看:104
本文介绍了API定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

生成Open API定义时是否可以包含请求/响应模式?

目前,它只输出路由和操作但没有模式。我想知道是否有任何C#属性(类似于WCF数据合同/数据成员)我们可以用来输出架构详细信息?

Is it possible to include request/response schemas when generating the Open API definition?
Currently, it just outputs routes and actions but no schemas. I was wondering if there are any C# attributes (something akin to WCF data contract/data member) we could use to output the schema details?

谢谢,

Jason

推荐答案

Hello Jason,

Hello Jason,

请问您的问题是否可以确认与Azure Function App相关。如果是,请您提供更多详细信息。 

Can you please confirm if your ask is related to Azure Function App. If yes, Can you please provide some more details around it. 


这篇关于API定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆