From 3d48a81fd4f908b560ee4011507dca5a17334e68 Mon Sep 17 00:00:00 2001 From: aman Date: Fri, 6 Mar 2026 13:34:36 +0530 Subject: [PATCH] fix(frontier): remove leftover grpc-gateway annotations from PAT model The CreateCurrentUserPAT PR (#443) was merged with openapiv2 annotations that were removed in #444. This cleans up the remaining annotations. Co-Authored-By: Claude Opus 4.6 --- raystack/frontier/v1beta1/models.proto | 32 ++++---------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/raystack/frontier/v1beta1/models.proto b/raystack/frontier/v1beta1/models.proto index 5c8750a0..78f35bb6 100644 --- a/raystack/frontier/v1beta1/models.proto +++ b/raystack/frontier/v1beta1/models.proto @@ -280,34 +280,10 @@ message PAT { // this value is never persisted in the system so if lost, can't be recovered string token = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - google.protobuf.Timestamp expires_at = 10 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - description: "The time when the PAT expires.", - example: "\"2024-06-07T05:39:56.961Z\"" - }]; - - google.protobuf.Timestamp last_used_at = 11 [ - (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - description: "The time when the PAT was last used.", - example: "\"2024-06-07T05:39:56.961Z\"" - }, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - google.protobuf.Timestamp created_at = 12 [ - (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - description: "The time when the PAT was created.", - example: "\"2023-06-07T05:39:56.961Z\"" - }, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - google.protobuf.Timestamp updated_at = 13 [ - (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - description: "The time when the PAT was last updated.", - example: "\"2023-06-07T05:39:56.961Z\"" - }, - (google.api.field_behavior) = OUTPUT_ONLY - ]; + google.protobuf.Timestamp expires_at = 10; + google.protobuf.Timestamp last_used_at = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp created_at = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp updated_at = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; google.protobuf.Struct metadata = 20; }