@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 +2 -2
- package/lib/std/decorators.tsp +28 -2
- package/package.json +1 -1
package/dist/manifest.js
CHANGED
package/lib/std/decorators.tsp
CHANGED
|
@@ -531,11 +531,37 @@ enum BytesKnownEncoding {
|
|
|
531
531
|
* Encoding for serializing arrays
|
|
532
532
|
*/
|
|
533
533
|
enum ArrayEncoding {
|
|
534
|
-
/**
|
|
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
|
-
/**
|
|
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
|
/**
|