We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93a9d7 commit 9fc169cCopy full SHA for 9fc169c
src/Microsoft.OpenApi.Readers/V2/OpenApiHeaderDeserializer.cs
@@ -122,8 +122,7 @@ internal static partial class OpenApiV2Deserializer
122
{
123
"enum", (o, n) =>
124
125
- GetOrCreateSchema(o).Enum =
126
- n.CreateSimpleList<IOpenApiAny>(l => new OpenApiString(l.GetScalarValue()));
+ GetOrCreateSchema(o).Enum = n.CreateListOfAny();
127
}
128
129
};
@@ -152,7 +151,6 @@ public static OpenApiHeader LoadHeader(ParseNode node)
152
151
return header;
153
154
155
-
156
private static void LoadStyle(OpenApiHeader h, string v)
157
158
switch (v)
0 commit comments