Open Vibaswan opened 1 year ago
now openapiart can parse ymls and generate based on yml configuration
example yml
api_files: - openapiart/tests/api/info.yaml - openapiart/tests/common/common.yaml - openapiart/tests/api/api.yaml - openapiart/goserver/api/service_a.api.yaml - openapiart/goserver/api/service_b.api.yaml artifact_dir: art generate_version_api: true languages: python: package_name: sanity go: sdk: package_dir: github.com/open-traffic-generator/openapiart/pkg package_name: openapiart sdk_version: 0.0.1 server: module_path: github.com/open-traffic-generator/openapiart/pkg models_prefix: sanity models_path: github.com/open-traffic-generator/openapiart/pkg tidy: relative_package_dir: pkg
can be used as a cli tool
openapiart --help openapiart --config_file ./config.yaml python -m openapiart --help python -m openapiart --config_file ./config.yaml
now openapiart can parse ymls and generate based on yml configuration
example yml
can be used as a cli tool