mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-16 09:50:17 +01:00
* 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> * feat: Refactor request parameter handling - Update prepare-request.js to filter and rename 'paths' to 'params' with type 'path' - Remove 'paths' from export.js and interpolate-vars.js - Update bru.js to use 'params' instead of 'path' - Update requestSchema in index.js to use 'keyValueWithTypeSchema' for 'params' Co-authored-by: game5413 <febryanph10@gmail.com> Co-authored-by: Anoop M D <anoop.md1421@gmail.com> * feat: Refactor request parameter handling * refactor: changes form the review * refactor: Refactor transformItemsInCollection handling * refactor: Refactor improved export/import functionalities * refactor: Remove console.log statement in bruToJson.js --------- Co-authored-by: game5413 <37659721+game5413@users.noreply.github.com> Co-authored-by: game5413 <febryanph10@gmail.com> Co-authored-by: Anoop M D <anoop.md1421@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
license.md | ||
package.json | ||
readme.md |
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