fix: code format3

This commit is contained in:
DDDHuang 2022-04-16 12:53:18 +08:00
parent 82ce6ae9f9
commit 1121c6a47e
1 changed files with 2 additions and 0 deletions

View File

@ -582,6 +582,8 @@ typename_to_spec("float()", _Mod) ->
typename_to_spec("integer()", _Mod) -> typename_to_spec("integer()", _Mod) ->
#{type => integer, example => 100}; #{type => integer, example => 100};
typename_to_spec("non_neg_integer()", _Mod) -> typename_to_spec("non_neg_integer()", _Mod) ->
#{type => integer, minimum => 0, example => 100};
typename_to_spec("pos_integer()", _Mod) ->
#{type => integer, minimum => 1, example => 100}; #{type => integer, minimum => 1, example => 100};
typename_to_spec("number()", _Mod) -> typename_to_spec("number()", _Mod) ->
#{type => number, example => 42}; #{type => number, example => 42};