Mathew Polzin
|
491fe1fbea
|
clarifying name change in tests. update documentation around entity direct subscript accessor
|
2019-04-18 22:54:08 -07:00 |
|
Mathew Polzin
|
6b6f40c968
|
breaking change: change spelling of Entity subscript accessor that returns values of properties within Attributes without digging into the AttributeType. This change will make it possible for the compiler to unambiguously determine the type of subscript access being made before the value is stored, cast, or compared.
|
2019-04-18 22:40:12 -07:00 |
|
Mathew Polzin
|
fb710c397b
|
Entirely remove Result type that not only is unneeded with Swift 5 but also was not being used by this library (it was left over from before Poly became its own library). Fix a few redundent public warnings.
|
2019-04-16 21:56:49 -07:00 |
|
Mathew Polzin
|
5257fd79fa
|
Remove redundant public scoping on functions within public extensions. This becomes a warning with the Swift 5 compiler.
|
2019-02-07 18:49:58 -08:00 |
|
Mathew Polzin
|
a88bb77bd0
|
update linuxmain
|
2019-01-30 18:00:51 -08:00 |
|
Mathew Polzin
|
7adbdb4505
|
Move JSONAPIArbitrary and JSONAPIOpenAPI into their own packages.
|
2019-01-30 17:54:26 -08:00 |
|
Mathew Polzin
|
ea663bb229
|
Move Sampleable into its own Package.
|
2019-01-29 00:44:31 -08:00 |
|
Mathew Polzin
|
c96bfadd82
|
Had not updated linuxmain in a while. pretty sure I'll have problems building on Linux at least with the stuff going on in JSONAPI+OpenAPI.
|
2019-01-28 23:46:56 -08:00 |
|
Mathew Polzin
|
88be701062
|
Add OpenAPI support for TransformedAttributes
|
2019-01-28 23:45:28 -08:00 |
|
Mathew Polzin
|
11a7727ac9
|
Fix Include OpenAPI support. Fix bug with single include being considered 'OneOf' even though that is an overcomplication of the schema. Add tests for single include type and two include types on document
|
2019-01-27 22:47:01 -08:00 |
|
Mathew Polzin
|
e8bfbc881b
|
Added a couple of test cases for JSONDocuments
|
2019-01-27 22:24:13 -08:00 |
|
Mathew Polzin
|
84955872f8
|
Finish writing Date Attribute test cases and add support for Optional Date OpenAPI Node guesses.
|
2019-01-27 21:39:18 -08:00 |
|
Mathew Polzin
|
b2c81026f4
|
remove 'id' from Unidentified Entity OpenAPI node.
|
2019-01-26 18:55:47 -08:00 |
|
Mathew Polzin
|
c8421cdd58
|
just throw that json extension on the filename to make everything super real
|
2019-01-25 18:20:04 -08:00 |
|
Mathew Polzin
|
ad05d3908a
|
Add a simple test OpenAPISchema and start to tweak things to get it workable.
|
2019-01-25 12:49:59 -08:00 |
|
Mathew Polzin
|
2b59f54067
|
Fix bug causing a supplied encoder to be used for generating an example but not for helping determine the correct Date formatting.
|
2019-01-24 17:47:44 -08:00 |
|
Mathew Polzin
|
58a7c82436
|
Restructure files a bit. Make Date handling relatively robust compared to my first pass at it. Make the failure to construct a generic open API node type throw an error rather than silently omit the node.
|
2019-01-24 17:25:34 -08:00 |
|
Mathew Polzin
|
dc30cb3b9e
|
Make Attribute Sampleable where its RawValue is Sampleable. Allow Sampleable things to provide a best guess for their node type based on the result of encoding and then deserializing them.
|
2019-01-24 00:47:24 -08:00 |
|
Mathew Polzin
|
952fe8ba7e
|
Remove encoder requirement to almost all Open API Node constructors. Made a new protocol for the few places where an encoder did need to be passed in.
|
2019-01-23 23:21:16 -08:00 |
|
Mathew Polzin
|
951c04ad44
|
Add Sampleable conformances. Make blanket JSONEncoder change I am not happy with; will try to walk back requirement that encoder gets passed to all functions creating OpenAPI Nodes
|
2019-01-23 22:21:27 -08:00 |
|
Mathew Polzin
|
744e08acf4
|
Update linuxmain
|
2019-01-21 23:00:13 -08:00 |
|
Mathew Polzin
|
5433dddc81
|
Add support for 'const' via OpenAPI 3.0 workaround suggested by others: Use 'enum' with one value. Add Sampleable support for requesting samples representing 'success' and 'failure' if available.
|
2019-01-21 22:47:03 -08:00 |
|
Mathew Polzin
|
95f9d8084d
|
Add Arbitrary conformance for UnknownJSONAPIError. Fix weird encoding exception that I cannot quite figure out or explain at the moment.
|
2019-01-21 21:56:33 -08:00 |
|
Mathew Polzin
|
d6911f170c
|
Add example to JSONNode
|
2019-01-21 20:57:54 -08:00 |
|
Mathew Polzin
|
845d085455
|
Fill out a fair bit of OpenAPI Entity testing
|
2019-01-21 15:32:38 -08:00 |
|