Skip to content

Commit

Permalink
Merge pull request #548 from openmeterio/openapi/web-client-a3cdb8a
Browse files Browse the repository at this point in the history
[bot] Re-generate Web client
  • Loading branch information
tothandras authored Jan 19, 2024
2 parents a3cdb8a + eba6e2e commit 515bb39
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions api/client/web/src/client/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export interface paths {
*/
post: operations['upsertSubject']
}
'/api/v1/subjects/{subjectIdOrKey}': {
get: operations['getSubject']
delete: operations['deleteSubject']
}
'/api/v1/portal/meters/{meterSlug}/query': {
get: operations['queryPortalMeter']
}
Expand Down Expand Up @@ -294,6 +298,8 @@ export interface components {
parameters: {
/** @description A unique identifier for the meter. */
meterIdOrSlug: components['schemas']['IdOrSlug']
/** @description A unique identifier for a subject. */
subjectIdOrKey: string
/**
* @description Start date-time in RFC 3339 format.
* Inclusive.
Expand Down Expand Up @@ -565,6 +571,37 @@ export interface operations {
default: components['responses']['UnexpectedProblemResponse']
}
}
getSubject: {
parameters: {
path: {
subjectIdOrKey: components['parameters']['subjectIdOrKey']
}
}
responses: {
/** @description OK */
200: {
content: {
'application/json': components['schemas']['Subject']
}
}
default: components['responses']['UnexpectedProblemResponse']
}
}
deleteSubject: {
parameters: {
path: {
subjectIdOrKey: components['parameters']['subjectIdOrKey']
}
}
responses: {
/** @description No Content */
204: {
content: never
}
400: components['responses']['BadRequestProblemResponse']
default: components['responses']['UnexpectedProblemResponse']
}
}
queryPortalMeter: {
parameters: {
query?: {
Expand Down

0 comments on commit 515bb39

Please sign in to comment.