Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document usage better in readme #103

Open
hixfield opened this issue Jan 24, 2021 · 1 comment
Open

Document usage better in readme #103

hixfield opened this issue Jan 24, 2021 · 1 comment

Comments

@hixfield
Copy link

I propose to updated the readme to make these use cases clearer:

  • how to load a schema embedded in the app?
  • how to load a schema via a (public) url?
  • based on a swift model that is compliant with (en)Codable, take this model, serialize is to json, and validate it to one of the above schemas

(I'm staring at the code now for 15min trying to figure this out based on the test cases....)

@hixfield
Copy link
Author

I have created PR #104 with a detailed real world example and updated the readme. Let me know what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant