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, waitcanHandleFileName, convertContents, fileExtensionpublic String generateOutputFileNameForInput(String inputFileName)
generateOutputFileNameForInput in interface StubGeneratorinputFileName - - 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.jsonCopyright © 2016–2020 Spring. All rights reserved.