Skip to content

Commit

Permalink
doc(readme): simplify renderJsonSchema description in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSaba committed Feb 14, 2024
1 parent 32668b8 commit a571102
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ The implemented functions are:
- takes in parameters a schema with localized descriptions and the locale for which we want the description (default value is `'en'`)
- returns the description for the wanted locale, or `undefined` if not found
- `renderJsonSchema`:
- it can take in parameters the locale for which we want the description and a schema with localized descriptions and returns the `JSONSchema6` equivalent with the selected locale
- it can take in parameters the locale for which we want the description and a boolean and returns the boolean
- it can take in parameters the locale for which we want the description and an undefined schema and returns `undefined`
- it can take in parameters the locale for which we want the description and an optional schema with localized descriptions or boolean and returns the `JSONSchema6Definition` equivalent with the selected locale
- takes in parameters the locale for which we want the description and a schema with localized descriptions
- returns the `JSONSchema6` equivalent with the selected locale

0 comments on commit a571102

Please sign in to comment.