# Swagger parser

The Swagger parser function allows you to convert Swagger, open API, and Postman collection data to Jigx functions in the Jigx Builder.

## How to use the Swagger parser

The command to start the Swagger parser function is (command + shift + p): Generate Jigx Functions

<figure><img src="/files/pw3sJJjLffmSHNGR1FfU" alt="Generate Jigx functions" width="563"><figcaption><p>Generate Jigx functions</p></figcaption></figure>

Both remote and local files can be used, and only JSON format is allowed.

<figure><img src="/files/VDCONLGLuk9PhzkwsMqa" alt="File options" width="563"><figcaption><p>File options</p></figcaption></figure>

All files created by the Swagger parser function saves in your functions folder.

### Variable replacement

You can replace variables in your Postman collection, for example, replacing the baseUrl. As you add the value 'google.com' to the variable all functions requiring this variable will be updated.

<figure><img src="/files/laq8CDsjDf4MUGDmYR9U" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jigx.com/building-apps-with-jigx/data/data-providers/rest/functions/swagger-parser.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
