quobix
7ed3f28dbe
bumped more coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
5d14ef226b
Adding more tests to bump coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
102f7fc93f
removed silliness.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
003eb37a3d
tuning test to validate pipeline
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
44204b595e
nailing down pipeline failure
...
can’t be reproduced locally
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
495bb27ed1
stopped the spewing of logs
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
f56cdeae9e
Tuned up local file handling and cleaned things up
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
ab4af83649
added mix ref origin test
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
7d63fe3262
Added new node map capability
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
b57528448b
address coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
745142d9e0
Fixed logic and test failure
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
af5cb775aa
Stop the remote FS from looking up local files
...
added [empty] to represent literally empty refs
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
5408cf0807
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
ac96579355
re-fixed the issue for real.
...
a little more reflection was required to make it work correctly.
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
43838b8f25
Removed reflection check
...
blowing up tests for no real good reason, not required anyway
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 07:08:09 -05:00
quobix
ac80716553
A few small bugfixes discovered from online users of openapi-changes
...
someone caused a panic, exposed an untested bug.
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 07:08:09 -05:00
quobix
8b9ef11270
Re-enabled JSON Parsing async channel
...
The channel is used by vacuum and the validator, it is required for schema validation. but it also slows things down considerably when done synchronously. I have moved this code back to async, it cuts parsing time in half for vaccum, and restores super speed.
Signed-off-by: quobix <dave@quobix.com >
2023-11-09 06:37:36 -05:00
quobix
6a6d6d6e31
Moved regex to precompile
...
I don’t know why I put this in the hotpath.
Signed-off-by: quobix <dave@quobix.com >
2023-11-09 06:37:36 -05:00
quobix
e624efbf84
addressed issue #195
...
Resolving and indexing has changed, new code is required and this isue highlighted a glitch introduced with the addition of the rolodex when resolving.
Signed-off-by: quobix <dave@quobix.com >
2023-11-08 12:36:08 -05:00
quobix
78b50cb909
removed error handling, no errors returned with this mode
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
52b99dfeed
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
242d41cd0d
Fixed loopup for branch, only ever extracting the fulldef path, not the fragment.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
d2b864fbfc
Added decoding to alt-ref for root handling
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
784954e208
Defaulting localFS to be recursive
...
currently it pre-indexes everything in the root. This behavior is undesirable out of the box, so it now looks recursively by default.
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
Tristan Cartledge
d9c36c2d0d
fix: go.mod
2023-11-05 12:14:48 -05:00
Tristan Cartledge
a69c8ef193
chore: add tests for the speakeasy iteration use case
2023-11-05 12:14:48 -05:00
quobix
ff40cfad85
Off by one issue fixed https://github.com/daveshanley/vacuum/issues/356
...
Reported by vacuum issue, this use-case is now handled correctly and prevents a panic.
Signed-off-by: quobix <dave@quobix.com >
2023-11-05 09:21:29 -05:00
quobix
3fb4865f08
Undeprecated some flags we still need.
...
vacuum needs the ability to enable remote lookups without providng a baseURL, so the same should apply for files. undeprecating this so vacuum’s pipeline does not complain about deprecated functions.
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 16:56:40 -04:00
quobix
54450edf6c
Adding convenience methods and glitch fixes for 0.13
...
Testing inside vacuum is throwing up a couple of small glicthes that need adding/tuning
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 16:22:48 -04:00
quobix
265d462a10
Added back in logic required by vacuum.
...
And added test for it.
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 12:36:47 -04:00
Nicholas Jackson
def8e997b2
Fix lint issues in util
...
Reduce execution time of ConvertComponentIdIntoFriendlyPathSearch by
50-60% and add benchmark
Signed-off-by: Nicholas Jackson <nickajacks1@gmail.com >
2023-11-04 12:00:19 -04:00
quobix
771baafa71
Merge pull request #187 from pb33f/v0.13.0
...
v0.13.0 Introducing the Rolodex.
2023-11-04 11:57:16 -04:00
quobix
10fd6e1611
fixed merge conflicts
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 11:51:59 -04:00
quobix
91edf28e1f
Merge branch 'main' of https://github.com/pb33f/libopenapi into v0.13.0
...
Signed-off-by: quobix <dave@quobix.com >
# Conflicts:
# what-changed/model/info_test.go
2023-11-04 11:44:00 -04:00
Sebastian Kunz
76dc865821
fix: introduce extension change detection for info section
...
This commit provides a fix for issue #184
2023-11-04 11:33:24 -04:00
quobix
9b92a55536
Added in full resolving for specs is virtual filesystems
...
added last remaining coverage
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 11:28:22 -04:00
quobix
f134ac27b6
updated token for tests
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 10:09:43 -04:00
quobix
54f4c82007
More coverage tuning and cleaning
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 10:03:43 -04:00
quobix
f3094d0b14
Cleanup, sweep-up and tuneup
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 09:38:33 -04:00
quobix
8946afdb8f
removed dead code
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-03 18:26:01 -04:00
quobix
7d8762fdd9
added more coverage and resolved param ref issue
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-03 18:25:27 -04:00
quobix
fde5a9972d
tuning ref lookups, finding some gaps.
...
coverage will drop no doubt
Signed-off-by: quobix <dave@quobix.com >
2023-11-03 14:06:37 -04:00
quobix
fa0b315756
Enabling deep array circular reference checking
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-03 09:49:02 -04:00
quobix
ddb761c1a9
fixed issue with what-changed and path detection #186
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-02 16:32:57 -04:00
quobix
78763fd48b
cleaning up unreachable code.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-02 15:33:05 -04:00
quobix
713aeecdfa
Tuning parameter exraction for circular ref handling
...
Lots and lots of variations. means lots of branches to check.
Signed-off-by: quobix <dave@quobix.com >
2023-11-02 15:04:47 -04:00
quobix
a8a0e1d47f
added context to schema buildout
...
model was failing on subschemas with refs, needed context
Signed-off-by: quobix <dave@quobix.com >
2023-11-02 10:47:31 -04:00
quobix
8bbb022daa
Addressed comments from review and fixed bug with schema props
...
props did not have context, therefore they had no idea where they were or where to resolve from.
Signed-off-by: quobix <dave@quobix.com >
2023-11-02 10:28:29 -04:00
quobix
80b2b2d0b5
More cleaning and added docs.
...
We’re ready for review
Signed-off-by: quobix <dave@quobix.com >
2023-11-01 16:14:11 -04:00
quobix
ce4a60baa8
cleaning up the last few stragglers
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-01 15:15:46 -04:00