Commit Graph

909 Commits

Author SHA1 Message Date
quobix
b71e81e4c2 Added assertion for GetRootNode and GetKeyNode 2024-07-08 10:14:32 -04:00
quobix
93c5b25d6c Added GetRootNode() and GetKeyNode methods to low model. 2024-07-08 10:14:32 -04:00
Thomas Rooney
e6391c464e chore: codecov (more) 2024-07-08 10:13:49 -04:00
Thomas Rooney
2277a2030a chore: codecov 2024-07-08 10:13:49 -04:00
Thomas Rooney
626bca5ee4 fix: render empty scalar nodes 2024-07-08 10:13:49 -04:00
Emilien Puget
cbe1201cbd removed golang x package in favour of the std lib 2024-07-08 10:13:23 -04:00
Martins Irbe
f27d57aab0 Update test - disable required check to render all examples
Test default behaviour when required check is not disabled
2024-05-24 15:23:18 -04:00
Martins Irbe
3eaa7bf5ea Add disable required check func to mock gen 2024-05-24 15:23:18 -04:00
Martins Irbe
c1bba8ae5a Test rendering of examples for all properties in the schema 2024-05-24 15:23:18 -04:00
Martins Irbe
711da3bd46 Pin DigitalOcean spec index test to a specific commit hash 2024-05-24 10:32:43 -04:00
quobix
382557c912 fixed borked test 2024-05-17 17:19:46 -04:00
quobix
a12d27baf1 added more tests and added another panic check to node builder. 2024-05-17 17:19:46 -04:00
quobix
e4b7bf52d2 fixed test for updated ds values 2024-05-17 17:19:46 -04:00
quobix
7648bdd72a Added length check to prevent panic. 2024-05-17 17:19:46 -04:00
quobix
338eaa3dac Fixed spec format setting for 3.1 in SpecInfo 2024-05-17 17:19:46 -04:00
quobix
0d9b1906d1 Added MarshalJSON to high level schema.
When building the doctor and rending APIs, I realized that schemas were not being serialized properly when rendering JSON output, this change fixes that.
2024-05-11 14:50:14 -04:00
quobix
9eec2a4361 fixed a couple of comments 2024-05-11 14:50:14 -04:00
Kellen Hart
a4a9370db8 render empty oauth scopes
see https://github.com/pb33f/libopenapi/issues/289
2024-05-11 14:49:40 -04:00
Marcel Boehm
3d92fc0b1a Fix RenderAndReload error handling 2024-05-11 14:49:07 -04:00
quobix
0e7459847b bumped codecov version to v4
always stops working randomly. frustrating.
2024-05-09 09:00:44 -04:00
Marcel Boehm
3ce2494dad Pin digital ocean commit in tests 2024-05-08 12:58:06 -04:00
quobix
8a1d3ae696 more test coverage and filling gaps on schema renderer 2024-05-01 13:17:56 -04:00
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