Class GenericApiObjectDefinition


  • @Deprecated
    public class GenericApiObjectDefinition
    extends Object
    Deprecated.
    Generalized object structure for Swagger definitions of APIs. This structure contains set of Maps which compatible with both JSON and YAML formats. This is deprecated and moved to org.wso2.carbon.mediation.commons.swagger.GenericApiObjectDefinition
    • Constructor Detail

      • GenericApiObjectDefinition

        public GenericApiObjectDefinition​(org.apache.synapse.api.API api)
        Deprecated.
    • Method Detail

      • getDefinitionMap

        public Map<String,​Object> getDefinitionMap()
        Deprecated.
        Provides a map which represents the structure of swagger definition.
        Returns:
        Map containing information for swagger definition