fix: correct imports (#1630)

* fix: correct import for errors

* fix: add missing translations

* fix(eventstore): index

* fix(eventstore): use table instead of index

* fix(proto): correct info

* fix(migrations): use eventstore
This commit is contained in:
Silvan
2021-04-20 22:17:37 +02:00
committed by GitHub
parent c223a9ed61
commit c919fd6f13
15 changed files with 73 additions and 59 deletions

View File

@@ -23,13 +23,14 @@ option go_package ="github.com/caos/zitadel/pkg/grpc/admin";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Administrator API for ZITADEL";
description: "This API provides all functions to administrate ZITADEL.";
title: "Administration API aka Admin";
version: "1.0";
contact: {
name: "file an issue",
url: "https://github.com/caos/zitadel";
};
description: "This API is intended to configure and manage the IAM itself.";
contact:{
name: "CAOS developers of ZITADEL"
url: "https://zitadel.ch"
email: "hi@zitadel.ch"
}
license: {
name: "Apache 2.0",
url: "https://github.com/caos/zitadel/blob/main/LICENSE";

View File

@@ -18,10 +18,17 @@ option go_package ="github.com/caos/zitadel/pkg/grpc/auth";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "auth service";
title: "Authentication API aka Auth";
version: "1.0";
description: "The authentication API is used for all operations on the currently logged in user.";
contact:{
url: "https://github.com/caos/zitadel/api/auth" //TODO: should be swagger path
name: "CAOS developers of ZITADEL"
url: "https://zitadel.ch"
email: "hi@zitadel.ch"
}
license: {
name: "Apache License 2.0",
url: "https://github.com/caos/zitadel/blob/main/LICENSE"
};
};

View File

@@ -26,15 +26,14 @@ package zitadel.management.v1;
option go_package ="github.com/caos/zitadel/pkg/grpc/management";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
swagger: "2.0",
info: {
title: "management api of ZITADEL";
title: "Management API";
version: "1.0";
description: "it's for managing organisation internal and extnernal objects.";
description: "The management API is as the name states the interface where systems can mutate IAM objects like, organisations, projects, clients, users and so on if they have the necessary access rights.";
contact:{
name: "CAOS developers of ZITADEL"
url: "https://zitadel.ch"
email: "hi@caos.ch" //TODO: is there a zitadel@caos.ch?
email: "hi@zitadel.ch"
}
license: {
name: "Apache License 2.0",

View File

@@ -87,7 +87,7 @@ enum SecondFactorType {
enum MultiFactorType {
MULTI_FACTOR_TYPE_UNSPECIFIED = 0;
MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION = 1; //TODO: what does livio think after the weekend? :D
MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION = 1;
}
enum PasswordlessType {

View File

@@ -350,7 +350,6 @@ message WebAuthNVerification {
description: "json representation of public key credential issued by the webauthn client";
min_length: 55;
max_length: 1048576; //1 mb
//TODO: add example validate max
}
];
string token_name = 2 [