Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[Question]: Is there a way to disable ServerNotFound check

Offen
#264 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
openapi, python
Bereich
api

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area/validation/request kind/question

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)
Vorherrschende Sprache
Python
Sterne
368
Forks
140
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python-openapi/openapi-core

Alle Issues in python-openapi/openapi-core

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.