try string in input type
This commit is contained in:
15
openapi.yaml
15
openapi.yaml
@ -34,26 +34,23 @@ paths:
|
||||
# responses:
|
||||
# 201:
|
||||
# description: Your items has been inserted
|
||||
/pdb/v2/test1/specificSelectName/{nr}:
|
||||
/pdb/v2/test1/specificSelectName/{txt}:
|
||||
get:
|
||||
tags: [ "Regular" ]
|
||||
operationId: Regular.test1specificSelectName
|
||||
summary: Returns entries from table test1 using a dedicated select statement
|
||||
description:
|
||||
STATEMENTBEGIN
|
||||
select txt
|
||||
select nr, txt
|
||||
from test1
|
||||
where nr = @nr
|
||||
where txt = @txt
|
||||
STATEMENTEND
|
||||
INPUTMAPPINGBEGIN
|
||||
nr = Nummer
|
||||
INPUTMAPPINGEND
|
||||
parameters:
|
||||
- name: nr
|
||||
- name: txt
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: integer
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: Here are your test1 items
|
||||
@ -86,3 +83,5 @@ components:
|
||||
properties:
|
||||
txt:
|
||||
type: string
|
||||
nr:
|
||||
type: integer
|
||||
|
Reference in New Issue
Block a user