Stephane, Yes, you are correct that Apache NiFi uses swagger. However, we are only using it for keeping the documentation in sync. We use a maven plugin that inspects the swagger annotations and generates a swagger.json. The swagger.json is generated to nifi-web-api/target/swagger-ui/swagger.json at build time. Subsequently, the swagger.json is run through a handlebars template to generate the REST API docs.
We provide a client library at <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-client-dto</artifactId> <version>1.0.0</version> </dependency> Examples of its usage can be seen in our access control integration tests . Let me know if you have any other questions. Thanks! Matt  https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/integration/accesscontrol/ITProcessorAccessControl.java On Wed, Oct 12, 2016 at 10:53 PM, Stéphane Maarek <stephane.maa...@gmail.com > wrote: > Hi, > > It seems possible to create an API client for any language using this > project: > https://github.com/swagger-api/swagger-codegen > > It needs the swagger.json file. I know it should be generated at build > time, but where can I find it? > > Beyond that, would it be useful to extract that file, version control it, > and maybe automatically generate API sdks for many languages using the > project above? Would help tremendously > > Cheers > Stephane >