Package io.swagger.v3.jaxrs2.integration
Class ServletOpenApiConfigurationLoader
- java.lang.Object
-
- io.swagger.v3.jaxrs2.integration.ServletOpenApiConfigurationLoader
-
- All Implemented Interfaces:
OpenApiConfigurationLoader
public class ServletOpenApiConfigurationLoader extends Object implements OpenApiConfigurationLoader
-
-
Constructor Summary
Constructors Constructor Description ServletOpenApiConfigurationLoader(javax.servlet.ServletConfig servletConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(String path)OpenAPIConfigurationload(String path)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.swagger.v3.oas.integration.api.OpenApiConfigurationLoader
readInputStreamToString
-
-
-
-
Method Detail
-
load
public OpenAPIConfiguration load(String path) throws IOException
- Specified by:
loadin interfaceOpenApiConfigurationLoader- Throws:
IOException
-
exists
public boolean exists(String path)
- Specified by:
existsin interfaceOpenApiConfigurationLoader
-
-