Do not add schema / class name mapping where custom mapping exists (#14984)

* fix #13150 Do not add schema / class name mapping where custom mapping exists

* update test spec

* improve import

* fix import for mapped models

* fix python

* code clean up

* fix dart client import

* fix dart:core import

* better import

* add tests

---------

Co-authored-by: Bernie Schelberg <bernard.schelberg@mywave.ai>
This commit is contained in:
William Cheng
2023-03-24 22:20:04 +08:00
committed by GitHub
parent bde5c10092
commit f5e427ad52
116 changed files with 395 additions and 298 deletions

View File

@@ -21,8 +21,6 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.openapitools.client.model.Cat;
import org.openapitools.client.model.Dog;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

View File

@@ -21,7 +21,6 @@ import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.openapitools.client.model.ParentPet;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;