Class OADoc
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.openapi.spec.OADoc
-
public final class OADoc extends Object
An OpenAPI v 3.0.2 document.- Author:
- scf
-
-
Constructor Summary
Constructors Constructor Description OADoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServer(OAServer server)OAComponentsgetComponents()OADocInfogetInfo()StringgetOpenapi()Map<String,OAPath>getPaths()Gets the paths defined in the document.List<OAServer>getServers()voidsetInfo(OADocInfo info)voidsetOpenapi(String openapi)
-
-
-
Method Detail
-
getOpenapi
public String getOpenapi()
- Returns:
- the openapi
-
setOpenapi
public void setOpenapi(String openapi)
- Parameters:
openapi- the openapi to set
-
getInfo
public OADocInfo getInfo()
- Returns:
- the info
-
setInfo
public void setInfo(OADocInfo info)
- Parameters:
info- the OADocInfo to set
-
getPaths
public Map<String,OAPath> getPaths()
Gets the paths defined in the document.- Returns:
- the paths
-
addServer
public void addServer(OAServer server)
-
getComponents
public OAComponents getComponents()
- Returns:
- the components
-
-