Rename custom-formats.yaml to string-formats.yaml (#1977)

It does not contain only custom formats, so the name didn't fit anymore.
Update also the docs to reflect that.
This commit is contained in:
Kévin Commaille 2024-10-30 23:30:31 +01:00 committed by GitHub
parent 88f0c56ad9
commit 1e0919ad12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 16 deletions

View file

@ -39,8 +39,8 @@ is a property to convey semantic information about a schema. We define
`x-pattern-format` as a key on the schemas under `patternProperties` with the
same use as `format`, but that applies to the pattern of the property. We also
define custom values for formats with the `mx-` prefix in
`data/custom-formats.yaml`. Those values are recognized in the rendered
specification and link to the definition of the format.
`data/string-formats.yaml`. The values in this file are recognized in the
rendered specification and link to the definition of the format.
## Custom `x-weight` key