* WIP * Refactoring HTTP Method & Content Type to be objects instead of arrays TODO: 1. Set the default content-type for Get request to "None". Currently, it's raw 2. For None content-type, don't send the body field in the API request * Almost working implementation for the None type Currently, the body still gets sent in non-GET requests even if the None tab is selected. * Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM * WIP: Using enum & const for ts autocomplete * working implementation for NONE type, apiContentType prop added to API actions * WIP * Refactoring HTTP Method & Content Type to be objects instead of arrays TODO: 1. Set the default content-type for Get request to "None". Currently, it's raw 2. For None content-type, don't send the body field in the API request * Almost working implementation for the None type Currently, the body still gets sent in non-GET requests even if the None tab is selected. * Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM * WIP: Using enum & const for ts autocomplete * working implementation for NONE type, apiContentType prop added to API actions * adds apiContentType to actionConfiguration.formData object * Handling apiContentType property in Rest API formData * change apiContentType when user types content-type value and switches http method * makes api editor as similar as possible to postman, project postman. * Correcting the import in ApiEditorConstants * Resolved all merge conflicts * replay DSL functtionality * removes unneccessary files from worker * Fixes type declarations, naming e.t.c. * fix server side merge conflicts * fix client side merge conflicts * fix failing cypress tests Co-authored-by: Irongade <adeoluayangade@yahoo.com> Co-authored-by: Ayangade Adeoluwa <37867493+Irongade@users.noreply.github.com>
28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"curlImage": ".t--curlImage",
|
|
"curlImportBtn": ".t--importBtn",
|
|
"createBlankApiCard": ".t--createBlankApiCard",
|
|
"eachProviderCard": ".t--eachProviderCard",
|
|
"nameOfApi": ".t--nameOfApi",
|
|
"ApiNameField": ".t--action-name-edit-field",
|
|
"addToPageBtn": ".t--addToPageBtn",
|
|
"ApiActionMenu": ".t--more-action-menu",
|
|
"ApiDeleteBtn": ".t--apiFormDeleteBtn",
|
|
"ApiRunBtn": ".t--apiFormRunBtn",
|
|
"addToPageBtnsId": ".t--addToPageButtons",
|
|
"ApiHomePage": ".t--apiHomePage",
|
|
"formActionButtons": ".t--formActionButtons",
|
|
"dataSourceField": ".t--dataSourceField",
|
|
"responseBody": ".CodeMirror-code span.cm-string.cm-property",
|
|
"ApiVerb": ".t--apiFormHttpMethod",
|
|
"apiPaginationNextText": ".t--apiFormPaginationNext",
|
|
"apiPaginationPrevText": ".t--apiFormPaginationPrev",
|
|
"apiPaginationPrevTest": ".t--apiFormPaginationPrevTest",
|
|
"apiPaginationNextTest": ".t--apiFormPaginationNextTest",
|
|
"apiPaginationTab": ".t--apiFormPaginationType",
|
|
"apiTab": ".react-tabs__tab-list li",
|
|
"bodyType": ".t--apiFormPostBodyType",
|
|
"bodyTab": "Body",
|
|
"headersTab": "Header"
|
|
}
|