|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwaggerSource
Generic interface for abstracting the source of a swagger definition - allowing Swagger definitions to be read from a non path-based storage (databases, etc)
Method Summary | |
---|---|
Constants.Format |
getFormat()
Gets the format of the Swagger objects returned by this Source |
Reader |
readApiDeclaration(String basePath,
String path)
Gets a Reader for an API Declaration with the specified path. |
Reader |
readResourceListing()
Gets a Reader for the ResourceListing of this SwaggerSource |
Method Detail |
---|
Reader readResourceListing() throws IOException
IOException
Reader readApiDeclaration(String basePath, String path) throws IOException
basePath
- path
- the path of the API Declaration
IOException
Constants.Format getFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |