ngs;
use GraphQL::Schema;
use GraphQL::Plugin::Type::DateTime;
use GraphQL::Debug qw(_debug);
use JSON::Validator;
use OpenAPI::Client;
our $VERSION = "0.22";
use constant DEBUG => $ENV{GRAPHQL_DEBUG
die $res->body."\n" if $res->is_error;
my $json = $res->json;
DEBUG and _debug('OpenAPI.resolver(got)', $json);
my $return_type = $info->{return_type};
eturn_type->to_string}{is_hashpair}) {
$json = [ map {
+{ key => $_, value => $json->{$_} }
} sort keys %{$json || {}} ];
}
DEBUG and _debug('