You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						
							 | 
			2 years ago | |
|---|---|---|
| .. | ||
| lib | 2 years ago | |
| test | 2 years ago | |
| LICENSE | 2 years ago | |
| README.md | 2 years ago | |
| analysis_options.yaml | 2 years ago | |
| build.yaml | 2 years ago | |
| pubspec.yaml | 2 years ago | |
| pubspec_overrides.yaml | 2 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	Provides a Dart Build System builder for generating clients from an OpenAPI specifications.
The builder generates code if it find files with an .openapi.json or .openapi.yaml extension in the lib directory.
Build configuration
You can configure code generation by setting values in the build.yaml.
targets:
  $default:
    builders:
      dynamite:
        options:
          # Options configure how source code is generated.
          #
          # The following are sensible default values that ignores the schemas for the coverage.
          pageWidth: 120
          analyzer_ignores:
            - camel_case_types
            - discarded_futures
            - public_member_api_docs
            - unreachable_switch_case
          coverage_ignores:
            - 'const .*\._\(\);'
            - 'factory .*\.fromJson\(Map<String, dynamic> json\) => _jsonSerializers\.deserializeWith\(serializer, json\)!;'
            - 'Map<String, dynamic> toJson\(\) => _jsonSerializers\.serializeWith\(serializer, this\)! as Map<String, dynamic>;'
            - 'static BuiltSet<.*> get values => _\$.*Values;'