@sentry/api 0.413.0 → 0.415.0
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/README.md +3 -1
- package/dist/operation-types.d.ts +6 -0
- package/dist/operations.js +532 -266
- package/dist/types.gen.d.ts +11 -0
- package/dist/valibot.gen.d.ts +5 -0
- package/dist/valibot.js +5 -0
- package/dist/zod.gen.d.ts +17 -0
- package/dist/zod.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,7 +98,9 @@ const logOperations = operations.filter(operation =>
|
|
|
98
98
|
console.log(logOperations.map(({ functionName, method, path }) => ({ functionName, method, path })));
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
Each `ApiOperation` records the actual exported `functionName`, original OpenAPI `operationId`, method, path, summary, description, tags, path parameter names, query metadata,
|
|
101
|
+
Each `ApiOperation` records the actual exported `functionName`, original OpenAPI `operationId`, method, path, summary, description, tags, path parameter names, query metadata, explicit deprecation flag, and `idempotent` flag. `ApiQueryParameter` includes the name, required flag, description, type, and declared enum values (item values for arrays). Operation parameters override inherited path parameters.
|
|
102
|
+
|
|
103
|
+
`idempotent` tells retrying clients whether resending an identical request after a timeout or 5xx response is safe. It is always `true` for `GET`, `HEAD`, `OPTIONS`, and `TRACE`. Other methods are `true` only when Sentry marks the operation with the `x-sentry-idempotent` OpenAPI extension; `false` means not known to be idempotent, not known to be unsafe.
|
|
102
104
|
|
|
103
105
|
The catalog is generated from the same schema and SDK output as each release. Consumers own search, grouping, ranking, and command aliases; the catalog does not fetch a live schema or infer undocumented API behavior.
|
|
104
106
|
|
|
@@ -33,4 +33,10 @@ export type ApiOperation = {
|
|
|
33
33
|
readonly queryParameters: readonly ApiQueryParameter[];
|
|
34
34
|
/** Whether OpenAPI explicitly marks the operation deprecated. */
|
|
35
35
|
readonly deprecated: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether resending an identical request after a timeout or 5xx cannot change the outcome.
|
|
38
|
+
* Always true for GET, HEAD, OPTIONS, and TRACE; other methods only when Sentry marks them
|
|
39
|
+
* with `x-sentry-idempotent`. False means "not known to be idempotent".
|
|
40
|
+
*/
|
|
41
|
+
readonly idempotent: boolean;
|
|
36
42
|
};
|