Class RamlImplV1

java.lang.Object
org.mule.apikit.implv1.model.RamlImplV1
All Implemented Interfaces:
Serializable, org.mule.apikit.model.ApiSpecification

public class RamlImplV1 extends Object implements org.mule.apikit.model.ApiSpecification
See Also:
  • Constructor Details

    • RamlImplV1

      public RamlImplV1(org.raml.model.Raml raml, String ramlPath, List<String> references)
    • RamlImplV1

      @Deprecated public RamlImplV1(org.raml.model.Raml raml)
      Deprecated.
  • Method Details

    • getRaml

      public org.raml.model.Raml getRaml()
    • getResource

      public org.mule.apikit.model.Resource getResource(String s)
      Specified by:
      getResource in interface org.mule.apikit.model.ApiSpecification
    • getConsolidatedSchemas

      public Map<String,String> getConsolidatedSchemas()
      Specified by:
      getConsolidatedSchemas in interface org.mule.apikit.model.ApiSpecification
    • getCompiledSchemas

      public Map<String,Object> getCompiledSchemas()
      Specified by:
      getCompiledSchemas in interface org.mule.apikit.model.ApiSpecification
    • getBaseUri

      public String getBaseUri()
      Specified by:
      getBaseUri in interface org.mule.apikit.model.ApiSpecification
    • getLocation

      public String getLocation()
      Specified by:
      getLocation in interface org.mule.apikit.model.ApiSpecification
    • getResources

      public Map<String,org.mule.apikit.model.Resource> getResources()
      Specified by:
      getResources in interface org.mule.apikit.model.ApiSpecification
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface org.mule.apikit.model.ApiSpecification
    • setBaseUri

      public void setBaseUri(String s)
    • getBaseUriParameters

      public Map<String,org.mule.apikit.model.parameter.Parameter> getBaseUriParameters()
      Specified by:
      getBaseUriParameters in interface org.mule.apikit.model.ApiSpecification
    • getSecuritySchemes

      public List<Map<String,org.mule.apikit.model.SecurityScheme>> getSecuritySchemes()
      Specified by:
      getSecuritySchemes in interface org.mule.apikit.model.ApiSpecification
    • getTraits

      public List<Map<String,org.mule.apikit.model.Template>> getTraits()
      Specified by:
      getTraits in interface org.mule.apikit.model.ApiSpecification
    • getUri

      public String getUri()
      Specified by:
      getUri in interface org.mule.apikit.model.ApiSpecification
    • getSchemas

      public List<Map<String,String>> getSchemas()
      Specified by:
      getSchemas in interface org.mule.apikit.model.ApiSpecification
    • getInstance

      public Object getInstance()
    • getAllReferences

      public List<String> getAllReferences()
      This method returns a list of String with all the references from the api. Note that the list returned by this method is based on the ramlPath, so if for e.g: the path described at ramlPath is relative the list returned will be of relatives path too, same if it absolute path or uri.
      Specified by:
      getAllReferences in interface org.mule.apikit.model.ApiSpecification
      Returns:
      list of String with all the references from the api
    • dump

      public String dump(String newBaseUri)
      Specified by:
      dump in interface org.mule.apikit.model.ApiSpecification
    • getApiVendor

      public org.mule.apikit.model.ApiVendor getApiVendor()
      Specified by:
      getApiVendor in interface org.mule.apikit.model.ApiSpecification
    • getType

      public org.mule.apikit.ApiType getType()
      Specified by:
      getType in interface org.mule.apikit.model.ApiSpecification