rht-labs / enablement-docs

Collection of Enablement material for Red Hat Open Innovation Labs
https://rht-labs.github.io/enablement-docs/#/
90 stars 115 forks source link

Add Contract-First API Development #361

Open InfoSec812 opened 5 years ago

InfoSec812 commented 5 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like I'd like to see us use OpenAPI to define the API and use openapi-generator to stub the Express API service and the client SDK for the front-end. The reason for this is that it would speed up the work building the API.

Describe alternatives you've considered gRPC is a possible alternative

Additional context OpenAPI Generator

tdbeattie commented 5 years ago

This would be a nice addition and we have experience in our Labs' residencies of using contract testing (e.g. with PACT) which we could show as real world examples.