upd
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
const swaggerAutogen = require('swagger-autogen')({ openapi: '3.0.0' });
|
||||
const config = require('config');
|
||||
const { Munisipo } = require('entity');
|
||||
|
||||
const doc = {
|
||||
info: {
|
||||
@ -118,6 +117,29 @@ const doc = {
|
||||
$poli_id: "uuid-string",
|
||||
$status: "Y"
|
||||
},
|
||||
serviceType: {
|
||||
$name: "Registration & Tickets",
|
||||
$status: { "@enum": ["Y", "N"] }
|
||||
},
|
||||
serviceClass: {
|
||||
$name: "Class name"
|
||||
},
|
||||
service: {
|
||||
$name: "e.g. ER Registration",
|
||||
$service_type_id: "uuid-string",
|
||||
$room_ids: ["uuid-string"]
|
||||
},
|
||||
serviceFare: {
|
||||
$service_class_id: "uuid-string",
|
||||
$service_id: "uuid-string",
|
||||
$fare: 100000
|
||||
},
|
||||
servicePackage: {
|
||||
$name: "Package name",
|
||||
$service_class_id: "uuid-string",
|
||||
$fare: 500000,
|
||||
$service_ids: ["uuid-string"]
|
||||
},
|
||||
},
|
||||
parameters: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user