chore: update OpenAPI spec, Angular config, and dev application settings
This commit is contained in:
parent
ffa501e89f
commit
f1cf152091
@ -1,6 +1,14 @@
|
|||||||
spring:
|
spring:
|
||||||
jpa:
|
jpa:
|
||||||
show-sql: true
|
show-sql: true
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
max-file-size: 50MB
|
||||||
|
max-request-size: 50MB
|
||||||
|
timeout:
|
||||||
|
http:
|
||||||
|
connect: 300000
|
||||||
|
read: 300000
|
||||||
jwt:
|
jwt:
|
||||||
secret: dev-only-secret-do-not-use-in-production-2025
|
secret: dev-only-secret-do-not-use-in-production-2025
|
||||||
app:
|
app:
|
||||||
|
|||||||
@ -72,7 +72,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"builder": "@angular/build:unit-test"
|
"builder": "@angular/build:unit-test",
|
||||||
|
"options": {
|
||||||
|
"runnerConfig": "vitest.config.ts"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -703,6 +703,31 @@ paths:
|
|||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserStats"
|
$ref: "#/components/schemas/UserStats"
|
||||||
|
/api/dashboard/user/metering-data/overview:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- dashboard-controller
|
||||||
|
operationId: getMeteringDataOverview
|
||||||
|
parameters:
|
||||||
|
- name: from
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
- name: to
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
content:
|
||||||
|
'*/*':
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/MeteringDataOverview"
|
||||||
/api/dashboard/admin:
|
/api/dashboard/admin:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -1502,6 +1527,45 @@ components:
|
|||||||
pendingMemberships:
|
pendingMemberships:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
MeteringDataOverview:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
meteringPoints:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/MeteringPointSummary"
|
||||||
|
timeSeries:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/TimeSeriesEntry"
|
||||||
|
MeteringPointSummary:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
atNumber:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- CONSUMER
|
||||||
|
- PRODUCER
|
||||||
|
- PROSUMER
|
||||||
|
totalKwh:
|
||||||
|
type: number
|
||||||
|
format: double
|
||||||
|
TimeSeriesEntry:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
timestamp:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
values:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: number
|
||||||
|
format: double
|
||||||
AdminStats:
|
AdminStats:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user