Skip to content
  • Leo Palmer Sunmo's avatar
    Add option to set template delimiters (#1499) · 01d20cc4
    Leo Palmer Sunmo authored
    * Add template action delimiter cli flag
    
    * Add delims to generator config and template
    
    Also adds tests using the "quote" test as a base. This has to have a
    custom Instance name or it will clash with the "quotes" one and panic
    since it will have registered two "swagger" instances in the package
    test.
    
    * Add testdata for custom delim flags
    
    Based on the "quote" testdata.
    
    * Add delims to the spec, with tests.
    
    Make sure we don't add delims if they are empty. This shouldn't be
    possible, but might as well be safe.
    
    * Go mod tidy and sum update
    
    * Make the CLI experience a bit cleaner
    
    * Revert go.mod and sum
    
    * Update readme
    01d20cc4