Skip to content

Commit 4069808

Browse files
authored
Merge pull request #31 from aserto-dev/v0.20.12
add info block
2 parents 3731b17 + 8b1f4ec commit 4069808

File tree

3 files changed

+51
-4
lines changed

3 files changed

+51
-4
lines changed

openapi/authorizer.openapi.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,22 @@
359359
}
360360
}
361361
},
362+
"externalDocs": {
363+
"description": "Authorizer API Reference.",
364+
"url": "https://github.com/aserto-dev/pb-authorizer/blob/main/html/index.html"
365+
},
362366
"info": {
363-
"title": "aserto/authorizer/v2/authorizer.proto",
364-
"version": "version not set"
367+
"contact": {
368+
"email": "support@aserto.com",
369+
"name": "Aserto, Inc.",
370+
"url": "https://github.com/aserto-dev/pb-authorizer"
371+
},
372+
"license": {
373+
"name": "Apache 2.0 License",
374+
"url": "https://github.com/aserto-dev/pb-authorizer/blob/main/LICENSE"
375+
},
376+
"title": "Authorizer Service",
377+
"version": "2.1"
365378
},
366379
"openapi": "3.1.1",
367380
"paths": {

openapi/authorizer.v2.openapi.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,22 @@
359359
}
360360
}
361361
},
362+
"externalDocs": {
363+
"description": "Authorizer API Reference.",
364+
"url": "https://github.com/aserto-dev/pb-authorizer/blob/main/html/index.html"
365+
},
362366
"info": {
363-
"title": "aserto/authorizer/v2/authorizer.proto",
364-
"version": "version not set"
367+
"contact": {
368+
"email": "support@aserto.com",
369+
"name": "Aserto, Inc.",
370+
"url": "https://github.com/aserto-dev/pb-authorizer"
371+
},
372+
"license": {
373+
"name": "Apache 2.0 License",
374+
"url": "https://github.com/aserto-dev/pb-authorizer/blob/main/LICENSE"
375+
},
376+
"title": "Authorizer Service",
377+
"version": "2.1"
365378
},
366379
"openapi": "3.1.1",
367380
"paths": {

proto/aserto/authorizer/v2/authorizer.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,30 @@ import "protoc-gen-openapiv2/options/annotations.proto";
1313
option csharp_namespace = "Aserto.Authorizer.V2";
1414
option go_package = "github.com/aserto-dev/go-authorizer/aserto/authorizer/v2;authorizer";
1515
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
16+
info: {
17+
title: "Authorizer Service"
18+
version: "2.1"
19+
contact: {
20+
name: "Aserto, Inc."
21+
url: "https://github.com/aserto-dev/pb-authorizer"
22+
email: "support@aserto.com"
23+
}
24+
license: {
25+
name: "Apache 2.0 License"
26+
url: "https://github.com/aserto-dev/pb-authorizer/blob/main/LICENSE"
27+
}
28+
}
29+
30+
external_docs: {
31+
url: "https://github.com/aserto-dev/pb-authorizer/blob/main/html/index.html"
32+
description: "Authorizer API Reference."
33+
}
34+
35+
schemes: HTTP
1636
schemes: HTTPS
1737
consumes: "application/json"
1838
produces: "application/json"
39+
1940
security_definitions: {
2041
security: {
2142
key: "AuthorizerAPIKey"

0 commit comments

Comments
 (0)