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

Enable Hidi users to configure the way CSDL is translated to OpenAPI #830

Closed
darrelmiller opened this issue Apr 12, 2022 · 5 comments · Fixed by #1064
Closed

Enable Hidi users to configure the way CSDL is translated to OpenAPI #830

darrelmiller opened this issue Apr 12, 2022 · 5 comments · Fixed by #1064
Assignees
Milestone

Comments

@darrelmiller
Copy link
Member

The conversion library has many settings. To control these settings we should provide a command line parameter that points to a settings file that configures the behavior of the conversion library.

If the user points to a file that does not exist, we should create the file, filled with the default settings.

@irvinesunday
Copy link
Contributor

The conversion library has many settings. To control these settings we should provide a command line parameter that points to a settings file that configures the behavior of the conversion library.

If the user points to a file that does not exist, we should create the file, filled with the default settings.

Probably an XML file?

@irvinesunday
Copy link
Contributor

How can an application like DevX API make use of this when using Hidi for conversion? Could it be possible to pass the settings programmatically?

@MaggieKimani1
Copy link
Contributor

MaggieKimani1 commented Apr 19, 2022

The conversion library has many settings. To control these settings we should provide a command line parameter that points to a settings file that configures the behavior of the conversion library.
If the user points to a file that does not exist, we should create the file, filled with the default settings.

Probably an XML file?

We're thinking of storing the settings in a JSON file

@darrelmiller
Copy link
Member Author

@irvinesunday DevX API should never be calling hidi. Hidi is a commandline tool.

@darrelmiller
Copy link
Member Author

@MaggieKimani1 I have a PR started for this, so I can take this on if you have other tasks to complete.

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

Successfully merging a pull request may close this issue.

4 participants