public object Any(TypesTypeScriptDefinition request)
        {
            if (request.BaseUrl == null)
            {
                request.BaseUrl = Request.GetBaseUrl();
            }

            return(GenerateTypeScript(request, NativeTypesMetadata.GetConfig(request)));
        }
Exemplo n.º 2
0
        public object Any(TypesTypeScriptDefinition request)
        {
            request.BaseUrl = GetBaseUrl(request.BaseUrl);

            var typesConfig = NativeTypesMetadata.GetConfig(request);

            typesConfig.MakePropertiesOptional = request.MakePropertiesOptional ?? true;

            return(GenerateTypeScript(request, typesConfig));
        }
Exemplo n.º 3
0
 public object Any(TypesTypeScriptDefinition request)
 {
     return(GenerateTypeScript(request, NativeTypesMetadata.GetConfig(request)));
 }