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
Nikolas Rimikis
929dab205e
fix _toDartName
2 years ago
jld3103
e01fa9e1f1
dynamite: Trim tags from method names
2 years ago
jld3103
7a599fe0c6
dynamite: Support nested tags
2 years ago
jld3103
41b1bef6b0
dynamite: Handle more response mime types and in a better way
2 years ago
jld3103
643df5cf67
dynamite: Output tag descriptions
2 years ago
jld3103
1ecea62e0c
dynamite: Do not rely on globally defined tags
2 years ago
jld3103
9a28723be4
dynamite: Fix allOf's
2 years ago
jld3103
93befad334
dynamite: Support minLength and maxLength
2 years ago
jld3103
30a9b4bff0
dynamite: Support objects with unknown key names
2 years ago
jld3103
25f0deabaa
dynamite: Fix objects without properties but with additionalProperties set
2 years ago