Skip to content

Create a new response with some usability issues.  #31

@renweibo

Description

@renweibo

This is a great tool and thanks for your work. And I got some usability issue, if anything misunderstand, please correct me. Thanks!

After create a new operation with default value, then create a new response. There are some issues:

  • the layout for operation is too wide and without scroll bar to see the full part the html gui. Can you add a scroll bar to scroll from left to right.
  • the default response has no schema edit action support. It only show "status code" and "Description". User cannot create a new media type. It's better to provide a default media type.
  • the duplicate button for response does not work. It will show error on js console
Uncaught ReferenceError: duplicateResponse is not defined
    at click (eval at Tn (vue.min.js:6), <anonymous>:3:14340)
    at e (vue.min.js:6)
    at HTMLAnchorElement.t._withTask.t._withTask (vue.min.js:6)
  • for existing media type of the response. I don't find any way to change the schema.

All these issues can reproduce on online editor https://mermade.github.io/openapi-gui/#

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