podhmo / swagger-bundler

swagger management .. this is abandoneware
MIT License
2 stars 2 forks source link

special field: bundle, namespace #2

Closed podhmo closed 8 years ago

podhmo commented 8 years ago
  1. swagger-bundler init generates 'swagger-bundler.ini'
  2. swagger-bundler bundle -c swagger-bundler.ini <file>
podhmo commented 8 years ago

Current reserved words bundle, namespace, disable_mangle, to be changiable.

e.g.

namespace_marker = "@namespace"
disable_mangle_marker = "@disable_mangle"
bundle_marker = "@bundle"

then

@namespace: Z
@bundle:
  - common.parts.yaml
@disable_mangle:
  - common.parts.yaml
podhmo commented 8 years ago

@foo is invalid for yaml, using x-bundler-foo, instead of