bruno/packages/bruno-schema
2022-10-14 21:51:59 +05:30
..
src feat: bruno schema definition for workspace 2022-10-14 21:51:59 +05:30
package.json feat: bruno schema definition for workspace 2022-10-14 21:51:59 +05:30
readme.md chore: updated bruno-schema readme 2022-10-11 03:50:48 +05:30

bruno-schema

The schema definition for collections

Todo

[] Schema validator

Collection schema

id                       Unique id (when persisted to a db)
uid                      Unique id
name                     collection name
items                    Items (folders and requests)
  |-uid                  A unique id   
  |-name                 Request name 
  |-request              Request object
    |-type               Request type (http, graphql)
    |-url                Request url
    |-method             Request method
    |-headers            Request headers (array of key-val)
    |-params             Request params (array of key-val)
    |-body               Request body object  
      |-mode             Request body mode
      |-json             Request json body
      |-text             Request text body
      |-xml              Request xml body
      |-multipartForm    Request multipartForm body
      |-formUrlEncoded   Request formUrlEncoded body