Commit Graph

887 Commits

Author SHA1 Message Date
quobix
7f945e35c4 tuning example rendering 2024-05-01 13:17:56 -04:00
quobix
2464753173 Adding more schema rendering tests 2024-05-01 13:17:56 -04:00
quobix
f636dc939b Added support for decimal and bigint format schema rendering
Want big numbers? you got it. https://github.com/pb33f/wiretap/issues/93
2024-05-01 13:17:56 -04:00
quobix
2999542014 Added item example rendering to schema renderer
Addresses https://github.com/pb33f/wiretap/issues/90
2024-05-01 13:17:56 -04:00
Tristan Cartledge
9d1ca6f541 fix: issue-280 Index.GetAllSchemas() regression in values returned 2024-04-30 09:09:41 -04:00
quobix
7e86e991b2 Fix panic when ref is mis-used 2024-04-29 11:32:10 -04:00
Tristan Cartledge
6f277db292 fix: fixed MediaType example being populated from wrong source 2024-04-22 19:20:08 -04:00
quobix
18a817b89e Added test in resolver for #481 2024-04-21 09:10:53 -04:00
quobix
7e87545f8a Added test for #481 2024-04-21 09:10:53 -04:00
quobix
1e22e0233b Fixes https://github.com/daveshanley/vacuum/issues/447 2024-04-21 09:10:53 -04:00
quobix
ac4b6ecd31 Rresolved issue https://github.com/daveshanley/vacuum/issues/481
Ignore array values defined as ‘$ref’ they are invalid to lookup.
2024-04-21 09:10:53 -04:00
quobix
b4b24a02f3 added assertion to test 2024-04-19 06:45:19 -04:00
quobix
3aed0d38aa Added test for #269 2024-04-19 06:45:19 -04:00
quobix
8d4b638a59 removed unreachable code 2024-04-19 06:45:19 -04:00
quobix
a20a09710b bumped coverage 2024-04-19 06:45:19 -04:00
quobix
099d4b324a removed untestable code 2024-04-19 06:45:19 -04:00
quobix
c26ecf478c Added test to render JSON error 2024-04-19 06:45:19 -04:00
quobix
0766319581 fixed windows build 2024-04-19 06:45:19 -04:00
quobix
38f1bb741c fixed borked test 2024-04-19 06:45:19 -04:00
quobix
5649e798f0 resolved issue #259 2024-04-19 06:45:19 -04:00
quobix
1cc814411d addressed issue #264
Error was not being returned when rendering JSON
2024-04-19 06:45:19 -04:00
quobix
fc6f12e6ca updated digitial ocean tests 2024-04-19 06:45:19 -04:00
quobix
fcc5355a9b Addressed issue #269
Regression undone
2024-04-19 06:45:19 -04:00
Emilien Puget
26e390b0f0 float format to not print !!float 2024-04-08 06:34:07 -04:00
Emilien Puget
7439d52dc7 update digital ocean tests 2024-04-07 14:20:38 -04:00
Emilien Puget
c0385f2664 abort BundleBytes only when there is no document returned 2024-02-28 10:12:36 -08:00
Emilien Puget
d8d0930062 test case to cover panic 2024-02-28 10:12:36 -08:00
Emilien Puget
edf9c70336 tests 2024-02-28 10:12:36 -08:00
Emilien Puget
e3d9f70bec fix bundler panic when BuildV3Model fail 2024-02-28 10:12:36 -08:00
quobix
94c06b1507 Adding a sleep to translate test
it randomly fails to hit a single line for `Done` in tests, so I am adding a sleep here to see if waiting for a second will allow every routine to exit correctly before the test exists. It feels like a race condition.

Signed-off-by: quobix <dave@quobix.com>
2024-02-21 08:27:39 -05:00
quobix
40b16b3f76 Resolves issue https://github.com/pb33f/libopenapi/issues/256
The depth was being artificially inflated with highly complex recursive designs, this fixes the depth counter permanently.

Signed-off-by: quobix <dave@quobix.com>
2024-02-21 08:27:39 -05:00
quobix
04f5514fa0 bumped coverage
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
f32dd873fd added more coverage
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
a6496ae54d added more coverage
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
7119b51336 Cleaned up coverage
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
5be79ec3eb updated readme.
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
79d49faf70 Addressed https://github.com/daveshanley/vacuum/issues/459
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
3d5ab30755 resolver hits are different between load on CPU runs, with no extra value in output.
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
c7378b3adb tuned coverage
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
56cb1c8694 more cleanup and coverage
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
603865df9f removed panic
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
be2552e623 added corverage for new rendering
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
2f82a69d6c A clean sweep around resolving during model builds.
Really hammering on this model using all available examples of crazy references used in crazy ways. The fixes mean I can delete the recent patch added to handle lost indexes.

I spent two days on this commit.

Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
a6c5bdaf28 added custom renderer for change types.
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
68c702dd7d added new flat doc model.
Signed-off-by: quobix <dave@quobix.com>
2024-02-20 13:34:39 -05:00
quobix
a4de7bb112 updated deps
Signed-off-by: quobix <dave@quobix.com>
2024-02-16 09:46:31 -05:00
quobix
f46408d529 added getter check for context
Signed-off-by: quobix <dave@quobix.com>
2024-02-16 09:46:31 -05:00
quobix
5d49ae0267 cleaning up experience when using libopenapi via vacuum.
now most of the big bugs are out of the way, we can focus on refinement.

Signed-off-by: quobix <dave@quobix.com>
2024-02-16 09:46:31 -05:00
Tristan Cartledge
9d9ff8a00c chore: bump timeout on FindNodesWithoutDeserializing 2024-02-14 07:58:25 -05:00
quobix
5ea4f2b762 Fixed last known lookup bug
All known gaps (well known in my own head) seem to have been closed now, the final TODO in this area has been cleaned up, highlighted by an issue reported by speakeasy.

Signed-off-by: quobix <dave@quobix.com>
2024-02-13 07:33:55 -05:00