0
/// <summary>
/// This method will retrieve a company in portal
/// </summary>
/// <param name="UserName">This is the Username assigned to a company to allow service procesing</param>
/// <param name="ActualCompanyName">Actual Name of the company</param>
/// <returns>This returns a PortalCompany object <see cref="PortalCompany"/> upon successful completion. If a failure arises it will return <see cref="SiteAccessException"/> object. The restful nodes will return</returns>
[OperationContract]
[WebInvoke(Method = "GET",
UriTemplate = "GetCompany/{UserName}/{ActualCompanyName}")]
[SwaggerWcf.Attributes.SwaggerWcfPath("Get Company", "Get Company to the portal")]
PortalCompany GetCompany(String UserName, String ActualCompanyName);
這是我的操作合同。我需要查看本節中的說明。請參閱圖片以供參考。Swagger UI說明
謝謝你這麼多。如果價值是否需要呢? – Athan
@不然,在涵蓋必填字段的文檔中有一個例子 – Fals
謝謝。是的,實際上已經做到了男人,乾杯。請多多關注。如何將文本框內的「必需」標籤更改爲「可選」,例如? – Athan