Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Html macro
sanitizefalse
height8001600
<script type="text/javascript">
                var script = document.createElement("script");
                script.src="https://dxjs.apimatic.io/v7/static/js/portal.v7.js";
                script.onload = function() {
                    APIMaticDevPortal.show(
                        {
  "container": "apimatic-widget",
  "portalStyle": "default",
  "codegenApiRoutes": {
    "docsgen": "/api/api-entities/GGtpaDw-GucMtVOlg6pCExf4JvJTDwsfrCGqG9dIsuvGbNkEBpmQs4v0wohSCE-U/portal-artifacts/docs/generated-file?template={template}",
    "codegen": "/api/api-entities/GGtpaDw-GucMtVOlg6pCExf4JvJTDwsfrCGqG9dIsuvGbNkEBpmQs4v0wohSCE-U/portal-artifacts/sdks/generated-file?template={template}",
    "transform": "/api/api-entities/GGtpaDw-GucMtVOlg6pCExf4JvJTDwsfrCGqG9dIsuvGbNkEBpmQs4v0wohSCE-U/portal-artifacts/specs/generated-file?format={format}",
    "apiProxy": "https://proxy.apimatic.io/api/proxy"
  },
  "apiKey": "PkUYNyvjYA7DfFBwoKTjTDeKek4C_q8fqZSFfbTXOXSUK8eK3FbXYCsp9x69R8lepveVnbG0xMDWvJ9eO4s7Gw**",
  "baseUrl": "https://www.apimatic.io",
  "enableExport": true,
  "renameHttpToRest": false,
  "enableConsoleCalls": true,
  "useProxyForConsoleCalls": true,
  "initialPlatform": "http_curl_v1",
  "languageSettings": {
    "http_curl_v1": {
      "disableSdkDownload": true
    },
    "cs_net_standard_lib": {
      "disableSdkDownload": false,
      "sdkDownloadLink": ""
    },
    "java_eclipse_jre_lib": {
      "disableSdkDownload": false,
      "sdkDownloadLink": ""
    },
    "php_generic_lib_v2": {
      "disableSdkDownload": false,
      "sdkDownloadLink": ""
    },
    "python_generic_lib": {
      "disableSdkDownload": false,
      "sdkDownloadLink": ""
    },
    "ruby_generic_lib": {
      "disableSdkDownload": false,
      "sdkDownloadLink": ""
    }
  },
  "allowedExportFormats": [
    "postman10",
    "postman20",
    "openapi3json",
    "openapi3yaml",
    "swagger20",
    "swaggeryaml",
    "swagger10",
    "raml",
    "raml10",
    "apiblueprint",
    "wadl2009",
    "apimatic",
    "wsdl",
    "insomnia",
    "insomniayaml"
  ],
  "themeOverrides": {
    "themeType": "cool",
    "palette": {
      "primaryColor": "#0c7ff2",
      "linkColor": "#00C7D4"
    },
    "fontSource": [
      "https://fonts.googleapis.com/css?family='Rubik'",
      "https://fonts.googleapis.com/css?family='SFMono-400'"
    ],
    "cssStyles": {
      "headings": {
        "fontFamily": "'Rubik', sans-serif",
        "h1": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "28.83px",
          "fontWeight": "500",
          "fontStyle": "normal",
          "lineHeight": "1.3"
        },
        "h2": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "25.63px",
          "fontWeight": "500",
          "fontStyle": "normal",
          "lineHeight": "1.3"
        },
        "h3": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "22.78px",
          "fontWeight": "500",
          "fontStyle": "normal",
          "lineHeight": "1.3"
        },
        "h4": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "18px",
          "fontWeight": "500",
          "fontStyle": "normal",
          "lineHeight": "1.3"
        },
        "h5": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "16px",
          "fontWeight": "500",
          "fontStyle": "normal",
          "lineHeight": "1.3"
        },
        "h6": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "14.22px",
          "fontWeight": "500",
          "fontStyle": "normal",
          "lineHeight": "1.3"
        }
      },
      "body": {
        "fontFamily": "'Rubik', sans-serif",
        "text1": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "16px",
          "fontWeight": "400",
          "fontStyle": "normal",
          "lineHeight": "1.75"
        },
        "text2": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "14.22px",
          "fontWeight": "400",
          "fontStyle": "normal",
          "lineHeight": "1.75"
        },
        "text3": {
          "fontFamily": "'Rubik', sans-serif",
          "fontSize": "12.64px",
          "fontWeight": "400",
          "fontStyle": "normal",
          "lineHeight": "1.75"
        }
      },
      "code": {
        "fontFamily": "'SFMono-400', Consolas, 'Liberation Mono', Menlo, Courier",
        "blockCode": {
          "fontFamily": "'SFMono-400', Consolas, 'Liberation Mono', Menlo, Courier",
          "fontSize": "14.22px",
          "fontWeight": "400",
          "fontStyle": "normal",
          "lineHeight": "1.75"
        },
        "inlineCode": {
          "fontFamily": "'SFMono-400', Consolas, 'Liberation Mono', Menlo, Courier",
          "fontSize": "14.22px",
          "fontWeight": "400",
          "fontStyle": "normal",
          "lineHeight": "1.75"
        }
      }
    }
  }
}
                    );
                };
                document.getElementsByTagName("head")[0].appendChild(script);
                </script>
<div id="apimatic-widget" style="height: 100%; width: 100%;">
</div>

...