Compartilhar via


OpenApiWriterException Class

Definition

Exception type representing exceptions in the OpenAPI writer.

public class OpenApiWriterException : Microsoft.OpenApi.Exceptions.OpenApiException
type OpenApiWriterException = class
    inherit OpenApiException
Public Class OpenApiWriterException
Inherits OpenApiException
Inheritance
OpenApiWriterException

Constructors

OpenApiWriterException()

Creates a new instance of the OpenApiWriterException class with default values.

OpenApiWriterException(String, Exception)

Creates a new instance of the OpenApiWriterException class with an error message and an inner exception.

OpenApiWriterException(String)

Creates a new instance of the OpenApiWriterException class with an error message.

Properties

Pointer

The reference pointer. This is a fragment identifier used to point to where the error occurred in the document. If the document has been parsed as JSON/YAML then the identifier will be a JSON Pointer as per https://tools.ietf.org/html/rfc6901 If the document fails to parse as JSON/YAML then the fragment will be based on a text/plain pointer as defined in https://tools.ietf.org/html/rfc5147 Currently only line= is provided because using char= causes tests to break due to CR/LF and LF differences

(Inherited from OpenApiException)

Applies to