parameter by path works too

This commit is contained in:
Wolfgang Hottgenroth 2021-11-25 14:54:18 +01:00
parent 10c3cab432
commit 26334719de
Signed by: wn
GPG Key ID: E49AF3B9EF6DD469
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ paths:
# responses:
# 201:
# description: Your items has been inserted
/pdb/v2/test1/specificSelectName:
/pdb/v2/test1/specificSelectName/{nr}:
get:
tags: [ "Regular" ]
operationId: Regular.test1specificSelectName
@ -58,7 +58,7 @@ paths:
ipsum dolor sit amet.
parameters:
- name: nr
in: query
in: path
required: true
schema:
type: integer

View File

@ -68,7 +68,7 @@ $sep#slurp
#if $inputType['in'] == 'query'
[FromQuery #slurp
#elif $inputType['in'] == 'path'
[FromPath #slurp
[FromRoute #slurp
#else
#raise Exception('Invalid in for paramInput')
#end if