DZone
Integration Zone
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
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Integration Zone > From OpenAPI Spec Google Spreadsheet to GitHub Jekyll-Hosted YAML

From OpenAPI Spec Google Spreadsheet to GitHub Jekyll-Hosted YAML

This can provide a way that non-developers can participate in the API design process and apply OpenAPI Specs to other stops along the API lifecycle.

Kin Lane user avatar by
Kin Lane
·
Oct. 20, 16 · Integration Zone · Opinion
Like (1)
Save
Tweet
3.11K Views

Join the DZone community and get the full member experience.

Join For Free

I have been playing around with different ways of using Google Spreadsheet to drive YAML and JSON data to Jekyll data projects hosted as Github repositories. It is an approach I started playing around with in Washington DC, while I was helping data stewards publish government services as JSON-LD. It is something I've been playing around with lately to drive D3.js visualizations and even a comic book. 

There are a couple of things going on here. First, you are managing machine-readable data using Google Spreadsheets and publishing this data as two separate machine readable formats: JSON and YAML. When these formats are combined with the data capabilities of a Jekyll website hosted on GitHub Pages, it opens up some pretty interesting possibilities for using data to fuel some pretty fun things. Plus, there's no back-end needed.

To push this approach forward, I wanted to apply to managing OpenAPI Specs that can be used across the API life cycle. I pulled together a spreadsheet template for managing the details I need for an OpenAPI Spec. Then, I created a GitHub repository, forked my previous spreadsheet to YAML project, and modified it to pull data from a couple of worksheets in the Google Doc and publish as both JSON and YAML OpenAPI Spec. 

My OpenAPI Spec Google Sheet to YAML for use in a Jekyll project hosted on GitHub is just a prototype. The results don't always validate and I'm playing with different ways to represent and manage the data in the Google Sheet. It is a fun start, though! I am going to keep working on it and probably start a similar project for managing an APIs.json index using Google Sheets. When done right, it might provide another way that non-developers can participate in the API design process and apply OpenAPI Specs to other stops along the API lifecycle like with API documentation, SDK generation, or testing and monitoring.

YAML Google (verb) GitHub Data (computing)

Published at DZone with permission of Kin Lane, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How to Make Git Forget a Tracked File Now in .gitignore
  • C++ Creator Bjarne Stroustrup Interview
  • Blocking Ads on Your Network Using Raspberry Pi 3 + Fedora + Pi-hole
  • Pattern Matching for Switch

Comments

Integration Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • 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:

DZone.com is powered by 

AnswerHub logo