public class OpenApiOperation extends Object
This includes the path, method and operation components from the OAI spec object. Used as a convenience to hold related information in one place.
| Constructor and Description |
|---|
OpenApiOperation(NormalisedPath pathString,
com.networknt.oas.model.Path pathObject,
String method,
com.networknt.oas.model.Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod() |
com.networknt.oas.model.Operation |
getOperation() |
com.networknt.oas.model.Path |
getPathObject() |
NormalisedPath |
getPathString() |
public OpenApiOperation(NormalisedPath pathString, com.networknt.oas.model.Path pathObject, String method, com.networknt.oas.model.Operation operation)
public NormalisedPath getPathString()
public com.networknt.oas.model.Path getPathObject()
public String getMethod()
public com.networknt.oas.model.Operation getOperation()
Copyright © 2020. All rights reserved.