Class OpenAPIDefinitionDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.serialization.model.NotDTO
-
- org.mockserver.serialization.model.RequestDefinitionDTO
-
- org.mockserver.serialization.model.OpenAPIDefinitionDTO
-
public class OpenAPIDefinitionDTO extends RequestDefinitionDTO
-
-
Constructor Summary
Constructors Constructor Description OpenAPIDefinitionDTO()OpenAPIDefinitionDTO(OpenAPIDefinition openAPIMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenAPIDefinitionbuildObject()StringgetContextPathPrefix()StringgetOperationId()StringgetSpecUrlOrPayload()OpenAPIDefinitionDTOsetContextPathPrefix(String contextPathPrefix)OpenAPIDefinitionDTOsetOperationId(String operationId)OpenAPIDefinitionDTOsetSpecUrlOrPayload(String specUrlOrPayload)-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode
-
-
-
-
Constructor Detail
-
OpenAPIDefinitionDTO
public OpenAPIDefinitionDTO(OpenAPIDefinition openAPIMatcher)
-
OpenAPIDefinitionDTO
public OpenAPIDefinitionDTO()
-
-
Method Detail
-
buildObject
public OpenAPIDefinition buildObject()
- Specified by:
buildObjectin classRequestDefinitionDTO
-
getSpecUrlOrPayload
public String getSpecUrlOrPayload()
-
setSpecUrlOrPayload
public OpenAPIDefinitionDTO setSpecUrlOrPayload(String specUrlOrPayload)
-
getOperationId
public String getOperationId()
-
setOperationId
public OpenAPIDefinitionDTO setOperationId(String operationId)
-
getContextPathPrefix
public String getContextPathPrefix()
-
setContextPathPrefix
public OpenAPIDefinitionDTO setContextPathPrefix(String contextPathPrefix)
-
-