Skip to content

Commit

Permalink
api: Increase gateway identifiers limit
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansmares committed Nov 2, 2023
1 parent f516b2b commit 33f2201
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/ttn/lorawan/v3/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5240,7 +5240,7 @@ Identifies an end device model with version information.

| Field | Validations |
| ----- | ----------- |
| `gateway_ids` | <p>`repeated.min_items`: `1`</p><p>`repeated.max_items`: `20`</p> |
| `gateway_ids` | <p>`repeated.min_items`: `1`</p><p>`repeated.max_items`: `100`</p> |
| `required` | <p>`message.required`: `true`</p> |

### <a name="ttn.lorawan.v3.BatchDeleteGatewaysRequest">Message `BatchDeleteGatewaysRequest`</a>
Expand Down
2 changes: 1 addition & 1 deletion api/ttn/lorawan/v3/gateway_services.proto
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ service GatewayConfigurator {
message AssertGatewayRightsRequest {
repeated GatewayIdentifiers gateway_ids = 1 [
(validate.rules).repeated.min_items = 1,
(validate.rules).repeated.max_items = 20
(validate.rules).repeated.max_items = 100
];
Rights required = 2 [(validate.rules).message.required = true];
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/ttnpb/gateway_services.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/ttnpb/gateway_services.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/js/generated/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -23471,7 +23471,7 @@
},
{
"name": "repeated.max_items",
"value": 20
"value": 100
}
]
}
Expand Down

0 comments on commit 33f2201

Please sign in to comment.