DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. DevOps and CI/CD
  4. Introducing Seamless Source Control Integration With Bitbucket and SwaggerHub

Introducing Seamless Source Control Integration With Bitbucket and SwaggerHub

This integration helps developers keep their assets on SwaggerHub and Bitbucket in sync and updated. Read on to learn more.

Keshav Vasudevan user avatar by
Keshav Vasudevan
·
Oct. 31, 16 · News
Like (2)
Save
Tweet
Share
6.49K Views

Join the DZone community and get the full member experience.

Join For Free

We’re excited to announce our latest integration for SwaggerHub, this time with Atlassian’s source control management platform Bitbucket.

This integration helps developers keep their assets on SwaggerHub and Bitbucket in sync and updated so that teams working on your source control host have all the code of your API from SwaggerHub.

Why Bitbucket?

Every developer knows the importance of source control and how it can make software development manageable and iterative, but where do you store your code that’s managed by the source control tool?  

Be it Git, Mercurial, or Subversion, a source control host to store and work with code on a common platform with your collaborators is a great compliment.

Bitbucket, along with GitHub and GitLab, has emerged as a dominant player in the source control hosting environment. Bitbucket has become a great resource for teams for hosting their code with powerful, secure features that make it very resourceful for organizations and large companies.

What Does That Mean for Me?

While source control tools are great for hosting code, they’re not meant to edit, design, and build APIs.

Source control hosts aren’t meant for RESTful interfaces which description formats like the Swagger (OpenAPI) specification help construct. With SwaggerHub’s integration with Bitbucket, users can now seamlessly integrate their API’s documentation and code and keep it in sync with their repository on Bitbucket.  

Let’s Take a Simple Example

Your organization’s API force has multiple teams working on various aspects of your API’s lifecycle. You’ll have architects who lay out your API’s structure and server-side developers working on building a solid back-end for your API while client-facing developers focus on engineering a great experience for your API’s end consumers. The team’s testers focusing on quality assurance with your DevOps team will be working to securely deploy the API.

All these teams have two common denominators: your API and the host of your team’s code base. With SwaggerHub’s integration with Bitbucket, you can now keep the above updated simultaneously. This means your team’s workflow will be smoother than ever and fit into your continuous integration process.

(SwaggerHub is also proud to offer integrations with other source control tools, like GitHub. You can learn more about all of the integrations offered in SwaggerHub here.)

How Do I Get Started?

Well, for starters, you need an API definition on SwaggerHub and an existing repository on BitBucket. 

You can sign up for SwaggerHub for free and start writing your Swagger definition or import an existing definition.

Once you have them in place, find the Manage Integrations button in the top corner of your API Editor and select the Bitbucket Integration.

bitbucketscreenshot

You’ll then be given a few options to see exactly how your API’s definition along with the right code would be synchronized with your repository, including the kind of code (server template or client SDK), repository, and whether you’d want SwaggerHub to fully or partially manage your repository.

That’s it! Your API definition and code from SwaggerHub will now be synchronized with your Bitbucket repository for your entire team to work on! Check out our Bitbucket help section to learn more about using the Integration.

Of course, SwaggerHub has a whole suite of Integrations to build on your API’s functionality, so feel free to browse our documentation covering them in greater detail.

Head on over to SwaggerHub and give this Integration a whirl. Feel free to send us suggestions for any new Integrations you’d like to see on SwaggerHub through a feature request.

source control Integration API Software development teams

Published at DZone with permission of Keshav Vasudevan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Seamless Integration of Azure Functions With SQL Server: A Developer's Perspective
  • Create a CLI Chatbot With the ChatGPT API and Node.js
  • Old School or Still Cool? Top Reasons To Choose ETL Over ELT
  • Integrate AWS Secrets Manager in Spring Boot Application

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: