-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathEntityPutOperationHandler.cs
More file actions
29 lines (26 loc) · 1.12 KB
/
EntityPutOperationHandler.cs
File metadata and controls
29 lines (26 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System.Net.Http;
using Microsoft.OpenApi.Models;
namespace Microsoft.OpenApi.OData.Operation
{
/// <summary>
/// Update an Entity
/// The Path Item Object for the entity set contains the keyword put with an Operation Object as value
/// that describes the capabilities for updating the entity.
/// </summary>
internal class EntityPutOperationHandler : EntityUpdateOperationHandler
{
/// <summary>
/// Initializes a new instance of <see cref="EntityPutOperationHandler"/> class.
/// </summary>
/// <param name="document">The document to use to lookup references.</param>
public EntityPutOperationHandler(OpenApiDocument document) : base(document)
{
}
/// <inheritdoc/>
public override HttpMethod OperationType => HttpMethod.Put;
}
}