Skip to content

Commit 5d032ae

Browse files
author
Roberto Sora
authored
Fix js mapping error regression (#59)
* Add type mappings for JS client * Remove useless tests folders
1 parent 4e7581c commit 5d032ae

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/generate.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
APIGENTOOLS_GIT_VIA_HTTPS_OAUTH_TOKEN: ${{ secrets.GH_PUSH_TOKEN }}
4444
run: |
4545
rm -rf generated/iot-client-js/docs/
46+
rm -rf generated/iot-client-js/test/
47+
rm -rf generated/iot-client-py/arduino_iot_rest/test/
4648
git config --global user.email "arduinobot@arduino.cc"
4749
git config --global user.name "ArduinoBot"
4850
apigentools push

config/config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ languages:
5454
commands:
5555
- commandline:
5656
- function: openapi_generator_generate
57+
- --type-mappings
58+
- AnyType=Object
5759
description: Generate js code using openapi-generator
5860
templates:
5961
source:

0 commit comments

Comments
 (0)