com.smartbear.swagger4j
Interface SwaggerStore

All Known Implementing Classes:
FileSwaggerStore, Utils.ConsoleSwaggerStore, Utils.MapSwaggerStore

public interface SwaggerStore

Simple interface of abstracting the target location of a created Swagger definition, so Swagger objects can be written to non file-based stores (databases, etc)


Method Summary
 Writer createResource(String path)
          Create a resource with the specified path
 

Method Detail

createResource

Writer createResource(String path)
                      throws IOException
Create a resource with the specified path

Parameters:
path - the path of the resource to create
Returns:
a Writer to which the resource can be written
Throws:
IOException


Copyright © 2013. All Rights Reserved.