|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwaggerWriter
Writes Swagger objects to writers or a generic SwaggerStore
Method Summary | |
---|---|
Constants.Format |
getFormat()
Gets the format of this SwaggerWriter |
void |
writeApiDeclaration(ApiDeclaration declaration,
Writer writer)
Writes the specified ApiDeclaration to the specified Writer in the configured format |
void |
writeResourceListing(ResourceListing listing,
Writer writer)
Writes the specified ResourceListing to the specified Writer in the configured format |
void |
writeSwagger(SwaggerStore store,
ResourceListing resourceListing)
Writes an entire Swagger definition (both ResourceListing and referred ApiDeclarations) to a generic SwaggerStore |
Method Detail |
---|
void writeApiDeclaration(ApiDeclaration declaration, Writer writer) throws IOException
declaration
- the declaration to writewriter
- the writer to write to
IOException
void writeResourceListing(ResourceListing listing, Writer writer) throws IOException
listing
- the listing to writewriter
- the writer to write to
IOException
Constants.Format getFormat()
void writeSwagger(SwaggerStore store, ResourceListing resourceListing) throws IOException
store
- the SwaggerStore to write toresourceListing
- the ResourceListing to write
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |