Since the launch of the Integrations feature, the SwaggerHub team has continuously strived to bring the very best tooling to your API projects. While by itself, the SwaggerHub Editor is a powerful tool to both author and visualize your Swagger definition, the design process can be greatly improved if the designer could iterate quickly on how the API actually behaves. Working with both the look and feel of an API from a client’s perspective is the start to building a great API, and our latest Integration allows for exactly that – The Smartbear VirtServer Integration!
Domains, the latest feature from SwaggerHub that stores all your reusable components, now has an intuitive User Interface! The UI helps all the API stakeholders better visualize the components of the Domain, while allowing for quick readability and detection of errors.
A Domain in itself is a powerful tool to greatly improve the API design process, and with the addition of the Domain UI, API development is a breeze on SwaggerHub.
Designing and developing APIs involve a good amount of repeating and re-writing descriptions. A developer, organization or an independent team would have a multitude of such repeatable components used across various API designs, and constantly rewriting them can be tedious and frustrating. This is where SwaggerHub Domains can help. Simply put, Domains are a collection of reusable components.
SwaggerHub just received an update to allow configuration of code generation options. You can now use SwaggerHub’s GUI to set language-specific configuration settings-
Each codegen target has specific settings for it. In Objective-C you have a PodSpec name. In Java you have packages. The SwaggerHub UI allows you to visually configure each option independently for your API, and those options will be available for each collaborator or public viewer of it:
When configured, the code generation tool will apply these settings when building your client or server, allowing you to use the desired package names, import mappings, etc. Now your codegen targets can be completely customized for your needs without jumping between tools.
You can even hide specific targets from the UI. If, for example, you don’t want to support a particular language with your platform. Click the “Hide Option” button and they won’t be available in the client or server download list: