Skip to main content

Class ValueObjectOpenApiExtensions

Namespace: AdCodicem.ValueObjects.OpenApi
Assembly: AdCodicem.ValueObjects.OpenApi.dll

Wires value object support into OpenAPI document generation.

public static class ValueObjectOpenApiExtensions

Inheritance

objectValueObjectOpenApiExtensions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

AddValueObjects(OpenApiOptions)

Documents value objects as their underlying types.

public static OpenApiOptions AddValueObjects(this OpenApiOptions options)

Parameters

options OpenApiOptions

OpenAPI options, from AddOpenApi.

Returns

OpenApiOptions

The same options, so calls can be chained.