FIX: docker build with database and swagger api
This commit is contained in:
@@ -21,7 +21,7 @@ paths:
|
||||
description: Update an existing booking by Id
|
||||
operationId: updateBooking
|
||||
parameters:
|
||||
- name: counterID
|
||||
- name: counter_id
|
||||
in: query
|
||||
description: Booking ID to update
|
||||
required: true
|
||||
@@ -51,7 +51,7 @@ paths:
|
||||
summary: Gets all the bookings limited
|
||||
description: Returns all the bookings optionally filtered with cardID
|
||||
parameters:
|
||||
- name: cardID
|
||||
- name: card_uid
|
||||
in: query
|
||||
description: CardID to filter for
|
||||
required: false
|
||||
@@ -77,19 +77,19 @@ paths:
|
||||
description: Creates a new booking with the supplied parameters
|
||||
operationId: createBooking
|
||||
parameters:
|
||||
- name: cardID
|
||||
- name: card_uid
|
||||
in: query
|
||||
description: id of the RFID card scanned
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: geraetID
|
||||
- name: geraet_id
|
||||
in: query
|
||||
description: id of the RFID reader scanning the card
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: checkInOut
|
||||
- name: check_in_out
|
||||
in: query
|
||||
description: booking Type
|
||||
required: true
|
||||
@@ -113,17 +113,17 @@ components:
|
||||
Booking:
|
||||
type: object
|
||||
properties:
|
||||
counterID:
|
||||
counter_id:
|
||||
type: integer
|
||||
format: int64
|
||||
example: 100
|
||||
cardID:
|
||||
card_uid:
|
||||
type: string
|
||||
example: test_card
|
||||
geraetID:
|
||||
geraet_id:
|
||||
type: string
|
||||
example: test_reader
|
||||
checkInOut:
|
||||
check_in_out:
|
||||
type: integer
|
||||
example: 1
|
||||
enum:
|
||||
|
||||
Reference in New Issue
Block a user