|
@@ -580,9 +580,6 @@ hocon_schema_to_spec(?UNION(Types), LocalModule) ->
|
|
|
hocon_schema_to_spec(Atom, _LocalModule) when is_atom(Atom) ->
|
|
hocon_schema_to_spec(Atom, _LocalModule) when is_atom(Atom) ->
|
|
|
{#{type => string, enum => [Atom]}, []}.
|
|
{#{type => string, enum => [Atom]}, []}.
|
|
|
|
|
|
|
|
-%% todo: Find a way to fetch enum value from user_id_type().
|
|
|
|
|
-typename_to_spec("user_id_type()", _Mod) ->
|
|
|
|
|
- #{type => string, enum => [clientid, username]};
|
|
|
|
|
typename_to_spec("term()", _Mod) ->
|
|
typename_to_spec("term()", _Mod) ->
|
|
|
#{type => string, example => <<"any">>};
|
|
#{type => string, example => <<"any">>};
|
|
|
typename_to_spec("boolean()", _Mod) ->
|
|
typename_to_spec("boolean()", _Mod) ->
|