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 configure CSDL to OpenAPI conversion settings #1064

Merged
merged 7 commits into from
Nov 8, 2022

Conversation

MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Nov 7, 2022

  • Adds a settingsFile commandline parameter that enables Hidi users customize the CSDL to OpenAPI conversion process by providing their own OpenApiConvertSettings in an appsettings.json file.
  • If none is provided, we use the default settings

Fixes #830

@MaggieKimani1 MaggieKimani1 changed the title Enable Hidi users configure CSDL to OpenAPI translation Enable Hidi users configure CSDL to OpenAPI conversion settings Nov 7, 2022
src/Microsoft.OpenApi.Hidi/Program.cs Outdated Show resolved Hide resolved
src/Microsoft.OpenApi.Hidi/Program.cs Outdated Show resolved Hide resolved
src/Microsoft.OpenApi.Hidi/OpenApiService.cs Outdated Show resolved Hide resolved
src/Microsoft.OpenApi.Hidi/OpenApiService.cs Outdated Show resolved Hide resolved
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for taking in the suggestions.

@MaggieKimani1 MaggieKimani1 merged commit 7637861 into vnext Nov 8, 2022
@MaggieKimani1 MaggieKimani1 deleted the feature/csdlsettings branch November 8, 2022 15:11
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 this pull request may close these issues.

Enable Hidi users to configure the way CSDL is translated to OpenAPI
3 participants