Stephane Maarek created NIFI-2899:

             Summary: Update swagger-maven-plugin to 3.0.1 to have a 
spec-compliant swagger.json
                 Key: NIFI-2899
             Project: Apache NiFi
          Issue Type: Bug
          Components: Documentation & Website
    Affects Versions: 1.0.0
            Reporter: Stephane Maarek

I tried using swagger-codegen with the generated swagger.json but it gave me 
I opened a bug report on their project at, and after 
investigation, our current swagger-maven-plugin produces a swagger.json file 
with "type" : "ref" in it. This is non compliant with the specs, and a fix was 
introduced in 

Therefore, we need to upgrade the swagger-maven-plugin from 3.0-M1 to 3.0.1. I 
tested it and it works now with the swagger-codegen plugin. Happy to submit a 
PR, let me know your thoughts

This message was sent by Atlassian JIRA

Reply via email to