[Question]: Is there a way to disable ServerNotFound check
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by tracing RequestValidator with the FlaskOpenAPIRequest and create_spec entry points shown in the issue. Check the existing documentation and tests for configuration that controls ServerNotFound validation, then establish whether body-only validation is supported and what a complete answer or change would require.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
i noticed that if the URL in the request is not one of the listed URLs in the Spec, the validator throws an ServerNotFound exception.
Is there any config that I can pause to the validator to disable this check?
We want to use the validator only to validate the request body.
spec = create_spec(spec_dict)
openapi_request = FlaskOpenAPIRequest(request)
validator = RequestValidator(spec)
result = validator.validate(openapi_request)
- Lingua principale
- Python
- Stelle
- 368
- Fork
- 140
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di python-openapi/openapi-core
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
python-openapi/openapi-core#1188 · 2 commenti ·
-
kind/bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
python-openapi/openapi-core#1225 · 2 commenti ·
-
kind/bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
python-openapi/openapi-core#1212 ·
-
[Bug]: Query parameter validation fails to match empty string when listed as a valid enum value Apertakind/bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
python-openapi/openapi-core#1210 ·
-
kind/bug kind/bug/confirmed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
python-openapi/openapi-core#1180 · 3 commenti ·
Tutte le issue di python-openapi/openapi-core
Issue simili
-
Add: hunch Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DiamondLightSource/dodal#2211 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
openml/openml-python#1749 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
sipyourdrink-ltd/bernstein#6191 ·