From 1d49a954aa92c9902ed8d19b2c89e17cfa2596f3 Mon Sep 17 00:00:00 2001 From: Islam Aleiv Date: Sat, 12 Oct 2024 13:55:06 +0200 Subject: [PATCH] Polish --- cli/start.go | 4 +++- docs/website/references/cli/defradb_start.md | 4 +++- http/openapi.go | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cli/start.go b/cli/start.go index f90ea027f4..4ee1e2de58 100644 --- a/cli/start.go +++ b/cli/start.go @@ -43,7 +43,9 @@ const devModeBanner = ` ` -const developmentDescription = `Enables a set of features that make development easier but should not be enabled in production: +const developmentDescription = `Enables a set of features that make development easier but should not be enabled +in production: + - allows purging of all persisted data - generates temporary node identity if keyring is disabled ` diff --git a/docs/website/references/cli/defradb_start.md b/docs/website/references/cli/defradb_start.md index ecd56e8908..21889a7a6c 100644 --- a/docs/website/references/cli/defradb_start.md +++ b/docs/website/references/cli/defradb_start.md @@ -14,7 +14,9 @@ defradb start [flags] ``` --allowed-origins stringArray List of origins to allow for CORS requests - --development Enables a set of features that make development easier but should not be enabled in production: + --development Enables a set of features that make development easier but should not be enabled + in production: + - allows purging of all persisted data - generates temporary node identity if keyring is disabled diff --git a/http/openapi.go b/http/openapi.go index 4c60312365..388440e06f 100644 --- a/http/openapi.go +++ b/http/openapi.go @@ -47,7 +47,7 @@ var openApiSchemas = map[string]any{ "acp_relationship_add_result": &client.AddDocActorRelationshipResult{}, "acp_relationship_delete_request": &deleteDocActorRelationshipRequest{}, "acp_relationship_delete_result": &client.DeleteDocActorRelationshipResult{}, - "identity": &identity.RawIdentity{}, + "identity": &identity.PublicRawIdentity{}, } func NewOpenAPISpec() (*openapi3.T, error) {