anchor.diff:    SwaggerSpec = create_swagger_spec(GlobalSpec, SanitizeTrails),
     enc_json(SwaggerSpec).
   
  +-spec add_definition_array( Name::parameter_definition_name()
  +                          , Properties::property_obj()
  +                          ) ->
  +  ok.
  +add_definition_array(Name, Properties) ->
  +  DefinitionArray = build_definition_array(Name, Properties),
  +  add_definition(DefinitionArray).
  +
   -spec add_definition( Name::parameter_definition_name()
                       , Properties::property_obj()
                       ) ->
     ok.
   add_definition(Name, Properties) ->
     Definition = build_definition(Name, Properties),
  +  add_definition(Definition).
  +
  +-spec add_definition( Definition :: parameters_definitions()) ->
  +  ok.
  +add_definition(Definition) ->
     CurrentSpec = application:get_env(cowboy_swagger, global_spec, #{}),
     ExistingDefinitions = maps:get(definitions, CurrentSpec, #{}),
     NewSpec = CurrentSpec#{definitions => maps:merge( ExistingDefinitions
  
positive.code:   #{Name => #{ type => <<"object">>
               , properties => Properties
               }}.
  
negative.code: -module(cowboy_swagger).
  
  %% API
  -export([to_json/1, add_definition/2, add_definition_array/2, schema/1]).
  
  %% Utilities
  -export([enc_json/1, dec_json/1]).
  