File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
codegen-core/common-test-models Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ use smithy.framework#ValidationException
10
10
@title (" ConstraintsService" )
11
11
service ConstraintsService {
12
12
operations : [
13
- // TODO Rename as {Verb}[{Qualifier}]{Noun}: https://github.com/awslabs/smithy-rs/pull/1342#discussion_r980936650
14
13
ConstrainedShapesOperation ,
15
14
ConstrainedHttpBoundShapesOperation ,
16
15
ConstrainedRecursiveShapesOperation ,
@@ -880,10 +879,8 @@ map LengthMap {
880
879
881
880
@error (" client" )
882
881
structure ErrorWithLengthStringMessage {
883
- // TODO Doesn't work yet because constrained string types don't implement
884
- // `AsRef<str>`.
885
- // @required
886
- // message: LengthString
882
+ @required
883
+ message : LengthString
887
884
}
888
885
889
886
map MapOfMapOfListOfListOfConB {
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ impl Lint for TodosHaveContext {
23
23
extension
24
24
. map ( |ext| {
25
25
ext. eq_ignore_ascii_case ( "rs" )
26
+ || ext. eq_ignore_ascii_case ( "toml" )
27
+ || ext. eq_ignore_ascii_case ( "txt" )
28
+ // TODO(https://github.com/awslabs/smithy-rs/issues/2077)
29
+ // || ext.eq_ignore_ascii_case("md")
30
+ || ext. eq_ignore_ascii_case ( "sh" )
31
+ || ext. eq_ignore_ascii_case ( "py" )
32
+ || ext. eq_ignore_ascii_case ( "smithy" )
26
33
|| ext. eq_ignore_ascii_case ( "kt" )
27
34
|| ext. eq_ignore_ascii_case ( "kts" )
28
35
} )
You can’t perform that action at this time.
0 commit comments