Skip to content

swagger file generation other than .json file(#1)#48

Open
rajeev87y wants to merge 1 commit intoreg2005:masterfrom
rajeev87y:master
Open

swagger file generation other than .json file(#1)#48
rajeev87y wants to merge 1 commit intoreg2005:masterfrom
rajeev87y:master

Conversation

@rajeev87y
Copy link

@rajeev87y rajeev87y commented Dec 20, 2024

Proposed changes

JSON.strigify the swaggerFileContent only when the options.format is .json or undefined, this will allow us to create a file other than swagger.json for eg. swagger.yaml

issue/47

Types of changes

What types of changes does your code introduce?

Put an x in the boxes that apply

  • [x ] Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • [ x] I have read the CONTRIBUTING doc
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary documentation (if appropriate)

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.

1 participant