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]: support reference to external Open API specification in Adapter generator #1699

Open
kpanot opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kpanot
Copy link
Contributor

kpanot commented Apr 23, 2024

Context

To generate the OPERATION_ADAPTER of an SDK, we need to parse manually the specification at generation time.
Today the code parsing the specification does support only local references (cf. the function generateOperationFinderFromSingleFile).
The purpose of this task is to support external references as well.

Proposal

There is several possible way to address this features:

  • Move the generation of the OPERATION_ADAPTER in the OpenApi Generator process
  • Find a library handling Json/Yaml Ref resolution and parse the resolved object
  • Handle the reference resolution manually, covering the File System path resolution and Http Request
@kpanot kpanot added the enhancement New feature or request label Apr 23, 2024
@kpanot kpanot changed the title [Feature]: support reference to external Open API specification in [Feature]: support reference to external Open API specification in Adapter generator May 7, 2024
@kpanot kpanot added this to the SDK Enhancement milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant