Namespace: Json.Schema.OpenApi
Inheritance: JsonSchemaExtensions
🡒 object
Methods
GetDiscriminator(this JsonSchema schema)
Gets the discriminator
keyword if it exists.
Declaration
1
public static DiscriminatorKeyword GetDiscriminator(this JsonSchema schema)
Returns
GetExample(this JsonSchema schema)
Gets the value of example
if the keyword exists.
Declaration
1
public static JsonNode GetExample(this JsonSchema schema)
Returns
GetExternalDocs(this JsonSchema schema)
Gets the value of externalDocs
if the keyword exists.
Declaration
1
public static string GetExternalDocs(this JsonSchema schema)
Returns
GetXml(this JsonSchema schema)
Gets the xml
keyword if it exists.
Declaration
1
public static XmlKeyword GetXml(this JsonSchema schema)