regurgitator-extensions-swagger

regurgitator is a lightweight, modular, extendable java framework that you configure to ‘regurgitate’ canned or clever responses to incoming requests; useful for quickly mocking or prototyping services without writing any code. simply configure, deploy and run.

start your reading here: regurgitator-all

regurgitator and swagger

generate regurgitator configuration from open api / swagger files

<dependency>
    <groupId>uk.emarte.regurgitator</groupId>
    <artifactId>regurgitator-extensions-swagger</artifactId>
    <version>0.1.5</version>
</dependency>

functionality

benefits

» go from a single open api file to a working mock for every method/path combination ..

» extend what is generated to add simple or complex logic to your mock ..

» test every method/path combination with Postman ..

… all without writing any code

usage

java uk.emarte.regurgitator.extensions.swagger.ConfigurationGenerator swaggerfile.[json|yaml] outputDirectory outputType [json|xml]

NOTE: regurgitator-extensions-swagger works with regurgitator-core version 0.1.3+


api docs: 0.1.5 0.1.4 0.1.3 0.1.2