@typespec/compiler 1.7.0-dev.4 → 1.7.0-dev.5

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/dist/manifest.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export default {
2
- "version": "1.7.0-dev.4",
3
- "commit": "8fe8c23d79866af28c0b4397f3f75cc01f5109e0"
2
+ "version": "1.7.0-dev.5",
3
+ "commit": "5c6d6b3a7c747af9c791f3d40af22fd63bceea24"
4
4
  };
@@ -531,11 +531,37 @@ enum BytesKnownEncoding {
531
531
  * Encoding for serializing arrays
532
532
  */
533
533
  enum ArrayEncoding {
534
- /** Each values of the array is separated by a | */
534
+ /**
535
+ * Each value of the array is separated by a pipe character (|).
536
+ * Values can only contain | if the underlying protocol supports encoding them.
537
+ * - json -> error
538
+ * - http -> %7C
539
+ */
535
540
  pipeDelimited,
536
541
 
537
- /** Each values of the array is separated by a <space> */
542
+ /**
543
+ * Each value of the array is separated by a space character.
544
+ * Values can only contain spaces if the underlying protocol supports encoding them.
545
+ * - json -> error
546
+ * - http -> %20
547
+ */
538
548
  spaceDelimited,
549
+
550
+ /**
551
+ * Each value of the array is separated by a comma (,).
552
+ * Values can only contain commas if the underlying protocol supports encoding them.
553
+ * - json -> error
554
+ * - http -> %2C
555
+ */
556
+ commaDelimited,
557
+
558
+ /**
559
+ * Each value of the array is separated by a newline character (\n).
560
+ * Values can only contain newlines if the underlying protocol supports encoding them.
561
+ * - json -> error
562
+ * - http -> %0A
563
+ */
564
+ newlineDelimited,
539
565
  }
540
566
 
541
567
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/compiler",
3
- "version": "1.7.0-dev.4",
3
+ "version": "1.7.0-dev.5",
4
4
  "description": "TypeSpec Compiler Preview",
5
5
  "author": "Microsoft Corporation",
6
6
  "license": "MIT",