Commit Graph

8 Commits

Author SHA1 Message Date
Dave Shanley
c3cf5f1e38 Added support for unevaluatedProperties as Schema and bool #118
Also ran `gofmt` across the entire project. Things need cleaning up.

Signed-off-by: Dave Shanley <dave@quobix.com>
2023-06-17 14:12:27 -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
Dave Shanley
a77fdf92fe (fix): Moved explode in v3.Parameter and v3.Encoding to an optional property using pointer. #26
@TristanSpeakEasy notes: "At the moment it seems the v3.Parameter's explode field is just a boolean. Meaning if its not set in the OpenAPI document it will default to the boolean's zero value of false. But in the case of query parameters for example, the default value should be true, and because the type is boolean (as opposed to *boolean) I can't tell if it is unset in the document and I should default handling of explode to true."

Both `explode` properties have been moved to optional properties using pointers.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-12-01 09:53:49 -05: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
c17cc4a7e6 Adding more docs to high level models.
Cleaning things that are not used.
2022-09-16 14:03:05 -04:00
Dave Shanley
cbce025d6c More docs going in, Added README details.
still lots to do, a long way to go, but it's starting to take shape.
2022-09-16 10:44:30 -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