Query strings in paths do not throw validation error
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start by loading the linked Flickr OpenAPI schema and checking how the validator processes the example path /rest?method=flickr.favorites.getContext. Compare the result with the Swagger documentation and editor behavior; done means the validator reports a validation error for query strings embedded in paths.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi!
According to the Swagger documentation about Query String in Paths
Query string parameters must not be included in paths. They should be defined as query parameters instead
but I tried the validator with this schema that does contain query string parameters, and it seems that the error is not detected. Example path: /rest?method=flickr.favorites.getContext
(When pasting that schema in the swagger editor the errors are displayed)
- Lingua principale
- Python
- Stelle
- 409
- Fork
- 73
- 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-spec-validator
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
python-openapi/openapi-spec-validator#400 · 1 commento ·
-
kind/bug/confirmed
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-openapi/openapi-spec-validator#373 · 1 commento ·
Tutte le issue di python-openapi/openapi-spec-validator
Issue simili
-
documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
simonw/sqlite-utils#872 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100