Skip to content

Feat api gateway event schema#3

Open
KillDozerX2 wants to merge 2 commits into
masterfrom
feat-api-gateway-event-schema
Open

Feat api gateway event schema#3
KillDozerX2 wants to merge 2 commits into
masterfrom
feat-api-gateway-event-schema

Conversation

@KillDozerX2

Copy link
Copy Markdown
Member

Overview

In the process of adding new resources, I've added a helper function to generate json schema for the Api gateway event.
This can be useful if you write openapi definitions in typescript and want to import them directly into middy to do the validation. You're good to go and already set up.
This combined with the fact that we've already got a type inference way, one can now maintain a single source of truth for api schema.

Removed dynamoose test as it's a work in progress and requires additional work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant