API Documentation
Gabriele Mittica - @gabrielemittica
APICONF 2017- Gabriele Mittica
Documentation can be boring!
APICONF 2017- Gabriele Mittica
Design
Define
Doc
Code
Test
Manage
The goal
▪ Set interfaces and nomenclatures
▪ Define input and output
▪ Define error codes and responses
APICONF 2017 – Gabriele Mittica
The problem
▪ It’s a long job
▪ List endpoints is not enough
▪ I need to put business logic in to documentation
APICONF 2017 – Gabriele Mittica
How to
▪ Doc-driven and test-driven development
▪ Explain business logic
▪ Declare versioning and growth of APIs
▪ Don’t create doc by layout but by logic
APICONF 2017 – Gabriele Mittica
APICONF 2017- Gabriele Mittica
Doc
Design
Define
CodeTest
Manage
The doc is the only
contract with the
customer
Thanks for Listening
APICONF 2017- Gabriele Mittica

Apiconf - Doc Driven Development

  • 1.
  • 2.
    APICONF 2017- GabrieleMittica Documentation can be boring!
  • 3.
    APICONF 2017- GabrieleMittica Design Define Doc Code Test Manage
  • 4.
    The goal ▪ Setinterfaces and nomenclatures ▪ Define input and output ▪ Define error codes and responses APICONF 2017 – Gabriele Mittica
  • 5.
    The problem ▪ It’sa long job ▪ List endpoints is not enough ▪ I need to put business logic in to documentation APICONF 2017 – Gabriele Mittica
  • 6.
    How to ▪ Doc-drivenand test-driven development ▪ Explain business logic ▪ Declare versioning and growth of APIs ▪ Don’t create doc by layout but by logic APICONF 2017 – Gabriele Mittica
  • 7.
    APICONF 2017- GabrieleMittica Doc Design Define CodeTest Manage
  • 8.
    The doc isthe only contract with the customer Thanks for Listening APICONF 2017- Gabriele Mittica