Insomnia Designer with Schema produces RequestBody null in Debug
See original GitHub issueDescribe the bug When Debuging a Request which is defined by using a schema as request body the request body in debugging view is null
To Reproduce The following is a minimal OpenAPI 3 config which reproduces the bug:
paths:
"/foo":
post:
requestBody:
content:
application/json:
schema:
"$ref": "#/components/schemas/Foo"
components:
schemas:
Foo:
title: Foo
type: object
properties:
id:
type: string
format: uuid
name:
type: string
Expected behavior As the Example Request Body is generated using the schema I would expect it to be filled in in the debug view as well.
Screenshots The generated Request Body in Preview: The Request Body in Debug View:
Desktop (please complete the following information):
- OS: Windows 10 Enterprise 64 Bit
- Installation Method: Installer
- App Version: 2020.3.3
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
web-api POST body object always null - Stack Overflow
FromBody is a strange attribute in that the input POST values need to be in a specific format for the parameter to be...
Read more >Changelog - Insomnia REST
We've made several updates to how we handle automatic generation of request collections to preserve user data while switching between the design and...
Read more >Use Insomnia for API Requests
In this topic, you will learn how to set up the popular Insomnia HTTP client to make requests to the Brightcove RESTful APIs....
Read more >How to Create Documentation for Your REST API with Insomnia
The interface is split into three tabs: Design, Test, and Debug. You'll focus on the design tab for this tutorial. Open the Insomnia...
Read more >Setting Up Swagger to API Test In a JavaScript Application
Spring Boot makes Swagger APIs look easy, Node.js not so much. ... faced with an empty Postman or Insomnia application waiting for you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any update on this?
I have tested it with the following spec in 22.4.1. Seems to work fine. I guess the issue can be closed now, thank you for your support.
Specification