-
Notifications
You must be signed in to change notification settings - Fork 275
feat(models): add shared Content interface #2695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
2987561
7758a81
6d41957
6f5ef96
bea10f0
2cbd5af
153299e
788838f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| using System.Collections.Generic; | ||
|
|
||
| namespace Microsoft.OpenApi; | ||
|
|
||
| /// <summary> | ||
| /// Describes an element that has content. | ||
| /// </summary> | ||
| public interface IOpenApiContentElement : IOpenApiReadOnlyContentElement | ||
| { | ||
| /// <inheritdoc /> | ||
| IDictionary<string, IOpenApiMediaType>? Content { get; set; } | ||
|
Check failure on line 11 in src/Microsoft.OpenApi/Models/Interfaces/IOpenApiContentElement.cs
|
||
| } | ||
|
|
||
| /// <summary> | ||
| /// Describes an element that has content. | ||
| /// </summary> | ||
| public interface IOpenApiReadOnlyContentElement | ||
| { | ||
| /// <summary> | ||
| /// A map containing descriptions of potential payloads. | ||
| /// The key is a media type or media type range and the value describes it. | ||
| /// </summary> | ||
| IDictionary<string, IOpenApiMediaType>? Content { get; } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.