AmplicaLabs / social-app-template

Social Application Template that uses Gateway Services
Apache License 2.0
0 stars 2 forks source link

Generate webhook request and response datatypes from OpenAPI spec document. #44

Open mattheworris opened 1 month ago

mattheworris commented 1 month ago

Goal

The goal of this issue is to generate data type objects from the account-service OpenAPI spec.

Acceptance Criteria

JoeCap08055 commented 1 month ago

If there's a simple way to annotate & generate the OpenAPI spec from the code, let's do that--though the NestJS tooling doesn't make that easy to do for a webhook that's not a controller endpoint. If you can figure it out, great; otherwise we'll just create a separate spec document just for the webhook and generate types from it for both account-service and the social template app.