Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify error for missing OperationId #5

Closed
nicol-ograve opened this issue Dec 22, 2022 · 2 comments
Closed

Notify error for missing OperationId #5

nicol-ograve opened this issue Dec 22, 2022 · 2 comments
Assignees

Comments

@nicol-ograve
Copy link

If in the OpenApi endpoint the operationId is missing, the related hook is called with the generic name "useRequest".
So, if multiple endpoints don't have an operationId, the result is corrupted because is trying to export multiple functions with the same name.
An error indicating the problem would be useful to understand what underlying problem is causing the error

@teobler
Copy link
Owner

teobler commented Jan 10, 2023

added a log for this situation, but it seems hard to notice log message in terminal, will do some enhance related to logs, leave this issue open, will close after enhance.

@teobler teobler self-assigned this Jan 10, 2023
@teobler
Copy link
Owner

teobler commented Feb 11, 2023

Hi @nicol-ograve v1.2.0 released, kindly check changelog

@teobler teobler closed this as completed Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants