namespace AmpDAL.DTO.OpenApiIngestion; public class OpenApiIngestionRequestDTO { public int ApiId { get; set; } public int ApiVersionId { get; set; } public int ApiInterfaceId { get; set; } public string Base64Content { get; set; } = string.Empty; } public class OpenApiIngestionResultDTO { public string ContentHash { get; set; } = ""; public int OperationCount { get; set; } public int ParameterCount { get; set; } public List Operations { get; set; } = new(); } public class ParsedOperationDTO { public string OperationKey { get; set; } = ""; public string HttpMethod { get; set; } = ""; public string RelativePath { get; set; } = ""; public List Parameters { get; set; } = new(); } public class ParsedParameterDTO { public string Name { get; set; } = ""; public string InLocation { get; set; } = "Query"; public bool IsRequired { get; set; } public string DataType { get; set; } = "string"; }