Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Oct 4, 2023
1 parent ab81e2a commit f45517c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ As you can see, if a field name has a `json:""` tag set, the `key` argument to `

Sometimes it can be useful to have custom JSON Marshal and Unmarshal methods in your structs that automatically convert for example a string into an object.

This library will recognize and attempt to call three different methods that help you adjust schemas to your specific needs:
This library will recognize and attempt to call four different methods that help you adjust schemas to your specific needs:

- `JSONSchema() *Schema` - will prevent auto-generation of the schema so that you can provide your own definition.
- `JSONSchemaExtend(schema *jsonschema.Schema)` - will be called _after_ the schema has been generated, allowing you to add or manipulate the fields easily.
Expand Down

0 comments on commit f45517c

Please sign in to comment.