Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

ClassCast Exception for the Authorization Attribute #12

@rpwils

Description

@rpwils

When a swagger json file has an empty set for Authorization the cod is throwing an ClassCastException
org.glassfish.json.JsonArrayBuilderImpl$JsonArrayImpl cannot be cast to javax.json.JsonObject

This is within SwaggerReaderImpl.
child1 = parser.getChild("authorizations");
if(child1 != null) {
this.readAuthorizations(resourceListing, child1);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions