Release 0.2.0
Complete OpenAPI 3.0/3.1 generation, diagnostics, lifecycle safety, enum and naming mappings, bilingual documentation, examples, and pub.dev release validation.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
input:
|
||||
swagger_urls:
|
||||
- ./openapi.yaml
|
||||
|
||||
output:
|
||||
base_dir: ./generated
|
||||
api_dir: ./generated/api
|
||||
models_dir: ./generated/models
|
||||
split_by_tags: true
|
||||
clean_stale_files: true
|
||||
|
||||
generation:
|
||||
preset:
|
||||
name: koi_flutter
|
||||
models:
|
||||
enum_unknown_fallback: true
|
||||
enum_mappings:
|
||||
PetStatus:
|
||||
- value: pending
|
||||
name: awaitingReview
|
||||
description: Waiting for a store review
|
||||
|
||||
formatting:
|
||||
run_dart_fix: false
|
||||
run_dart_format: true
|
||||
run_build_runner: false
|
||||
Reference in New Issue
Block a user