diff --git a/openapi/backend/openapi.yaml b/openapi/backend/openapi.yaml index c479fe2d..29c91110 100644 --- a/openapi/backend/openapi.yaml +++ b/openapi/backend/openapi.yaml @@ -757,18 +757,26 @@ components: baseline: $ref: '#/components/schemas/BaselineInfo' usage: - type: number - format: float - description: > - Latest snapshot of the usage metric for the given feature. - minimum: 0.0 - maximum: 100.0 + type: object + properties: + chromium: + $ref: '#/components/schemas/UsageInfo' wpt: $ref: '#/components/schemas/FeatureWPTSnapshots' required: - feature_id - name - baseline_status + UsageInfo: + type: object + properties: + daily: + type: number + format: float + description: > + Latest snapshot of the usage metric for the given feature. + minimum: 0.0 + maximum: 100.0 BasicErrorModel: type: object required: