Skip to content

[BUG]: CRUD API plugin doesn't show an error when it can't load API data file #576

@waldekmastykarz

Description

@waldekmastykarz

Description

When the CRUD API plugin can't load the specified API data file, it disables the API actions so that the API doesn't work (because there's no backing data for it). It however doesn't show any error the user about it, so it's confusing why the API is loaded but it's not working.

Expected behaviour

When the CRUD API can't load an API data file, it shows an error to the user additionally to disabling the API actions

Actual behaviour

Proxy doesn't show an error to the user

Steps to reproduce

Define a CRUD API pointing to a non-existent API data file

Dev Proxy Version

latest from main

Operating system (environment)

macOS

Shell

zsh

Configuration file

n/a

Additional Info

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions