bruno/packages/bruno-schema
2022-11-07 03:13:22 +05:30
..
src feat: graphql support (#65) 2022-11-07 02:56:58 +05:30
.gitignore chore: added package-lock.json to gitignore 2022-10-20 15:16:33 +05:30
package.json chore: release bruno-schema 0.2.0 2022-11-07 03:13:22 +05:30
readme.md feat: published @usebruno/schema 2022-10-17 03:03:32 +05:30

bruno-schema

The schema definition for collections

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                 Item name 
  |-type                 Item type  (folder, http-request, graphql-request)
  |-request              Request object
    |-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