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

Added TargetOpenAPIVersion CommandOption. #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ozippy
Copy link

@ozippy ozippy commented Sep 6, 2019

I want to be able to generate an OpenAPI V2 file from the Microsoft Graph metadata.

I've made a small change to the OData2OpenAPI tool to allow the user to specify the TargetOpenAPIVersion as a command option. It will default to 3 unless 2 is specified.

An example of the command options would be;
--csdl=c:\temp\cleanMetadataWithDescriptionsv1.0.xml --output=swaggerV2.json --TargetOpenAPIVersion=2

I've never created a pull request to an open repo before, so I hope I'm doing this right.

Thanks

@msftclas
Copy link

msftclas commented Sep 6, 2019

CLA assistant check
All CLA requirements met.

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.

None yet

2 participants