@platformatic/service 2.5.5 → 2.6.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.
Files changed (3) hide show
  1. package/config.d.ts +27 -7
  2. package/package.json +10 -10
  3. package/schema.json +2 -2
package/config.d.ts CHANGED
@@ -364,13 +364,13 @@ export interface PathItem {
364
364
  servers?: Server[];
365
365
  parameters?: ParameterOrReference[];
366
366
  get?: Operation;
367
- put?: Operation;
368
- post?: Operation;
369
- delete?: Operation;
370
- options?: Operation;
371
- head?: Operation;
372
- patch?: Operation;
373
- trace?: Operation;
367
+ put?: Operation1;
368
+ post?: Operation1;
369
+ delete?: Operation1;
370
+ options?: Operation1;
371
+ head?: Operation1;
372
+ patch?: Operation1;
373
+ trace?: Operation1;
374
374
  /**
375
375
  * This interface was referenced by `PathItem`'s JSON-Schema definition
376
376
  * via the `patternProperty` "^x-".
@@ -424,6 +424,26 @@ export interface CallbacksOrReference {
424
424
  export interface SecurityRequirement {
425
425
  [k: string]: string[];
426
426
  }
427
+ export interface Operation1 {
428
+ tags?: string[];
429
+ summary?: string;
430
+ description?: string;
431
+ externalDocs?: ExternalDocumentation;
432
+ operationId?: string;
433
+ parameters?: ParameterOrReference[];
434
+ requestBody?: RequestBodyOrReference;
435
+ responses?: Responses;
436
+ callbacks?: {
437
+ [k: string]: CallbacksOrReference;
438
+ };
439
+ security?: SecurityRequirement[];
440
+ servers?: Server[];
441
+ /**
442
+ * This interface was referenced by `Operation1`'s JSON-Schema definition
443
+ * via the `patternProperty` "^x-".
444
+ */
445
+ [k: string]: unknown;
446
+ }
427
447
  export interface PathItemOrReference {
428
448
  [k: string]: unknown;
429
449
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "2.5.5",
3
+ "version": "2.6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -20,7 +20,7 @@
20
20
  "@fastify/aws-lambda": "^5.0.0",
21
21
  "@fastify/compress": "^8.0.0",
22
22
  "bindings": "^1.5.0",
23
- "borp": "^0.17.0",
23
+ "borp": "^0.18.0",
24
24
  "eslint": "9",
25
25
  "json-schema-to-typescript": "^15.0.0",
26
26
  "neostandard": "^0.11.1",
@@ -76,14 +76,14 @@
76
76
  "rfdc": "^1.3.1",
77
77
  "semgrator": "^0.3.0",
78
78
  "undici": "^6.9.0",
79
- "@platformatic/client": "2.5.5",
80
- "@platformatic/metrics": "2.5.5",
81
- "@platformatic/generators": "2.5.5",
82
- "@platformatic/config": "2.5.5",
83
- "@platformatic/scalar-theme": "2.5.5",
84
- "@platformatic/ts-compiler": "2.5.5",
85
- "@platformatic/utils": "2.5.5",
86
- "@platformatic/telemetry": "2.5.5"
79
+ "@platformatic/client": "2.6.0",
80
+ "@platformatic/metrics": "2.6.0",
81
+ "@platformatic/config": "2.6.0",
82
+ "@platformatic/generators": "2.6.0",
83
+ "@platformatic/scalar-theme": "2.6.0",
84
+ "@platformatic/telemetry": "2.6.0",
85
+ "@platformatic/ts-compiler": "2.6.0",
86
+ "@platformatic/utils": "2.6.0"
87
87
  },
88
88
  "scripts": {
89
89
  "test": "pnpm run lint && borp -T --concurrency=1 --timeout=180000 && tsd",
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/service/2.5.5.json",
3
- "version": "2.5.5",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/service/2.6.0.json",
3
+ "version": "2.6.0",
4
4
  "title": "Platformatic Service",
5
5
  "type": "object",
6
6
  "properties": {