Nikolas Rimikis
ccfc475388
dynamite: move TypeResult into it's own lib
1 year ago
Nikolas Rimikis
5af08398a1
dynamite, neon: fix plain object deserialization
2 years ago
Nikolas Rimikis
7a9eea8d43
dynamite, nextcloud: make fromJson a factory instead of a static method
2 years ago
Nikolas Rimikis
a6d8f98cd3
dynamite: generate builderFactories for all returntypes
2 years ago
Nikolas Rimikis
8d1f4143bd
dynamite: unify serialization and encoding
2 years ago
Nikolas Rimikis
e6314be5c0
dynamite: use dart types as parameters
2 years ago
Nikolas Rimikis
72b280df4c
dynamite: fix header serialization
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
b7a350e6a7
dynamite: support nullability in TypeResult
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
095e613bcc
dynamite: add builder factories for custom combinations
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
faac42984a
dynamite: add contentString serialization
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
3af5f2087c
dynamite: split serializers
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
72786d677d
dynamite: support generics for TypeResult
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
e67209f9c1
dynamite, nextcloud: split dynamite_runtime
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
710b999a0a
dynamite, nextcloud: externalize, fix and test ContentString
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
5079375024
dynamite: patch discriminator
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
b46410a1f0
dynamite: tighten static analysis
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
c031947042
dynamite: header serialization
...
serialize the header class with built_value instead of having custom serialization methods
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
9dfb84453c
dynamite: remove extraJsonSerializableValues
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
571b1f6ad5
dynamite: migrate ContentString for built_value
...
built_value works on types and does not know the concept of fields thus we need to implement a custom class for every contentString
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
263a8b0199
dynamite: reimplement default values
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
c48f13824f
dynamite: built_value oneOf, anyOf, allOf
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
b1dd870e95
dynamite: migrate other classes to built_value
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
4afe3dd4d6
dynamite: migrate types to built_value
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
7f13c35e6e
dynamite: add built_value serializer
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
6a94a9c21d
dynamite: migrate enum to built_value
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
68624545e6
dynamite, nextcloud: enable built_value
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
Nikolas Rimikis
35a2b868f4
update dependencies
2 years ago
jld3103
518e7f4632
dynamite: Use universal_io to make it work on web
2 years ago
jld3103
abd0d4709f
Update flutter to 3.10
2 years ago
Nikolas Rimikis
8394d9c4ef
dynamite, neon, nextcloud: nullaware spreads (codestyle)
2 years ago
jld3103
7782e5b12a
dynamite: Properly use nullable and required
2 years ago
jld3103
0d8dde0cf4
dynamite: Add back missing build_runner dependency
2 years ago
jld3103
8889efb86a
Split neon into multiple packages
2 years ago
jld3103
a8abccaf07
dynamite: Fix warning about content strings
2 years ago
jld3103
8025cfcbaf
dynamite: Fix sorting of required parameters and properties with default values
2 years ago
jld3103
37a4a887c3
dynamite: Fix patterns
2 years ago
jld3103
75a2c76cc7
dynamite: Sort required parameters and properties first
2 years ago
jld3103
a66c25da2c
dynamite: Rename raw response class to make it public
2 years ago
jld3103
a588557df0
dynamite: Ignore some static analysis outputs
2 years ago
jld3103
6c9a2bb572
dynamite: Fix optional security
2 years ago
jld3103
2fa0758e3e
dynamite: Support per operation security
2 years ago
Nikolas Rimikis
346ffbc4ca
Relax oneOf assertion
2 years ago
jld3103
dbc4514529
dynamite: Support http bearer auth
2 years ago
Nikolas Rimikis
10e641daa1
fix contentString with a base object contentSchema
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
2 years ago
jld3103
e36ccd3044
dynamite: Fix enum parameters with default values
2 years ago
jld3103
369071902f
dynamite: Fix array parameters with default values
2 years ago
jld3103
71a8ce6809
dynamite: Fix descriptions of methods with summary and description
2 years ago
jld3103
c10d1a154b
dynamite: Support deprecated operations
2 years ago
jld3103
469658861f
dynamite: Only skip default values in query parameters
2 years ago
jld3103
b63536f99b
dynamite: Output accept header
2 years ago