-
Notifications
You must be signed in to change notification settings - Fork 161
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
Description & summary of Operations not showing in changelog. #60
Comments
What kind of changelog ? Html / Cli generation are not up to date, but markdown is. |
I was using |
|
Ok, in my company we only use the Markdown output. I will update HtmlRender to output the same details. |
That would be a great feature I think! Is something like that a lot of work to implement? |
It depends on what is your definition of quick 😉 I'm a little busy today and this weekend, but i think i will have time to do this next week. |
That's pretty quick, thanks for taking the time to create this feature! To clarify, I was using the Direct Invocation method using the dependency on Maven. Not the CLI 😊 |
Hi, I had some time, looked at the code and made something. What's newI've added the classes I've also added the setting The changed markdownAs you can see there is an If #### What's Changed
---
##### `GET` /pets/{id}
> This is a summary
###### Metadata:
Changed summary : `Old summary` to:
> `This is a summary`
Changed description : `Returns a user if the user does not have access to the pet` to:
> `A description`
###### Parameters:
Added: `aaadda` in `path`
> Param desc
Deleted: `id` in `path`
> ID of pet to fetch Example codeMarkdownRender renderer = new MarkdownRender();
renderer.setShowChangedMetadata(true);
String md = renderer.render(diff); All commits related to this feature
Questions
Looking forward to your reaction, if you think this is a good idea I'll make a pull request, if you have any suggestion for changes I'll add those. If you think it's a bad idea that's okay aswell 👍 |
Thanks. I'll review this shortly |
Any updates on the issue? |
Hello, i opened the project this morning ! |
I'm working on it in the branch feature/summary-description, but work is in progress. |
I prefer work on a dedicated branch cause your code was only covering summary and description in Operation. But i'm open to any suggestion 😉 |
That sounds good, I was interested in those items mostly but it seems only logical to do it for more items than just |
Fixed with pull request #61 ! 😄 |
@msnijder30 i only add support in diff result, not on the ouput (markdown, html, console). Because i'm working on another branch to improve the output globally (not only for summary/description) |
Okay, perfect! Thanks a lot for this feature. |
Snapshot version is not available currently 😐 |
Any idea when the next snapshot/official version release will be? |
I don't know, i have some idea to improve code, and it will break the current api. So I want to make this changes before release 2.0.0 ! Not big changes, but enough to break compatibility ! |
Description
I've been testing what this library can and cannot do, and it appears that it does not keep track of
description
&summary
of the operations?I have also tested this with the
description
of parameters, and they do update.It does show the
summary
directly after the path of the operation, but it only shows the latest one and it does not show it has been changed.The code
Question
Am I correct in that those properties are not in the Changelog? Or am I making a mistake.
The text was updated successfully, but these errors were encountered: