Jira client api
![jira client api jira client api](http://www.kingswaysoft.com/Frontend/Images/help-manual/ssis-productivity-pack/rest/Jira%20Connection%20Manager%20-%20General%20-%20API%20Token%20Mode.png)
You can build this from source, but I just installed a version on my Mac using "brew install swagger-codegen.” (Read more here) There are also integrations for swagger-codegen that work with popular build tools, like Maven. I am going to use the swagger-codegen tool to generate my client code. You can read more at – this is also called Open API.
![jira client api jira client api](https://www.secsign.com/wp-content/uploads/2017/11/secsign_jira_oauth_2-copy-1024x927.png)
Swagger is a way of documenting APIs in a standard way. Keeping that code up-to-date by hand would be time consuming. While you are welcome to write code by hand to call Jira's REST APIs, there are a lot of APIs, and new ones are being added all the time. In this post I will deal with APIs common to all Jira project types, but the process is similar for Jira Software's APIs, and Jira Service Desk's APIs. I am going to use a local copy in my examples.
![jira client api jira client api](https://images2015.cnblogs.com/blog/714263/201704/714263-20170428114139615-1218351468.png)
Although swagger-codegen can generate APIs directly from a URL, I recommend saving a local copy of this file. Click that, and you'll see the link for "Download OpenAPI Spec." This is a JSON file that describes the REST API for Jira Cloud. If you go to the documentation for the Jira Cloud REST API, you'll see the "…" in the top right. I will also discuss our ongoing QA process to ensure that the spec is always usable. So here’s a quick recap on what Swagger/OpenAPI is and how you might use it to generate client code to call Jira, and some suggestions on best practices in integrating with a cloud service. Well, we removed those blockers! Also, we heard your feedback that you didn't like the long and confusing method names. In a previous Atlassian Community article, I talked about some things that might block you in generating client code automatically from our published spec, and then using that generated code to call Jira.