zh Kooboo Logo Documents

OpenApi

 

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to HTTP APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
 
Reference documentation:https://swagger.io/
 
For HTTP APIs that provide OpenAPI, users can configure and utilize remote methods in a manner similar to using local KScript methods.
 
If the OpenApi menu is not activated for the user, the option needs to be activated first.
 
 
Configure the relevant API information afterwards
 
 
Once the configuration is completed, if no errors occur, users can access the configured OpenAPI using k.openApi.name, and the code will have intellisence!