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

Feature : add a way to agregate all swagger from function in one exposed by SlimFaas. #51

Open
guillaume-chervet opened this issue May 6, 2024 · 0 comments

Comments

@guillaume-chervet
Copy link
Collaborator

guillaume-chervet commented May 6, 2024

SlimFaas should be able to aggregate swagger from all is referenced functions.

Aggregation should de dynamic at execution time.
If a function is not started it should started in order to fetch its swagger.json file from v3 specification.

New annotation to declare swagger of a function.

SlimFaas/Swagger: "swagger.json"
// path to the swagger file
Defaut if empty and no swagger will be retrieved

For exemple we can access to a pod by his name :

http://localhost:30021/function/fibonacci1/hello/guillaume
http://localhost:30021/function/fibonacci2/hello/elodie
http://localhost:30021/function/fibonacci3/hello/julie

I would like to merge swagger files :

http://localhost:30021/function/fibonacci1/swagger.json
http://localhost:30021/function/fibonacci2/swagger.json
http://localhost:30021/function/fibonacci3/swagger.json

In one created dynamicaly from SlimFaas:
http://localhost:30021/swagger.json

@guillaume-chervet guillaume-chervet changed the title Feature : add a way to agregate all swagger from function in one exposed by SlimFaas Feature : add a way to agregate all swagger from function in one exposed by SlimFaas. The aggregation should be dynamic at execution time. May 16, 2024
@guillaume-chervet guillaume-chervet changed the title Feature : add a way to agregate all swagger from function in one exposed by SlimFaas. The aggregation should be dynamic at execution time. Feature : add a way to agregate all swagger from function in one exposed by SlimFaas. May 16, 2024
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