Query strings in paths do not throw validation error

Đang mở
#118 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
openapi, python
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
Python
Star
409
Fork
73
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-openapi/openapi-spec-validator

Tất cả issue của python-openapi/openapi-spec-validator

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.