@ancplua/qyl-api-schema 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/streaming.tsp CHANGED
@@ -45,5 +45,5 @@ interface StreamingApi {
45
45
  @query serviceName?: string,
46
46
  @query @minValue(1) @maxValue(24) minSeverity?: int32,
47
47
  @query query?: string,
48
- ): SSEStream<LogEvents> | ValidationError | UnauthorizedError | InternalServerError;
48
+ ): SSEStream<LogEvents> | ValidationError | UnauthorizedError | ServiceUnavailableError | InternalServerError;
49
49
  }
@@ -1629,6 +1629,40 @@
1629
1629
  }
1630
1630
  }
1631
1631
  }
1632
+ },
1633
+ "503": {
1634
+ "description": "Service unavailable (503)",
1635
+ "headers": {
1636
+ "Retry-After": {
1637
+ "required": false,
1638
+ "description": "Expected availability time",
1639
+ "schema": {
1640
+ "type": "integer",
1641
+ "format": "int32"
1642
+ }
1643
+ },
1644
+ "X-Trace-Id": {
1645
+ "required": false,
1646
+ "description": "Trace ID for correlation",
1647
+ "schema": {
1648
+ "type": "string"
1649
+ }
1650
+ },
1651
+ "X-Request-Id": {
1652
+ "required": false,
1653
+ "description": "Request ID for support",
1654
+ "schema": {
1655
+ "type": "string"
1656
+ }
1657
+ }
1658
+ },
1659
+ "content": {
1660
+ "application/problem+json": {
1661
+ "schema": {
1662
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
1663
+ }
1664
+ }
1665
+ }
1632
1666
  }
1633
1667
  },
1634
1668
  "tags": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ancplua/qyl-api-schema",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "TypeSpec source of truth for qyl API contracts. Emits OpenAPI, JSON Schema, Qyl.Api.Contracts DTOs, and TypeScript contract types; not an OpenTelemetry package, storage schema, or server implementation.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {