adriengibrat / APItools.md

Home Page:https://adriengibrat.github.io/APItools.md/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title: API πŸ›  for πŸ˜„ & πŸ€– author: name: I'm Adrien, I πŸ–€ API, a.k.a API lead πŸ€“ email: a.gibrat@oodrive.com theme: ./theme controls: false output: index.html

--

API πŸ›  for πŸ˜„ & πŸ€–

-- screen full

Tools?! 🀚 Thanks, but no thanks...

Toooools

--

Why? 🧠

-- screen

You need API specification anyway! πŸ€¦β€β™‚οΈ

Documentation later workflow

Been there Done that we all did...

-- screen

API doc generated from code, don't need spec! πŸ‘Š

Code first workflow

Backend only write API doc πŸ˜…
API doc in code
API doc in code is awkward 🚨
API doc in code
Too much API code refactor 🀯
API doc in code

-- screen

API design first πŸš€

Design first workflow

  1. You'll need a good editor
  2. Be sure to write good spec
  3. Deliver Mocks & Docs

--

OpenAPI editors ✍️

-- screen large

Stoplight studio πŸŽ…

Stoplight studio

--

Start or migrate to OpenAPI 🏁

You can start from scrath or migrate to openAPI Specification!

[![Transformer can translate lots of API specifications into OpenAPI](img/transformer.gif)](https://www.apimatic.io/transformer/ "Transformer works great but automatic transform eventually require manual tuning") [Swagger, RAML, Blueprint & Postman to OpenAPI](https://www.apimatic.io/transformer/#supported-formats)

[![JSON sample to OpenAPI schema](img/json_oas_schema.jpg)](https://swagger-toolbox.firebaseapp.com/ "JSON or OpenAPI schema are verbose") [JSON sample to OpenAPI](https://swagger-toolbox.firebaseapp.com/)

--

Well written specification πŸ‘Œ

Ask and learn from the best Bogdan Paul Samantha Jerome Julien ... no consumer yet!

Lint speccy spectral lint openapi.yml in Stoplight studio & Gitlab CI

Enforce common rules and standard practice

Detect changes openapi-diff & make changelog

-- screen

Tools already in CI πŸ‘·

Merge requests pipeline [merge requests pipeline

Tag pipeline tag pipeline

```yaml include: oogit.oodrive.net/ci-templates/api-doc/open-api-run.yml ```

--

Documentation πŸ“‘

-- screen large

Redoc: API docs you can be proud of 🀩

Redoc

--

Redoc, pro tips πŸ€‘

Nah, really... just use Postman ;)

-- screen fullscreen

Postman, plug & play πŸ“¨

Postman

--

Mock 🌠

Fake auto-generated API allows you to

  • Play with API from a simple spec file, even at the MR stage
  • Start to implement client services & views upfront
  • Collect feedbacks from customers / external partners

HTTP Mock server apisprout prism mock openapi.yml Stoplight studio again

-- screen

Prism πŸ›†

Prism

--

Prism superpowers πŸ”‹

-- screen

POC with Portu, a CertEurope API πŸ”‘

Prism

--

Next ? ⏭️

About

https://adriengibrat.github.io/APItools.md/


Languages

Language:HTML 69.9%Language:CSS 16.3%Language:JavaScript 13.8%