Skip to content

Commit 7761651

Browse files
committed
Add license info; implement IOpenApiReferenceable interface
1 parent 5d3580c commit 7761651

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Microsoft.OpenApi/Models/OpenApiSchema.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
using System.Collections.Generic;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
3+
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Linq;
27
using System.Text.Json.Nodes;
38
using Microsoft.OpenApi.Any;
49
using Microsoft.OpenApi.Interfaces;
10+
using Microsoft.OpenApi.Writers;
511

612
namespace Microsoft.OpenApi.Models
713
{
814
/// <summary>
915
/// The Schema Object allows the definition of input and output data types.
1016
/// </summary>
11-
public class OpenApiSchema : IOpenApiExtensible
17+
public class OpenApiSchema : IOpenApiExtensible, IOpenApiReferenceable
1218
{
1319
/// <summary>
1420
/// Follow JSON Schema definition. Short text providing information about the data.

0 commit comments

Comments
 (0)