Skip to content

muSpec2Spec with new options

Latest
Compare
Choose a tag to compare
@veith veith released this 20 Jun 07:14
· 16 commits to main since this release
d99305b

With the muSpec.forceLabels: true option the label and placeholder field in the specs are updated every time you run muSpec2Spec.

The labels can also have a prefix now. To set the prefix use the config option labelPrefix: "prefix.".

muSpec:
  types:
    - "./muspecs/**/*types.yaml"
    - "./muspecs/*types.yaml"
  services:
    - "./muspecs/**/*services.yaml"
    - "./muspecs/*services.yaml"
   dir: "muspecs"
  forceSync: true # This will delete specs which are deleted in muSpec, this is very useful during prototyping
  forceLabels: true # This will overwrite the label and placeholder texts during muSpec2Spec command
  requestTypeSuffix: "Request" # Suffix for the generated request types
labelPrefix: "prefix." # This is the prefix
commands: #camelCase is not allowed, command scripts can only be executed from a flow