mirror of
https://github.com/apache/superset.git
synced 2026-05-08 01:15:46 +00:00
- Snapshot all four versioned docs sections at v6.1.0; master continues to serve as "Next" (lastVersion: current, banner: unreleased) so editing master keeps updating the canonical URLs - Enable the previously-disabled components plugin and version it - Rename stale "developer_portal" references to "developer_docs" across package.json scripts, manage-versions.mjs, theme files (DocVersionBadge, DocVersionBanner), DOCS_CLAUDE.md, and README.md (URL backward-compat redirect /developer_portal/* preserved) - Add admin_docs version scripts; drop dead "tutorials" plugin id from the version badge - Generalize fixVersionedImports in manage-versions.mjs to walk every section's snapshot and rewrite ../../src/ and ../../data/ imports, catching admin_docs and components files that previous version cuts would have broken - Remove orphan files: developer_portal_versions.json, tutorials_versions.json, and stray empty versions.json files inside components/ and developer_docs/ content directories
69 lines
3.0 KiB
Plaintext
69 lines
3.0 KiB
Plaintext
---
|
|
id: format-sql-code
|
|
title: "Format SQL code"
|
|
description: "Format SQL code"
|
|
sidebar_label: "Format SQL code"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV21v2zYQ/ivEYUASTImTvQABi35IgxZtFzRp7WIboiClpYvFhiIVknLiCfrvw5GyLMdOh2Yf+skydXfk89xzx1MDFu9qdP6VyRfAG8iM9qg9PYqqUjITXho9+uqMpjWXFVgKevKLCoGDmX7FzEMS4kiLOfBLcHcKrhKorKnQeokuuN6pgZ/zVuoZJJCjy6ysaBfgMCmQjT+esbsa7YJ5w26MLYU/gDYB1DOpcVsMXSslpgqBe1vjtpi58GIqHLIYJMRbrl3LfBBUao8ztN8XVeYhoseyUsLjdSWsKN3zjjqA34VjMRwTjr0fn39gMdgBtLSl9BQM3gSePpLfhVgoI/JxTBUR9yDKSmGfhNVplpQO0jEk5WgLpKVpS7uvn74/+ZocCGdLC64y2kUt/HJ4+F1iW1eSRVcrv8lu4GNNluvgl37fgBBpDDnorNsEfvtfpy3ROTHbotv/Om7vCK9Ezro65eydngsl8ygK9Ggdq6yZyxzzbYgGvhHL0Y/F8lmL2hfGyn8w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uq6WgbcwaVUvQ4yTIMrfZp26tB/VN3hASm3adlSYRwsOKevg/EPXCABEygJs71tBYbfh2HkBiTVEGz34C/Xj3dA6HqXgm9GJywaaJF7LNU8hFKuJugvWrb9l9gLiiw
|
|
sidebar_class_name: "post api-method"
|
|
info_path: developer-docs/api/superset
|
|
custom_edit_url: null
|
|
hide_send_button: true
|
|
show_extensions: true
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
import Translate from "@docusaurus/Translate";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Format SQL code"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/api/v1/sqllab/format_sql/"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Format SQL code
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
parameters={undefined}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./format-sql-code.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./format-sql-code.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|