コード例 #1
0
 /// <summary>
 /// Resolves the <see cref="OpenApiSchema.Reference"/> in the <paramref name="schema"/>, if present, using <paramref name="components"/>.
 /// </summary>
 public static OpenApiSchema Resolve([NotNull] this OpenApiSchema schema, [NotNull] OpenApiComponents components)
 => schema.Resolve(components.Schemas);
コード例 #2
0
 /// <summary>
 /// Resolves the <see cref="OpenApiSchema.Reference"/> in the <paramref name="schema"/>, if present, using <paramref name="components"/>.
 /// </summary>
 public static OpenApiSchema Resolve(this OpenApiSchema schema, OpenApiComponents components)
 => schema.Resolve(components.Schemas);