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

Replacement action here #285

Open
OssiPesonen opened this issue Mar 5, 2022 · 0 comments
Open

Replacement action here #285

OssiPesonen opened this issue Mar 5, 2022 · 0 comments

Comments

@OssiPesonen
Copy link

OssiPesonen commented Mar 5, 2022

This repository seems dead, and the code contains issues like hard coded path value (this is the suffix for your API endpoint) on the update request. I took and forked it, made some additions like support for local definition file (as this one only supports a publicly hosted file), as well as some more checks and of course unit tests. I also extended the documentation quite a bit, explaining what some values are, how they are build, where you can find them etc.

Already put it to use on my own project and it's working fine. Motivation for this was that I had an OpenAPI schema definition file on my Azure Functions project and I needed to keep my API in front of it updated, but without manual work. There is still some manual work, like mapping a new endpoint to a functions app, but that's the only thing I haven't figured out yet.

You can drop comments and also join to collaborate if you'd like. I am a full time developer who also does a lot of freelancing where I rely on open source projects, so I will try to maintain this if needed.

https://github.com/OssiPesonen/action-update-api-management-openapi

The only downside is (and this is beyond my control) that Azure API Management API doesn't support YAML files. I have to either convert my definitions to JSON or maybe run some YAML to JSON conversions automatically when committing to automate that too (my own problem :)

@OssiPesonen OssiPesonen changed the title Replacement action Replacement action here Mar 5, 2022
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

1 participant