Skip to content

Commit e04c890

Browse files
committed
Rename SchemaDiff to DiffSchema to match other APIs
1 parent fd828aa commit e04c890

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

authzed/api/v1/experimental_service.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ service ExperimentalService {
9292
// EXPERIMENTAL: DiffSchema is an API that allows clients to request the difference between the
9393
// specified schema and the schema stored in SpiceDB. This is useful for clients that need to
9494
// introspect the schema of a SpiceDB instance.
95-
rpc ExperimentalSchemaDiff(ExperimentalSchemaDiffRequest)
96-
returns (ExperimentalSchemaDiffResponse) {
95+
rpc ExperimentalDiffSchema(ExperimentalDiffSchemaRequest)
96+
returns (ExperimentalDiffSchemaResponse) {
9797
option (google.api.http) = {
98-
post: "/v1/experimental/schemadiff"
98+
post: "/v1/experimental/diffschema"
9999
body: "*"
100100
};
101101
}
@@ -335,12 +335,12 @@ message ExperimentalDependentRelationsResponse {
335335
ZedToken read_at = 2;
336336
}
337337

338-
message ExperimentalSchemaDiffRequest {
338+
message ExperimentalDiffSchemaRequest {
339339
Consistency consistency = 1;
340340
string comparison_schema = 2;
341341
}
342342

343-
message ExperimentalSchemaDiffResponse {
343+
message ExperimentalDiffSchemaResponse {
344344
repeated ExpSchemaDiff diffs = 1;
345345

346346
// read_at is the ZedToken at which the schema was read.

0 commit comments

Comments
 (0)