Dave Shanley
74c361115f
added server tests
...
just tags left to go now, and the low 3.0 model is in place.
2022-08-17 09:44:23 -04:00
Dave Shanley
455a2f2ede
Added security scheme coverage for the v3 model.
...
almost there now.
2022-08-17 09:19:02 -04:00
Dave Shanley
75c7c83e31
Bumping coverage on schema to 100%
...
I think it should be pretty much bullet proof at the moment (until the next failure). Also added external index lookups from main index for external docs. found this bug after refining lookups in schemas.
2022-08-17 08:09:01 -04:00
Dave Shanley
7c2a65f640
Added responses and response test
...
also added a new null check utility, not sure we need it right now however, but it's there.
2022-08-16 08:51:59 -04:00
Dave Shanley
9e02f203e2
fixed typo added
...
computer went strange, random chars picked up from keyboard.
or I was just a bit drunk.
2022-08-15 21:36:12 -04:00
Dave Shanley
93fc2a79fe
added tests for v3 request_body
...
after a few drinks, not so easy.
2022-08-15 21:34:28 -04:00
Dave Shanley
10bf40ad97
Paths test coverage is completed.
...
Found some good gaps a holes in existing overage.
2022-08-15 17:52:32 -04:00
Dave Shanley
7ce5f5438f
oauth_flows test coverage complete
2022-08-14 08:41:32 -04:00
Dave Shanley
1c9f6bbfcc
adding tests, fixing bugs, validating model.
...
Amazing what you find when you really test the fuck out of things.
2022-08-14 08:18:27 -04:00
Dave Shanley
1d77840470
Test coverage bump
2022-08-14 05:29:37 -04:00
Dave Shanley
67c701ff07
Refactoring extraction and builder functions.
...
now things are robust, we can move things around a little to prepare for the next set of incoming models. The extraction and builder functions have all been moved to the low packakge, and out of the v3 package.
2022-08-14 04:03:13 -04:00
Dave Shanley
acee81f126
Added external doc test
2022-08-14 04:00:11 -04:00
Dave Shanley
221eee1bd2
Adding tests to v3 models.
...
I am going to be able to peel off a lot of this code for the 2.0 and 3.1 models.
2022-08-13 09:33:43 -04:00
Dave Shanley
e25f82f70c
Working through error handling.
...
tough to trigger them, but possible. callback model now has 100% coverage.
2022-08-12 11:57:53 -04:00
Dave Shanley
c320b2b9f1
Operating at speed now.
...
Stripe API is slowest to build at about 1.2s, the depth of the schemas on that spec are insane. The only way to speed things up here is to NOT wait for threads to finish before returning the model, and this creates a broken guarantee as the model won't be finished building by the time its returned to the consumer. When running tests against this - they fail randomly. depending on which thread reaches the finish first, before trying to be read.
This isn't an option, so for now, this is as fast as she will get, which is pretty good. 5ms for petstore and about 250ms for k8s.
2022-08-12 09:41:03 -04:00
Dave Shanley
248b4daa80
We-worked model to remove resolver.
...
lookups are performed inline now. keeps things simpler, however it has a performance knock, so it's time to refine async building were possible.
2022-08-11 14:54:25 -04:00
Dave Shanley
717b7d4610
Full model is now in place,
...
Time to revisit each model and build individual tests to ensure all error handling is in place across the model.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-08-10 12:18:13 -04:00
Dave Shanley
3a41d86ee1
oAuth flows all wired up and tested
...
working through the components, then back to document, then a QA check.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-08-10 07:58:15 -04:00
Dave Shanley
402a7c7e5a
Components are in, writing new content for them and tests!
...
And, thats basically it (almost)
2022-08-09 10:23:18 -04:00
Dave Shanley
ec87ddf8cc
Operartion model is now complete!
...
That should be the largest bulk of complexity, now onto components.
2022-08-09 07:59:22 -04:00
Dave Shanley
e8bb52bf3d
Starting work on oAuth Flows.
2022-08-06 18:40:23 -04:00
Dave Shanley
95e3cd9604
Fixed broken tests and ready to keep chugging
2022-08-06 18:06:22 -04:00
Dave Shanley
2793504a92
Starting to firm up with design choices
...
lots more of the model coming online now.
2022-08-06 15:54:07 -04:00
Dave Shanley
016595c905
Most of the core functions are now in place
...
The hardest part has come and gone! it's all downhill now.
2022-08-06 09:32:48 -04:00
Dave Shanley
13781cbbde
Working in generics now to reduce code.
...
generics are a little funky still. sigh.
2022-08-05 21:57:04 -04:00
Dave Shanley
4bb6a9ad49
Additional properties now supported.
2022-08-05 13:20:29 -04:00
Dave Shanley
bdb9aa7c41
Working through building out schema models.
...
Perhaps the most complex model in the stack, almost there! a small amount of refactoring also to help things stay clean.
2022-08-05 12:47:50 -04:00
Dave Shanley
e6518af576
Building out spec model
...
this one will take a few tests, there is significant recursion and threading going on.
2022-08-04 10:01:59 -04:00
Dave Shanley
a4012594de
Building out model some more.
...
everything is holding up well.
2022-07-31 16:15:01 -04:00
Dave Shanley
2f60694047
Added tag model build out with tests.
...
Working through patterns and re-applying them as I go, cleaning things up as I cook.
2022-07-31 12:04:15 -04:00
Dave Shanley
7535cf568c
Working through the model builder
...
Shaping out the design as I go, what makes sence, what feels right, what do we need, how do we want to use it and how to we want to search it etc.
2022-07-30 15:27:21 -04:00
Dave Shanley
ecc7b20b0a
Working through model variations and test coverage.
...
Looking good so far.
2022-07-30 09:50:12 -04:00
Dave Shanley
4e3a5584c3
Adding more model building code.
...
Seems to be working pretty well so far.
2022-07-30 08:56:09 -04:00
Dave Shanley
eda834f79f
Working on building out models
...
a recursive approach? or a dfs approach? not sure yet. still playing with ideas.
2022-07-29 09:44:37 -04:00
Dave Shanley
a906d46227
Completed adding v3 models (I think)
...
Going to start logic for building things out. attempting generic builder pattern first.
2022-07-29 06:52:07 -04:00
Dave Shanley
a5f4c7f607
Adding new low level models for OAS
2022-07-28 08:49:57 -04:00
Dave Shanley
925220e8da
Added resolver, models and model utils.
2022-07-18 09:42:46 -04:00
Dave Shanley
df710cb49d
Moved index into its own package
...
removed non generic code used by vacuum.
2022-07-18 08:40:28 -04:00
Dave Shanley
56d5c404c7
Fixing some path issues on imports.
2022-07-18 08:16:58 -04:00
Dave Shanley
9db542f36c
Renaming models to datamodel
...
I over use this package name, it's going to create all kinds of conflicts in my apps, so this name is going to be slightly different.
2022-07-18 08:12:12 -04:00