Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@klag
Copy link
Member

@klag klag commented Apr 14, 2025

I added a package, called openapi, where it is possible to convert the interfaces exposed into an input port into an openapi definition (both 2 and 3)

At the moment, the command jolie2openapi, it is not integrated with this package, because I need to refactor also jester and jolier before.

Anyway, the package can be used and should be considered the new standard way for getting openapi definitions of a jolie inputport

Claudio Guidi added 2 commits March 28, 2025 16:02
@klag klag requested a review from fmontesi April 14, 2025 08:26
@fmontesi fmontesi merged commit 184ade6 into master May 1, 2025
6 checks passed
@fmontesi fmontesi deleted the enhancement/jolie2openapi branch May 1, 2025 08:14
kas0079 pushed a commit to MSc-Sund-Okumu/jolie that referenced this pull request May 6, 2025
* wip

* json_utils test modified

* added package for transforming jolie types into json types compatible with openapi 2 and 3

* wip

* wip

* refactore ark because getParentLocation@Runtime is not supported now

* wip

* removed unuseful ports

* wip

* bug fix in refined types

* wip

* bug fix

* test on getOpenApidefinition ver 2 done

* fixed licenses

* tested also with openapi 3

* wip

* wip

* wip

* added getHashMap api

* wip

* wip

* wip

* wip

* wip

---------

Co-authored-by: Claudio Guidi <[email protected]>
Co-authored-by: Matthias Wallnöfer <[email protected]>
@mwallnoefer
Copy link
Member

@klag I guess your changes have broken something in joliedoc: https://github.com/jolie/jolie/actions/runs/14772313140/job/41474313768

@klag
Copy link
Member Author

klag commented May 14, 2025

Mmmm joliedoc should not be affected, but maybe there is a bug in generating the doc of openapi.ol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants