openapi-generator-dart
openapi-generator-dart copied to clipboard
Openapi Generator for Dart/Flutter
HI base example of fastapi example generate broken code api/lib/model/location_inner.dart ``` dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the...
I have a OpenAPI spec that includes the following component that confuses the `openapi_generator` to no end: ```json "ValidationError": { "title": "ValidationError", "required": [ "loc", "msg", "type" ], "type": "object",...
Putting the API specification in a Dart 2.17 project with super parameters leads to a cranky analyser.
The api client constructor gets generated as follows: ShuttelApiClient({ Dio? dio, Serializers? serializers, String? basePathOverride, List? interceptors, }) **: this.serializers = serializers ?? standardSerializers,** this.dio = dio ?? Dio(BaseOptions( baseUrl:...
Hey guys, I wanted to try out your package as the CLI version of openapi gen does not support null-safety. I have created a new class, added annotations, added all...
Im trying to setup token to api_client please help i cant find ` _authentications['isOAuth'] = new OAuth("sdfd"); ` it will throw this ` throw ArgumentError('Authentication undefined: $authName'); ` ``` ///...
When trying to deserialize an generated Object with the following code, I get an error, that Null cannot be cast to String. `serializers.fromJson(User.serializer, json)` The error: ` Unhandled error Unhandled...
We switched to flutter 2.0.1 recently and had to rerun our code generation. We have setup the openapi generator with following data: ### pubspec.yaml: ``` dependencies: openapi_generator_annotations: ^3.0.2 service_api: path:...
Generate Server Stubs as well. Here are the different servers packages that are commonly used in Dart I think: * http * angel * aquaduct * shelf I see you...
Is there any way to remove generated files with the build runner clean - like other builder supported genrators?