# How to import swagger file to API store

#### Login API publisher [https://api.lion.mlabs.dpc.hu:9443/publisher](https://api.lion.mlabs.dpc.hu:9443/publisher/site/pages/login.jag?requestedPage=/publisher/)

![API Publisher login page](/files/-LlfkPgZTxzX11TBGd0X)

#### Add new API

![Click to "ADD NEW API"](/files/-Llfkqu8Iz0EWwnSBbSN)

#### Choose "I Have an Existing API"

![](/files/-LlflkZuzKosjsqDaPbO)

Select "Swagger File" option and browse the required Swagger YAML file.\
After click "Start Creating" button.

#### WSO2 import and parsing Swagger file, after show the next screen.

![Design API screen after import Swagger file](/files/-LlfmpG1HBIboXI0v0C7)

Unfortunately the "Name" field doesn't contains space. You must review this field.

* Name
* Context
* Version
* Access Control
* Visibility on Store
* Description
* Tags
* Thumbnail Image

**We use the following settings in this demo.**

**Demo section**

| Field               | Value  |
| ------------------- | ------ |
| Access Control      | All    |
| Visibility on Store | Public |

**Implement section**

| Field                               | Value              |
| ----------------------------------- | ------------------ |
| Endpoint type                       | HTTP/REST Endpoint |
| Load Balanced                       | unchecked          |
| Failover                            | unchecked          |
| Endpoint Security Scheme            | Not Secured        |
| Enable Message Mediation            | unchecked          |
| Enable API based CORS Configuration | unchecked          |

**Manage section**

| Group                | Field                         | Value              |
| -------------------- | ----------------------------- | ------------------ |
| Configurations       | Make this the Default version | unchecked          |
|                      | Transports                    | HTTPS, HTTP        |
|                      | Response Caching              | Disabled           |
|                      | Authorization Header          | (empty)            |
| Throttling Settings  | Maximum Backend Throughput    | Unlimited          |
|                      | Subscription Tiers            | Unlimited          |
|                      | Advanced Throttling Policies  | Apply per Resource |
| API Gateways         | Production and Sandbox        | checked            |
| Business Information | (we not used)                 |                    |
| API Properties       | (we not used)                 |                    |


---

# 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://mifos.gitbook.io/docs/wso2-1/setup-openbanking-apis/how-to-import-swagger-file-to-api-store.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.
