Skip to content

Conversation

@jonhealy1
Copy link
Collaborator

@jonhealy1 jonhealy1 commented Apr 24, 2021

This implements openapi documentation by default which is one of the issues for a 2.0.0 release. It also provides better routing. There is a demo running here: https://u13x8zu0t0.execute-api.us-west-2.amazonaws.com/prod/docs
Resolves: #140

@jonhealy1 jonhealy1 requested a review from jbants April 24, 2021 23:10
Copy link
Collaborator

@jbants jbants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Good idea!
Some minor naming change stuff

)

# Defines an AWS Lambda resource
validator_lambda = _lambda.Function(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave this as validator lambda.

from aws_cdk import core as cdk


class ValidatorCdkStack(cdk.Stack):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave this as ValidatorCDKStack

validator_lambda = _lambda.Function(
fast_api_lambda = _lambda.Function(
self,
"STACHandler",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

STACValidator

apigw.LambdaRestApi(
self,
"Endpoint",
handler=validator_lambda,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave as is

@jbants jbants merged commit 750fbe3 into dev Apr 27, 2021
@jbants jbants deleted the sv-140 branch April 27, 2021 04:45
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.

3 participants