public static void WriteOptionalDictionary(this IOpenApiWriter writer, string name, IDictionary <string, string> elements) { if (elements == null) { return; } writer.WriteDictionaryInternal(name, elements); }
public static void WriteRequiredDictionary(this IOpenApiWriter writer, string name, IDictionary <string, string> elements) { writer.WriteDictionaryInternal(name, elements); }
public static void WriteRequiredDictionary <T>(this IOpenApiWriter writer, string name, IDictionary <string, T> elements) where T : IOpenApiWritable { writer.WriteDictionaryInternal(name, elements); }