Fix the handling of IntOrString. (#233)

IntOrString has been considered to be 'object' in typescript-fetch,
but it should be specially handled. This allows a similar handling
done in typescript.xml.
This commit is contained in:
Jun Mukai
2022-12-05 08:59:05 -08:00
committed by GitHub
parent 0ffb80637b
commit ea5af85f5b
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
<npmVersion>${generator.client.version}</npmVersion>
<modelPropertyNaming>original</modelPropertyNaming>
</configOptions>
<typeMappings>int-or-string=IntOrString</typeMappings>
</configuration>
</execution>
</executions>