Skip to content

Show intuitive error message on uploading an API specification file containing no title or host fields #3234

Open
@Nazarah

Description

@Nazarah

Description:

Currently, when attempt is made to add an API by using API documentation (e.g. json, yaml or yml) that contains no title and/or host fields, s-alert appears with message [[object object]].
The message is intuitive and doesn't indicate what fields are required to add an API in the platform.

If the s-alert message says "Missing API title and or host field in API documentation", this would give valid information behind the reason for Add API failure.

The above should be valid either for file upload or providing link to an API specification file

User Story:

"As an API owner, I wish to get informative alert message, in case I try to add an API with a documentation that contains no title or host fields."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions