Commit Graph

19 Commits

Author SHA1 Message Date
Tom Fishman
3dafa57aa9 fix tests 2024-01-04 17:04:12 -05:00
quobix
5d717bdefe Changed document signatures to use error instead of []error
Also removed old swagger `CreateDocument` method that has been deprecated.

Signed-off-by: quobix <dave@quobix.com>
2023-10-24 12:31:47 -04:00
Nicholas Jackson
b6f5730a7f chore: replace use of deprecated ioutil with os 2023-10-08 12:23:48 -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
Dave Shanley
1bc04418db More coverage tuning 2023-03-26 06:10:31 -04:00
Dave Shanley
5d7f22fca7 first level testing for rending v3 model in place.
Now onto some hardening tests, lets re-render each spec after reading to check for failures.
2023-03-26 06:10:31 -04:00
Dave Shanley
cd7f24f65e Added what-changed docs to readme
and some examples for go-docs

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-11-21 11:25:59 -05:00
Dave Shanley
c4b6e68197 Added prefixItems support to Schema. Fixes #2
prefixItems is a property of JSONSchema and supported by OpenAPI 3.1, this update adds support for `prefixItems` in low and high models. It's essentially a copy of the `items` property, but allows seperate configuration of both, without combining them and muddling things for clarity.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-11-21 09:44:51 -05:00
Dave Shanley
ddf772270e What-changed is ready
Needs documenting, but the feature is ready for an application to really stress test the model and logic.

Guess what's next :) (after docs)

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-11-20 14:30:50 -05:00
Dave Shanley
6c3cc97b04 swagger what-changed support climbing.
working through more rough edges, making some choices.
2022-11-20 14:30:50 -05:00
Dave Shanley
e1e91d0682 Bumping coverage
checking all the corners for cobwebs
2022-11-20 14:30:50 -05:00
Dave Shanley
26d3535e75 Working through what-changed fixes and tuneups.
more testing is required, however things feel quite reasonable and rounded. All changes correctly detected in a spec so far.
2022-11-20 14:30:50 -05:00
Dave Shanley
97a03315d6 Smashing bugs in models by validating changes.
Who would have thought the what-changed tool would be the key to ensuring accuracy on the models.
2022-11-20 14:30:50 -05:00
Dave Shanley
22ca3ced63 discovered a bug in content changes
Switching machines, I can’t use this laptop for any real work.

Signed-off-by: Dave Shanley <dshanley@splunk.com>
2022-11-20 14:30:50 -05:00
Dave Shanley
a8a8b482d8 Hardening model whilst testing what-changed feature.
Checking and sampling, and fixing bugs while working through testing.

Signed-off-by: Dave Shanley <dshanley@splunk.com>
2022-11-18 14:11:19 -05:00
Dave Shanley
9d8d6e36ea what-changed operational
the code is working, the tests are passing. There is a lot more to check, but it's a good time to bring the feature into main.
2022-11-18 11:00:34 -05:00
Dave Shanley
b510be3563 what-changed code in place.
Let the explosions begin!
2022-11-18 11:00:34 -05:00
Dave Shanley
65fa21be86 Continued pattern building, added info changes
tried to make some more generic patterns, but I think it's about as thin as it can be now, some boilerplate will be required.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-03 09:46:12 -04:00
Dave Shanley
cd68570278 Fleshing out what-changed functionality.
Starting at the bottom again with low levels and sketching out how to consume it.
2022-09-28 11:41:59 -04:00