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

Add security examples #29

Merged
merged 4 commits into from
Dec 20, 2021
Merged

Add security examples #29

merged 4 commits into from
Dec 20, 2021

Conversation

vearutop
Copy link
Member

Resolves #28.

@github-actions
Copy link

github-actions bot commented Dec 20, 2021

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go (test) 5 (+1) 1110 (+239) 720 (+91) 222 (+119) 168 (+29) 12 (+6) 29.8K (+5.9K)
Makefile 1 46 (+1) 32 5 9 (+1) 5 1.8K (+1B)
Markdown 1 189 (+2) 170 (+1) 0 19 (+1) 0 5.6K (+92B)
YAML 5 (-1) 291 (-15) 251 (-15) 25 15 0 9K (+103B)

@github-actions
Copy link

Go API Changes

# summary
Inferred base version: v0.2.13
Suggested version: v0.3.0

@github-actions
Copy link

Unit Test Coverage

total: (statements) 46.2%

Coverage diff with base branch
394c394
< github.com/swaggest/openapi-go/openapi3/entities.go	SecuritySchemesEns	0.0%
---
> github.com/swaggest/openapi-go/openapi3/entities.go	SecuritySchemesEns	100.0%
429,431c429,431
< github.com/swaggest/openapi-go/openapi3/entities.go	WithName	0.0%
< github.com/swaggest/openapi-go/openapi3/entities.go	WithIn	0.0%
< github.com/swaggest/openapi-go/openapi3/entities.go	WithDescription	0.0%
---
> github.com/swaggest/openapi-go/openapi3/entities.go	WithName	100.0%
> github.com/swaggest/openapi-go/openapi3/entities.go	WithIn	100.0%
> github.com/swaggest/openapi-go/openapi3/entities.go	WithDescription	100.0%
436,438c436,438
< github.com/swaggest/openapi-go/openapi3/entities.go	WithScheme	0.0%
< github.com/swaggest/openapi-go/openapi3/entities.go	WithBearerFormat	0.0%
< github.com/swaggest/openapi-go/openapi3/entities.go	WithDescription	0.0%
---
> github.com/swaggest/openapi-go/openapi3/entities.go	WithScheme	100.0%
> github.com/swaggest/openapi-go/openapi3/entities.go	WithBearerFormat	100.0%
> github.com/swaggest/openapi-go/openapi3/entities.go	WithDescription	100.0%
524c524
< github.com/swaggest/openapi-go/openapi3/entities.go	WithMapOfSecuritySchemeOrRefValuesItem	0.0%
---
> github.com/swaggest/openapi-go/openapi3/entities.go	WithMapOfSecuritySchemeOrRefValuesItem	100.0%
578c578
< total:	(statements)	45.7%
---
> total:	(statements)	46.2%

@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #29 (15255de) into master (582ec73) will increase coverage by 0.56%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   37.56%   38.13%   +0.56%     
==========================================
  Files           5        5              
  Lines        3511     3511              
==========================================
+ Hits         1319     1339      +20     
+ Misses       1904     1884      -20     
  Partials      288      288              
Flag Coverage Δ
unittests 38.13% <ø> (+0.56%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
openapi3/entities.go 32.24% <0.00%> (+0.67%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 582ec73...15255de. Read the comment docs.

@vearutop vearutop merged commit a861c20 into master Dec 20, 2021
@vearutop vearutop deleted the add-security-examples branch December 20, 2021 23:07
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.

Request and example for adding BasicAuth and ApiKey security.
1 participant