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

Add markdown as an output format for when creating a change log #476

Open
bdoughan-snow opened this issue Jan 26, 2024 · 2 comments
Open

Comments

@bdoughan-snow
Copy link

Is your feature request related to a problem? Please describe.

I am looking for a way to maintain a living change log listing all the changes since the last release. I like to easily be able to view this within GitHub as markdown.

Describe the solution you'd like

I would like to be able to make the following call and have markdown produced:

oasdiff changelog data/openapi-test1.yaml data/openapi-test3.yaml -f markdown

Describe alternatives you've considered

As a workaround the text output format could be used.

Additional context

Ideally this could be used in conjunction with the oasdiff-action GitHub action and the resulting markdown checked into the repo.

@reuvenharrison
Copy link
Collaborator

Hi @bdoughan-snow,
Did you try the githubactions format?

oasdiff breaking data/openapi-test1.yaml data/openapi-test3.yaml -f githubactions

It is designed to create a summary in Github actions.
We could support this for changelog too.
Does this solve your requirement?

@bdoughan-snow
Copy link
Author

Hi @reuvenharrison

It does not appear so. I tried the following command:
oasdiff breaking .\examples\pet-store.yaml .\examples\pet-store.json -f githubactions > foo.md

When I looked at foo.md in GitHub, it looks like the following:
githubactionsformat

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