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

feat: OpenAPI - Parse environments extension #2088

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheBlackReverand
Copy link

@TheBlackReverand TheBlackReverand commented Apr 15, 2024

OpenAPI - Parse environments extension

resolve #2104

I use the OpenAPI Extensions for describe environments.

With that we can use variables in OpenAPI file, describe our environments and import all of this.
This is usefull when you share your collection with other people or when your main input is an OpenAPI file.
So when you delete/import collection for make a refresh, you don't loose your environments

It's a first step and I would like to have feedback from the community to improve this idea.

A fork from PetStore SwaggerDoc where I use this feature openapi_petstore.json

Look like
image
image

And generate
image

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

@TheBlackReverand TheBlackReverand changed the title OpenAPI - Parse environments extension feat: OpenAPI - Parse environments extension Apr 15, 2024
@helloanoop
Copy link
Contributor

@anusreesubash Can you review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenAPI - Parse environments extension
3 participants