bruno/packages/bruno-schema
game5413 2e71e605ea
feat: path parameters (#484)
* add path parameters on bruno-app

* add path parameters on bruno-cli

* fix bruno-schema testing

* fix generate request code not replace path parameter value

---------

Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-05-13 15:44:27 +05:30
..
src feat: path parameters (#484) 2024-05-13 15:44:27 +05:30
.gitignore chore: added package-lock.json to gitignore 2022-10-20 15:16:33 +05:30
license.md Add license information to modules. 2023-09-25 20:57:51 -05:00
package.json chore: updated lib versions 2024-03-13 03:05:29 +05:30
readme.md fix: fixed graphql docs height overflow (#65) 2022-11-08 03:45:30 +05:30

bruno-schema

The schema definition for collections

Publish to Npm Registry

npm publish --access=public

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