Class OpenApiDocExtensions
Namespace: Momentum.ServiceDefaults.Api.OpenApi.Extensions
Assembly: Momentum.ServiceDefaults.Api.dll
csharp
public static class OpenApiDocExtensions
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
ConvertToOpenApiType(Type, string)
csharp
public static IOpenApiPrimitive? ConvertToOpenApiType(this Type type, string value)
Parameters
type
Type
value
string
Returns
EnrichWithXmlDocInfo(OpenApiSchema, XmlDocumentationInfo, Type)
csharp
public static void EnrichWithXmlDocInfo(this OpenApiSchema schema, XmlDocumentationInfo xmlDoc, Type type)
Parameters
schema
OpenApiSchema
xmlDoc
XmlDocumentationInfo
type
Type