You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can see the code in the attached file.
when first open the swagger editor, it's ok. but when go back to the json view, and switch to the editor again, the error is shown.
what should i do to fix that, all what is the best way to use editor in react app.(not only with swagger UI.) app.js.md
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
Swagger/OpenAPI definition:
only json data in memory.
{
swagger: "2.0",
info: {
title: "Sample API",
version: "1.0",
description: "Sample API for testing purposes"
},
paths: {
"/api/test": {
get: {
description: "Test GET endpoint",
responses: {
200: {
description: "Request was successful"
}
}
}
Swagger-Editor configuration options:
Screenshots
How can we help?
you can see the code in the attached file.
when first open the swagger editor, it's ok. but when go back to the json view, and switch to the editor again, the error is shown.
what should i do to fix that, all what is the best way to use editor in react app.(not only with swagger UI.)
app.js.md
The text was updated successfully, but these errors were encountered: