mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 19:57:22 +00:00
docs(api): additional openapi v2 information (#2739)
This commit is contained in:
parent
144e6e4b57
commit
77a3f848e5
@ -47,9 +47,17 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|||||||
produces: "application/json";
|
produces: "application/json";
|
||||||
produces: "application/grpc";
|
produces: "application/grpc";
|
||||||
|
|
||||||
host: "api.zitadel.io";
|
consumes: "application/grpc-web+proto";
|
||||||
|
produces: "application/grpc-web+proto";
|
||||||
|
|
||||||
|
host: "api.zitadel.ch";
|
||||||
base_path: "/admin/v1";
|
base_path: "/admin/v1";
|
||||||
|
|
||||||
|
external_docs: {
|
||||||
|
description: "Detailed information about ZITADEL",
|
||||||
|
url: "https://docs.zitadel.ch"
|
||||||
|
}
|
||||||
|
|
||||||
security_definitions: {
|
security_definitions: {
|
||||||
security: {
|
security: {
|
||||||
key: "BasicAuth";
|
key: "BasicAuth";
|
||||||
|
@ -38,9 +38,19 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|||||||
|
|
||||||
consumes: "application/json";
|
consumes: "application/json";
|
||||||
consumes: "application/grpc";
|
consumes: "application/grpc";
|
||||||
|
consumes: "application/grpc-web+proto";
|
||||||
|
|
||||||
produces: "application/json";
|
produces: "application/json";
|
||||||
produces: "application/grpc";
|
produces: "application/grpc";
|
||||||
|
produces: "application/grpc-web+proto";
|
||||||
|
|
||||||
|
host: "api.zitadel.ch";
|
||||||
|
base_path: "/auth/v1";
|
||||||
|
|
||||||
|
external_docs: {
|
||||||
|
description: "Detailed information about ZITADEL",
|
||||||
|
url: "https://docs.zitadel.ch"
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
schemes: HTTPS;
|
schemes: HTTPS;
|
||||||
|
|
||||||
consumes: "application/json";
|
consumes: "application/json";
|
||||||
produces: "application/json";
|
produces: "application/json";
|
||||||
|
|
||||||
@ -54,11 +55,20 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|||||||
consumes: "application/grpc-web+proto";
|
consumes: "application/grpc-web+proto";
|
||||||
produces: "application/grpc-web+proto";
|
produces: "application/grpc-web+proto";
|
||||||
|
|
||||||
|
host: "api.zitadel.ch";
|
||||||
|
base_path: "/management/v1";
|
||||||
|
|
||||||
external_docs: {
|
external_docs: {
|
||||||
description: "Detailed information about ZITADEL",
|
description: "Detailed information about ZITADEL",
|
||||||
url: "https://docs.zitadel.ch"
|
url: "https://docs.zitadel.ch"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extensions: {
|
||||||
|
key: "x-zitadel-orgid";
|
||||||
|
value: {
|
||||||
|
string_value: "your-org-id";
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user