Skip to content

Commit cea9422

Browse files
authored
Read awsQueryCompatible trait from metadata with tests (#4254)
* Read awsQueryCompatible trait from metadata with tests * Fix linting
1 parent 746f697 commit cea9422

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "bugfix",
3+
"category": "AWSQueryCompatible",
4+
"description": "Read trait from metadata"
5+
}

lib/model/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function Api(api, options) {
8080
property(this, 'documentation', api.documentation);
8181
property(this, 'documentationUrl', api.documentationUrl);
8282
}
83-
property(this, 'awsQueryCompatible', api.awsQueryCompatible);
83+
property(this, 'awsQueryCompatible', api.metadata.awsQueryCompatible);
8484
}
8585

8686
/**

test/service.spec.js

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)