Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

api blueprint minitest rails

$ bin/rails api:schemas
Generating api schemas from docs/api/documentation.md
yarn run v1.7.0
$ node_modules/.bin/apib2json --pretty -i docs/api/documentation.md -o test/support/schemas/schemas.json
Done in 0.31s.
Writing GET-Users-200
Writing POST-Users-201
Writing POST-Users-422
Schemas are ready at test/support/schemas
Source by mariochavez.io #
 
PREVIOUS NEXT
Tagged: #api #blueprint #minitest #rails
ADD COMMENT
Topic
Name
6+3 =