Jessica Parsons
@verythorough
slides.com/verythorough/beyond-swagger
Jessica Parsons
@verythorough
slides.com/verythorough/beyond-swagger
Service for developer teams to build, deploy,
and manage modern web projects
Small team
API used mostly by us (for now)
info:
version: 1.0.0
title: Swagger Petstore
license:
name: MIT
host: petstore.swagger.io
basePath: /v1
paths:
/pets:
get:
summary: List all pets
operationId: listPets
Proprietary Saas
Open Source
Netlify CMS seems to do all I need:
For example, this config:
# admin/config.yml
label: Plans
name: plans
widget: list
fields:
- {label: Plan, name: plan, widget: string}
- {label: Price, name: price, widget: string}
- {label: Description, name: description, widget: string}
- {label: Items, name: items, widget: list}
... generates this editor UI:
... generates this editor UI:
... which saves this data:
# site/data/products.yml
plans:
- description: Perfect for the drinker who likes to enjoy 1-2 cups per day.
items:
- 3 lbs of coffee per month
- Green or roasted beans"
- One or two varieties of beans"
plan: Small
price: '50'
... which populates this site design:
OpenAPI spec documents are not simple data files
OpenAPI spec documents:
paths:
/sites:
get:
operationId: listSites
parameters:
- name: name
in: query
type: string
patterned
fields are
user-defined!
Other options for now:
A decoupled stack allows parallel improvements:
A decoupled stack allows parallel improvements: