v5.24;
use Mojo::Base -strict, -signatures;
use JSON::Validator;
use JSON::Validator::Formats;
use List::Util qw(uniq);
use Mojo::JSON qw(decode_json);
use Mojo::Loader qw(data_section);
use Mojo::U
a;
my $api_spec = data_section(__PACKAGE__, 'openapi.json');
$api_spec =~ s{/components/schemas}{}g;
my $data = decode_json( $api_spec );
my $schemas = $data->{components}->{sc
uired};
($content_type) = sort keys $body->%*;
if ( $content_type eq 'application/json' ) {
my $schema = $body->{$content_type}->{schema};
my $prop = $schema->{