quobix
30561ba8be
bumped 3.1 schema
...
Signed-off-by: quobix <dave@quobix.com >
2024-02-03 10:33:36 -07:00
quobix
8fe463a356
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-02-03 10:33:36 -07:00
quobix
1bf4bc9449
addressed test coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-02-03 10:33:36 -07:00
quobix
4a9f048ebe
cleaned up remote file loader tests
...
The remote file loader is no longer going to care about anything other that explicit http links, trying to figure out where things should be loaded form using an overridden basepath and host is too complex of a usecase that I cannot be sure even exists.
Signed-off-by: quobix <dave@quobix.com >
2024-02-03 10:33:36 -07:00
quobix
469d5235d7
Addressed #243
...
Was missing the correct call to ensure context was returned correctly.
Signed-off-by: quobix <dave@quobix.com >
2024-02-03 10:33:36 -07:00
quobix
a24c05036b
Fixed runaway rolodex.
...
The rolodex was running away and locking up vacuum.
Signed-off-by: quobix <dave@quobix.com >
2024-02-03 10:33:36 -07:00
quobix
c55527066a
Addressed invalid polymorphic circular reference issue.
...
If a polymorphic type was used incorrectly (as a map and not an array) then the logic was getting a little upset. This fixes that issue and adds some tests to validate correct handling.
Signed-off-by: quobix <dave@quobix.com >
2024-01-30 16:44:06 -08:00
quobix
a59a4b6da3
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-27 14:09:41 -05:00
quobix
8825f5e328
Added correct handling of schema example rendering
...
reported in https://github.com/pb33f/wiretap/issues/84
Signed-off-by: quobix <dave@quobix.com >
2024-01-27 14:09:41 -05:00
quobix
8039927eb5
Added support for empty security requirements.
...
A new property named `ContainsEmptyRuleRequirement` will exist when a requirement contains an empty object. This acts as a ‘none’ concept that can be used by applications downstream.
Signed-off-by: quobix <dave@quobix.com >
2024-01-27 14:09:41 -05:00
Matas Domarkas
afab8d890a
[bundler] Add reference check against empty string
...
Depending on configuration, full path may or may not exist. It may be empty.
Co-authored-by: quobix <dave@quobix.com >
2024-01-27 14:08:52 -05:00
Matas Domarkas
db8338339c
[bundler] Add exploded ref check against root document
...
Exploded ref check was matching against empty string,
however full definition consists of full path and
a fragment.
2024-01-27 14:08:52 -05:00
Ilja Lapkovskis
3257a82791
Files were changed in f56cdeae9e without adjusting expected size.
2024-01-26 06:20:29 -05:00
Ilja Lapkovskis
b01b967433
Fix issue with non-working IgnorePoly flag.
2024-01-26 06:20:29 -05:00
quobix
442b048575
added missing test coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-19 19:41:15 -05:00
quobix
799f5e258a
Fixed tests
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-19 19:41:15 -05:00
quobix
906f8128ec
Fixed issue with optional parameters when diffing
...
optional parameters being added are not breaking, this was reported in openapi-changes https://github.com/pb33f/openapi-changes/issues/87
Signed-off-by: quobix <dave@quobix.com >
2024-01-19 19:41:15 -05:00
quobix
e0f0f387bd
resolved build issues
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
c8d4f72be5
Addressd issue #218
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
2448d43902
added length check to solve #217
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
6c27c47caf
updated coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
77bb057f8c
Added more test coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
43860f4e3c
Added some new getters to the index
...
Also added map conversion utilities based on reported vacuum error https://github.com/daveshanley/vacuum/issues/417
also prevented the bundler from inlining root references.
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
62ed25052a
Added of by one check and test
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
2bc6e9f028
Added ‘bundler’ module
...
resolves a v3 document or a model into a single document.
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
1da99d7efe
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
55a2065f8d
bump coverage
...
removed dead code after abs path change on lookup
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
46dc0d4630
updated windows build.
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
e677566cd8
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
15d304da1b
disabled a couple of tests
...
will be an effort to rewrit logic for windows specifically in these use cases
2024-01-18 15:11:39 -05:00
quobix
292d1d8bff
one more swing at windows compatibility
...
before I lose my mind.
2024-01-18 15:11:39 -05:00
quobix
852334e435
Fixing unix test
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
1f21f1432d
build working on windows again
...
ping pong.
2024-01-18 15:11:39 -05:00
quobix
7026e83f7c
adding in path overlap feature
...
discovered glitch when reworking test for pipeline
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
c9771e2f86
Added windows to build pipeline
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
986ba2b2ab
Cleaned up windows build after retrying on linux
...
Signed-off-by: quobix <dave@quobix.com >
formatted code
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
ce6b9b9470
Added windows support, all tests pass now.
2024-01-18 15:11:39 -05:00
quobix
e699968768
Working through windows support
2024-01-18 15:11:39 -05:00
quobix
f4647af7b4
Added switch to resolver for preventing duplication.
...
vacuum runs things multiple times. which is causing skew on references.
Signed-off-by: quobix <dave@quobix.com >
2024-01-13 10:21:21 -05:00
Amit Reinich
2a1e4e5b91
Modified toString function to encode a copy instead of the real (re-used) object, added schema tests for model.ChangeContext line and column on enum changes.
2024-01-11 06:28:05 -05:00
quobix
d7c6474908
Bumped last line of coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
961fe76e7f
fixed flaky test
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
202ae3365a
updated coverage for timeout path lookup
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
15c53c1c2b
Updated coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
3263aeacbd
Fixed borked tests
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
a53b3f8a13
tweak for visual clarity
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
9467282849
Added edge case to circular detection.
...
When a polymorphic type is used, that isn’t a ref, but contains a ref, is now picked up. Thank you vercel for this edge case. Please build better specs.
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
cbdaac7374
cleaned up path handling a little
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
ee50403678
added circular trap, models cannot resolve circular refs
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
a16ff8f916
added some debug logging
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00