Update README with note about existingfile and -.
This commit is contained in:
@@ -370,12 +370,12 @@ Kong includes a number of builtin custom type mappers. These can be used by
|
|||||||
specifying the tag `type:"<type>"`. They are registered with the option
|
specifying the tag `type:"<type>"`. They are registered with the option
|
||||||
function `NamedMapper(name, mapper)`.
|
function `NamedMapper(name, mapper)`.
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description
|
||||||
|-------------------|---------------------------------------------------|
|
|-------------------|---------------------------------------------------
|
||||||
| `path` | A path. ~ expansion is applied. |
|
| `path` | A path. ~ expansion is applied.
|
||||||
| `existingfile` | An existing file. ~ expansion is applied. |
|
| `existingfile` | An existing file. ~ expansion is applied. `-` is accepted for stdin.
|
||||||
| `existingdir` | An existing directory. ~ expansion is applied. |
|
| `existingdir` | An existing directory. ~ expansion is applied.
|
||||||
| `counter` | Increment a numeric field. Useful for `-vvv` |
|
| `counter` | Increment a numeric field. Useful for `-vvv`
|
||||||
|
|
||||||
|
|
||||||
Slices and maps treat type tags specially. For slices, the `type:""` tag
|
Slices and maps treat type tags specially. For slices, the `type:""` tag
|
||||||
|
|||||||
Reference in New Issue
Block a user