Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document auth policies in OpenAPI #2049

Merged
merged 9 commits into from
Jan 7, 2021

Conversation

eddyashton
Copy link
Member

Part of #2032.

Adds components/securitySchemes and per-path-operation security fields to generated OpenAPI documents.

@eddyashton eddyashton requested a review from a team as a code owner January 6, 2021 14:51
@ghost
Copy link

ghost commented Jan 6, 2021

openapi_auth_policies@17178 aka 20210107.4 vs master ewma over 50 builds from 16596 to 17175
images

src/ds/openapi.h Outdated
std::string s(s_);

for (auto& c : s)
{
if (c == ':')
if (
Copy link
Member

Choose a reason for hiding this comment

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

I didn't think I'd ever say that, but I wonder if a std::regexp would be more readable here.

@eddyashton eddyashton merged commit 6fbd820 into microsoft:master Jan 7, 2021
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