Skip to content

Commit

Permalink
dir path change and schema example updates in README
Browse files Browse the repository at this point in the history
  • Loading branch information
kurt.tometich committed Aug 14, 2024
1 parent b0dc939 commit 98ac68a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apigw-eventbridge-schema-validation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ Important: this application uses various AWS services and there are costs associ

1. Create a new directory, navigate to that directory in a terminal and clone the GitHub repository:
```
git clone https://github.com/aws-samples/serverless-patterns
git clone https://github.com/aws-samples/serverless-samples
```
1. Change directory to the pattern directory:
```
cd serverless-patterns/apigw-eventbridge-schema-validation
cd serverless-samples/apigw-eventbridge-schema-validation
```
1. From the command line, use NPM to install dependencies and AWS SAM to deploy the AWS resources for the pattern as specified in the template.yml file:
```
Expand Down Expand Up @@ -213,7 +213,7 @@ Here's an example output, if successful:
{
"SchemaVersions": [
{
"SchemaArn": "arn:aws:schemas:us-west-2:294626376751:schema/discovered-schemas/scheduling.event@Surgical",
"SchemaArn": "arn:aws:schemas:us-west-2:<account id>:schema/discovered-schemas/scheduling.event@Surgical",
"SchemaName": "scheduling.event@Surgical",
"SchemaVersion": "1",
"Type": "OpenApi3"
Expand Down Expand Up @@ -265,13 +265,13 @@ Here's an example output with version 2 now available:
{
"SchemaVersions": [
{
"SchemaArn": "arn:aws:schemas:us-west-2:294626376751:schema/discovered-schemas/scheduling.event@Surgical",
"SchemaArn": "arn:aws:schemas:us-west-2:<account id>:schema/discovered-schemas/scheduling.event@Surgical",
"SchemaName": "scheduling.event@Surgical",
"SchemaVersion": "2",
"Type": "OpenApi3"
},
{
"SchemaArn": "arn:aws:schemas:us-west-2:294626376751:schema/discovered-schemas/scheduling.event@Surgical",
"SchemaArn": "arn:aws:schemas:us-west-2:<account id>:schema/discovered-schemas/scheduling.event@Surgical",
"SchemaName": "scheduling.event@Surgical",
"SchemaVersion": "1",
"Type": "OpenApi3"
Expand Down

0 comments on commit 98ac68a

Please sign in to comment.