@apifreaks/openapi-specs 0.4.16 → 0.4.18

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.
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Live Commodity Prices API - Real Time Market Insights",
5
5
  "version": "2.0.0",
6
- "description": "Real-time prices for 245+ commodities in a single request, updated on a rolling ~1 minute cadence. Optionally convert prices into a target quote currency. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.",
6
+ "description": "Real-time prices for 520+ commodities in a single request, updated on a rolling ~1 minute cadence. Optionally convert prices into a target quote currency. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -133,7 +133,7 @@
133
133
  },
134
134
  "unresolved": {
135
135
  "FAKESYM": {
136
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
136
+ "message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
137
137
  }
138
138
  }
139
139
  }
@@ -241,7 +241,7 @@
241
241
  "message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
242
242
  "unresolved": {
243
243
  "FAKESYM": {
244
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
244
+ "message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
245
245
  }
246
246
  }
247
247
  }
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Commodity Symbols API Reference",
5
5
  "version": "2.0.0",
6
- "description": "Full catalog of 245+ supported commodities across Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, and Livestock, with pricing currency, unit, and update interval per symbol. Deprecated symbols stay listed with `status: \"inactive\"` and a `deprecationDate`.",
6
+ "description": "Full catalog of 520+ supported commodities across Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, and Livestock, with pricing currency, unit, and update interval per symbol. Deprecated symbols stay listed with `status: \"inactive\"` and a `deprecationDate`.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -191,7 +191,7 @@
191
191
  },
192
192
  "unresolved": {
193
193
  "FAKESYM": {
194
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
194
+ "message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
195
195
  }
196
196
  }
197
197
  }
@@ -307,7 +307,7 @@
307
307
  "message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
308
308
  "unresolved": {
309
309
  "FAKESYM": {
310
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
310
+ "message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
311
311
  }
312
312
  }
313
313
  }
@@ -135,7 +135,7 @@
135
135
  },
136
136
  "unresolved": {
137
137
  "FAKESYM": {
138
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
138
+ "message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
139
139
  }
140
140
  }
141
141
  }
@@ -241,7 +241,7 @@
241
241
  "message": "The symbol is not supported, please visit the documentation for a list of supported symbols",
242
242
  "unresolved": {
243
243
  "FAKESYM": {
244
- "message": "We don't support this symbol, please visit our symbols page to see supported symbols."
244
+ "message": "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
245
245
  }
246
246
  }
247
247
  }
@@ -341,9 +341,11 @@
341
341
  "$ref": "#/components/schemas/DisposableDnsObject"
342
342
  },
343
343
  "ip": {
344
- "type": "string",
345
- "format": "ip",
346
- "description": "The IP address that was looked up. Present only when an ip was sent in the request."
344
+ "description": "The IP address that was looked up.",
345
+ "anyOf": [
346
+ { "type": "string", "format": "ipv4" },
347
+ { "type": "string", "format": "ipv6" }
348
+ ]
347
349
  },
348
350
  "address": {
349
351
  "$ref": "#/components/schemas/AddressObject"
@@ -417,7 +419,7 @@
417
419
  "properties": {
418
420
  "emailData": {
419
421
  "type": "array",
420
- "description": "Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email — either condition rejects the whole request with a 400.",
422
+ "description": "Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email.",
421
423
  "minItems": 1,
422
424
  "maxItems": 100,
423
425
  "items": {
@@ -460,12 +462,14 @@
460
462
  "properties": {
461
463
  "email": {
462
464
  "type": "string",
463
- "description": "The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false."
465
+ "description": "The email address to check."
464
466
  },
465
467
  "ip": {
466
- "type": "string",
467
- "format": "ip",
468
- "description": "Optional IP address to look up for location and security data, such as the IP the signup came from. An invalid or reserved IP still returns 200, with address.validIpAddress set to false."
468
+ "description": "Optional IP address to look up for location and security data, such as the IP the signup came from.",
469
+ "anyOf": [
470
+ { "type": "string", "format": "ipv4" },
471
+ { "type": "string", "format": "ipv6" }
472
+ ]
469
473
  }
470
474
  }
471
475
  },
@@ -483,7 +487,7 @@
483
487
  "$ref": "#/components/schemas/EmailSecurity"
484
488
  }
485
489
  },
486
- "description": "Geolocation and security enrichment data for the IP address. Present only when an ip was sent in the request. If the IP lookup fails, this object is omitted and the disposable email result is unaffected.",
490
+ "description": "Geolocation and security enrichment data for the IP address.",
487
491
  "required": []
488
492
  },
489
493
  "EmailLocation": {
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "responses": {
39
39
  "200": {
40
- "description": "Successful response with disposable email check result. ip and address appear only when an ip was sent.",
40
+ "description": "Successful response with disposable email check result.",
41
41
  "content": {
42
42
  "application/json": {
43
43
  "schema": {
@@ -419,9 +419,11 @@
419
419
  "$ref": "#/components/schemas/DisposableDnsObject"
420
420
  },
421
421
  "ip": {
422
- "type": "string",
423
- "format": "ip",
424
- "description": "The IP address that was looked up. Present only when an ip was sent in the request."
422
+ "description": "The IP address that was looked up.",
423
+ "anyOf": [
424
+ { "type": "string", "format": "ipv4" },
425
+ { "type": "string", "format": "ipv6" }
426
+ ]
425
427
  },
426
428
  "address": {
427
429
  "$ref": "#/components/schemas/AddressObject"
@@ -524,12 +526,14 @@
524
526
  "email": {
525
527
  "type": "string",
526
528
  "format": "email",
527
- "description": "The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false."
529
+ "description": "The email address to check."
528
530
  },
529
531
  "ip": {
530
- "type": "string",
531
- "format": "ip",
532
- "description": "Optional IP address to look up for location and security data, such as the IP the signup came from. An invalid or reserved IP still returns 200, with address.validIpAddress set to false."
532
+ "description": "Optional IP address to look up for location and security data, such as the IP the signup came from.",
533
+ "anyOf": [
534
+ { "type": "string", "format": "ipv4" },
535
+ { "type": "string", "format": "ipv6" }
536
+ ]
533
537
  }
534
538
  }
535
539
  },
@@ -547,7 +551,7 @@
547
551
  "$ref": "#/components/schemas/EmailSecurity"
548
552
  }
549
553
  },
550
- "description": "Geolocation and security enrichment data for the IP address. Present only when an ip was sent in the request. If the IP lookup fails, this object is omitted and the disposable email result is unaffected.",
554
+ "description": "Geolocation and security enrichment data for the IP address.",
551
555
  "required": []
552
556
  },
553
557
  "EmailLocation": {