OpenApiDocDescriptor.NewOpenApiExample method (1 of 2)
Creates a new OpenApiExample object.
public OpenApiExample NewOpenApiExample(string summary, string? description, object? value,
IDictionary? extensions)
| parameter | description |
|---|---|
| summary | Creates a new OpenApiExample object. |
| description | The description of the example. |
| value | The value of the example. |
| extensions | The extensions for the example. |
Return Value
A new instance of OpenApiExample.
See Also
- class OpenApiDocDescriptor
- namespace Kestrun.OpenApi
OpenApiDocDescriptor.NewOpenApiExample method (2 of 2)
Creates a new OpenApiExample object.
public OpenApiExample NewOpenApiExample(string summary, string? description, object? dataValue,
string? serializedValue, IDictionary? extensions)
| parameter | description |
|---|---|
| summary | Creates a new OpenApiExample object. |
| description | The description of the example. |
| dataValue | The data value of the example. |
| serializedValue | The serialized value of the example. |
| extensions | The extensions for the example. |
Return Value
A new instance of OpenApiExample.
See Also
- class OpenApiDocDescriptor
- namespace Kestrun.OpenApi