Class SwaggerPaths


  • public class SwaggerPaths
    extends java.lang.Object
    Handles all Entry path : swagger.getPaths().entrySet()
    Author:
    Paul Brodner
    • Constructor Summary

      Constructors 
      Constructor Description
      SwaggerPaths​(io.swagger.models.Swagger swagger, java.lang.String swaggerFilePath)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void computeCoverage()
      Compare requests that exist in swagger yaml file vs request implemented in your code any findings are saved to a missing-request txt file.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SwaggerPaths

        public SwaggerPaths​(io.swagger.models.Swagger swagger,
                            java.lang.String swaggerFilePath)
    • Method Detail

      • computeCoverage

        public void computeCoverage()
                             throws java.lang.Exception
        Compare requests that exist in swagger yaml file vs request implemented in your code any findings are saved to a missing-request txt file.
        Throws:
        java.lang.Exception
        org.alfresco.utility.exception.TestConfigurationException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object