Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🔁
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Python 🐍
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.10"

- name: Install Poetry and pre-commit ⚙️
run: pip install poetry pre-commit
run: pip install poetry==1.8.5 pre-commit

- name: Install dependencies 🛠
run: poetry install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout 🔁
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry and pre-commit ⚙️
run: pip install poetry pre-commit
run: pip install poetry==1.8.5 pre-commit

- name: Install dependencies 🛠
run: poetry install
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: |
Expand Down Expand Up @@ -33,19 +33,19 @@ repos:
args: ["--fix=crlf"]
files: \.bat$
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 6.0.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.1.2
hooks:
- id: flake8
- repo: https://github.com/twu/skjold
rev: v0.6.1
rev: v0.6.2
hooks:
- id: skjold
- repo: https://github.com/pre-commit/mirrors-prettier
Expand Down
12 changes: 6 additions & 6 deletions fastapi_standalone_docs/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
import fastapi_standalone_docs

FASTAPI_FILES = [
"https://fastapi.tiangolo.com/img/favicon.png",
"https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/favicon.png",
"https://raw.githubusercontent.com/tiangolo/fastapi/master/LICENSE",
]

SWAGGER_FILES = [
"https://cdn.jsdelivr.net/npm/swagger-ui-dist@4/LICENSE",
"https://cdn.jsdelivr.net/npm/swagger-ui-dist@4/swagger-ui.css",
"https://cdn.jsdelivr.net/npm/swagger-ui-dist@4/swagger-ui-bundle.js",
"https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.19.0/LICENSE",
"https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.19.0/swagger-ui.css",
"https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.19.0/swagger-ui-bundle.js",
]

REDOC_FILES = [
"https://cdn.jsdelivr.net/npm/redoc@2.0.0/bundles/redoc.standalone.js.LICENSE.txt",
"https://cdn.jsdelivr.net/npm/redoc@2.0.0/bundles/redoc.standalone.js",
"https://cdn.jsdelivr.net/npm/redoc@2.4.0/bundles/redoc.standalone.js.LICENSE.txt",
"https://cdn.jsdelivr.net/npm/redoc@2.4.0/bundles/redoc.standalone.js",
"https://cdn.redoc.ly/redoc/logo-mini.svg",
]

Expand Down
Binary file modified fastapi_standalone_docs/static/fastapi/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
608 changes: 317 additions & 291 deletions fastapi_standalone_docs/static/redoc/redoc.standalone.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* ReDoc - OpenAPI/Swagger-generated API Reference Documentation
* -------------------------------------------------------------
* Version: "2.0.0"
* Version: "2.4.0"
* Repo: https://github.com/Redocly/redoc
*/

Expand All @@ -31,7 +25,7 @@ object-assign
* Licensed under MIT
*/

/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
/*! @license DOMPurify 3.1.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.3/LICENSE */

/*!***************************************************
* mark.js v8.11.1
Expand All @@ -41,42 +35,55 @@ object-assign
*****************************************************/

/**
* Prism: Lightweight, robust, elegant syntax highlighting
* @license React
* react-dom.production.min.js
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v0.20.2
* scheduler.production.min.js
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-dom.production.min.js
/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
Expand All @@ -86,12 +93,10 @@ object-assign
*/

/** @license React v17.0.2
* react.production.min.js
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
3 changes: 1 addition & 2 deletions fastapi_standalone_docs/static/swagger/swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fastapi_standalone_docs/static/swagger/swagger-ui.css

Large diffs are not rendered by default.

Loading