anchor.diff:  {                                                                              }
   {       WiRL: RESTful Library for Delphi                                       }
   {                                                                              }
  -{       Copyright (c) 2015-2017 WiRL Team                                      }
  +{       Copyright (c) 2015-2018 WiRL Team                                      }
   {                                                                              }
   {       https://github.com/delphi-blocks/WiRL                                  }
   {                                                                              }
  
positive.code: procedure TSwaggerFilter.AddResource(APaths: TJSONObject;
    AApplication: TWiRLApplication; LResource: TClass);
  
    function FindOrCreatePath(APaths: TJSONObject; const AResourcePath: string) :TJSONObject;
    begin
      Result := APaths.GetValue(AResourcePath) as TJSONObject;
      if not Assigned(Result) then
  
negative.code:   ASwagger.AddPair('paths', LPaths);
  end;
  
  procedure TSwaggerFilter.AddOperation(AJsonPath: TJSONObject;
    const AMethodName: string; AResourceMethod: TRttiMethod);
  
    function CreateResponseSchema(AResourceMethod: TRttiMethod): TJSONObject;
    begin
      Result := TJSONObject.Create;
      TSwaggerSchemaCompiler.SetTypeProperties(AResourceMethod.ReturnType, Result);
    end;
  
    function FindOrCreateOperation(APath: TJSONObject; const AMethodName: string) :TJSONObject;
  