com.smartbear.swagger4j.impl
Class Utils.MapSwaggerStore
java.lang.Object
com.smartbear.swagger4j.impl.Utils.MapSwaggerStore
- All Implemented Interfaces:
- SwaggerStore
- Enclosing class:
- Utils
public static class Utils.MapSwaggerStore
- extends Object
- implements SwaggerStore
SwaggerStore implementation that writes Swagger definitions to a map of fileName to StringWriter
- See Also:
SwaggerStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils.MapSwaggerStore
public Utils.MapSwaggerStore()
createResource
public Writer createResource(String path)
throws IOException
- Description copied from interface:
SwaggerStore
- Create a resource with the specified path
- Specified by:
createResource
in interface SwaggerStore
- Parameters:
path
- the path of the resource to create
- Returns:
- a Writer to which the resource can be written
- Throws:
IOException
getFileMap
public Map<String,StringWriter> getFileMap()
Copyright © 2013. All Rights Reserved.