We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
こちらのスライドを見てとても興味を持ったので、ぜひUsageを教えていただきたいです!
https://speakerdeck.com/kenchan/real-world-json-hyper-schema
The text was updated successfully, but these errors were encountered:
興味をもっていただいてありがとうございます!
私はこれの存在を数ヶ月ぶりに思いだしたレベルなので、週末あたりにREADME書きます!
基本的には標準入力からJSONをうけとって、標準出力にJSON Schemaをはきだすような作りになっています。ただ、gemとしてリリースしていなかったことに気付いたのでGemfileにgithub指定すると使えます…
こんなかんじです。
$ cat Gemfile source "https://rubygems.org" gem 'schemize', github: 'kenchan/schemize' $ bundle exec schemize < test.json --- schema: type: array items: type: object properties: firstName: type: string lastName: type: string age: type: integer
また、cliではなくプログラム中で使いたい場合は https://github.com/kenchan/schemize/blob/master/test/acceptance/converter_test.rb こちらが参考になるかと思います。
Sorry, something went wrong.
No branches or pull requests
こちらのスライドを見てとても興味を持ったので、ぜひUsageを教えていただきたいです!
https://speakerdeck.com/kenchan/real-world-json-hyper-schema
The text was updated successfully, but these errors were encountered: