Commit Graph

13 Commits

Author SHA1 Message Date
Tristan Cartledge
161a41f73b chore: update to use iterators on orderedmaps 2024-08-26 20:42:40 +01:00
Tristan Cartledge
a4ad09aab3 fix: continued moving everything to orderedmaps plus cleaned up most the tests 2023-12-01 17:37:07 +00:00
Shawn Poulson
f389fedadd Monster refactor of map to orderedmap.Map data type. 2023-09-25 08:59:42 -04:00
Dave Shanley
fcf2f332d9 Added support for empty Operation security #111
There is now a distinction between no security being defined by operations, and empty security requirements. If the `Security` value is `nil`, then it was left out.

If the slice is empty, it was defined and left empty by design. As requested by #111

Signed-off-by: Dave Shanley <dave@quobix.com>
2023-06-17 14:12:27 -04:00
marclave
bdc6038722 feat: add foundation for marshalyamlinline and render inline 2023-05-25 06:36:03 -04:00
Dave Shanley
3101a7c9b7 Large update to support v3 rendering. 2023-03-26 06:10:31 -04:00
Dave Shanley
6a8c890056 Lots more v3 models are now mutable. 2023-03-26 06:10:31 -04:00
Tristan Cartledge
1c53122c86 fix: callbacks not being populated in high model 2023-01-20 05:47:22 -05:00
Dave Shanley
0e0f18ed05 Added extensions to v3 high level model for operation.
Forgot to pull them up when building the model.

Signed-off-by: Dave Shanley <dshanley@splunk.com>
2022-11-21 17:20:48 -05:00
Dave Shanley
d27e66ff3d Refactored SecurityRequirement **breaking change**
The v3 model is wrong and out of sync with the spec. It's been corrected, so the v2 and v2 model for SecurityRequirement have been collapsed down into a base model., they are the same data structures. This has allowed me to delete the complexity of sharing two different models for the same structure, by unifying the model correctly. I am not sure why I decided to change the v3 model, oh well, its been corrected. Long live swagger!
2022-11-18 11:00:34 -05:00
Dave Shanley
f9016b8414 Low-level docs for v3 model are now in place
5/6 of the way there!
2022-09-21 07:10:58 -04:00
Dave Shanley
649a93b008 More v2 high-level docs
started including content from the schema to make it easier to understand when using the code as a complete guide, without pivoting to the spec.
2022-09-17 09:57:29 -04:00
Dave Shanley
3d5ecf0efb Refactored version directory names
3.0 and 2.0 do not work, there are multiple versions and anything with a period in it sucks from my point of view, v2 and v3 feel much better from a DX perspective.
2022-09-16 08:33:39 -04:00