Skip to content

Commit

Permalink
redirect_to: Added url and status_code as query-string parameters for…
Browse files Browse the repository at this point in the history
… SwaggerUI. Fixed postmanlabs#476.
  • Loading branch information
javabrett committed Jul 2, 2018
1 parent c39f633 commit d3d33de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions httpbin/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,12 @@ def redirect_to():
produces:
- text/html
parameters:
- name: url
- in: query
name: url
type: string
- name: status_code
required: true
- in: query
name: status_code
type: int
responses:
302:
Expand Down

0 comments on commit d3d33de

Please sign in to comment.