drop mislocated put definition from yaml
This commit is contained in:
parent
6470aa5358
commit
d21a5986a8
252
api/openapi.yaml
252
api/openapi.yaml
@ -56,27 +56,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/account'
|
$ref: '#/components/schemas/account'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "account" ]
|
|
||||||
summary: Update a account
|
|
||||||
operationId: methods.update_account
|
|
||||||
requestBody:
|
|
||||||
description: account
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/account'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: account successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/account'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/accounts/{accountId}:
|
/v1/accounts/{accountId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "account" ]
|
tags: [ "account" ]
|
||||||
@ -163,27 +142,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/tenant'
|
$ref: '#/components/schemas/tenant'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "tenant" ]
|
|
||||||
summary: Update a tenant
|
|
||||||
operationId: methods.update_tenant
|
|
||||||
requestBody:
|
|
||||||
description: tenant
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/tenant'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: tenant successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/tenant'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/tenants/{tenantId}:
|
/v1/tenants/{tenantId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "tenant" ]
|
tags: [ "tenant" ]
|
||||||
@ -270,27 +228,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/premise'
|
$ref: '#/components/schemas/premise'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "premise" ]
|
|
||||||
summary: Update a premise
|
|
||||||
operationId: methods.update_premise
|
|
||||||
requestBody:
|
|
||||||
description: premise
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/premise'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: premise successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/premise'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/premises/{premiseId}:
|
/v1/premises/{premiseId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "premise" ]
|
tags: [ "premise" ]
|
||||||
@ -377,27 +314,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/flat'
|
$ref: '#/components/schemas/flat'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "flat" ]
|
|
||||||
summary: Update a flat
|
|
||||||
operationId: methods.update_flat
|
|
||||||
requestBody:
|
|
||||||
description: flat
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/flat'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: flat successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/flat'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/flats/{flatId}:
|
/v1/flats/{flatId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "flat" ]
|
tags: [ "flat" ]
|
||||||
@ -484,27 +400,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/overhead_advance'
|
$ref: '#/components/schemas/overhead_advance'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "overhead_advance" ]
|
|
||||||
summary: Update a overhead_advance
|
|
||||||
operationId: methods.update_overhead_advance
|
|
||||||
requestBody:
|
|
||||||
description: overhead_advance
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/overhead_advance'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: overhead_advance successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/overhead_advance'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/overhead_advances/{overhead_advanceId}:
|
/v1/overhead_advances/{overhead_advanceId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "overhead_advance" ]
|
tags: [ "overhead_advance" ]
|
||||||
@ -591,27 +486,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/overhead_advance_flat_mapping'
|
$ref: '#/components/schemas/overhead_advance_flat_mapping'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "overhead_advance_flat_mapping" ]
|
|
||||||
summary: Update a overhead_advance_flat_mapping
|
|
||||||
operationId: methods.update_overhead_advance_flat_mapping
|
|
||||||
requestBody:
|
|
||||||
description: overhead_advance_flat_mapping
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/overhead_advance_flat_mapping'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: overhead_advance_flat_mapping successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/overhead_advance_flat_mapping'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/overhead_advance_flat_mappings/{overhead_advance_flat_mappingId}:
|
/v1/overhead_advance_flat_mappings/{overhead_advance_flat_mappingId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "overhead_advance_flat_mapping" ]
|
tags: [ "overhead_advance_flat_mapping" ]
|
||||||
@ -671,27 +545,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/parking'
|
$ref: '#/components/schemas/parking'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "parking" ]
|
|
||||||
summary: Update a parking
|
|
||||||
operationId: methods.update_parking
|
|
||||||
requestBody:
|
|
||||||
description: parking
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/parking'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: parking successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/parking'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/parkings/{parkingId}:
|
/v1/parkings/{parkingId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "parking" ]
|
tags: [ "parking" ]
|
||||||
@ -778,27 +631,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/commercial_premise'
|
$ref: '#/components/schemas/commercial_premise'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "commercial_premise" ]
|
|
||||||
summary: Update a commercial_premise
|
|
||||||
operationId: methods.update_commercial_premise
|
|
||||||
requestBody:
|
|
||||||
description: commercial_premise
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/commercial_premise'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: commercial_premise successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/commercial_premise'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/commercial_premises/{commercial_premiseId}:
|
/v1/commercial_premises/{commercial_premiseId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "commercial_premise" ]
|
tags: [ "commercial_premise" ]
|
||||||
@ -885,27 +717,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/tenancy'
|
$ref: '#/components/schemas/tenancy'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "tenancy" ]
|
|
||||||
summary: Update a tenancy
|
|
||||||
operationId: methods.update_tenancy
|
|
||||||
requestBody:
|
|
||||||
description: tenancy
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/tenancy'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: tenancy successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/tenancy'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/tenancys/{tenancyId}:
|
/v1/tenancys/{tenancyId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "tenancy" ]
|
tags: [ "tenancy" ]
|
||||||
@ -992,27 +803,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/fee'
|
$ref: '#/components/schemas/fee'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "fee" ]
|
|
||||||
summary: Update a fee
|
|
||||||
operationId: methods.update_fee
|
|
||||||
requestBody:
|
|
||||||
description: fee
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/fee'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: fee successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/fee'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/fees/{feeId}:
|
/v1/fees/{feeId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "fee" ]
|
tags: [ "fee" ]
|
||||||
@ -1099,27 +889,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/tenancy_fee_mapping'
|
$ref: '#/components/schemas/tenancy_fee_mapping'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "tenancy_fee_mapping" ]
|
|
||||||
summary: Update a tenancy_fee_mapping
|
|
||||||
operationId: methods.update_tenancy_fee_mapping
|
|
||||||
requestBody:
|
|
||||||
description: tenancy_fee_mapping
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/tenancy_fee_mapping'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: tenancy_fee_mapping successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/tenancy_fee_mapping'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/tenancy_fee_mappings/{tenancy_fee_mappingId}:
|
/v1/tenancy_fee_mappings/{tenancy_fee_mappingId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "tenancy_fee_mapping" ]
|
tags: [ "tenancy_fee_mapping" ]
|
||||||
@ -1179,27 +948,6 @@ paths:
|
|||||||
$ref: '#/components/schemas/account_entry'
|
$ref: '#/components/schemas/account_entry'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "account_entry" ]
|
|
||||||
summary: Update a account_entry
|
|
||||||
operationId: methods.update_account_entry
|
|
||||||
requestBody:
|
|
||||||
description: account_entry
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/account_entry'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: account_entry successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/account_entry'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/account_entrys/{account_entryId}:
|
/v1/account_entrys/{account_entryId}:
|
||||||
get:
|
get:
|
||||||
tags: [ "account_entry" ]
|
tags: [ "account_entry" ]
|
||||||
|
@ -52,27 +52,6 @@ paths:
|
|||||||
\$ref: '#/components/schemas/$table.name'
|
\$ref: '#/components/schemas/$table.name'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
put:
|
|
||||||
tags: [ "$table.name" ]
|
|
||||||
summary: Update a ${table.name}
|
|
||||||
operationId: methods.update_${table.name}
|
|
||||||
requestBody:
|
|
||||||
description: $table.name
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
\$ref: '#/components/schemas/$table.name'
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: ${table.name} successfully inserted
|
|
||||||
content:
|
|
||||||
'application/json':
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
\$ref: '#/components/schemas/$table.name'
|
|
||||||
security:
|
|
||||||
- jwt: ['secret']
|
|
||||||
/v1/${table.name}s/{${table.name}Id}:
|
/v1/${table.name}s/{${table.name}Id}:
|
||||||
get:
|
get:
|
||||||
tags: [ "$table.name" ]
|
tags: [ "$table.name" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user