< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.OpenApi.OpenApiContractInfo
Assembly: CoreWCF.WebHttp
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/OpenApi/OpenApiContractInfo.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 24
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/OpenApi/OpenApiContractInfo.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5using CoreWCF.Web;
 6
 7namespace CoreWCF.OpenApi
 8{
 9    /// <summary>
 10    /// Captures information about a WCF contract needed by OpenAPI.
 11    /// </summary>
 12    public class OpenApiContractInfo
 13    {
 14        /// <summary>
 15        /// The actual contract.
 16        /// </summary>
 15217        public Type Contract { get; set; }
 18
 19        /// <summary>
 20        /// Default format of the response.
 21        /// </summary>
 9322        public WebMessageFormat ResponseFormat { get; set; }
 23    }
 24}

Methods/Properties

Contract()
ResponseFormat()