diff --git a/docs/faq.rst b/docs/faq.rst index 3c0ffb8674..07dda0c226 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -327,7 +327,7 @@ constant progress has been made to cover more and more use cases. The API available is documented using [Swagger](https://swagger.io/) and the documentation -can be made available under `/swaggerview/v1` by enabling +can be made available under `/swagger/v1` by enabling the `FAB_API_SWAGGER_UI = True` configuration flag. There are other undocumented [private] ways to interact with Superset diff --git a/setup.cfg b/setup.cfg index 2c4f4ed2f0..c126a4a0b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,7 @@ combine_as_imports = true include_trailing_comma = true line_length = 88 known_first_party = superset -known_third_party =alembic,apispec,backoff,bleach,cachelib,celery,click,colorama,contextlib2,croniter,cryptography,dataclasses,dateutil,flask,flask_appbuilder,flask_babel,flask_caching,flask_compress,flask_login,flask_migrate,flask_sqlalchemy,flask_talisman,flask_testing,flask_wtf,geohash,geopy,humanize,isodate,jinja2,markdown,markupsafe,marshmallow,msgpack,numpy,pandas,parameterized,parsedatetime,pathlib2,polyline,prison,pyarrow,pyhive,pytz,retry,selenium,setuptools,simplejson,slack,sphinx_rtd_theme,sqlalchemy,sqlalchemy_utils,sqlparse,werkzeug,wtforms,wtforms_json,yaml +known_third_party =alembic,apispec,backoff,bleach,cachelib,celery,click,colorama,contextlib2,croniter,cryptography,dataclasses,dateutil,flask,flask_appbuilder,flask_babel,flask_caching,flask_compress,flask_login,flask_migrate,flask_sqlalchemy,flask_talisman,flask_testing,flask_wtf,geohash,geopy,humanize,isodate,jinja2,markdown,markupsafe,marshmallow,msgpack,numpy,pandas,parameterized,parsedatetime,pathlib2,polyline,prison,pyarrow,pyhive,pytest,pytz,retry,selenium,setuptools,simplejson,slack,sphinx_rtd_theme,sqlalchemy,sqlalchemy_utils,sqlparse,werkzeug,wtforms,wtforms_json,yaml multi_line_output = 3 order_by_type = false diff --git a/superset/config.py b/superset/config.py index f6989b8fe7..74e7fec710 100644 --- a/superset/config.py +++ b/superset/config.py @@ -202,7 +202,7 @@ APP_ICON_WIDTH = 126 LOGO_TARGET_PATH = None # Enables SWAGGER UI for superset openapi spec -# ex: http://localhost:8080/swaggerview/v1 +# ex: http://localhost:8080/swagger/v1 FAB_API_SWAGGER_UI = True # Druid query timezone