Skip to content

Commit a186046

Browse files
authored
Remove slash escaping in manifest (async-aws#609)
1 parent 42805f2 commit a186046

File tree

2 files changed

+63
-63
lines changed

2 files changed

+63
-63
lines changed

manifest.json

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,42 @@
44
},
55
"services": {
66
"CloudFormation": {
7-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cloudformation\/2010-05-15\/api-2.json",
8-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cloudformation\/2010-05-15\/docs-2.json",
9-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cloudformation\/2010-05-15\/paginators-1.json",
10-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cloudformation\/2010-05-15\/waiters-2.json",
11-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cloudformation\/2010-05-15\/examples-1.json",
7+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cloudformation/2010-05-15/api-2.json",
8+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cloudformation/2010-05-15/docs-2.json",
9+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cloudformation/2010-05-15/paginators-1.json",
10+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cloudformation/2010-05-15/waiters-2.json",
11+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cloudformation/2010-05-15/examples-1.json",
1212
"methods": [
1313
"DescribeStackEvents",
1414
"DescribeStacks"
1515
]
1616
},
1717
"CloudWatchLogs": {
18-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/logs\/2014-03-28\/api-2.json",
19-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/logs\/2014-03-28\/docs-2.json",
20-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/logs\/2014-03-28\/paginators-1.json",
21-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/logs\/2014-03-28\/examples-1.json",
18+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/logs/2014-03-28/api-2.json",
19+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/logs/2014-03-28/docs-2.json",
20+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/logs/2014-03-28/paginators-1.json",
21+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/logs/2014-03-28/examples-1.json",
2222
"methods": [
2323
"DescribeLogStreams",
2424
"PutLogEvents"
2525
]
2626
},
2727
"CodeDeploy": {
28-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/codedeploy\/2014-10-06\/api-2.json",
29-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/codedeploy\/2014-10-06\/docs-2.json",
30-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/codedeploy\/2014-10-06\/paginators-1.json",
31-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/codedeploy\/2014-10-06\/waiters-2.json",
32-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/codedeploy\/2014-10-06\/examples-1.json",
28+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/codedeploy/2014-10-06/api-2.json",
29+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/codedeploy/2014-10-06/docs-2.json",
30+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/codedeploy/2014-10-06/paginators-1.json",
31+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/codedeploy/2014-10-06/waiters-2.json",
32+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/codedeploy/2014-10-06/examples-1.json",
3333
"methods": [
3434
"PutLifecycleEventHookExecutionStatus"
3535
]
3636
},
3737
"DynamoDb": {
38-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/dynamodb\/2012-08-10\/api-2.json",
39-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/dynamodb\/2012-08-10\/docs-2.json",
40-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/dynamodb\/2012-08-10\/paginators-1.json",
41-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/dynamodb\/2012-08-10\/waiters-2.json",
42-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/dynamodb\/2012-08-10\/examples-1.json",
38+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/dynamodb/2012-08-10/api-2.json",
39+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/dynamodb/2012-08-10/docs-2.json",
40+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/dynamodb/2012-08-10/paginators-1.json",
41+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/dynamodb/2012-08-10/waiters-2.json",
42+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/dynamodb/2012-08-10/examples-1.json",
4343
"methods": [
4444
"CreateTable",
4545
"DeleteItem",
@@ -57,20 +57,20 @@
5757
]
5858
},
5959
"EventBridge": {
60-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/eventbridge\/2015-10-07\/api-2.json",
61-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/eventbridge\/2015-10-07\/docs-2.json",
62-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/eventbridge\/2015-10-07\/paginators-1.json",
63-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/eventbridge\/2015-10-07\/examples-1.json",
60+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/eventbridge/2015-10-07/api-2.json",
61+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/eventbridge/2015-10-07/docs-2.json",
62+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/eventbridge/2015-10-07/paginators-1.json",
63+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/eventbridge/2015-10-07/examples-1.json",
6464
"methods": [
6565
"PutEvents"
6666
]
6767
},
6868
"Iam": {
69-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/iam\/2010-05-08\/api-2.json",
70-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/iam\/2010-05-08\/docs-2.json",
71-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/iam\/2010-05-08\/paginators-1.json",
72-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/iam\/2010-05-08\/waiters-2.json",
73-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/iam\/2010-05-08\/examples-1.json",
69+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/iam/2010-05-08/api-2.json",
70+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/iam/2010-05-08/docs-2.json",
71+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/iam/2010-05-08/paginators-1.json",
72+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/iam/2010-05-08/waiters-2.json",
73+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/iam/2010-05-08/examples-1.json",
7474
"methods": [
7575
"CreateUser",
7676
"DeleteUser",
@@ -80,11 +80,11 @@
8080
]
8181
},
8282
"Lambda": {
83-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/lambda\/2015-03-31\/api-2.json",
84-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/lambda\/2015-03-31\/docs-2.json",
85-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/lambda\/2015-03-31\/paginators-1.json",
86-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/lambda\/2015-03-31\/waiters-2.json",
87-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/lambda\/2015-03-31\/examples-1.json",
83+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/lambda/2015-03-31/api-2.json",
84+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/lambda/2015-03-31/docs-2.json",
85+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/lambda/2015-03-31/paginators-1.json",
86+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/lambda/2015-03-31/waiters-2.json",
87+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/lambda/2015-03-31/examples-1.json",
8888
"methods": [
8989
"AddLayerVersionPermission",
9090
"Invoke",
@@ -93,11 +93,11 @@
9393
]
9494
},
9595
"S3": {
96-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/s3\/2006-03-01\/api-2.json",
97-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/s3\/2006-03-01\/docs-2.json",
98-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/s3\/2006-03-01\/paginators-1.json",
99-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/s3\/2006-03-01\/waiters-2.json",
100-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/s3\/2006-03-01\/examples-1.json",
96+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/s3/2006-03-01/api-2.json",
97+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/s3/2006-03-01/docs-2.json",
98+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/s3/2006-03-01/paginators-1.json",
99+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/s3/2006-03-01/waiters-2.json",
100+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/s3/2006-03-01/examples-1.json",
101101
"methods": [
102102
"AbortMultipartUpload",
103103
"BucketExists",
@@ -122,19 +122,19 @@
122122
]
123123
},
124124
"Ses": {
125-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sesv2\/2019-09-27\/api-2.json",
126-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sesv2\/2019-09-27\/docs-2.json",
127-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sesv2\/2019-09-27\/paginators-1.json",
128-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/email\/2010-12-01\/examples-1.json",
125+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sesv2/2019-09-27/api-2.json",
126+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sesv2/2019-09-27/docs-2.json",
127+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sesv2/2019-09-27/paginators-1.json",
128+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/email/2010-12-01/examples-1.json",
129129
"methods": [
130130
"SendEmail"
131131
]
132132
},
133133
"Sns": {
134-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sns\/2010-03-31\/api-2.json",
135-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sns\/2010-03-31\/docs-2.json",
136-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sns\/2010-03-31\/paginators-1.json",
137-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sns\/2010-03-31\/examples-1.json",
134+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sns/2010-03-31/api-2.json",
135+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sns/2010-03-31/docs-2.json",
136+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sns/2010-03-31/paginators-1.json",
137+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sns/2010-03-31/examples-1.json",
138138
"methods": [
139139
"CreateTopic",
140140
"DeleteTopic",
@@ -145,11 +145,11 @@
145145
]
146146
},
147147
"Sqs": {
148-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sqs\/2012-11-05\/api-2.json",
149-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sqs\/2012-11-05\/docs-2.json",
150-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sqs\/2012-11-05\/paginators-1.json",
151-
"waiter": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sqs\/2012-11-05\/waiters-2.json",
152-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sqs\/2012-11-05\/examples-1.json",
148+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sqs/2012-11-05/api-2.json",
149+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sqs/2012-11-05/docs-2.json",
150+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sqs/2012-11-05/paginators-1.json",
151+
"waiter": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sqs/2012-11-05/waiters-2.json",
152+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sqs/2012-11-05/examples-1.json",
153153
"methods": [
154154
"ChangeMessageVisibility",
155155
"CreateQueue",
@@ -165,10 +165,10 @@
165165
]
166166
},
167167
"Ssm": {
168-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/ssm\/2014-11-06\/api-2.json",
169-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/ssm\/2014-11-06\/docs-2.json",
170-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/ssm\/2014-11-06\/paginators-1.json",
171-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/ssm\/2014-11-06\/examples-1.json",
168+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/ssm/2014-11-06/api-2.json",
169+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/ssm/2014-11-06/docs-2.json",
170+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/ssm/2014-11-06/paginators-1.json",
171+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/ssm/2014-11-06/examples-1.json",
172172
"methods": [
173173
"DeleteParameter",
174174
"GetParameter",
@@ -178,9 +178,9 @@
178178
]
179179
},
180180
"Sts": {
181-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sts\/2011-06-15\/api-2.json",
182-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sts\/2011-06-15\/docs-2.json",
183-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/sts\/2011-06-15\/paginators-1.json",
181+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sts/2011-06-15/api-2.json",
182+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sts/2011-06-15/docs-2.json",
183+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/sts/2011-06-15/paginators-1.json",
184184
"namespace": "AsyncAws\\Core\\Sts",
185185
"methods": [
186186
"AssumeRole",
@@ -189,10 +189,10 @@
189189
]
190190
},
191191
"CognitoIdentityProvider": {
192-
"source": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cognito-idp\/2016-04-18\/api-2.json",
193-
"documentation": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cognito-idp\/2016-04-18\/docs-2.json",
194-
"pagination": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cognito-idp\/2016-04-18\/paginators-1.json",
195-
"example": "https:\/\/raw.githubusercontent.com\/aws\/aws-sdk-php\/${LATEST}\/src\/data\/cognito-idp\/2016-04-18\/examples-1.json",
192+
"source": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cognito-idp/2016-04-18/api-2.json",
193+
"documentation": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cognito-idp/2016-04-18/docs-2.json",
194+
"pagination": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cognito-idp/2016-04-18/paginators-1.json",
195+
"example": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/cognito-idp/2016-04-18/examples-1.json",
196196
"methods": [
197197
"AdminCreateUser",
198198
"AdminDeleteUser",

src/CodeGenerator/src/Command/GenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,6 @@ private function loadManifest(): array
376376
private function dumpManifest(array $manifest): void
377377
{
378378
$this->manifest = $manifest;
379-
\file_put_contents($this->manifestFile, \json_encode($this->manifest, \JSON_PRETTY_PRINT));
379+
\file_put_contents($this->manifestFile, \json_encode($this->manifest, \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES));
380380
}
381381
}

0 commit comments

Comments
 (0)