[ https://issues.apache.org/jira/browse/NIFI-14142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-14142: ------------------------------------ Fix Version/s: 2.2.0 Resolution: Fixed Status: Resolved (was: Patch Available) > Enum values in OpenAPI spec are declared incorrectly > ---------------------------------------------------- > > Key: NIFI-14142 > URL: https://issues.apache.org/jira/browse/NIFI-14142 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 2.1.0 > Reporter: endzeit > Assignee: endzeit > Priority: Major > Fix For: 2.2.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > The `swagger.json` / `swagger.yaml` generated during the build process > contains wrongly declared enum values. > Take the following excerpt: > {code} > "ActivateControllerServicesEntity" : { > "type" : "object", > "properties" : { > ... > "state" : { > "type" : "string", > "description" : "The desired state of the descendant components", > "enum" : [ "ENABLED, DISABLED" ] > } > }, > "xml" : { > "name" : "activateControllerServicesEntity" > } > } > {code} > It declares a single allowed enum values of "ENABLED, DISABLED" while it > should declare two values of "ENABLED" and "DISABLED" instead. > There are several similar declarations. -- This message was sent by Atlassian Jira (v8.20.10#820010)