SwaggerHub On-Premise Release Notes

Last modified on February 26, 2021

Looking for SwaggerHub SaaS release notes? See here.

This page contains a list of new features and other changes introduced with each release of SwaggerHub On-Premise.

⇒ New customers: Learn how to install SwaggerHub On-Premise.

⇒ Existing customers: Refer to the upgrade guide for more details on planning your upgrade.

1.26.0-68 - December 18, 2020

Important: To upgrade to v. 1.26, you must be running v. 1.22.0-38 or later. If you use an earlier version, contact your sales representative for assistance with the upgrade process.

New User Management API

This release includes a new API to get all organizations and their members.

  • Get organizations:

    GET http(s)://SERVER/api/user-management/v1/orgs
    Authorization: YOUR_API_KEY
  • Get organization members:

    GET http(s)://SERVER/api/user-management/v1/orgs/ORG_NAME/members
    Authorization: YOUR_API_KEY

OpenAPI definition for this API can be found at:

http(s)://SERVER/api/user-management/v1/swagger.yaml  - YAML version
http(s)://SERVER/api/user-management/v1/swagger.json  - JSON version

Admin Center improvements

  • The License page now displays Designer seat limits in addition to total user seats.

Integration improvements

  • Pulling API definitions from source control. If you store your OpenAPI definitions in a Git repository, you can now pull them from the repository into SwaggerHub. To be able to do this, you need to configure a source control integration in SwaggerHub with the target file set to an unresolved YAML or JSON definition. This integration will allow bi-directional synchronization (both push and pull) between SwaggerHub and the Git repository. For details, see Syncing OpenAPI Definitions Between Source Control and SwaggerHub.

  • Support for multiple GitHub servers. You can connect SwaggerHub On-Premise to both GitHub.com and GitHub Enterprise, or even multiple GitHub Enterprise servers at the same time. The default GitHub server can be specified in the Admin Center and can be overridden at the integration level.

  • API mocks and webhooks are now carried over when you create a new version of an API.

  • Azure API Management integration has the new API URL Suffix option to set the base path of your API gateway in Azure, such as https://{instance}.azure-api.net/myApi.

Registry API improvements

  • New operations:

    • create and manage projects in organizations,
    • get API standardization errors,
    • add integrations to APIs,
    • get and set the visibility (public or private) of APIs and domains,
    • create new versions of APIs and domains,
    • rename APIs and domains,
    • read, add, and manage comments.
  • The sort parameter of search operations supports a new value, TITLE.

  • The version parameter of the "create or update a domain" operation (POST /domains/{owner}/{domain}) is now optional. This aligns with the corresponding API-specific operation (POST /apis/{owner}/{api}).

  • The following operations have been deprecated in favor of the new commenting operations:

    GET /apis​/{owner}​/{api}​/{version}​/.comment
    GET /domains​/{owner}​/{domain}​/{version}​/.comment
  • Registry API now validates request bodies sent with POST, PUT, and PATCH requests to make sure they conform to the OpenAPI definition. This includes making sure that the required fields are present, all values have the correct data types, and so on. As a result, requests that previously worked without required fields in the body will no longer work and will need to be updated.

The updated OpenAPI definition for the Registry API can be found at:

http(s)://SERVER/v1/swagger.yaml  - YAML version
http(s)://SERVER/v1/swagger.json  - JSON version

CLI compatibility

This release adds support for the following commands of SwaggerHub CLI:

  • swaggerhub api:validate - get API standardization errors

  • swaggerhub integration:create - add integrations to an API

  • swaggerhub api:update --visibility=public|private - change API visibility

Catalog improvements

My Hub, organization and project pages, and the search page have been improved:

  • Catalog pages now have the "delete" button so that you can quickly delete APIs and domains you no longer need.

  • APIs and domains can be sorted by their title (info.title).

  • Designers and consumers can see their role in the header of organization catalog pages.

Editor improvements

  • This release comes with Swagger Editor v. 3.14.6, which includes new syntax validations:

    • Check for path parameters that are defined in the parameters list but not included in the path itself (for example, if a path is defined as /users instead of /users/{id}).

    • Validate component names in OpenAPI 3.0 definitions. Component names can contain only A-Z a-z 0-9 - . _

    • Validate that a schema’s default value is present in the enum.

    • Validate schemas in the components/schemas section in OpenAPI 3.0 definitions.

    • Validate that min* values are less than or equal to the corresponding max* values in OpenAPI 3.0 definitions.

    • Validate that OpenAPI 3.0 parameter references, header references, and requestBody schema references point to the correct component types.

  • Improved syntax validation for domains.

  • The Export > Download API > YAML Resolved and JSON Resolved commands now download the actual YAML or JSON file instead of a ZIP archive.

