diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..cad35b3f --- /dev/null +++ b/.codespellrc @@ -0,0 +1,2 @@ +[codespell] +skip = .git,UTF-8-demo.txt diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..5768d7c6 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,19 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v1 diff --git a/httpbin/core.py b/httpbin/core.py index 305c9882..072f333d 100644 --- a/httpbin/core.py +++ b/httpbin/core.py @@ -958,7 +958,7 @@ def basic_auth(user="user", passwd="passwd"): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -986,7 +986,7 @@ def hidden_basic_auth(user="user", passwd="passwd"): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 404: description: Unsuccessful authentication. """ @@ -1011,7 +1011,7 @@ def bearer_auth(): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -1048,7 +1048,7 @@ def digest_auth_md5(qop=None, user="user", passwd="passwd"): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -1081,7 +1081,7 @@ def digest_auth_nostale(qop=None, user="user", passwd="passwd", algorithm="MD5") - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -1121,7 +1121,7 @@ def digest_auth( - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """