Logo
Explore Help
Sign In
Mirrors/mealie
1
0
Fork 0
You've already forked mealie
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-10-29 17:24:31 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
91cd00976a27a099504da07bf310f356386048b1
mealie/tests/unit_tests/test_open_api.py

9 lines
237 B
Python
Raw Normal View History

chore: mypy, ruff, extract, openapi, and recipes-scraper updates (#1968) * bump ruff and mypy * mypy fixes * bump and fix openapi * drop debug statement * bump extruct * bump recipes-scrapers
2023-01-01 14:47:27 -08:00
from openapi_spec_validator import openapi_v30_spec_validator, validate_spec
fix: validate OpenAPI spec (#1528) * init api check test * Fix openAPI issues Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-08-07 02:54:29 +02:00
from mealie.app import app
def test_validate_open_api_spec():
open_api = app.openapi()
chore: mypy, ruff, extract, openapi, and recipes-scraper updates (#1968) * bump ruff and mypy * mypy fixes * bump and fix openapi * drop debug statement * bump extruct * bump recipes-scrapers
2023-01-01 14:47:27 -08:00
validate_spec(open_api, validator=openapi_v30_spec_validator)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 28ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API