public ChangedRequestBodyBO(OpenApiRequestBody oldRequestBody, OpenApiRequestBody newRequestBody, DiffContextBO context) { _oldRequestBody = oldRequestBody; _newRequestBody = newRequestBody; _context = context; }
public ChangedHeadersBO(IDictionary <string, OpenApiHeader> oldHeaders, IDictionary <string, OpenApiHeader> newHeaders, DiffContextBO context) { _oldHeaders = oldHeaders; _newHeaders = newHeaders; _context = context; }
public ChangedOneOfSchemaBO(Dictionary <string, string> oldMapping, Dictionary <string, string> newMapping, DiffContextBO context) { _oldMapping = oldMapping; _newMapping = newMapping; Context = context; }
public ChangedParameterBO(string name, ParameterLocation? @in, OpenApiParameter oldParameter, OpenApiParameter newParameter, DiffContextBO context) { _context = context; Name = name; In = @in; OldParameter = oldParameter; NewParameter = newParameter; }
protected ChangedListBO(IList <T> oldValue, IList <T> newValue, DiffContextBO context) { OldValue = oldValue; NewValue = newValue; Context = context; Shared = new List <T>(); Increased = new List <T>(); Missing = new List <T>(); }
public ChangedAPIResponseBO(OpenApiResponses oldApiResponses, OpenApiResponses newApiResponses, DiffContextBO context) { _oldApiResponses = oldApiResponses; _newApiResponses = newApiResponses; _context = context; Increased = new Dictionary <string, OpenApiResponse>(); Missing = new Dictionary <string, OpenApiResponse>(); Changed = new Dictionary <string, ChangedResponseBO>(); }
public ChangedParametersBO(List <OpenApiParameter> oldParameterList, List <OpenApiParameter> newParameterList, DiffContextBO context) { _oldParameterList = oldParameterList; _newParameterList = newParameterList; _context = context; Increased = new List <OpenApiParameter>(); Missing = new List <OpenApiParameter>(); Changed = new List <ChangedParameterBO>(); }
public ChangedContentBO(Dictionary <string, OpenApiMediaType> oldContent, Dictionary <string, OpenApiMediaType> newContent, DiffContextBO context) { _oldContent = oldContent; _newContent = newContent; _context = context; Increased = new Dictionary <string, OpenApiMediaType>(); Missing = new Dictionary <string, OpenApiMediaType>(); Changed = new Dictionary <string, ChangedMediaTypeBO>(); }
public ChangedPathBO(string pathUrl, OpenApiPathItem oldPath, OpenApiPathItem newPath, DiffContextBO context) { _pathUrl = pathUrl; _oldPath = oldPath; _newPath = newPath; _context = context; Increased = new Dictionary <OperationType, OpenApiOperation>(); Missing = new Dictionary <OperationType, OpenApiOperation>(); Changed = new List <ChangedOperationBO>(); }
public ChangedExtensionsBO(Dictionary <string, IOpenApiExtension> oldExtensions, Dictionary <string, IOpenApiExtension> newExtensions, DiffContextBO context) { _oldExtensions = oldExtensions; _newExtensions = newExtensions; _context = context; Increased = new Dictionary <string, ChangedBO>(); Missing = new Dictionary <string, ChangedBO>(); Changed = new Dictionary <string, ChangedBO>(); }
private DiffContextBO Copy() { var context = new DiffContextBO { URL = URL, Parameters = Parameters, Method = Method, IsResponse = IsResponse, IsRequest = IsRequest, IsRequired = IsRequired }; return(context); }
public ChangedReadOnlyBO(bool?oldValue, bool?newValue, DiffContextBO context) { _context = context; _oldValue = oldValue ?? false; _newValue = newValue ?? false; }
public ChangedRequiredBO(IList <string> oldValue, IList <string> newValue, DiffContextBO context) : base(oldValue, newValue, context) { }
public ChangedMinLengthBO(int?oldValue, int?newValue, DiffContextBO context) { _oldValue = oldValue; _newValue = newValue; _context = context; }
public ChangedHeaderBO(OpenApiHeader oldHeader, OpenApiHeader newHeader, DiffContextBO context) { OldHeader = oldHeader; NewHeader = newHeader; _context = context; }
public ChangedMediaTypeBO(OpenApiSchema oldSchema, OpenApiSchema newSchema, DiffContextBO context) { _oldSchema = oldSchema; _newSchema = newSchema; _context = context; }
public ChangedResponseBO(OpenApiResponse oldApiResponse, OpenApiResponse newApiResponse, DiffContextBO context) { OldApiResponse = oldApiResponse; NewApiResponse = newApiResponse; _context = context; }