-
-
Notifications
You must be signed in to change notification settings - Fork 49
Impossible to export yaml files when there are several groups #76
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
Comments
Hello, I am not sure this is a duplicate of #71. In my case I ask for yaml files, but the code that computes the asked format relies on a regexp that does not work if the url doesn't end by |
Are you able to provice a Provide a Minimal, Reproducible Example - with HelloController that reproduces the problem ? |
I cloned the repo and added a failing test. I am not sure I will have time to propose a fix this morning but I will give it a try by monday. |
I found time to propose a PR to fix the problem. It passed the unit tests I made and I also tested it "live" locally with the actual repo I had problem with. |
Hello @bnasslahsen can you find time to review my pull request? |
Hello, I am trying to export several groups in yaml format.
Here is my plugin configuration:
I got an error:
> Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive
I presume this is because of
val isYaml = url.toLowerCase().matches(Regex(".+[./]yaml$"))
which doesn't work when using groupedApiMappings because of the format of the urls.The text was updated successfully, but these errors were encountered: