Commit Graph

18 Commits

Author SHA1 Message Date
quobix
3fb4865f08 Undeprecated some flags we still need.
vacuum needs the ability to enable remote lookups without providng a baseURL, so the same should apply for files.  undeprecating this so vacuum’s pipeline does not complain about deprecated functions.

Signed-off-by: quobix <dave@quobix.com>
2023-11-04 16:56:40 -04:00
quobix
8f3f568e5f Tuned some glitches with v3 doc creation.
all covered now

Signed-off-by: quobix <dave@quobix.com>
2023-10-31 15:31:19 -04: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
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
quobix
511843e4df Major surgery on the index and resolver. A complete flip in design.
Signed-off-by: quobix <dave@quobix.com>
2023-10-14 12:36:38 -04:00
quobix
f0a968bce4 Added polymorphic/array ignore to document config.
Now a document can be pre-configured to ignore polymorphic circular references, and array references.

Signed-off-by: quobix <dave@quobix.com>
2023-09-21 06:01:23 -04:00
Dave Shanley
50c1d80563 Added general linting support for non openapi files.
This allows vacuum to operate outside of the OpenAPI world. Exciting!

Signed-off-by: Dave Shanley <dave@quobix.com>
2023-07-22 14:09:33 -04:00
Federico Bevione
fa9fa5a0f6 add issue link 2023-06-30 13:24:16 -04:00
Federico Bevione
572130c666 add test, fix RemoteURLHandler field name 2023-06-30 13:24:16 -04:00
Federico Bevione
0c0399abbe expose optional function to resolve remote files 2023-06-30 13:24:16 -04:00
Dave Shanley
a4b7a01c43 Extracting index building code to be run optionally
This is to allow the correct operation of local/remote lookups to be correctly indexed (after the resolver has run). Addresses an issue in vacuum https://github.com/daveshanley/vacuum/issues/294

Signed-off-by: Dave Shanley <dave@quobix.com>
2023-06-17 14:12:27 -04:00
Dave Shanley
3055711f24 Added support for libopenapi-validator and bumped coverage.
Non breaking changes add support for the new `libopenapi-validator` module.

Signed-off-by: Dave Shanley <dave@quobix.com>
2023-04-22 09:50:44 -04:00
Dave Shanley
1bc04418db More coverage tuning 2023-03-26 06:10:31 -04:00
Dave Shanley
441068174c Working through mutation designs.
trying out some sketches to get the APIs correct.
2023-03-26 06:10:31 -04:00
Dmitry
634d675eef Allow to override basePath for file lookup 2023-03-16 06:03:54 -04:00
Dmitry
9004d57197 Improve documentation and make code match what doc says 2023-03-16 06:03:54 -04:00
Dave Shanley
def670dbba Adressed comments from @n0rig on #83
Fixed digital ocean test fix, bumped comments up a little
2023-02-22 09:14:27 -05:00
Dave Shanley
1df5f44e6f Working through fix-73 and v0.6.0 2023-02-22 09:14:27 -05:00