Skip to content

Commit

Permalink
fix(core): Fix POST /v1/entitlements body parsing (#1574)
Browse files Browse the repository at this point in the history
Fixes #1573
  • Loading branch information
dmihalcik-virtru authored Sep 25, 2024
1 parent dd518a7 commit fcae7ef
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 51 deletions.
2 changes: 1 addition & 1 deletion docs/grpc/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 30 additions & 21 deletions docs/openapi/authorization/authorization.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions protocol/go/authorization/authorization.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 2 additions & 12 deletions protocol/go/authorization/authorization.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion service/authorization/authorization.proto
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ service AuthorizationService {
option (google.api.http) = {post: "/v1/token/authorization"};
}
rpc GetEntitlements(GetEntitlementsRequest) returns (GetEntitlementsResponse) {
option (google.api.http) = {post: "/v1/entitlements"};
option (google.api.http) = {
post: "/v1/entitlements"
body: "*"
};
}
}

0 comments on commit fcae7ef

Please sign in to comment.