mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2087] [bug]: openapi support for post/put body schemas #691
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#691
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?
Originally created by @christopheblin on GitHub (Jan 25, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2087
Originally assigned to: @anwarulislam on GitHub.
Is there an existing issue for this?
Current behavior
After importing an openapi doc, I expect to be able to do post/put request easily but except the path nothing is preloaded !
At least, I'd expect to preload the sample like in the basic swaggerui
Steps to reproduce
Import the petstore openapi
Choose addPet operation
Go in the body
=> you should see

Environment
Production
Version
Local
@AndrewBastin commented on GitHub (Jan 25, 2022):
This is not a bug, and is just the way the body imports are implemented for OpenAPI specs as of right now. This can be a welcome addition to the OpenAPI importer.
We will add this to the backlog.
Or for anyone interested in picking up this issue, you can refer to this file: https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-app/helpers/import-export/import/openapi.ts
@jessereynolds commented on GitHub (Aug 18, 2023):
Moved to https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts
@KobePengPower commented on GitHub (Oct 12, 2024):
any new?
@KobePengPower commented on GitHub (Oct 12, 2024):
@aaronclong commented on GitHub (Mar 3, 2025):
Is there any plan or roadmap to fix this? This feature is critical and kind of blocks people from migrating from Postman.
@aaronclong commented on GitHub (Mar 5, 2025):
I reviewed the code. It doesn't look like any parsing logic was written here:
github.com/hoppscotch/hoppscotch@35a471f120/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts (L359-L365)I tried to get the dev setup but there is not documentation on how to do that. I can't get a local setup of HoppScotch running.
The Developing section just say check the self hosting. However, the documentation there is confusing and not concise: https://docs.hoppscotch.io/documentation/self-host/getting-started
@aaronclong commented on GitHub (Mar 5, 2025):
@RishabhAgarwal-2001 ^
@gatspy commented on GitHub (Apr 18, 2025):
This might not happen until the earth is destroyed.
@MSP-Stev commented on GitHub (Jun 20, 2025):
Hi @jamesgeorge007,
Can you reassign this issue?
Over 3 Years for a basic "feature" is awkward
@mashmex commented on GitHub (Jul 30, 2025):
Hi together,
this bug blocks people & companies to work with Hoppscotch. As you cannot use the body-part of OpenAPI collections/imports, this leads to not use the whole software for some of them.
Please consider implementing this.
Thanks
@jamesgeorge007 commented on GitHub (Aug 4, 2025):
Hello all, this is currently scoped for the upcoming release candidate. We appreciate your feedback and will keep this thread updated as development progresses.
@jamesgeorge007 commented on GitHub (Aug 28, 2025):
Hi, closing this issue since it is implemented in the latest release. Please feel free to reach out if you have any questions.