public class SwaggerOperation 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 |
|---|
SwaggerOperation(NormalisedPath pathString,
io.swagger.models.Path pathObject,
io.swagger.models.HttpMethod method,
io.swagger.models.Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
io.swagger.models.HttpMethod |
getMethod() |
io.swagger.models.Operation |
getOperation() |
io.swagger.models.Path |
getPathObject() |
NormalisedPath |
getPathString() |
public SwaggerOperation(NormalisedPath pathString, io.swagger.models.Path pathObject, io.swagger.models.HttpMethod method, io.swagger.models.Operation operation)
public NormalisedPath getPathString()
public io.swagger.models.Path getPathObject()
public io.swagger.models.HttpMethod getMethod()
public io.swagger.models.Operation getOperation()
Copyright © 2024. All rights reserved.