Query strings in paths do not throw validation error

Aperta
#118 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
openapi, python
Ambito
api

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python-openapi/openapi-spec-validator

Tutte le issue di python-openapi/openapi-spec-validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.