Skip to content

Add OpenAPI metadata#9

Merged
jzelinskie merged 3 commits intoauthzed:mainfrom
jzelinskie:openapi
Oct 21, 2021
Merged

Add OpenAPI metadata#9
jzelinskie merged 3 commits intoauthzed:mainfrom
jzelinskie:openapi

Conversation

@jzelinskie
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Jimmy Zelinskie <[email protected]>
Signed-off-by: Jimmy Zelinskie <[email protected]>
Signed-off-by: Jimmy Zelinskie <[email protected]>
returns (stream LookupResourcesResponse) {}
returns (stream LookupResourcesResponse) {
option (google.api.http) = {
post: "/v1/permissions/resources"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why resources instead of lookup?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure what to call this route. "Lookup" on its own means pretty much nothing, as any read request is going to be "looking up" data from the server.

Copy link
Copy Markdown
Member

@josephschorr josephschorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jzelinskie jzelinskie merged commit 67357f5 into authzed:main Oct 21, 2021
@jzelinskie jzelinskie deleted the openapi branch October 21, 2021 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants