From 5e81e368e4243e106d1a629c7083b0db1ff19dc7 Mon Sep 17 00:00:00 2001 From: Youngteac Hong Date: Tue, 15 Oct 2024 11:15:03 +0900 Subject: [PATCH] Update CHANGELOG.md for v0.5.1 --- CHANGELOG.md | 13 + Makefile | 2 +- api/docs/yorkie.base.yaml | 2 +- api/docs/yorkie/v1/admin.openapi.yaml | 605 +++++++++++----------- api/docs/yorkie/v1/resources.openapi.yaml | 421 +++++++-------- api/docs/yorkie/v1/yorkie.openapi.yaml | 465 ++++++++--------- 6 files changed, 762 insertions(+), 746 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 492551aba..83e7d39c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and Yorkie adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) ## [Unreleased] +## [0.5.1] - 2024-09-15 + +### Added + +- Add all-in-one Docker Compose and Grafana configuration by @window9u in https://github.com/yorkie-team/yorkie/pull/997 +- Add metrics for WatchDocuments and enhance pushpull metrics by @emplam27 in https://github.com/yorkie-team/yorkie/pull/1008 +- Add nginx-ingress-controller option by @emplam27 in https://github.com/yorkie-team/yorkie/pull/1022 + +### Changed + +- Reduce CI test time by optimizing task execution by @binary-ho in https://github.com/yorkie-team/yorkie/pull/988 +- Use random generated key by @window9u in https://github.com/yorkie-team/yorkie/pull/1010 + ## [0.5.0] - 2024-09-05 ### Added diff --git a/Makefile b/Makefile index b0ec6bc58..8bec75a52 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -YORKIE_VERSION := 0.5.0 +YORKIE_VERSION := 0.5.1 GO_PROJECT = github.com/yorkie-team/yorkie diff --git a/api/docs/yorkie.base.yaml b/api/docs/yorkie.base.yaml index cc22f1f9f..6cd337497 100644 --- a/api/docs/yorkie.base.yaml +++ b/api/docs/yorkie.base.yaml @@ -2,7 +2,7 @@ openapi: 3.1.0 info: title: Yorkie description: "Yorkie is an open source document store for building collaborative editing applications." - version: v0.5.0 + version: v0.5.1 servers: - url: https://api.yorkie.dev description: Production server diff --git a/api/docs/yorkie/v1/admin.openapi.yaml b/api/docs/yorkie/v1/admin.openapi.yaml index f7918424a..e3672c9f2 100644 --- a/api/docs/yorkie/v1/admin.openapi.yaml +++ b/api/docs/yorkie/v1/admin.openapi.yaml @@ -1,531 +1,532 @@ openapi: 3.1.0 info: - description: Yorkie is an open source document store for building collaborative + description: + Yorkie is an open source document store for building collaborative editing applications. title: Yorkie - version: v0.5.0 + version: v0.5.1 servers: -- description: Production server - url: https://api.yorkie.dev -- description: Local server - url: http://localhost:8080 + - description: Production server + url: https://api.yorkie.dev + - description: Local server + url: http://localhost:8080 paths: /yorkie.v1.AdminService/ChangePassword: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.ChangePassword.yorkie.v1.ChangePasswordRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.ChangePassword.yorkie.v1.ChangePasswordRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.ChangePassword.yorkie.v1.ChangePasswordResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.ChangePassword.yorkie.v1.ChangePasswordResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/CreateProject: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/DeleteAccount: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.DeleteAccount.yorkie.v1.DeleteAccountRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.DeleteAccount.yorkie.v1.DeleteAccountRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.DeleteAccount.yorkie.v1.DeleteAccountResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.DeleteAccount.yorkie.v1.DeleteAccountResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/GetDocument: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/GetDocuments: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetDocuments.yorkie.v1.GetDocumentsRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetDocuments.yorkie.v1.GetDocumentsRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.GetDocuments.yorkie.v1.GetDocumentsResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.GetDocuments.yorkie.v1.GetDocumentsResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/GetProject: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/GetServerVersion: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetServerVersion.yorkie.v1.GetServerVersionRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetServerVersion.yorkie.v1.GetServerVersionRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.GetServerVersion.yorkie.v1.GetServerVersionResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.GetServerVersion.yorkie.v1.GetServerVersionResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/GetSnapshotMeta: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/ListChanges: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/ListDocuments: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/ListProjects: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/LogIn: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.LogIn.yorkie.v1.LogInResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/RemoveDocumentByAdmin: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/SearchDocuments: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/SignUp: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService /yorkie.v1.AdminService/UpdateProject: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectRequest' + $ref: "#/components/requestBodies/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectResponse' + $ref: "#/components/responses/yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.AdminService + - yorkie.v1.AdminService components: requestBodies: yorkie.v1.AdminService.ChangePassword.yorkie.v1.ChangePasswordRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ChangePasswordRequest' + $ref: "#/components/schemas/yorkie.v1.ChangePasswordRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ChangePasswordRequest' + $ref: "#/components/schemas/yorkie.v1.ChangePasswordRequest" required: true yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.CreateProjectRequest' + $ref: "#/components/schemas/yorkie.v1.CreateProjectRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.CreateProjectRequest' + $ref: "#/components/schemas/yorkie.v1.CreateProjectRequest" required: true yorkie.v1.AdminService.DeleteAccount.yorkie.v1.DeleteAccountRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.DeleteAccountRequest' + $ref: "#/components/schemas/yorkie.v1.DeleteAccountRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.DeleteAccountRequest' + $ref: "#/components/schemas/yorkie.v1.DeleteAccountRequest" required: true yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.GetDocumentRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.GetDocumentRequest" required: true yorkie.v1.AdminService.GetDocuments.yorkie.v1.GetDocumentsRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentsRequest' + $ref: "#/components/schemas/yorkie.v1.GetDocumentsRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentsRequest' + $ref: "#/components/schemas/yorkie.v1.GetDocumentsRequest" required: true yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetProjectRequest' + $ref: "#/components/schemas/yorkie.v1.GetProjectRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetProjectRequest' + $ref: "#/components/schemas/yorkie.v1.GetProjectRequest" required: true yorkie.v1.AdminService.GetServerVersion.yorkie.v1.GetServerVersionRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetServerVersionRequest' + $ref: "#/components/schemas/yorkie.v1.GetServerVersionRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetServerVersionRequest' + $ref: "#/components/schemas/yorkie.v1.GetServerVersionRequest" required: true yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaRequest' + $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaRequest' + $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaRequest" required: true yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ListChangesRequest' + $ref: "#/components/schemas/yorkie.v1.ListChangesRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ListChangesRequest' + $ref: "#/components/schemas/yorkie.v1.ListChangesRequest" required: true yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ListDocumentsRequest' + $ref: "#/components/schemas/yorkie.v1.ListDocumentsRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ListDocumentsRequest' + $ref: "#/components/schemas/yorkie.v1.ListDocumentsRequest" required: true yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ListProjectsRequest' + $ref: "#/components/schemas/yorkie.v1.ListProjectsRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ListProjectsRequest' + $ref: "#/components/schemas/yorkie.v1.ListProjectsRequest" required: true yorkie.v1.AdminService.LogIn.yorkie.v1.LogInRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.LogInRequest' + $ref: "#/components/schemas/yorkie.v1.LogInRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.LogInRequest' + $ref: "#/components/schemas/yorkie.v1.LogInRequest" required: true yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminRequest" required: true yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.SearchDocumentsRequest' + $ref: "#/components/schemas/yorkie.v1.SearchDocumentsRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.SearchDocumentsRequest' + $ref: "#/components/schemas/yorkie.v1.SearchDocumentsRequest" required: true yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.SignUpRequest' + $ref: "#/components/schemas/yorkie.v1.SignUpRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.SignUpRequest' + $ref: "#/components/schemas/yorkie.v1.SignUpRequest" required: true yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.UpdateProjectRequest' + $ref: "#/components/schemas/yorkie.v1.UpdateProjectRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.UpdateProjectRequest' + $ref: "#/components/schemas/yorkie.v1.UpdateProjectRequest" required: true responses: connect.error: content: application/json: schema: - $ref: '#/components/schemas/connect.error' + $ref: "#/components/schemas/connect.error" application/proto: schema: - $ref: '#/components/schemas/connect.error' + $ref: "#/components/schemas/connect.error" description: "" yorkie.v1.AdminService.ChangePassword.yorkie.v1.ChangePasswordResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ChangePasswordResponse' + $ref: "#/components/schemas/yorkie.v1.ChangePasswordResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ChangePasswordResponse' + $ref: "#/components/schemas/yorkie.v1.ChangePasswordResponse" description: "" yorkie.v1.AdminService.CreateProject.yorkie.v1.CreateProjectResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.CreateProjectResponse' + $ref: "#/components/schemas/yorkie.v1.CreateProjectResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.CreateProjectResponse' + $ref: "#/components/schemas/yorkie.v1.CreateProjectResponse" description: "" yorkie.v1.AdminService.DeleteAccount.yorkie.v1.DeleteAccountResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.DeleteAccountResponse' + $ref: "#/components/schemas/yorkie.v1.DeleteAccountResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.DeleteAccountResponse' + $ref: "#/components/schemas/yorkie.v1.DeleteAccountResponse" description: "" yorkie.v1.AdminService.GetDocument.yorkie.v1.GetDocumentResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.GetDocumentResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.GetDocumentResponse" description: "" yorkie.v1.AdminService.GetDocuments.yorkie.v1.GetDocumentsResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentsResponse' + $ref: "#/components/schemas/yorkie.v1.GetDocumentsResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetDocumentsResponse' + $ref: "#/components/schemas/yorkie.v1.GetDocumentsResponse" description: "" yorkie.v1.AdminService.GetProject.yorkie.v1.GetProjectResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetProjectResponse' + $ref: "#/components/schemas/yorkie.v1.GetProjectResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetProjectResponse' + $ref: "#/components/schemas/yorkie.v1.GetProjectResponse" description: "" yorkie.v1.AdminService.GetServerVersion.yorkie.v1.GetServerVersionResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetServerVersionResponse' + $ref: "#/components/schemas/yorkie.v1.GetServerVersionResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetServerVersionResponse' + $ref: "#/components/schemas/yorkie.v1.GetServerVersionResponse" description: "" yorkie.v1.AdminService.GetSnapshotMeta.yorkie.v1.GetSnapshotMetaResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaResponse' + $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.GetSnapshotMetaResponse' + $ref: "#/components/schemas/yorkie.v1.GetSnapshotMetaResponse" description: "" yorkie.v1.AdminService.ListChanges.yorkie.v1.ListChangesResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ListChangesResponse' + $ref: "#/components/schemas/yorkie.v1.ListChangesResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ListChangesResponse' + $ref: "#/components/schemas/yorkie.v1.ListChangesResponse" description: "" yorkie.v1.AdminService.ListDocuments.yorkie.v1.ListDocumentsResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ListDocumentsResponse' + $ref: "#/components/schemas/yorkie.v1.ListDocumentsResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ListDocumentsResponse' + $ref: "#/components/schemas/yorkie.v1.ListDocumentsResponse" description: "" yorkie.v1.AdminService.ListProjects.yorkie.v1.ListProjectsResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ListProjectsResponse' + $ref: "#/components/schemas/yorkie.v1.ListProjectsResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ListProjectsResponse' + $ref: "#/components/schemas/yorkie.v1.ListProjectsResponse" description: "" yorkie.v1.AdminService.LogIn.yorkie.v1.LogInResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.LogInResponse' + $ref: "#/components/schemas/yorkie.v1.LogInResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.LogInResponse' + $ref: "#/components/schemas/yorkie.v1.LogInResponse" description: "" yorkie.v1.AdminService.RemoveDocumentByAdmin.yorkie.v1.RemoveDocumentByAdminResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentByAdminResponse" description: "" yorkie.v1.AdminService.SearchDocuments.yorkie.v1.SearchDocumentsResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.SearchDocumentsResponse' + $ref: "#/components/schemas/yorkie.v1.SearchDocumentsResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.SearchDocumentsResponse' + $ref: "#/components/schemas/yorkie.v1.SearchDocumentsResponse" description: "" yorkie.v1.AdminService.SignUp.yorkie.v1.SignUpResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.SignUpResponse' + $ref: "#/components/schemas/yorkie.v1.SignUpResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.SignUpResponse' + $ref: "#/components/schemas/yorkie.v1.SignUpResponse" description: "" yorkie.v1.AdminService.UpdateProject.yorkie.v1.UpdateProjectResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.UpdateProjectResponse' + $ref: "#/components/schemas/yorkie.v1.UpdateProjectResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.UpdateProjectResponse' + $ref: "#/components/schemas/yorkie.v1.UpdateProjectResponse" description: "" schemas: connect.error: additionalProperties: false - description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation' + description: "Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation" properties: code: enum: - - CodeCanceled - - CodeUnknown - - CodeInvalidArgument - - CodeDeadlineExceeded - - CodeNotFound - - CodeAlreadyExists - - CodePermissionDenied - - CodeResourceExhausted - - CodeFailedPrecondition - - CodeAborted - - CodeOutOfRange - - CodeInternal - - CodeUnavailable - - CodeDataLoss - - CodeUnauthenticated + - CodeCanceled + - CodeUnknown + - CodeInvalidArgument + - CodeDeadlineExceeded + - CodeNotFound + - CodeAlreadyExists + - CodePermissionDenied + - CodeResourceExhausted + - CodeFailedPrecondition + - CodeAborted + - CodeOutOfRange + - CodeInternal + - CodeUnavailable + - CodeDataLoss + - CodeUnauthenticated examples: - - CodeNotFound + - CodeNotFound type: string message: type: string @@ -644,7 +645,7 @@ components: description: "" properties: id: - $ref: '#/components/schemas/yorkie.v1.ChangeID' + $ref: "#/components/schemas/yorkie.v1.ChangeID" additionalProperties: false description: "" title: id @@ -658,12 +659,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Operation' + $ref: "#/components/schemas/yorkie.v1.Operation" type: object title: operations type: array presenceChange: - $ref: '#/components/schemas/yorkie.v1.PresenceChange' + $ref: "#/components/schemas/yorkie.v1.PresenceChange" additionalProperties: false description: "" title: presence_change @@ -689,15 +690,15 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport serverSeq: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: server_seq title: ChangeID type: object @@ -743,7 +744,7 @@ components: description: "" properties: project: - $ref: '#/components/schemas/yorkie.v1.Project' + $ref: "#/components/schemas/yorkie.v1.Project" additionalProperties: false description: "" title: project @@ -776,13 +777,13 @@ components: description: "" properties: accessedAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: accessed_at type: object createdAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: created_at @@ -803,7 +804,7 @@ components: title: snapshot type: string updatedAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: updated_at @@ -831,7 +832,7 @@ components: description: "" properties: document: - $ref: '#/components/schemas/yorkie.v1.DocumentSummary' + $ref: "#/components/schemas/yorkie.v1.DocumentSummary" additionalProperties: false description: "" title: document @@ -869,7 +870,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.DocumentSummary' + $ref: "#/components/schemas/yorkie.v1.DocumentSummary" type: object title: documents type: array @@ -891,7 +892,7 @@ components: description: "" properties: project: - $ref: '#/components/schemas/yorkie.v1.Project' + $ref: "#/components/schemas/yorkie.v1.Project" additionalProperties: false description: "" title: project @@ -942,8 +943,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: server_seq title: GetSnapshotMetaRequest type: object @@ -955,8 +956,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport snapshot: additionalProperties: false @@ -971,25 +972,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at type: object type: - $ref: '#/components/schemas/yorkie.v1.ValueType' + $ref: "#/components/schemas/yorkie.v1.ValueType" additionalProperties: false description: "" title: type @@ -1024,8 +1025,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: previous_seq projectName: additionalProperties: false @@ -1042,7 +1043,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Change' + $ref: "#/components/schemas/yorkie.v1.Change" type: object title: changes type: array @@ -1087,7 +1088,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.DocumentSummary' + $ref: "#/components/schemas/yorkie.v1.DocumentSummary" type: object title: documents type: array @@ -1106,7 +1107,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Project' + $ref: "#/components/schemas/yorkie.v1.Project" type: object title: projects type: array @@ -1149,7 +1150,7 @@ components: title: is_removed type: boolean updatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: updated_at @@ -1166,67 +1167,67 @@ components: description: "" properties: add: - $ref: '#/components/schemas/yorkie.v1.Operation.Add' + $ref: "#/components/schemas/yorkie.v1.Operation.Add" additionalProperties: false description: "" title: add type: object arraySet: - $ref: '#/components/schemas/yorkie.v1.Operation.ArraySet' + $ref: "#/components/schemas/yorkie.v1.Operation.ArraySet" additionalProperties: false description: "" title: array_set type: object edit: - $ref: '#/components/schemas/yorkie.v1.Operation.Edit' + $ref: "#/components/schemas/yorkie.v1.Operation.Edit" additionalProperties: false description: "" title: edit type: object increase: - $ref: '#/components/schemas/yorkie.v1.Operation.Increase' + $ref: "#/components/schemas/yorkie.v1.Operation.Increase" additionalProperties: false description: "" title: increase type: object move: - $ref: '#/components/schemas/yorkie.v1.Operation.Move' + $ref: "#/components/schemas/yorkie.v1.Operation.Move" additionalProperties: false description: "" title: move type: object remove: - $ref: '#/components/schemas/yorkie.v1.Operation.Remove' + $ref: "#/components/schemas/yorkie.v1.Operation.Remove" additionalProperties: false description: "" title: remove type: object select: - $ref: '#/components/schemas/yorkie.v1.Operation.Select' + $ref: "#/components/schemas/yorkie.v1.Operation.Select" additionalProperties: false description: "" title: select type: object set: - $ref: '#/components/schemas/yorkie.v1.Operation.Set' + $ref: "#/components/schemas/yorkie.v1.Operation.Set" additionalProperties: false description: "" title: set type: object style: - $ref: '#/components/schemas/yorkie.v1.Operation.Style' + $ref: "#/components/schemas/yorkie.v1.Operation.Style" additionalProperties: false description: "" title: style type: object treeEdit: - $ref: '#/components/schemas/yorkie.v1.Operation.TreeEdit' + $ref: "#/components/schemas/yorkie.v1.Operation.TreeEdit" additionalProperties: false description: "" title: tree_edit type: object treeStyle: - $ref: '#/components/schemas/yorkie.v1.Operation.TreeStyle' + $ref: "#/components/schemas/yorkie.v1.Operation.TreeStyle" additionalProperties: false description: "" title: tree_style @@ -1238,25 +1239,25 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object prevCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: prev_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -1268,25 +1269,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -1313,25 +1314,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -1364,7 +1365,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1376,19 +1377,19 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -1400,25 +1401,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object prevCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: prev_created_at @@ -1430,19 +1431,19 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at @@ -1458,25 +1459,25 @@ components: compatibility purposes. properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -1488,7 +1489,7 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at @@ -1499,13 +1500,13 @@ components: title: key type: string parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -1527,25 +1528,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -1578,7 +1579,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1593,7 +1594,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNodes' + $ref: "#/components/schemas/yorkie.v1.TreeNodes" type: object title: contents type: array @@ -1603,19 +1604,19 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at @@ -1626,7 +1627,7 @@ components: title: split_level type: integer to: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: to @@ -1643,7 +1644,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1672,25 +1673,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: to @@ -1723,7 +1724,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1762,13 +1763,13 @@ components: description: "" properties: presence: - $ref: '#/components/schemas/yorkie.v1.Presence' + $ref: "#/components/schemas/yorkie.v1.Presence" additionalProperties: false description: "" title: presence type: object type: - $ref: '#/components/schemas/yorkie.v1.PresenceChange.ChangeType' + $ref: "#/components/schemas/yorkie.v1.PresenceChange.ChangeType" additionalProperties: false description: "" title: type @@ -1777,14 +1778,14 @@ components: yorkie.v1.PresenceChange.ChangeType: description: "" enum: - - - CHANGE_TYPE_UNSPECIFIED - - 0 - - CHANGE_TYPE_PUT - - 1 - - CHANGE_TYPE_DELETE - - 2 - - CHANGE_TYPE_CLEAR - - 3 + - - CHANGE_TYPE_UNSPECIFIED + - 0 + - CHANGE_TYPE_PUT + - 1 + - CHANGE_TYPE_DELETE + - 2 + - CHANGE_TYPE_CLEAR + - 3 title: ChangeType type: string yorkie.v1.Project: @@ -1809,7 +1810,7 @@ components: title: client_deactivate_threshold type: string createdAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: created_at @@ -1835,7 +1836,7 @@ components: title: secret_key type: string updatedAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: updated_at @@ -1897,7 +1898,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.DocumentSummary' + $ref: "#/components/schemas/yorkie.v1.DocumentSummary" type: object title: documents type: array @@ -1929,7 +1930,7 @@ components: description: "" properties: user: - $ref: '#/components/schemas/yorkie.v1.User' + $ref: "#/components/schemas/yorkie.v1.User" additionalProperties: false description: "" title: user @@ -1941,7 +1942,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -1977,8 +1978,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport title: TimeTicket type: object @@ -1997,25 +1998,25 @@ components: title: depth type: integer id: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: id type: object insNextId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: ins_next_id type: object insPrevId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: ins_prev_id type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -2042,7 +2043,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.NodeAttr' + $ref: "#/components/schemas/yorkie.v1.NodeAttr" additionalProperties: false description: "" title: value @@ -2054,7 +2055,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -2074,7 +2075,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNode' + $ref: "#/components/schemas/yorkie.v1.TreeNode" type: object title: content type: array @@ -2085,13 +2086,13 @@ components: description: "" properties: leftSiblingId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: left_sibling_id type: object parentId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: parent_id @@ -2103,25 +2104,25 @@ components: description: "" properties: authWebhookMethods: - $ref: '#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods' + $ref: "#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods" additionalProperties: false description: "" title: auth_webhook_methods type: object authWebhookUrl: - $ref: '#/components/schemas/google.protobuf.StringValue' + $ref: "#/components/schemas/google.protobuf.StringValue" additionalProperties: false description: "" title: auth_webhook_url type: object clientDeactivateThreshold: - $ref: '#/components/schemas/google.protobuf.StringValue' + $ref: "#/components/schemas/google.protobuf.StringValue" additionalProperties: false description: "" title: client_deactivate_threshold type: object name: - $ref: '#/components/schemas/google.protobuf.StringValue' + $ref: "#/components/schemas/google.protobuf.StringValue" additionalProperties: false description: "" title: name @@ -2146,7 +2147,7 @@ components: description: "" properties: fields: - $ref: '#/components/schemas/yorkie.v1.UpdatableProjectFields' + $ref: "#/components/schemas/yorkie.v1.UpdatableProjectFields" additionalProperties: false description: "" title: fields @@ -2163,7 +2164,7 @@ components: description: "" properties: project: - $ref: '#/components/schemas/yorkie.v1.Project' + $ref: "#/components/schemas/yorkie.v1.Project" additionalProperties: false description: "" title: project @@ -2175,7 +2176,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: created_at @@ -2195,34 +2196,34 @@ components: yorkie.v1.ValueType: description: "" enum: - - - VALUE_TYPE_NULL - - 0 - - VALUE_TYPE_BOOLEAN - - 1 - - VALUE_TYPE_INTEGER - - 2 - - VALUE_TYPE_LONG - - 3 - - VALUE_TYPE_DOUBLE - - 4 - - VALUE_TYPE_STRING - - 5 - - VALUE_TYPE_BYTES - - 6 - - VALUE_TYPE_DATE - - 7 - - VALUE_TYPE_JSON_OBJECT - - 8 - - VALUE_TYPE_JSON_ARRAY - - 9 - - VALUE_TYPE_TEXT - - 10 - - VALUE_TYPE_INTEGER_CNT - - 11 - - VALUE_TYPE_LONG_CNT - - 12 - - VALUE_TYPE_TREE - - 13 + - - VALUE_TYPE_NULL + - 0 + - VALUE_TYPE_BOOLEAN + - 1 + - VALUE_TYPE_INTEGER + - 2 + - VALUE_TYPE_LONG + - 3 + - VALUE_TYPE_DOUBLE + - 4 + - VALUE_TYPE_STRING + - 5 + - VALUE_TYPE_BYTES + - 6 + - VALUE_TYPE_DATE + - 7 + - VALUE_TYPE_JSON_OBJECT + - 8 + - VALUE_TYPE_JSON_ARRAY + - 9 + - VALUE_TYPE_TEXT + - 10 + - VALUE_TYPE_INTEGER_CNT + - 11 + - VALUE_TYPE_LONG_CNT + - 12 + - VALUE_TYPE_TREE + - 13 title: ValueType type: string securitySchemes: @@ -2231,7 +2232,7 @@ components: name: Authorization type: apiKey security: -- ApiKeyAuth: [] + - ApiKeyAuth: [] tags: -- description: Admin is a service that provides a API for Admin. - name: yorkie.v1.AdminService + - description: Admin is a service that provides a API for Admin. + name: yorkie.v1.AdminService diff --git a/api/docs/yorkie/v1/resources.openapi.yaml b/api/docs/yorkie/v1/resources.openapi.yaml index d893c2398..4252c0593 100644 --- a/api/docs/yorkie/v1/resources.openapi.yaml +++ b/api/docs/yorkie/v1/resources.openapi.yaml @@ -1,14 +1,15 @@ openapi: 3.1.0 info: - description: Yorkie is an open source document store for building collaborative + description: + Yorkie is an open source document store for building collaborative editing applications. title: Yorkie - version: v0.5.0 + version: v0.5.1 servers: -- description: Production server - url: https://api.yorkie.dev -- description: Local server - url: http://localhost:8080 + - description: Production server + url: https://api.yorkie.dev + - description: Local server + url: http://localhost:8080 paths: {} components: responses: @@ -16,35 +17,35 @@ components: content: application/json: schema: - $ref: '#/components/schemas/connect.error' + $ref: "#/components/schemas/connect.error" application/proto: schema: - $ref: '#/components/schemas/connect.error' + $ref: "#/components/schemas/connect.error" description: "" schemas: connect.error: additionalProperties: false - description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation' + description: "Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation" properties: code: enum: - - CodeCanceled - - CodeUnknown - - CodeInvalidArgument - - CodeDeadlineExceeded - - CodeNotFound - - CodeAlreadyExists - - CodePermissionDenied - - CodeResourceExhausted - - CodeFailedPrecondition - - CodeAborted - - CodeOutOfRange - - CodeInternal - - CodeUnavailable - - CodeDataLoss - - CodeUnauthenticated + - CodeCanceled + - CodeUnknown + - CodeInvalidArgument + - CodeDeadlineExceeded + - CodeNotFound + - CodeAlreadyExists + - CodePermissionDenied + - CodeResourceExhausted + - CodeFailedPrecondition + - CodeAborted + - CodeOutOfRange + - CodeInternal + - CodeUnavailable + - CodeDataLoss + - CodeUnauthenticated examples: - - CodeNotFound + - CodeNotFound type: string message: type: string @@ -163,7 +164,7 @@ components: description: "" properties: id: - $ref: '#/components/schemas/yorkie.v1.ChangeID' + $ref: "#/components/schemas/yorkie.v1.ChangeID" additionalProperties: false description: "" title: id @@ -177,12 +178,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Operation' + $ref: "#/components/schemas/yorkie.v1.Operation" type: object title: operations type: array presenceChange: - $ref: '#/components/schemas/yorkie.v1.PresenceChange' + $ref: "#/components/schemas/yorkie.v1.PresenceChange" additionalProperties: false description: "" title: presence_change @@ -208,15 +209,15 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport serverSeq: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: server_seq title: ChangeID type: object @@ -230,12 +231,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Change' + $ref: "#/components/schemas/yorkie.v1.Change" type: object title: changes type: array checkpoint: - $ref: '#/components/schemas/yorkie.v1.Checkpoint' + $ref: "#/components/schemas/yorkie.v1.Checkpoint" additionalProperties: false description: "" title: checkpoint @@ -251,7 +252,7 @@ components: title: is_removed type: boolean minSyncedTicket: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: min_synced_ticket @@ -277,8 +278,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: server_seq title: Checkpoint type: object @@ -287,7 +288,7 @@ components: description: "" properties: body: - $ref: '#/components/schemas/yorkie.v1.DocEventBody' + $ref: "#/components/schemas/yorkie.v1.DocEventBody" additionalProperties: false description: "" title: body @@ -298,7 +299,7 @@ components: title: publisher type: string type: - $ref: '#/components/schemas/yorkie.v1.DocEventType' + $ref: "#/components/schemas/yorkie.v1.DocEventType" additionalProperties: false description: "" title: type @@ -324,14 +325,14 @@ components: yorkie.v1.DocEventType: description: "" enum: - - - DOC_EVENT_TYPE_DOCUMENT_CHANGED - - 0 - - DOC_EVENT_TYPE_DOCUMENT_WATCHED - - 1 - - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED - - 2 - - DOC_EVENT_TYPE_DOCUMENT_BROADCAST - - 3 + - - DOC_EVENT_TYPE_DOCUMENT_CHANGED + - 0 + - DOC_EVENT_TYPE_DOCUMENT_WATCHED + - 1 + - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED + - 2 + - DOC_EVENT_TYPE_DOCUMENT_BROADCAST + - 3 title: DocEventType type: string yorkie.v1.DocumentSummary: @@ -339,13 +340,13 @@ components: description: "" properties: accessedAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: accessed_at type: object createdAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: created_at @@ -366,7 +367,7 @@ components: title: snapshot type: string updatedAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: updated_at @@ -378,37 +379,37 @@ components: description: "" properties: counter: - $ref: '#/components/schemas/yorkie.v1.JSONElement.Counter' + $ref: "#/components/schemas/yorkie.v1.JSONElement.Counter" additionalProperties: false description: "" title: counter type: object jsonArray: - $ref: '#/components/schemas/yorkie.v1.JSONElement.JSONArray' + $ref: "#/components/schemas/yorkie.v1.JSONElement.JSONArray" additionalProperties: false description: "" title: json_array type: object jsonObject: - $ref: '#/components/schemas/yorkie.v1.JSONElement.JSONObject' + $ref: "#/components/schemas/yorkie.v1.JSONElement.JSONObject" additionalProperties: false description: "" title: json_object type: object primitive: - $ref: '#/components/schemas/yorkie.v1.JSONElement.Primitive' + $ref: "#/components/schemas/yorkie.v1.JSONElement.Primitive" additionalProperties: false description: "" title: primitive type: object text: - $ref: '#/components/schemas/yorkie.v1.JSONElement.Text' + $ref: "#/components/schemas/yorkie.v1.JSONElement.Text" additionalProperties: false description: "" title: text type: object tree: - $ref: '#/components/schemas/yorkie.v1.JSONElement.Tree' + $ref: "#/components/schemas/yorkie.v1.JSONElement.Tree" additionalProperties: false description: "" title: tree @@ -420,25 +421,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at type: object type: - $ref: '#/components/schemas/yorkie.v1.ValueType' + $ref: "#/components/schemas/yorkie.v1.ValueType" additionalProperties: false description: "" title: type @@ -455,13 +456,13 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at @@ -470,12 +471,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.RGANode' + $ref: "#/components/schemas/yorkie.v1.RGANode" type: object title: nodes type: array removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -487,13 +488,13 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at @@ -502,12 +503,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.RHTNode' + $ref: "#/components/schemas/yorkie.v1.RHTNode" type: object title: nodes type: array removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -519,25 +520,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at type: object type: - $ref: '#/components/schemas/yorkie.v1.ValueType' + $ref: "#/components/schemas/yorkie.v1.ValueType" additionalProperties: false description: "" title: type @@ -554,13 +555,13 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at @@ -569,12 +570,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TextNode' + $ref: "#/components/schemas/yorkie.v1.TextNode" type: object title: nodes type: array removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -586,13 +587,13 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at @@ -601,12 +602,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNode' + $ref: "#/components/schemas/yorkie.v1.TreeNode" type: object title: nodes type: array removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -618,25 +619,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at type: object type: - $ref: '#/components/schemas/yorkie.v1.ValueType' + $ref: "#/components/schemas/yorkie.v1.ValueType" additionalProperties: false description: "" title: type @@ -658,7 +659,7 @@ components: title: is_removed type: boolean updatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: updated_at @@ -675,67 +676,67 @@ components: description: "" properties: add: - $ref: '#/components/schemas/yorkie.v1.Operation.Add' + $ref: "#/components/schemas/yorkie.v1.Operation.Add" additionalProperties: false description: "" title: add type: object arraySet: - $ref: '#/components/schemas/yorkie.v1.Operation.ArraySet' + $ref: "#/components/schemas/yorkie.v1.Operation.ArraySet" additionalProperties: false description: "" title: array_set type: object edit: - $ref: '#/components/schemas/yorkie.v1.Operation.Edit' + $ref: "#/components/schemas/yorkie.v1.Operation.Edit" additionalProperties: false description: "" title: edit type: object increase: - $ref: '#/components/schemas/yorkie.v1.Operation.Increase' + $ref: "#/components/schemas/yorkie.v1.Operation.Increase" additionalProperties: false description: "" title: increase type: object move: - $ref: '#/components/schemas/yorkie.v1.Operation.Move' + $ref: "#/components/schemas/yorkie.v1.Operation.Move" additionalProperties: false description: "" title: move type: object remove: - $ref: '#/components/schemas/yorkie.v1.Operation.Remove' + $ref: "#/components/schemas/yorkie.v1.Operation.Remove" additionalProperties: false description: "" title: remove type: object select: - $ref: '#/components/schemas/yorkie.v1.Operation.Select' + $ref: "#/components/schemas/yorkie.v1.Operation.Select" additionalProperties: false description: "" title: select type: object set: - $ref: '#/components/schemas/yorkie.v1.Operation.Set' + $ref: "#/components/schemas/yorkie.v1.Operation.Set" additionalProperties: false description: "" title: set type: object style: - $ref: '#/components/schemas/yorkie.v1.Operation.Style' + $ref: "#/components/schemas/yorkie.v1.Operation.Style" additionalProperties: false description: "" title: style type: object treeEdit: - $ref: '#/components/schemas/yorkie.v1.Operation.TreeEdit' + $ref: "#/components/schemas/yorkie.v1.Operation.TreeEdit" additionalProperties: false description: "" title: tree_edit type: object treeStyle: - $ref: '#/components/schemas/yorkie.v1.Operation.TreeStyle' + $ref: "#/components/schemas/yorkie.v1.Operation.TreeStyle" additionalProperties: false description: "" title: tree_style @@ -747,25 +748,25 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object prevCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: prev_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -777,25 +778,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -822,25 +823,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -873,7 +874,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -885,19 +886,19 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -909,25 +910,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object prevCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: prev_created_at @@ -939,19 +940,19 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at @@ -967,25 +968,25 @@ components: compatibility purposes. properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -997,7 +998,7 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at @@ -1008,13 +1009,13 @@ components: title: key type: string parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -1036,25 +1037,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -1087,7 +1088,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1102,7 +1103,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNodes' + $ref: "#/components/schemas/yorkie.v1.TreeNodes" type: object title: contents type: array @@ -1112,19 +1113,19 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at @@ -1135,7 +1136,7 @@ components: title: split_level type: integer to: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: to @@ -1152,7 +1153,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1181,25 +1182,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: to @@ -1232,7 +1233,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1271,13 +1272,13 @@ components: description: "" properties: presence: - $ref: '#/components/schemas/yorkie.v1.Presence' + $ref: "#/components/schemas/yorkie.v1.Presence" additionalProperties: false description: "" title: presence type: object type: - $ref: '#/components/schemas/yorkie.v1.PresenceChange.ChangeType' + $ref: "#/components/schemas/yorkie.v1.PresenceChange.ChangeType" additionalProperties: false description: "" title: type @@ -1286,14 +1287,14 @@ components: yorkie.v1.PresenceChange.ChangeType: description: "" enum: - - - CHANGE_TYPE_UNSPECIFIED - - 0 - - CHANGE_TYPE_PUT - - 1 - - CHANGE_TYPE_DELETE - - 2 - - CHANGE_TYPE_CLEAR - - 3 + - - CHANGE_TYPE_UNSPECIFIED + - 0 + - CHANGE_TYPE_PUT + - 1 + - CHANGE_TYPE_DELETE + - 2 + - CHANGE_TYPE_CLEAR + - 3 title: ChangeType type: string yorkie.v1.Project: @@ -1318,7 +1319,7 @@ components: title: client_deactivate_threshold type: string createdAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: created_at @@ -1344,7 +1345,7 @@ components: title: secret_key type: string updatedAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: updated_at @@ -1356,13 +1357,13 @@ components: description: "" properties: element: - $ref: '#/components/schemas/yorkie.v1.JSONElement' + $ref: "#/components/schemas/yorkie.v1.JSONElement" additionalProperties: false description: "" title: element type: object next: - $ref: '#/components/schemas/yorkie.v1.RGANode' + $ref: "#/components/schemas/yorkie.v1.RGANode" additionalProperties: false description: "" title: next @@ -1374,7 +1375,7 @@ components: description: "" properties: element: - $ref: '#/components/schemas/yorkie.v1.JSONElement' + $ref: "#/components/schemas/yorkie.v1.JSONElement" additionalProperties: false description: "" title: element @@ -1399,7 +1400,7 @@ components: title: presences type: object root: - $ref: '#/components/schemas/yorkie.v1.JSONElement' + $ref: "#/components/schemas/yorkie.v1.JSONElement" additionalProperties: false description: "" title: root @@ -1416,7 +1417,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.Presence' + $ref: "#/components/schemas/yorkie.v1.Presence" additionalProperties: false description: "" title: value @@ -1433,19 +1434,19 @@ components: title: attributes type: object id: - $ref: '#/components/schemas/yorkie.v1.TextNodeID' + $ref: "#/components/schemas/yorkie.v1.TextNodeID" additionalProperties: false description: "" title: id type: object insPrevId: - $ref: '#/components/schemas/yorkie.v1.TextNodeID' + $ref: "#/components/schemas/yorkie.v1.TextNodeID" additionalProperties: false description: "" title: ins_prev_id type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -1467,7 +1468,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.NodeAttr' + $ref: "#/components/schemas/yorkie.v1.NodeAttr" additionalProperties: false description: "" title: value @@ -1479,7 +1480,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -1496,7 +1497,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -1532,8 +1533,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport title: TimeTicket type: object @@ -1552,25 +1553,25 @@ components: title: depth type: integer id: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: id type: object insNextId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: ins_next_id type: object insPrevId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: ins_prev_id type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -1597,7 +1598,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.NodeAttr' + $ref: "#/components/schemas/yorkie.v1.NodeAttr" additionalProperties: false description: "" title: value @@ -1609,7 +1610,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -1629,7 +1630,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNode' + $ref: "#/components/schemas/yorkie.v1.TreeNode" type: object title: content type: array @@ -1640,13 +1641,13 @@ components: description: "" properties: leftSiblingId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: left_sibling_id type: object parentId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: parent_id @@ -1658,25 +1659,25 @@ components: description: "" properties: authWebhookMethods: - $ref: '#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods' + $ref: "#/components/schemas/yorkie.v1.UpdatableProjectFields.AuthWebhookMethods" additionalProperties: false description: "" title: auth_webhook_methods type: object authWebhookUrl: - $ref: '#/components/schemas/google.protobuf.StringValue' + $ref: "#/components/schemas/google.protobuf.StringValue" additionalProperties: false description: "" title: auth_webhook_url type: object clientDeactivateThreshold: - $ref: '#/components/schemas/google.protobuf.StringValue' + $ref: "#/components/schemas/google.protobuf.StringValue" additionalProperties: false description: "" title: client_deactivate_threshold type: object name: - $ref: '#/components/schemas/google.protobuf.StringValue' + $ref: "#/components/schemas/google.protobuf.StringValue" additionalProperties: false description: "" title: name @@ -1701,7 +1702,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/google.protobuf.Timestamp' + $ref: "#/components/schemas/google.protobuf.Timestamp" additionalProperties: false description: "" title: created_at @@ -1721,34 +1722,34 @@ components: yorkie.v1.ValueType: description: "" enum: - - - VALUE_TYPE_NULL - - 0 - - VALUE_TYPE_BOOLEAN - - 1 - - VALUE_TYPE_INTEGER - - 2 - - VALUE_TYPE_LONG - - 3 - - VALUE_TYPE_DOUBLE - - 4 - - VALUE_TYPE_STRING - - 5 - - VALUE_TYPE_BYTES - - 6 - - VALUE_TYPE_DATE - - 7 - - VALUE_TYPE_JSON_OBJECT - - 8 - - VALUE_TYPE_JSON_ARRAY - - 9 - - VALUE_TYPE_TEXT - - 10 - - VALUE_TYPE_INTEGER_CNT - - 11 - - VALUE_TYPE_LONG_CNT - - 12 - - VALUE_TYPE_TREE - - 13 + - - VALUE_TYPE_NULL + - 0 + - VALUE_TYPE_BOOLEAN + - 1 + - VALUE_TYPE_INTEGER + - 2 + - VALUE_TYPE_LONG + - 3 + - VALUE_TYPE_DOUBLE + - 4 + - VALUE_TYPE_STRING + - 5 + - VALUE_TYPE_BYTES + - 6 + - VALUE_TYPE_DATE + - 7 + - VALUE_TYPE_JSON_OBJECT + - 8 + - VALUE_TYPE_JSON_ARRAY + - 9 + - VALUE_TYPE_TEXT + - 10 + - VALUE_TYPE_INTEGER_CNT + - 11 + - VALUE_TYPE_LONG_CNT + - 12 + - VALUE_TYPE_TREE + - 13 title: ValueType type: string securitySchemes: @@ -1757,4 +1758,4 @@ components: name: Authorization type: apiKey security: -- ApiKeyAuth: [] + - ApiKeyAuth: [] diff --git a/api/docs/yorkie/v1/yorkie.openapi.yaml b/api/docs/yorkie/v1/yorkie.openapi.yaml index 1f29856aa..bdd4bca49 100644 --- a/api/docs/yorkie/v1/yorkie.openapi.yaml +++ b/api/docs/yorkie/v1/yorkie.openapi.yaml @@ -1,175 +1,176 @@ openapi: 3.1.0 info: - description: Yorkie is an open source document store for building collaborative + description: + Yorkie is an open source document store for building collaborative editing applications. title: Yorkie - version: v0.5.0 + version: v0.5.1 servers: -- description: Production server - url: https://api.yorkie.dev -- description: Local server - url: http://localhost:8080 + - description: Production server + url: https://api.yorkie.dev + - description: Local server + url: http://localhost:8080 paths: /yorkie.v1.YorkieService/ActivateClient: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/AttachDocument: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/Broadcast: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/DeactivateClient: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/DetachDocument: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/PushPullChanges: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/RemoveDocument: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService /yorkie.v1.YorkieService/WatchDocument: post: description: "" requestBody: - $ref: '#/components/requestBodies/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentRequest' + $ref: "#/components/requestBodies/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentRequest" responses: "200": - $ref: '#/components/responses/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentResponse' + $ref: "#/components/responses/yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentResponse" default: - $ref: '#/components/responses/connect.error' + $ref: "#/components/responses/connect.error" tags: - - yorkie.v1.YorkieService + - yorkie.v1.YorkieService components: requestBodies: yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ActivateClientRequest' + $ref: "#/components/schemas/yorkie.v1.ActivateClientRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ActivateClientRequest' + $ref: "#/components/schemas/yorkie.v1.ActivateClientRequest" required: true yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.AttachDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.AttachDocumentRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.AttachDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.AttachDocumentRequest" required: true yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.BroadcastRequest' + $ref: "#/components/schemas/yorkie.v1.BroadcastRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.BroadcastRequest' + $ref: "#/components/schemas/yorkie.v1.BroadcastRequest" required: true yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.DeactivateClientRequest' + $ref: "#/components/schemas/yorkie.v1.DeactivateClientRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.DeactivateClientRequest' + $ref: "#/components/schemas/yorkie.v1.DeactivateClientRequest" required: true yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.DetachDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.DetachDocumentRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.DetachDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.DetachDocumentRequest" required: true yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.PushPullChangesRequest' + $ref: "#/components/schemas/yorkie.v1.PushPullChangesRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.PushPullChangesRequest' + $ref: "#/components/schemas/yorkie.v1.PushPullChangesRequest" required: true yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentRequest: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentRequest" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentRequest' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentRequest" required: true yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentRequest: content: {} @@ -179,100 +180,100 @@ components: content: application/json: schema: - $ref: '#/components/schemas/connect.error' + $ref: "#/components/schemas/connect.error" application/proto: schema: - $ref: '#/components/schemas/connect.error' + $ref: "#/components/schemas/connect.error" description: "" yorkie.v1.YorkieService.ActivateClient.yorkie.v1.ActivateClientResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.ActivateClientResponse' + $ref: "#/components/schemas/yorkie.v1.ActivateClientResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.ActivateClientResponse' + $ref: "#/components/schemas/yorkie.v1.ActivateClientResponse" description: "" yorkie.v1.YorkieService.AttachDocument.yorkie.v1.AttachDocumentResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.AttachDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.AttachDocumentResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.AttachDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.AttachDocumentResponse" description: "" yorkie.v1.YorkieService.Broadcast.yorkie.v1.BroadcastResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.BroadcastResponse' + $ref: "#/components/schemas/yorkie.v1.BroadcastResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.BroadcastResponse' + $ref: "#/components/schemas/yorkie.v1.BroadcastResponse" description: "" yorkie.v1.YorkieService.DeactivateClient.yorkie.v1.DeactivateClientResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.DeactivateClientResponse' + $ref: "#/components/schemas/yorkie.v1.DeactivateClientResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.DeactivateClientResponse' + $ref: "#/components/schemas/yorkie.v1.DeactivateClientResponse" description: "" yorkie.v1.YorkieService.DetachDocument.yorkie.v1.DetachDocumentResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.DetachDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.DetachDocumentResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.DetachDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.DetachDocumentResponse" description: "" yorkie.v1.YorkieService.PushPullChanges.yorkie.v1.PushPullChangesResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.PushPullChangesResponse' + $ref: "#/components/schemas/yorkie.v1.PushPullChangesResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.PushPullChangesResponse' + $ref: "#/components/schemas/yorkie.v1.PushPullChangesResponse" description: "" yorkie.v1.YorkieService.RemoveDocument.yorkie.v1.RemoveDocumentResponse: content: application/json: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentResponse" application/proto: schema: - $ref: '#/components/schemas/yorkie.v1.RemoveDocumentResponse' + $ref: "#/components/schemas/yorkie.v1.RemoveDocumentResponse" description: "" yorkie.v1.YorkieService.WatchDocument.yorkie.v1.WatchDocumentResponse: description: "" schemas: connect.error: additionalProperties: false - description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation' + description: "Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation" properties: code: enum: - - CodeCanceled - - CodeUnknown - - CodeInvalidArgument - - CodeDeadlineExceeded - - CodeNotFound - - CodeAlreadyExists - - CodePermissionDenied - - CodeResourceExhausted - - CodeFailedPrecondition - - CodeAborted - - CodeOutOfRange - - CodeInternal - - CodeUnavailable - - CodeDataLoss - - CodeUnauthenticated + - CodeCanceled + - CodeUnknown + - CodeInvalidArgument + - CodeDeadlineExceeded + - CodeNotFound + - CodeAlreadyExists + - CodePermissionDenied + - CodeResourceExhausted + - CodeFailedPrecondition + - CodeAborted + - CodeOutOfRange + - CodeInternal + - CodeUnavailable + - CodeDataLoss + - CodeUnauthenticated examples: - - CodeNotFound + - CodeNotFound type: string message: type: string @@ -305,7 +306,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -322,7 +323,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -371,7 +372,7 @@ components: description: "" properties: id: - $ref: '#/components/schemas/yorkie.v1.ChangeID' + $ref: "#/components/schemas/yorkie.v1.ChangeID" additionalProperties: false description: "" title: id @@ -385,12 +386,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Operation' + $ref: "#/components/schemas/yorkie.v1.Operation" type: object title: operations type: array presenceChange: - $ref: '#/components/schemas/yorkie.v1.PresenceChange' + $ref: "#/components/schemas/yorkie.v1.PresenceChange" additionalProperties: false description: "" title: presence_change @@ -416,15 +417,15 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport serverSeq: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: server_seq title: ChangeID type: object @@ -438,12 +439,12 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.Change' + $ref: "#/components/schemas/yorkie.v1.Change" type: object title: changes type: array checkpoint: - $ref: '#/components/schemas/yorkie.v1.Checkpoint' + $ref: "#/components/schemas/yorkie.v1.Checkpoint" additionalProperties: false description: "" title: checkpoint @@ -459,7 +460,7 @@ components: title: is_removed type: boolean minSyncedTicket: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: min_synced_ticket @@ -485,8 +486,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: server_seq title: Checkpoint type: object @@ -511,7 +512,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -538,7 +539,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -550,7 +551,7 @@ components: description: "" properties: body: - $ref: '#/components/schemas/yorkie.v1.DocEventBody' + $ref: "#/components/schemas/yorkie.v1.DocEventBody" additionalProperties: false description: "" title: body @@ -561,7 +562,7 @@ components: title: publisher type: string type: - $ref: '#/components/schemas/yorkie.v1.DocEventType' + $ref: "#/components/schemas/yorkie.v1.DocEventType" additionalProperties: false description: "" title: type @@ -587,14 +588,14 @@ components: yorkie.v1.DocEventType: description: "" enum: - - - DOC_EVENT_TYPE_DOCUMENT_CHANGED - - 0 - - DOC_EVENT_TYPE_DOCUMENT_WATCHED - - 1 - - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED - - 2 - - DOC_EVENT_TYPE_DOCUMENT_BROADCAST - - 3 + - - DOC_EVENT_TYPE_DOCUMENT_CHANGED + - 0 + - DOC_EVENT_TYPE_DOCUMENT_WATCHED + - 1 + - DOC_EVENT_TYPE_DOCUMENT_UNWATCHED + - 2 + - DOC_EVENT_TYPE_DOCUMENT_BROADCAST + - 3 title: DocEventType type: string yorkie.v1.JSONElementSimple: @@ -602,25 +603,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object movedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: moved_at type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at type: object type: - $ref: '#/components/schemas/yorkie.v1.ValueType' + $ref: "#/components/schemas/yorkie.v1.ValueType" additionalProperties: false description: "" title: type @@ -642,7 +643,7 @@ components: title: is_removed type: boolean updatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: updated_at @@ -659,67 +660,67 @@ components: description: "" properties: add: - $ref: '#/components/schemas/yorkie.v1.Operation.Add' + $ref: "#/components/schemas/yorkie.v1.Operation.Add" additionalProperties: false description: "" title: add type: object arraySet: - $ref: '#/components/schemas/yorkie.v1.Operation.ArraySet' + $ref: "#/components/schemas/yorkie.v1.Operation.ArraySet" additionalProperties: false description: "" title: array_set type: object edit: - $ref: '#/components/schemas/yorkie.v1.Operation.Edit' + $ref: "#/components/schemas/yorkie.v1.Operation.Edit" additionalProperties: false description: "" title: edit type: object increase: - $ref: '#/components/schemas/yorkie.v1.Operation.Increase' + $ref: "#/components/schemas/yorkie.v1.Operation.Increase" additionalProperties: false description: "" title: increase type: object move: - $ref: '#/components/schemas/yorkie.v1.Operation.Move' + $ref: "#/components/schemas/yorkie.v1.Operation.Move" additionalProperties: false description: "" title: move type: object remove: - $ref: '#/components/schemas/yorkie.v1.Operation.Remove' + $ref: "#/components/schemas/yorkie.v1.Operation.Remove" additionalProperties: false description: "" title: remove type: object select: - $ref: '#/components/schemas/yorkie.v1.Operation.Select' + $ref: "#/components/schemas/yorkie.v1.Operation.Select" additionalProperties: false description: "" title: select type: object set: - $ref: '#/components/schemas/yorkie.v1.Operation.Set' + $ref: "#/components/schemas/yorkie.v1.Operation.Set" additionalProperties: false description: "" title: set type: object style: - $ref: '#/components/schemas/yorkie.v1.Operation.Style' + $ref: "#/components/schemas/yorkie.v1.Operation.Style" additionalProperties: false description: "" title: style type: object treeEdit: - $ref: '#/components/schemas/yorkie.v1.Operation.TreeEdit' + $ref: "#/components/schemas/yorkie.v1.Operation.TreeEdit" additionalProperties: false description: "" title: tree_edit type: object treeStyle: - $ref: '#/components/schemas/yorkie.v1.Operation.TreeStyle' + $ref: "#/components/schemas/yorkie.v1.Operation.TreeStyle" additionalProperties: false description: "" title: tree_style @@ -731,25 +732,25 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object prevCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: prev_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -761,25 +762,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -806,25 +807,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -857,7 +858,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -869,19 +870,19 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -893,25 +894,25 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object prevCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: prev_created_at @@ -923,19 +924,19 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at @@ -951,25 +952,25 @@ components: compatibility purposes. properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -981,7 +982,7 @@ components: description: "" properties: executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at @@ -992,13 +993,13 @@ components: title: key type: string parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object value: - $ref: '#/components/schemas/yorkie.v1.JSONElementSimple' + $ref: "#/components/schemas/yorkie.v1.JSONElementSimple" additionalProperties: false description: "" title: value @@ -1020,25 +1021,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TextNodePos' + $ref: "#/components/schemas/yorkie.v1.TextNodePos" additionalProperties: false description: "" title: to @@ -1071,7 +1072,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1086,7 +1087,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNodes' + $ref: "#/components/schemas/yorkie.v1.TreeNodes" type: object title: contents type: array @@ -1096,19 +1097,19 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at @@ -1119,7 +1120,7 @@ components: title: split_level type: integer to: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: to @@ -1136,7 +1137,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1165,25 +1166,25 @@ components: title: created_at_map_by_actor type: object executedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: executed_at type: object from: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: from type: object parentCreatedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: parent_created_at type: object to: - $ref: '#/components/schemas/yorkie.v1.TreePos' + $ref: "#/components/schemas/yorkie.v1.TreePos" additionalProperties: false description: "" title: to @@ -1216,7 +1217,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: value @@ -1255,13 +1256,13 @@ components: description: "" properties: presence: - $ref: '#/components/schemas/yorkie.v1.Presence' + $ref: "#/components/schemas/yorkie.v1.Presence" additionalProperties: false description: "" title: presence type: object type: - $ref: '#/components/schemas/yorkie.v1.PresenceChange.ChangeType' + $ref: "#/components/schemas/yorkie.v1.PresenceChange.ChangeType" additionalProperties: false description: "" title: type @@ -1270,14 +1271,14 @@ components: yorkie.v1.PresenceChange.ChangeType: description: "" enum: - - - CHANGE_TYPE_UNSPECIFIED - - 0 - - CHANGE_TYPE_PUT - - 1 - - CHANGE_TYPE_DELETE - - 2 - - CHANGE_TYPE_CLEAR - - 3 + - - CHANGE_TYPE_UNSPECIFIED + - 0 + - CHANGE_TYPE_PUT + - 1 + - CHANGE_TYPE_DELETE + - 2 + - CHANGE_TYPE_CLEAR + - 3 title: ChangeType type: string yorkie.v1.PushPullChangesRequest: @@ -1285,7 +1286,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -1312,7 +1313,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -1324,7 +1325,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -1346,7 +1347,7 @@ components: description: "" properties: changePack: - $ref: '#/components/schemas/yorkie.v1.ChangePack' + $ref: "#/components/schemas/yorkie.v1.ChangePack" additionalProperties: false description: "" title: change_pack @@ -1358,7 +1359,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -1394,8 +1395,8 @@ components: additionalProperties: false description: "" oneOf: - - type: string - - type: number + - type: string + - type: number title: lamport title: TimeTicket type: object @@ -1414,25 +1415,25 @@ components: title: depth type: integer id: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: id type: object insNextId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: ins_next_id type: object insPrevId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: ins_prev_id type: object removedAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: removed_at @@ -1459,7 +1460,7 @@ components: title: key type: string value: - $ref: '#/components/schemas/yorkie.v1.NodeAttr' + $ref: "#/components/schemas/yorkie.v1.NodeAttr" additionalProperties: false description: "" title: value @@ -1471,7 +1472,7 @@ components: description: "" properties: createdAt: - $ref: '#/components/schemas/yorkie.v1.TimeTicket' + $ref: "#/components/schemas/yorkie.v1.TimeTicket" additionalProperties: false description: "" title: created_at @@ -1491,7 +1492,7 @@ components: additionalProperties: false description: "" items: - $ref: '#/components/schemas/yorkie.v1.TreeNode' + $ref: "#/components/schemas/yorkie.v1.TreeNode" type: object title: content type: array @@ -1502,13 +1503,13 @@ components: description: "" properties: leftSiblingId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: left_sibling_id type: object parentId: - $ref: '#/components/schemas/yorkie.v1.TreeNodeID' + $ref: "#/components/schemas/yorkie.v1.TreeNodeID" additionalProperties: false description: "" title: parent_id @@ -1518,34 +1519,34 @@ components: yorkie.v1.ValueType: description: "" enum: - - - VALUE_TYPE_NULL - - 0 - - VALUE_TYPE_BOOLEAN - - 1 - - VALUE_TYPE_INTEGER - - 2 - - VALUE_TYPE_LONG - - 3 - - VALUE_TYPE_DOUBLE - - 4 - - VALUE_TYPE_STRING - - 5 - - VALUE_TYPE_BYTES - - 6 - - VALUE_TYPE_DATE - - 7 - - VALUE_TYPE_JSON_OBJECT - - 8 - - VALUE_TYPE_JSON_ARRAY - - 9 - - VALUE_TYPE_TEXT - - 10 - - VALUE_TYPE_INTEGER_CNT - - 11 - - VALUE_TYPE_LONG_CNT - - 12 - - VALUE_TYPE_TREE - - 13 + - - VALUE_TYPE_NULL + - 0 + - VALUE_TYPE_BOOLEAN + - 1 + - VALUE_TYPE_INTEGER + - 2 + - VALUE_TYPE_LONG + - 3 + - VALUE_TYPE_DOUBLE + - 4 + - VALUE_TYPE_STRING + - 5 + - VALUE_TYPE_BYTES + - 6 + - VALUE_TYPE_DATE + - 7 + - VALUE_TYPE_JSON_OBJECT + - 8 + - VALUE_TYPE_JSON_ARRAY + - 9 + - VALUE_TYPE_TEXT + - 10 + - VALUE_TYPE_INTEGER_CNT + - 11 + - VALUE_TYPE_LONG_CNT + - 12 + - VALUE_TYPE_TREE + - 13 title: ValueType type: string yorkie.v1.WatchDocumentRequest: @@ -1569,13 +1570,13 @@ components: description: "" properties: event: - $ref: '#/components/schemas/yorkie.v1.DocEvent' + $ref: "#/components/schemas/yorkie.v1.DocEvent" additionalProperties: false description: "" title: event type: object initialization: - $ref: '#/components/schemas/yorkie.v1.WatchDocumentResponse.Initialization' + $ref: "#/components/schemas/yorkie.v1.WatchDocumentResponse.Initialization" additionalProperties: false description: "" title: initialization @@ -1601,7 +1602,7 @@ components: name: Authorization type: apiKey security: -- ApiKeyAuth: [] + - ApiKeyAuth: [] tags: -- description: Yorkie is a service that provides a API for SDKs. - name: yorkie.v1.YorkieService + - description: Yorkie is a service that provides a API for SDKs. + name: yorkie.v1.YorkieService