emecas / commitit

Apache License 2.0
1 stars 0 forks source link

Contract First #69

Open emecas opened 3 years ago

emecas commented 3 years ago

Why?

Unambiguous requirements Strong Guarantees Enhanced Collaboration Parallel workstreams Code generation

Old Steps

OpenApi specification first Publish the spec Use openApi generator

New steps (at the beginning of old steps )

Design with Figma Build OpenApi spec and fake it

Tool for testing and validation

schemathesis

Bad experiences with generate code?

Then customize the generator (templates) and publish them

Lessons Learned

Use Case

emecas commented 3 years ago

Ref: https://twitter.com/infosec812/status/1334863961611788288?s=21

https://www2.slideshare.net/DevenPhillips/why-you-should-be-doing-contractfirst-api-development