Code generation improvements

  • New code generators:

    • Go and TypeScript Fetch clients for OpenAPI 3.0.

    • C++ (Pistache, Restbed) servers for OpenAPI 2.0.

  • Updated Swagger Codegen to v. 3.0.23 for OpenAPI 3.0 and v. 2.4.17 for OpenAPI 2.0.

Interactive Docs improvements

  • New option for "try it out" requests: Credentials in CORS requests. This option becomes available when routing requests via browser and corresponds to Swagger UI’s withCredentials option. Set this option based on how CORS is configured on the API server:

    • Enable this option if the API server sends back the origin header, such as Access-Control-Allow-Origin: https://your.swaggerhub.server.com.

    • Disable this option if the API server sends the Access-Control-Allow-Origin: * response header.

      Note: If this option is disabled, CORS requests will not include browser cookies or the Authorization header.
  • This release comes with Swagger UI v. 3.36.2, which includes the following improvements:

    • Syntax highlighting in request bodies, response bodies, and cURL commands.

    • An option to send or omit optional form fields with empty values. (OpenAPI 3.0)

    • Validate the presence of required form fields before sending requests. (OpenAPI 3.0)

    • A button to copy the "try it out" response body to the clipboard.

    • "Try it out" support for uploading array of files in multipart/* requests in OpenAPI 3.0 definitions.

    • Display the nullable, maxProperties, and minProperties attributes for object schemas.

  • Operation parameters now display the pattern, min*, and max* attributes.

  • API docs now also display vendor extensions (x- fields) in operations, parameters, schemas, and responses.

1.25.1-56 - September 4, 2020

  • Updated Node.js to v. 12.18.3 LTS.

  • Updated Nginx to v. 1.18.0.

  • Fixed the TOKEN_TYPE_INVALID error when deleting organization-owned APIs via SwaggerHub Registry API.

1.25.0-56 - July 23, 2020

Overall improvements

  • Pushing to source control has become easier. SwaggerHub Editor now provides the Push button to trigger source control integrations, which works separately from the Save action. This way, you can save the API definition changes incrementally and only push to the source control repository when ready to do so.

    You can also provide a custom commit message when pushing the changes.

    Pushing to source control from SwaggerHub
    Note: Non-source control integrations – API Auto Mocking and Webhooks – are still triggered on save.

Registry API improvements

  • Download resolved API definitions by adding the ?resolved=true query parameter to the URL of the YAML/JSON file.

    Resolved YAML:

    http(s)://SERVER/v1/apis/OWNER/API_NAME/VERSION/swagger.yaml?resolved=true

    Resolved JSON:

    http(s)://SERVER/v1/apis/OWNER/API_NAME/VERSION?resolved=true
    or
    http(s)://SERVER/v1/apis/OWNER/API_NAME/VERSION/swagger.json?resolved=true

Code Editor improvements

This release comes with Swagger Editor v. 3.9.0, which includes new syntax checks:

  • Warnings about OpenAPI 3.0 header parameters named Authorization, Content-Type, Accept. The warning messages explain how these headers should be defined instead:

    • The Authorization header should be defined as a security scheme, that is, using the securitySchemes and security keywords.

    • Content-Type is defined using request body media types – requestBody.content.<media-type>.

    • Accept is defined as response media types – responses.<code>.content.<media-type>.

  • Warnings about unused security schemes – that is, OAS2 securityDefinitions and OAS3 securitySchemes that are not used in security.

  • Error messages if an array’s minItems attribute value is greater than maxItems.

  • Schema validation for OpenAPI 3.0 response components in the components/responses section.

Visual Editor improvements

  • You can add new schemas (models) by clicking the “+” button next to the schema list in the Navigation panel:

    Adding schemas using Visual Editor
  • You can delete operations and schemas from the Navigation panel.

Interactive Docs improvements

This release comes with Swagger UI v. 3.25.4, which includes the following improvements:

  • Display parameter format in OpenAPI 3.0 definitions.

  • Support for Basic authentication with an empty password.

Code generation improvements

  • New Rust server generator for OpenAPI 2.0.

Configuration changes

  • SwaggerHub On-Premise collects usage data and sends it to SmartBear to help us improve the product. If you wish to opt out, clear the Send usage data check box during installation or later in Admin Center.

  • The Skip Git SSL verification option has been removed. Instead, use the Certificate Manager and the SSL Certificate Trust Chain option to manage trusted SSL certificates.

1.24.0-52 - May 11, 2020

Configuration improvements:

  • View users’ last login date. The user list on the License page of the Admin Center now includes the last login date for each user so that administrators can identify inactive users. The last login date is also included in the exported CSV report.

Overall improvements:

  • Commenting permissions for Consumers. Organizations have the new option to give Consumers and Designers permissions to comment on all of the organization’s APIs and Domains. This allows Consumers to offer feedback on the API design and ask implementation questions as they consume the API.

    Allow Designers and Consumers to Comment all the Organization’s APIs and Domains
  • Improved search. You can now search definitions by partial string match and regular expressions. See Searching SwaggerHub for details.

  • Support for OpenAPI 3.0.3. You can now import API definitions that use openapi: 3.0.3.

  • Improved browser tab titles for various SwaggerHub pages. The titles now better indicate what is in each tab, making it easier to work with multiple SwaggerHub pages open at the same time.

    SwaggerHub page titles
  • Admin Center colors were updated to match the main SwaggerHub application.

  • Updated dialog box styles.

Integration improvements:

  • Source control integrations are now carried over when you create a new version of an API. The branch for the copied integrations will be set to swaggerhub-<API-name>-<version>. You can change the branch name later if you want.

    'Create New Version' dialog
  • The Basic Sync mode of source control integrations now allows custom branch names.

  • AWS Lambda integration now supports newer versions of Node.js and Python. You can choose from:

    • Node.js 12
    • Node.js 10
    • Python 3.8
    • Python 3.7
    • Python 3.6
    • Python 2.7
    Note: Node.js 4.3 was removed because it is no longer supported by Lambda. If you used this version, you will need to update your integrations to a newer version of Node.js.
  • New supported regions in AWS integrations: ap-east-1, me-south-1.

Code generation improvements:

  • New Swift 5 client code generator for OpenAPI 3.0.

  • Updated Swagger Codegen to v. 3.0.19 for OpenAPI 3.0 and v. 2.4.13 for OpenAPI 2.0.

Registry API improvements:

  • New Registry API operations to get and set the default version, publish and unpublish versions, get the published status.

Editor and Interactive Docs improvements:

  • Updated Swagger Editor to v. 3.8.0, which adds a new validation for "enum values should conform to their schema’s type".

  • Updated Swagger UI to v. 3.25.0, which adds support for the x-tokenName extension in OpenAPI 3.0 definitions.

1.23.1-46 - March 30, 2020

  • Revised the Terms of Use.

  • Fixed support for customized codegen options.

1.23.0-46 - January 31, 2020

New features and improvements:

  • Custom standardization rules. Organization owners can add custom rules to validate API definitions for compliance with the company’s design guidelines.

  • Extended Designer permissions:

    • Designers can transfer APIs and domains to organizations where they have Create permissions.

    • Designers can add APIs and domains to projects.

  • See who created an API or domain. The API/domain Info panel now shows the username of the person who created the current version of the API or domain.

    Note: The “created by” information is only available for API and domain versions created in SwaggerHub On-Premise 1.23.
    Created By
  • New Project option in Create, Import, Fork, and Save As dialogs allows adding newly created definitions to an existing project.

  • The Transfer Ownership command in the editor was replaced with Manage Owner & Project which also allows adding definitions to projects.

  • Catalog pages and the Info panel now also display the title (info.title) of APIs and domains.

    API name and title in the Info panel
  • New search keywords, standardization:critical and standardization:warning, let you find APIs with standardization errors and warnings, respectively.

  • Updated application colors.

Code generation improvements:

  • New code generators for OpenAPI 3.0:

    • Node.js server
    • Go server
    • Python client
  • New Swift 5.x client generator for OpenAPI 2.0.

  • Updated Swagger Codegen to v. 3.0.14 for OpenAPI 3.0 and v. 2.4.10 for OpenAPI 2.0.

Editor and Interactive Documentation improvements:

  • The Navigation panel in Code Editor is now resizable.

  • Updated Swagger Editor to v. 3.7.1, which improves OpenAPI syntax validation:

    • Added a check for mismatching letter case in path parameter names and the corresponding path segments (for example, if the path is /users/{ID}, but the parameter name is id).

    • Improved the warning about sibling keywords alongside $ref to suggest possible solutions.

  • Updated Swagger UI to v. 3.24.3.

1.22.0-38 - October 16, 2019

Important upgrade notes

Before upgrading your SwaggerHub On-Premise instance, make sure to run the following maintenance scripts. These scripts need to be run on the System page of the Admin Center, as explained here.

  1. https://s3.amazonaws.com/onprem-files/pre-upgrade-check.enc

  2. If upgrading from v. 1.21.0-34 (this specific version) to 1.22.0-38:

    https://s3.amazonaws.com/onprem-files/1.21_to_1.22_pre_upgrade.enc

    Upon completion, this script will restart the system. Please wait for the restart to complete before you proceed with the actual upgrade.

 

Configuration improvements:

  • You can add custom Terms & Conditions that the users will need to accept before they can create a SwaggerHub account or log in.

  • Improvements to the download process for backups and diagnostic data.

  • The saml:Issuer value in SwaggerHub’s SAML requests has been changed from swaggerhub to

    http(s)://your_swaggerhub_domain/login/callback for better compatibility with SAML identity providers.

    Note: This change applies only to new installations of v. 1.22.0 and does not affect the actual single sign-on functionality.

Editor and Interactive Docs improvements:

  • Support for multiple examples in parameters, request bodies, and responses in OpenAPI 3.0 definitions and domains.

    Request body with multiple examples
  • OpenAPI 3.0 parameters with content are now displayed and can be used in "try it out".

    Parameter with content
  • Support for permalinks to API models. API model permalinks have the #/MODEL_NAME format, for example:

    https://swaggerhub.mycompany.com/apis/orgname/apiname/1.0.0#/User

  • Code Editor and Visual Editor now remember their editor and UI panel sizes independently.

  • Updated Swagger Editor to v. 3.6.36, which improves validation of tag uniqueness.

  • Updated Swagger UI to v. 3.23.11.

Other improvements:

  • The SwaggerHub sidebar now provides quick access to user settings, organization settings, and project settings via the Settings button:

    Accessing user, organization, and project settings from SwaggerHub sidebar
  • Updated Swagger Codegen to v. 3.0.11 for OpenAPI 3.0 and v. 2.4.8 for OpenAPI 2.0.

1.21.0-34 - August 22, 2019

Code generation improvements:

  • New OpenAPI 3.0 code generators: ASP.NET Core server, C# client, Python Flask server.

  • The code generator has been updated to Swagger Codegen v. 3.0.10 for OpenAPI 3.0 and v. 2.4.7 for OpenAPI 2.0.

Editor and Interactive Docs improvements:

  • Visual Editor now lets you edit API servers and server variables in OpenAPI 3.0 definitions.

    SwaggerHub Visual Editor: OpenAPI 3.0 servers
  • $ref autocompletion now shows all domains (from all organizations and owners) that the current user has access to.

  • Support for OpenAPI 3.0.2: you can import API definitions that use openapi: 3.0.2.

  • The "Try it out" timeout has been increased to 30 seconds for requests routed via the SwaggerHub proxy.

Integration improvements:

  • OpenAPI 3.0 support in Apigee Edge integration.

  • Support for multiple Bitbucket Servers. Default Bitbucket Server can be specified in the Admin Center and can be overridden at the integration level.

  • Bitbucket integration has been split into Bitbucket Cloud Sync for bitbucket.org and Bitbucket Server Sync for self-hosted Bitbucket Servers. Existing integrations will continue to work, but we recommend that the users migrate to the new Bitbucket integrations.

  • Azure API Management integration can now be authorized via Azure AD. The new approach replaces previously used SharedAccessSignature tokens that had to be re-generated manually every 30 days.

    Existing integrations in OpenAPI 2.0 APIs need to be updated manually by clicking the Sign in with Microsoft button in the integration settings. Old tokens will continue to work until they expire.
    Sign in with Microsoft
  • Support for auto-provisioning GitLab integration via the SwaggerHub Maven plugin.

Organization improvements:

  • Organization members can see the list of organization owners on the My Organizations screen.

    List of organization owners

1.20.1-31 - July 9, 2019

Enhanced security when using HTTPS with SSL termination directly on the SwaggerHub On-Premise instance:

  • HTTP Strict Transport Security (HSTS) support. When HTTPS is enabled, SwaggerHub On-Premise sends the HSTS header in all responses. This tells the browsers that your SwaggerHub On-Premise instance must always be accessed by using https:// even if a user enters the address with http:// or without the protocol.

  • Transport Layer Security (TLS) 1.2 is now required for all clients that connect to SwaggerHub On-Premise, Registry API, or API mocks over HTTPS. Less secure versions TLS 1.0 and 1.1 are no longer supported. To ensure uninterrupted usage, verify that:

    • All SwaggerHub users use TLS 1.2-compatible web browsers. TLS 1.2 is supported by the latest versions of all major browsers (see caniuse.com).

    • Applications that connect to SwaggerHub On-Premise (such as API clients, CI/CD tools) support TLS 1.2.

Configuration improvements:

  • Single sign-on setup has been improved to automatically migrate the existing user accounts to single sign-on. Previously, the admin had to run a maintenance script to migrate the users to single sign-on.

New features and improvements:

  • Visual Editor now lets you manage tags and edit tag metadata.

  • Swagger Editor has been updated to v. 3.6.30, which improves syntax error reporting.

  • Swagger UI has been updated to v. 3.22.3.

1.20.0-28 - May 23, 2019

Configuration improvements:

  • Support for anonymous LDAP bind.

  • A new option to disable sign-ups for internal authentication, so that users can join by invite only.

  • New options to specify the default target server and the default organization for Azure DevOps integrations.

  • New options to specify the Azure client ID and secret for authenticating the Azure API Management integration.

  • A new Port option to specify the port on which SwaggerHub is externally accessible (if it differs from the default ports 80 and 443). This is used in scenarios with custom port forwarding.

Editor and Interactive Docs improvements:

  • Visual Editor lets you easily update your API information, operation metadata, and schema descriptions without having to remember the corresponding OpenAPI YAML markup. You can switch between the Code Editor and Visual Editor by using the sidebar buttons in the SwaggerHub editor.

    SwaggerHub Visual Editor for OpenAPI definitions
  • Docs Branding. Organization owners can upload a logo that will be used in consumer-facing documentation. This custom logo will be displayed in all API docs and domain docs of the organization.

    API documentation branding in SwaggerHub
  • Domains display additional OpenAPI 3.0 components: request bodies, headers, examples, links, and callbacks.

  • Lazy loading of external $refs. SwaggerHub editor and interactive documentation can now lazily load external $refs such as domain references. Lazy loading can be enabled or disabled in the Admin Center. When it is enabled, external $refs are loaded only when they are required to render a specific operation, for example, when a user expands an operation in API docs. This reduces the API load time and improves the performance.

    Note: Lazy loading affects the way domain errors are surfaced in the API editor. Learn more.
  • Interactive Docs have a new option to ignore SSL certificate errors for "try it out" requests routed via the SwaggerHub proxy. This allows sending requests to servers that use self-signed SSL certificates. The option can be found at the bottom of the Interactive Docs in the SwaggerHub editor.

    SSL certificate validation options for 'try it out' requests
  • Updated Swagger Editor to v. 3.6.26, which improves autocompletion for OAS3 schema components.

  • Updated Swagger UI to v. 3.22.1, which includes the following improvements:

    • Support for the GFM table syntax in OpenAPI 3.0 descriptions.

    • Support for application/x-www-form-urlencoded request bodies without explicitly-defined fields.

Integration improvements:

  • Integration with Azure DevOps Services (formerly Visual Studio Team Services, or VSTS). Use this integration to push your API definition or the generated client/server code to a specific Git repository in Azure DevOps Services. The default Azure DevOps organization for integration can be specified in the Admin Center.

  • The TFS Sync integration has been renamed to Azure DevOps Server, and now it also supports OpenAPI 3.0.

  • OpenAPI 3.0 support in the Azure API Management integration. Note: To use the integration for OpenAPI 3.0 definitions, you will need to register an application in Azure that will be used to authenticate requests from SwaggerHub to Azure. For details, see Configuring Azure API Management Integration.

  • The Bitbucket integration now supports project-owned repositories in Bitbucket Server.

  • Support for auto-provisioning GitHub, Bitbucket, Azure DevOps Services, and Azure DevOps Server integrations via the SwaggerHub Maven plugin.

  • New regions in the Amazon API Gateway Lambda Sync integration: us-east-2, eu-west-2, eu-west-3, eu-north-1, ap-south-1, cn-north-1, cn-northwest-1, ca-central-1.

Other new features and improvements:

  • Organization owners can see member email addresses on the Members page in the organization settings.

  • The account settings have been rearranged into vertical tabs.

  • Updated the code generator to Swagger Codegen v. 3.0.8 (for OpenAPI 3.0 definitions) and v. 2.4.5 (for OpenAPI 2.0).

Upgrade notes:

  • The size of the upgrade file for this release is larger than usual (about 130 MB), and it may take some time to upload it to the Admin Center. Please wait for the upload to complete before proceeding with the upgrade.

1.19.3-23 - March 8, 2019

Configuration improvements:

  • The new LDAP Group Filter option specifies the filter used to fetch the groups the authenticating user is a member of. See the documentation for the filters specific to Active Directory and OpenLDAP.

  • Certificate Manager now lets you download the stored certificates.

New features and improvements:

  • OpenAPI 3.0 support for Domains. When you create a domain, you can now select the OpenAPI version for it. OAS3 Domains can include additional types of reusable components: request bodies, response headers, examples, links, and callbacks.

  • OpenAPI 3.0 support in the Amazon API Gateway integration.

  • The documentation generators have been moved to the Documentation submenu in the Export menu.

  • The editor toolbar has the new  View Documentation button to open the API or domain documentation in a new browser tab.

  • Improved domain syntax validation.

  • Organization settings have been rearranged into vertical tabs.

  • Updated Swagger Editor to v. 3.6.21 and Swagger UI to v. 3.20.7, which include the following improvements:

    • Displaying request body descriptions for OpenAPI 3.0 form data requests.

    • Markdown support in OpenAPI 3.0 form field descriptions.

    • Markdown support in response header descriptions.

  • Updated the code generator to Swagger Codegen v. 3.0.5 (for OpenAPI 3.0 definitions) and v. 2.4.2 (for OpenAPI 2.0).

1.19.2-18 - Februrary 8, 2019

Configuration improvements:

  • NTP support. Synchronize SwaggerHub On-Premise system time with up to three NTP servers.

  • Default organization. The installation process now includes a step to create a default organization. New users will be automatically added as Consumers to the default organization.

  • Certificate Manager. Store and manage SSL/TLS certificates and trusted root certificates to use them with SwaggerHub On-Premise.

  • Consumers can no longer create organizations.

  • The Save Changes button on the Settings page now automatically restarts SwaggerHub, as required for the changes to take effect.

New features and improvements:

  • API Standardization. Organization owners can configure a single set of style rules that will be applied to all APIs in the organization. This will provide Designers with immediate feedback on style issues as they edit API definitions so that inconsistencies could be detected and fixed early in the API design process. Organization owners can also get a high-level overview of which APIs are passing or failing style validation.

  • New supported regions in AWS API Gateway integrations: us-east-2, ap-south-1, ap-northeast-3, ca-central-1, eu-west-2, eu-west-3, cn-north-1, cn-northwest-1.

  • New code generators for OpenAPI 2.0 definitions:

    • Servers: php-symfony

    • Clients: skala-gatling, typescript-inversify

  • Request duration in “try it out” results.

  • Updated the code generator to Swagger Codegen v. 3.0.3 (for OpenAPI 3.0 definitions) and v. 2.4.0 (for OpenAPI 2.0).

  • Updated Swagger Editor to v. 3.6.17 and Swagger UI to v. 3.20.2, which include the following improvements:

    • Sample value generation for string formats: date, uuid, hostname, ipv4, ipv6.

    • Displaying server descriptions in OpenAPI 3.0 definitions.

  • New SwaggerHub logo and favicon.

1.19.1-15 - December 3, 2018

Configuration improvements:

  • SSH access. You can use SSH to access  the underlying operating system of your SwaggerHub On-Premise instance. SSH is disabled by default and can be enabled by creating an SSH user with an authorized public key. SSH users have sudo privileges.

  • System logs are now in the plain text format and not encrypted.

  • The Settings menu got subcategories for easier navigation.

  • Improved logging of SAML SSO login errors.

New features and improvements:

  • OpenAPI 3.0 support in GitHub, GitLab and Bitbucket integrations.

  • Audit logs. Organization owners can download audit logs detailing organization, team and member changes, API and domain changes over the last 90 days.

  • The SwaggerHub editor now has buttons to quickly show or hide the Navigation panel, Editor and Interactive API docs. Also, the SwaggerHub editor now remembers its layout and panel size, and the Navigation panel remembers the expanded/collapsed state of sections for individual APIs and domains.

  • Webhooks can include custom HTTP headers.

  • New Style Validation rule: required property list must exist.

  • IBM integration changes: the IBM username and password options were replaced with the IBM API key due to the changes in IBM Cloud REST APIs.

    Note: Existing users need to re-configure the integration using an IBM API key.
  • Integrations have been moved from the editor toolbar to the drop-down API info panel.

    Integrations
  • New Registry API operations to get collaborator comments:

    GET /apis/{owner}/{api}/{version}/.comment
    GET /domains/{owner}/{domain}/{version}/.comment
  • Users can reset their SwaggerHub API keys from the Account Settings page.

  • Updated Swagger Editor to v. 3.6.12 and Swagger UI to v. 3.19.4.

1.18.8 - October 26, 2018

Configuration improvements:

  • Added support for OpenLDAP for user authentication.

  • Improved LDAP configuration process.

  • Improved overall settings for simplicity.

New features and improvements:

  • Editor and codegen improvements:

    • Added OpenAPI 3.0 code generation for Java, PHP, TypeScript and more.

    • Added support for custom codegen templates for OpenAPI 3.0.

    • Redesigned the Export menu containing Codegen Options, Client SDKs, Server Stubs, YAML and JSON download options.

    • Added the editor font size option and alternative light theme for YAML syntax highlighting. Improved dark theme color blindness.

      SwaggerHub Editor syntax highlighting themes
    • Added unresolved comment count to the editor toolbar.

    • Added ability to Preview Docs, which opens the consumer-facing version of the API documentation.

      Preview Docs
    • Added Info panel for APIs and Domains, including options to fork, rename, delete, transfer, and “compare and merge”.

    • Updated Swagger Editor to v. 3.6.9, which includes improved autocompletion for OpenAPI 3.0 responses.

  • Interactive API documentation improvements:

    • Updated URL for consumer-facing documentation pages from

      http(s)://{swaggerhub-host}/apis/{owner}/{name}/docs/{version}
      http(s)://{swaggerhub-host}/domains/{owner}/{name}/docs/{version}

      to

      http(s)://{swaggerhub-host}/apis-docs/{owner}/{api-name}/{version}
      http(s)://{swaggerhub-host}/domains-docs/{owner}/{domain-name}/{version}

      Please update any external links or bookmarks.

    • Updated Swagger UI to v. 3.18.2:

      • Added support for the x-tokenName extension to allow for OAuth 2.0 tokens other than access_token to be used in “try it out” requests.

      • Improved the display of OpenAPI 3.0 form request bodies (application/x-www-form-urlencoded and multipart/*).

      • OpenAPI 3.0 path parameters are now properly percent-encoded in “try it out” requests.

      • Deprecated fields are no longer used in autogenerated examples.

  • Other new features and improvements:

    • Redesigned the Organization Settings page for improved usability.

    • Added support for GitLab subgroups in the GitLab Sync integration.

    • Added new Style Validation rules for operations:

      • Summary should start with upper case and end with a dot
      • Operation must have one and only one tag
      • Operation must have at least one 2xx response
      • Operation must have a default response
    • Improved CORS support in the mock server to better handle requests routed via browser.

    • Integration errors no longer trigger email notifications. These errors are now surfaced in the editor only.

1.18.7 - September 4, 2018

Configuration improvements:

  • Fixed display of license limits including Designer and Consumer seats.

  • Added diagnostics data to log export for faster responses from the support team.

New features and improvements:

  • Added an option to send "Try-It-Out" requests directly from the browser to the target server, bypassing the SwaggerHub application. This can be used, for example, to test APIs running on localhost.

    Note: This option requires CORS support on the API server.
  • Updated the version dropdown for APIs and domains, making it easier to set the default version, create new versions, change the visibility and the published/unpublished status.

  • Moved the Comments panel adjacent to the editor for improved usability.

  • Added a prompt about unsaved changes when navigating away from the editor.

  • Added Style Validation rules for enforcing the presence of API titles and enforcing every operation to have a 200 response.

  • Added email notifications when a new version is added to an API or domain, and when the API or domain visibility is changed.

  • Improved support for openapi: 3.0.1.

  • Updated Swagger Editor to v. 3.6.8 and Swagger UI to v. 3.18.1, which include numerous improvements:

    • "Jump to" links for models.

    • Support for media type examples (content.<media-type>.example) in OpenAPI 3.0 definitions. Note: Plural examples are not supported yet.

    • File upload for multimedia media types (image/*, audio/*, video/*) in OpenAPI 3.0 definitions.

    • Support for null values in examples.

    • "Send empty value" option for parameters with allowEmptyValue: true.

      Send empty value
    • More details from authorization errors.

1.18.6 - August 16, 2018

Configuration improvements:

  • Support for self-signed SSL certificates. If your SwaggerHub server certificate is self-signed or issued by a private CA, use the SSL Certificate Trust Chain option to upload your trusted root CA into SwaggerHub. This way, SwaggerHub subsystems will trust this certificate.

New features and improvements:

  • Improved support for private networks. You can now send "try it out" requests to local network IP addresses, and import definitions from local IPs (except localhost, 127.*.*.* and 172.18.*).

  • Updated the editor toolbar – consolidated some redundant menus, moved the Save button to a secondary toolbar above the editor panel.

  • Improved mocking of allOf schemas.

  • Mocks secured with a token now accept the token both with and without the Bearer prefix:

    Authorization: Bearer TOKEN
    Authorization: TOKEN
  • Added the Apex client codegen.

  • Updated email notification templates.

1.18.5 - July 20, 2018

Configuration improvements:

  • Built-in HTTPS support. You can install an SSL certificate into SwaggerHub to enable HTTPS access and automatic HTTP-to-HTTPS redirection.

    Note: Offloading SSL to a load balancer is still supported as an alternative. However, existing customers who use a load balancer will need to update the load balancer port listeners and health checks. See HTTPS Setup Using Load Balancer for the up-to-date information.
  • Proxy support. You can configure a proxy server to be used for outbound connections from SwaggerHub, such as “try it out”, integrations, importing definitions, and other functionality.

  • Admin Center is now accessed without the port number: http(s)://{host}/ui/index.html.

  • Ports 81 and 8080 are no longer used. Inbound traffic uses standard port 80 (if no SSL certificate is installed) or 443 (if the certificate is installed and HTTPS is enabled).

  • LDAPS certificate can be deleted if no longer required.

Editor improvements:

  • Added a navigation panel on the left that displays all operations and models in the API or domain. You can use it to search for operations, HTTP methods and models, and quickly navigate to their definitions in the editor.

  • Replaced the editor view toggle with a draggable splitter.

  • Improved the “jump to” links in the UI panel: they are now always visible instead of being visible just on hover.

  • Added sorting in the editor validation panel.

  • Arranged editor toolbar buttons in a single row for easier access.

Other new features and improvements:

  • Added documentation-only view for APIs and domains. You may share a view-only version of the API documentation using the following links:

    http(s)://{host}/apis/{owner}/{api-name}/docs/{version}
    
    http(s)://{host}/domains/{owner}/{domain-name}/docs/{version}

    that is, by adding /docs/ between the API (or domain) name and version in URL.

  • Collaborators with Editor permission can now add and remove other collaborators; rename APIs and domains; change API and domain visibility; add, remove, publish and unpublish versions; manage integrations.

  • Added “try it out” support for the Cookie header in requests, including API keys passed in cookies.

  • Updated the code generator to be based on the Swagger Codegen 2.3.1 release version.

  • Updated Swagger Editor to v. 3.6.0 and Swagger UI to v. 3.17.1. These versions include:

    • Support for form data and file upload for OpenAPI 3.0 definitions.

    • Improved validation for array items schema and path item $refs.

1.18.4 - June 20, 2018

Configuration improvements:

  • Added ability for admins to delete users in order to free up license seats.

  • Added a new Reports tab, with a new CSV report for all APIs in the system.

New features and improvements:

  • Added new “Consumer” role for organization members. Consumers have view-only access to the organization’s APIs with ability to interact with APIs and enable notifications. For more information, see Member Roles and Permissions.

  • Improved editor validation panel, adding a new expandable panel at the bottom of the editor.

  • Updated Swagger Editor to v. 3.5.6 and Swagger UI to v. 3.15.0. These versions include OpenAPI 3.0 support improvements:

    • Support for object parameters in “try it out”.

    • Support for default parameter values in “try it out”.

Bug fixes:

  • Multiple bug fixes.

1.18.3 - June 13, 2018

Configuration improvements:

  • Support for LDAPS (LDAP over TLS) for single sign-on.

  • Uploading SSL certificates for the LDAPS connection (in case your LDAPS server uses a self-signed certificate or private CA).

  • (VirtualBox and VMware) Added a console menu accessible via VM hypervisor. Use this menu to set a static IP address, run ping and traceroute tests, restart SwaggerHub, and view system information.

Other improvements:

  • Support for circular references in API Auto Mocking.

  • Improved the display of the OpenAPI validation status in the editor.

  • Updated Swagger Editor to v. 3.5.5 and Swagger UI to v. 3.14.2. The new versions include editor validation improvements and the Download button for responses in the UI panel.

Bug fixes:

  • Fixed the Ctrl+Z behavior in the editor.

  • Fixed resolver issues related to allOf and $ref.

1.18.2 - May 31, 2018

New features and improvements:

  • Added the LDAP Username Field option to customize SwaggerHub usernames for Active Directory users.

  • Better handling of duplicate usernames: the second and subsequent users will have a number appended to the username. For example: jsmith, jsmith2, jsmith3.

  • Revamped email notification templates.

  • Improved API Catalog rendering.

Bug fixes:

  • Fixed new version detection in the editor.

  • Fixed the jump-to link not being available for certain $ref types in the editor.

1.18.1 - May 15, 2018

Configuration improvements:

  • Updated the OS to Ubuntu 16.04.4 LTS.

  • Updated the EULA.

  • A redesigned, more user-friendly Admin Center.

  • Support for offline license activation.

  • Support for an offline upgrade using a local web server.

  • The New License page shows your license details and the list of existing users.

  • Added the Refresh button to the System Status page.

Other improvements:

  • Added a codegen for Swift 4.

  • Users can subscribe to and unsubscribe from email notifications for specific APIs and domains.

  • Email notifications now include the API name and version.

  • Updated the GitLab integration to use GitLab API v4. The minimum supported GitLab version is now 9.0.

    Note: GitLab API v3, which was used previously, will be removed in GitLab 11.
  • Updated Swagger Editor to v. 3.5.1 and Swagger UI to v. 3.13.1.

  • Improved handling of timed out “try it out” requests.

  • Bug fixes.

1.18.0 - March 22, 2018

Configuration improvements:

  • Restricting single sign-on to specific Active Directory user groups.

  • A redesigned, more user-friendly upgrade wizard.

  • The version of SwaggerHub On-Premise is now displayed on the System Status page.

  • An administrator guide is bundled with SwaggerHub On-Premise and can be viewed at http(s)://{swaggerhub-host}/help.

API Auto Mocking improvements:

  • Support for oneOf and anyOf in OpenAPI 3.0 definitions.

  • Support for array schema examples.

  • Support for vendor-specific JSON, XML and YAML media types, such as application/vnd.api+json.

Other improvements:

  • Improved editor performance.

  • Improved handling of comments for draft API versions.

  • Updated Swagger Editor to v. 3.2.5 and Swagger UI to v. 3.9.1.

See Also

Upgrading SwaggerHub On-Premise
Installing SwaggerHub On-Premise

Highlight search results