public abstract class DslToWireMockConverter extends Object implements StubGenerator
StubGenerator
.Constructor and Description |
---|
DslToWireMockConverter() |
Modifier and Type | Method and Description |
---|---|
String |
generateOutputFileNameForInput(String inputFileName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canHandleFileName, convertContents, fileExtension
public String generateOutputFileNameForInput(String inputFileName)
generateOutputFileNameForInput
in interface StubGenerator
inputFileName
- - name of the input fileContract.name
field then that field will override the generated file name.
Example: name of file with 2 contracts is foo.groovy
, it will be converted
by the implementation to foo.json
. The recursive file converter will create
two files 0_foo.json
and 1_foo.json
Copyright © 2016–2020 Spring. All rights reserved.