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
quobix
5c04bb1494
Added root node into all low level models.
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
quobix
63354654bf
added in keynode support
...
soemthing that has been waiting to be filled in for some time.
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
Tom Fishman
3dafa57aa9
fix tests
2024-01-04 17:04:12 -05:00
Tom Fishman
b1afe0d2c9
Change operation's tags change is breaking
2024-01-04 17:04:12 -05:00
quobix
08571b7693
Removed JsonParsingChannel
...
It does no good to anyone, anywhere and is creating race conditions when using the stack in a multi-tenant fashion.
Signed-off-by: quobix <dave@quobix.com >
2023-12-20 13:08:51 -05:00
quobix
3b88510998
Added safety check for extracting refs from non-openapi files
...
mentioned in https://github.com/daveshanley/vacuum/issues/400
Signed-off-by: quobix <dave@quobix.com >
2023-12-19 05:31:43 -05:00
quobix
bc040de300
fixed formatting
...
Signed-off-by: quobix <dave@quobix.com >
2023-12-18 16:11:59 -05:00
quobix
961dca7ea0
added test for schema type
...
Signed-off-by: quobix <dave@quobix.com >
2023-12-18 16:11:59 -05:00
quobix
f67d666c4f
Issue #214 cannot be re-created, added test to validate.
...
The correct values are be extracted in version `0.14`+
Signed-off-by: quobix <dave@quobix.com >
2023-12-18 16:11:59 -05:00
quobix
0b7f809ac6
Added in high level schema type ref #215
...
Missed capturing the high level schema. Added test to document to capture use case permanently.
Signed-off-by: quobix <dave@quobix.com >
2023-12-18 16:11:59 -05:00
quobix
9cf06d3986
Fixed glitch reported by #219
...
Context was not being carried through correctly when resolving using `Schema()` and using exploded files.
Signed-off-by: quobix <dave@quobix.com >
2023-12-18 09:51:18 -05:00
quobix
a912093804
Merge pull request #205 from speakeasy-api/ordered-libopenapi
...
feat: introduce ordered maps into libopenapi
2023-12-15 10:45:57 -05:00
Tristan Cartledge
f86d7bc47e
Merge branch 'main' into ordered-libopenapi
2023-12-15 15:39:25 +00:00
Tristan Cartledge
e4a6c6516e
chore: add more test coverage
2023-12-14 17:55:51 +00:00
Tristan Cartledge
13b97f84db
chore: add more test coverage
2023-12-14 17:42:32 +00:00