Tristan Cartledge
13b97f84db
chore: add more test coverage
2023-12-14 17:42:32 +00:00
Tristan Cartledge
00e1544abd
Merge branch 'main' into ordered-libopenapi
2023-12-01 17:57:05 +00:00
Tristan Cartledge
a4ad09aab3
fix: continued moving everything to orderedmaps plus cleaned up most the tests
2023-12-01 17:37:07 +00:00
quobix
ce1b9f2399
added test for nill mock generator item
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-30 07:20:19 -05:00
quobix
396b4509b9
added nil check to mock generator
...
stops it blowing up when there is no mock to render.
Signed-off-by: quobix <dave@quobix.com >
2023-11-30 07:20:19 -05:00
Tristan Cartledge
2de65e4ca0
Merge branch 'main' into Baliedge/PIP-2552-consistent-ordering
2023-11-27 12:06:39 +00:00
quobix
0b1a147a26
Add ‘disable required check’ switch on renderer #200
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
d30ac24db9
All tests pass! logs of tests fixed and tuning API for high level
...
Document configuration has been simplified, no more need for AllowRemote stuff in the document configuration, it’s assumed by setting the baseURL or the basePath.
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 10:24:19 -04:00
Nicholas Jackson
4847c4b296
refactor: remove single iteration loop
...
Simplify code by taking the first element instead of
performing a single-iteration loop.
2023-10-08 12:24:20 -04:00
Shawn Poulson
d10f20dccb
Fix tests.
2023-09-25 10:55:03 -04:00
Shawn Poulson
c225546b04
Fixes to tests.
2023-09-25 09:47:50 -04:00
Shawn Poulson
f389fedadd
Monster refactor of map to orderedmap.Map data type.
2023-09-25 08:59:42 -04:00
quobix
43bf162e0c
Added new Render method to top level document.
...
Like `RenderAndReload` this method will render / print out the document, however it won’t read it back in and reload the model from the ground up. This is a non-destructive method that does not reload the model from the rendered document.
If you don’t use the low model or you don’t care that the high level model and low-level models are out of sync? No problem. Otherwise keep this in mind that the low level model will only represent the original un-mutated document, as will the index.
Signed-off-by: quobix <dave@quobix.com >
2023-09-14 07:30:03 -04:00
Quobix
1795bb502a
Refactored mock renderer types
...
makes more sense when using as an API.
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
5faa24e333
Added docs, more tests and cleanup.
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
2ddc147906
Hardening mock generator with a few more tests
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
9fb09f3a42
Adding in some mock examples
...
Noticed that I had missed something in the burgershop. Now that we can ‘see’ the spec, it’s going to open up a whole ton of new capabilities.
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
8ae4603824
Fixed mock test
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
2269130610
Added tests for mock generator and tuned schema renderer
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
3df73aa18a
Bump coverage
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
a8e32c4d28
Renamed schema_renderer and added more tests
...
Ensures coverage across the board
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
3cdaa4d745
More dictionary test fixes
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
829a80a74a
fixing failing test, accomodating for missing dict in runner image
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
13cd7edaeb
fixed race conditions in definitions
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00
Quobix
80ff665a08
Adding in new engine for rendering examples #107
...
Signed-off-by: Quobix <dave@quobix.com >
2023-09-01 06:00:03 -04:00