protected override string AllRequestDtos()
        {
            var code = string.Join("\r\n", Api.Paths.Select(CreateRequestDtos));

            if (ObsoleteDtos.Any())
            {
                code += "\r\n" + string.Join("\r\n", ObsoleteDtos.Select(p => $"    [Obsolete(\"Prefer the {p.Value} class instead\")] public class {p.Key} : {p.Value} {{}}")) + "\r\n";
            }

            return(code);
        }
        protected override string AllRequestDtos()
        {
            var code = string.Join("\r\n", Api.Paths.Select(CreateRequestDtos));

            if (ObsoleteDtos.Any())
            {
                code += "\r\n" + string.Join("\r\n", ObsoleteDtos.Select(p => $"    @Deprecated public class {p.Key} extends {p.Value} {{}}"));
            }

            return(code);
        }