mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-25 23:47:17 +00:00
* Initialized OpenApi plugin * Added definition field to manifest file * Added an openapi parser * Implemented JSON/YAML resolver - Removed swagger parser lib - Added a field for choosing definition format type - Implemented a resolver for resolving $ref * Implemented a basic operations drop down from spec paths * Added params and body ui * Now, can view general parameters and servers * Added an option to override general params - Resolved a bug * Implemented basic openapi plugin - Added got lib - Tested basic queries * Added one more method * Resolved a common bug * Working on Parsing definition from datasource modal - Created new form component for openapi - Populated select array from security array * Added ui for authentication * Added bearer & basic plugin code * Resolved some ui issues of Apikeys auth option * Added apikey auth * Resolved an issue - Also replaced validate btn with auto validation - Now spec will be added to db from data-source modal * Added error text to show validation error * Now spec will load from props for query manager * Added some padding to operation description * Added ui for openapi oauth2 auth * Implemented oauth2 * Fixed a state issue with a temporary hack * Now we can show multiple same auth types * added the icon * Resolved a bug & improved multiple apikeys process * Resolved some realtime parsing error * Resolved a bug from options fn * Resolved PR changes * Updated documentation with brief details about the open API plugin * Removed unwanted package * Changed if-else to switch * Code changes * added setLoadingSpec fn to catch section * Solved typos and error in doc * Resolved dropdown issue * Resolved a bug * updated openapi icon
101 lines
No EOL
1.7 KiB
JSON
101 lines
No EOL
1.7 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
|
|
"title": "OpenAPI datasource",
|
|
"description": "A schema defining OpenAPI datasource",
|
|
"type": "api",
|
|
"source": {
|
|
"name": "OpenAPI",
|
|
"kind": "openapi",
|
|
"exposedVariables": {
|
|
"isLoading": false,
|
|
"data": {},
|
|
"rawData": {}
|
|
},
|
|
"options": {
|
|
"password":{
|
|
"encrypted": true
|
|
},
|
|
"bearer_token": {
|
|
"encrypted": true
|
|
},
|
|
"client_secret": {
|
|
"encrypted": true
|
|
}
|
|
},
|
|
"customTesting": true
|
|
},
|
|
"defaults": {
|
|
"format": {
|
|
"value": "json"
|
|
},
|
|
"definition": {
|
|
"value": ""
|
|
},
|
|
"username": {
|
|
"value": ""
|
|
},
|
|
"password": {
|
|
"value": ""
|
|
},
|
|
"bearer_token": {
|
|
"value": ""
|
|
},
|
|
"grant_type": {
|
|
"value": "authorization_code"
|
|
},
|
|
"add_token_to": {
|
|
"value": "header"
|
|
},
|
|
"header_prefix": {
|
|
"value": "Bearer "
|
|
},
|
|
"client_id": {
|
|
"value": ""
|
|
},
|
|
"client_secret": {
|
|
"value": ""
|
|
},
|
|
"auth_url": {
|
|
"value": ""
|
|
},
|
|
"access_token_url": {
|
|
"value": ""
|
|
},
|
|
"headers": {
|
|
"value": [
|
|
[
|
|
"",
|
|
""
|
|
]
|
|
]
|
|
},
|
|
"custom_query_params": {
|
|
"value": [
|
|
[
|
|
"",
|
|
""
|
|
]
|
|
]
|
|
},
|
|
"custom_auth_params": {
|
|
"value": [
|
|
[
|
|
"",
|
|
""
|
|
]
|
|
]
|
|
},
|
|
"client_auth": {
|
|
"value": "header"
|
|
}
|
|
},
|
|
"properties": {
|
|
"format": {
|
|
"label": "Format",
|
|
"key": "format",
|
|
"type": "react-component-openapi-validator",
|
|
"description": "Format of definition"
|
|
}
|
|
},
|
|
"required": ["definition"]
|
|
} |