Skip to content

Instantly share code, notes, and snippets.

View stolen's full-sized avatar

Danil Zagoskin stolen

  • Usergate
  • Moscow, Russia
View GitHub Profile
@stolen
stolen / c2_schema.erl
Created April 23, 2025 08:18 — forked from maxlapshin/c2_schema.erl
openapi
-module(c2_schema).
-include_lib("kernel/include/logger.hrl").
-export([json2config/1, json2config/2]).
-record(ctx, {
drop_unknown,
fill_defaults,
allow_miss_mandatory,
allow_forced_undefined,