mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-23 09:30:59 +01:00
* . * Use ILRepack to include Microsoft.OpenApi as internal * ... * OpenApiSpecificationVersion * . * 080 * 4
28 lines
772 B
C#
28 lines
772 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT license.
|
|
|
|
using System.Collections.Generic;
|
|
using RamlToOpenApiConverter;
|
|
|
|
namespace WireMock.Net.OpenApiParser.Models;
|
|
|
|
/// <summary>
|
|
/// Object containing all diagnostic information related to Open API parsing.
|
|
/// </summary>
|
|
public class OpenApiDiagnostic
|
|
{
|
|
/// <summary>
|
|
/// List of all errors.
|
|
/// </summary>
|
|
public List<OpenApiError> Errors { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// List of all warnings
|
|
/// </summary>
|
|
public List<OpenApiError> Warnings { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Open API specification version of the document parsed.
|
|
/// </summary>
|
|
public OpenApiSpecificationVersion SpecificationVersion { get; set; }
|
|
} |