Skip to content

Try Feature not working when Schema tab is selected for POST request #651

@bluesage13

Description

@bluesage13

Hi,
We are facing an issue when using RapiDoc's Try feature, specifically for POST request. We are using RapiDoc with:

  1. render-style as "VIEW"
  2. fill-request-fields-with-example as "true"
  3. default-schema-tab as "example"

Whenever we try to use the TRY feature with the EXAMPLE tab open in request section, we get response as expected. But if we open the Schema tab in Request section and use click on the Try button, we get invalid_json error response.

Our request body is of type : application/json
I can see that in cURL command, the -d is not added when Schema tab is open, but is present whenever Example tab is open.

Is there a way to maybe disable the try feature when schema tab is open or any other solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions