Class OADoc
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.openapi.spec.OADoc
An OpenAPI v 3.0.2 document.
- Author:
- scf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetInfo()getPaths()Gets the paths defined in the document.voidvoidsetOpenapi(String openapi)
-
Constructor Details
-
OADoc
public OADoc()
-
-
Method Details
-
getOpenapi
- Returns:
- the openapi
-
setOpenapi
- Parameters:
openapi- the openapi to set
-
getInfo
- Returns:
- the info
-
setInfo
- Parameters:
info- the OADocInfo to set
-
getPaths
Gets the paths defined in the document.- Returns:
- the paths
-
addServer
-
getServers
-
getComponents
- Returns:
- the components
-