RestApiOperationExpectedResponse(String, String, KernelJsonSchema) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the RestApiOperationResponse class.
public RestApiOperationExpectedResponse (string description, string mediaType, Microsoft.SemanticKernel.KernelJsonSchema? schema = default);
new Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationExpectedResponse : string * string * Microsoft.SemanticKernel.KernelJsonSchema -> Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationExpectedResponse
Public Sub New (description As String, mediaType As String, Optional schema As KernelJsonSchema = Nothing)
Parameters
- description
- String
The description of the response.
- mediaType
- String
The media type of the response.
- schema
- KernelJsonSchema
The schema against which the response body should be validated.