Skip to main content
Version: Preview (0.3.0-preview.205)

Class ValueObjectOpenApiExtensions

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

Wires value object support into OpenAPI document generation.

public static class ValueObjectOpenApiExtensions

Inheritance​

object ← ValueObjectOpenApiExtensions

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.