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

[Bug] Mock 会覆盖 枚举的mock #1007

Closed
yanye666 opened this issue Aug 2, 2023 · 2 comments · Fixed by #1008
Closed

[Bug] Mock 会覆盖 枚举的mock #1007

yanye666 opened this issue Aug 2, 2023 · 2 comments · Fixed by #1008
Labels
type: bug Something isn't working

Comments

@yanye666
Copy link

yanye666 commented Aug 2, 2023

我的配置存在这种兜底的mock

##兜底的mock,根据类型判断
mock.[|integer]=@natural(0,10000)
mock.[Rate|number]=${float_with_four}
mock.[
|number]=${float_with_two}
mock.[
|date]=@datetime
mock.[*|boolean]=@boolean

但是枚举会被覆盖掉,
image
image
image

@yanye666 yanye666 added the type: bug Something isn't working label Aug 2, 2023
@tangcent tangcent added the status: work-in-progress Currently being worked on label Aug 4, 2023
@tangcent
Copy link
Owner

tangcent commented Aug 4, 2023

@yanye666
Copy link
Author

yanye666 commented Aug 4, 2023

@yanye666 easy-yapi-2.6.0.212.0.zip

ok,Fixed

@yanye666 yanye666 closed this as completed Aug 4, 2023
@tangcent tangcent removed the status: work-in-progress Currently being worked on label Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants