mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4382] [MERGED] feat: save api response #4779
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4779
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4382
Author: @nivedin
Created: 9/26/2024
Status: ✅ Merged
Merged: 9/30/2024
Merged by: @jamesgeorge007
Base:
next← Head:feat/save-api-response📝 Commits (10+)
d137364chore: add new request version with responsef798be0chore: add response UI2355165chore: add i18n locale40ae223chore: update Tab typesc0e865dchore: add response saving flowc73cafbchore: update lenses to edit for example responses556fc99chore: update tab typef358c65chore: update test436b9f7chore: update response via lensese79733dchore: update response save flow📊 Changes
84 files changed (+3074 additions, -315 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+15 -2)📝
packages/hoppscotch-common/src/components.d.ts(+8 -0)📝
packages/hoppscotch-common/src/components/app/spotlight/entry/RESTRequest.vue(+2 -2)📝
packages/hoppscotch-common/src/components/collections/AddRequest.vue(+3 -0)📝
packages/hoppscotch-common/src/components/collections/Collection.vue(+1 -1)➕
packages/hoppscotch-common/src/components/collections/EditResponse.vue(+95 -0)➕
packages/hoppscotch-common/src/components/collections/ExampleResponse.vue(+247 -0)📝
packages/hoppscotch-common/src/components/collections/MyCollections.vue(+54 -3)📝
packages/hoppscotch-common/src/components/collections/Request.vue(+57 -3)📝
packages/hoppscotch-common/src/components/collections/SaveRequest.vue(+26 -4)📝
packages/hoppscotch-common/src/components/collections/TeamCollections.vue(+53 -4)📝
packages/hoppscotch-common/src/components/collections/index.vue(+568 -28)📝
packages/hoppscotch-common/src/components/embeds/Request.vue(+2 -2)📝
packages/hoppscotch-common/src/components/embeds/index.vue(+2 -2)📝
packages/hoppscotch-common/src/components/graphql/RequestOptions.vue(+6 -2)📝
packages/hoppscotch-common/src/components/history/index.vue(+1 -0)📝
packages/hoppscotch-common/src/components/http/ImportCurl.vue(+2 -0)📝
packages/hoppscotch-common/src/components/http/Request.vue(+4 -4)📝
packages/hoppscotch-common/src/components/http/RequestOptions.vue(+31 -8)📝
packages/hoppscotch-common/src/components/http/RequestTab.vue(+3 -3)...and 64 more files
📄 Description
Closes HFE-534 #1875
This feature adds the ability to save responses as example for a saved request.
https://github.com/user-attachments/assets/681f7203-ea51-4598-8c27-eb67f7f9fad1
TODO
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.