Class OpenApiOperation


  • public class OpenApiOperation
    extends Object
    A container representing a single API operation.

    This includes the path, method and operation components from the OAI spec object. Used as a convenience to hold related information in one place.

    Author:
    Steve Hu
    • Method Detail

      • getPathString

        public NormalisedPath getPathString()
        Returns:
        The path the operation is on
      • getPathObject

        public Path getPathObject()
        Returns:
        The path object from the OAI specification
      • getMethod

        public String getMethod()
        Returns:
        The method the operation is on
      • getOperation

        public Operation getOperation()
        Returns:
        The operation object from the OAI specification