Skip to content

Commit d145b9e

Browse files
committed
Add comments to yaml example file calling out the patterns
1 parent 910a15d commit d145b9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/openapi-generator/src/test/resources/3_0/typescript-axios/with-aws-iam.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ info:
44
version: 1.0.0
55
description: Test API for AWS IAM authentication detection
66
servers:
7+
# Pattern 3 Check for AWS API Gateway URL patterns in servers
78
- url: https://abc123.execute-api.us-east-1.amazonaws.com/prod
89
security:
910
- iam: []
@@ -61,10 +62,12 @@ paths:
6162
format: int32
6263
components:
6364
securitySchemes:
65+
# Pattern 2: Check for common AWS V4 signature scheme names
6466
iam:
6567
type: apiKey
6668
name: Authorization
6769
in: header
70+
# Pattern 1: Check for AWS-specific extension
6871
x-amazon-apigateway-authtype: awsSigv4
6972
schemas:
7073
Pet:

0 commit comments

Comments
 (0)