mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2243] [MERGED] Open API support for post/put body schemas #3690
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#3690
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/2243
Author: @RishabhAgarwal-2001
Created: 4/8/2022
Status: ✅ Merged
Merged: 6/29/2022
Merged by: @AndrewBastin
Base:
orphan-pr/2243← Head:2087-openapi📝 Commits (10+)
2244d38feat: oasv2 example generation completea04b634refactor: removed unecessary const14e9d19feat: v3 requests example working2aef9c5refactor: examplev2 created and lintfix2fd9eb0refactor: address comments3a41d79feat: handle oneof and anyofb0071e6feat: oasv2 example generation complete721a201refactor: removed unecessary constbc2f81ffeat: v3 requests example workinged49c0brefactor: examplev2 created and lintfix📊 Changes
5 files changed (+464 additions, -7 deletions)
View changed files
📝
packages/hoppscotch-app/helpers/functional/json.ts(+8 -0)➕
packages/hoppscotch-app/helpers/import-export/import/openapi/exampleV2.ts(+185 -0)➕
packages/hoppscotch-app/helpers/import-export/import/openapi/exampleV3.ts(+109 -0)➕
packages/hoppscotch-app/helpers/import-export/import/openapi/exampleV31.ts(+129 -0)📝
packages/hoppscotch-app/helpers/import-export/import/openapi/index.ts(+33 -7)📄 Description
Closes #2087
Description
PR introduces the feature of generating body examples from a schema definition. PR is a WIP and thus created as a draft PR.
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.