[JS] mark ES5 as deprecated (#6408)

* mark js es5 deprecated, remove samples, migrate samples to use oas3

* update test in pom.xml

* update js samples

* delete js es5 samples

* update js petstore

* remove openapi3 js petstore

* fix tests

* skip test/model/AdditionalPropertiesArray.spec.js

* fix test

* update doc
This commit is contained in:
William Cheng
2020-05-26 09:55:00 +08:00
committed by GitHub
parent fb57b602c2
commit d49de5b577
762 changed files with 8419 additions and 53501 deletions

View File

@@ -10,7 +10,7 @@ Method | HTTP request | Description
## call123testSpecialTags
> Client call123testSpecialTags(body)
> Client call123testSpecialTags(client)
To test special tags
@@ -22,8 +22,8 @@ To test special tags and operation ID starting with number
import OpenApiPetstore from 'open_api_petstore';
let apiInstance = new OpenApiPetstore.AnotherFakeApi();
let body = new OpenApiPetstore.Client(); // Client | client model
apiInstance.call123testSpecialTags(body, (error, data, response) => {
let client = new OpenApiPetstore.Client(); // Client | client model
apiInstance.call123testSpecialTags(client, (error, data, response) => {
if (error) {
console.error(error);
} else {
@@ -37,7 +37,7 @@ apiInstance.call123testSpecialTags(body, (error, data, response) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**Client**](Client.md)| client model |
**client** | [**Client**](Client.md)| client model |
### Return type