public object Introspector(string group, string key)
        {
            this.logger.LogInformation("Executing Introspector API on HTTP GET with Group = {Group} and Key = {Key}", group, key);
            var info = InspectorInfo.Create(this.environment, this.configuration, this.Request, false);

            return(info.GetPart(group, key));
        }
        protected override Task <Result> ExecuteCoreAsync(Request request)
        {
            var info   = InspectorInfo.Create(this.environment, this.configuration, this.httpRequest, false);
            var value  = info.GetPart(request.Group, request.Key);
            var result = new Result();

            if (value is string)
            {
                result.ResponseBody = value.ToString();
            }
            else
            {
                result.ResponseBody = JsonSerializer.Serialize(value, new JsonSerializerOptions {
                    WriteIndented = true, PropertyNamingPolicy = JsonNamingPolicy.CamelCase
                });
            }
            return(Task.FromResult(result));
        }
        public object Introspector(string group, string key)
        {
            var info = InspectorInfo.Create(this.environment, this.configuration, this.Request, false);

            return(info.GetPart(group, key));
        }