New Release. This version can import JSON or YAML API format (OpenAPI or Swagger)

This commit is contained in:
2024-02-15 13:50:09 -03:00
parent 1fc4aad29d
commit 15cfd2d2f3
3 changed files with 8 additions and 0 deletions

View File

@@ -69,6 +69,14 @@ And this is the **config.json** file for **IDCS** configuration.
![img.png](images/idcs-config.png)
In the **createApi** and **applyValidationApi**, you can work with OpenAPI and Swagger specifications in **JSON** or **YAML** format. This can be done by 2 methods in the code:
![img.png](images/json_yaml_format.png)
This methods will be used to mantain the specification in **JSON** default format for all codes.
![img_1.png](images/json_yaml_format_1.png)
First, we need to import an OpenAPI specification. The **OCI API Gateway** has a REST service to import and validate the spec. We can do it with an **OCI function createApi** .
## createApi

BIN
images/json_yaml_format.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB