Skip to content

Commit

Permalink
API first: change return type of /api/format-version/.../pruefis
Browse files Browse the repository at this point in the history
to reflect the changes necessary for #160
  • Loading branch information
Konstantin committed Jan 27, 2025
1 parent a5b5f2c commit 5a60992
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,15 @@ paths:
schema:
type: array
items:
type: string
example: ['31001', '31002', '31003']
type: object
properties:
pruefidentifikator:
type: string
pattern: '^\\d{5}$'
example: '31001'
name:
type: string
example: 'Pruefidentifikator Name'
/version:
get:
tags:
Expand Down

0 comments on commit 5a60992

Please sign in to comment.