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

Added general linting support for non openapi files. #147

Merged
merged 3 commits into from
Jul 22, 2023

Conversation

daveshanley
Copy link
Member

@daveshanley daveshanley commented Jul 22, 2023

This allows vacuum to operate outside of the OpenAPI world. Exciting!

New DocumentConfiguration property added.

BypassDocumentCheck will bypass the document check. This is disabled by default. This will allow any document to
passed in and used. Should only be enabled when loading non OpenAPI docs.

This allows vacuum to operate outside of the OpenAPI world. Exciting!

Signed-off-by: Dave Shanley <[email protected]>
@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (c638860) 99.79% compared to head (db0359b) 99.78%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   99.79%   99.78%   -0.01%     
==========================================
  Files         146      146              
  Lines       10349    10367      +18     
==========================================
+ Hits        10328    10345      +17     
- Misses         21       22       +1     
Flag Coverage Δ
unittests 99.78% <100.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
datamodel/document_config.go 100.00% <ø> (ø)
datamodel/spec_info.go 100.00% <100.00%> (ø)
document.go 98.14% <100.00%> (+0.08%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Dave Shanley <[email protected]>
Signed-off-by: Dave Shanley <[email protected]>
@daveshanley daveshanley merged commit 3a238df into main Jul 22, 2023
2 of 3 checks passed
@daveshanley daveshanley deleted the general-linting branch November 4, 2023 20:25
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.

1 participant