Class PathVariable

java.lang.Object
com.nomagic.magicdraw.pathvariables.PathVariable

@OpenApi public class PathVariable extends Object
Path Variable definition.
  • Constructor Details

    • PathVariable

      @OpenApi public PathVariable(String name, String path, String description)
      Constructor.
      Parameters:
      name - variable name.
      path - path.
      description - description.
  • Method Details

    • getName

      @OpenApi public String getName()
      Get variable name.
      Returns:
      name.
    • getPath

      @OpenApi public String getPath()
      Get variable path.
      Returns:
      path.
    • getDescription

      @OpenApi public String getDescription()
      Get variable description.
      Returns:
      description.