Package io.smallrye.openapi.runtime
Class OpenApiStaticFile
java.lang.Object
io.smallrye.openapi.runtime.OpenApiStaticFile
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- [email protected]
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.OpenApiStaticFile(InputStream content, Format format) OpenApiStaticFile(URL locator, InputStream content, Format format) -
Method Summary
-
Constructor Details
-
OpenApiStaticFile
public OpenApiStaticFile()Constructor. -
OpenApiStaticFile
-
OpenApiStaticFile
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException- See Also:
-
getLocator
-
getFormat
- Returns:
- the format
-
setFormat
- Parameters:
format- the format to set
-
getContent
- Returns:
- the content
-
setContent
- Parameters:
content- the content to set
-