William Cheng d49de5b577
[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
2020-05-26 09:55:00 +08:00

54 lines
1.2 KiB
JavaScript

/**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
import ApiClient from '../ApiClient';
/**
* Enum class OuterEnumDefaultValue.
* @enum {}
* @readonly
*/
export default class OuterEnumDefaultValue {
/**
* value: "placed"
* @const
*/
"placed" = "placed";
/**
* value: "approved"
* @const
*/
"approved" = "approved";
/**
* value: "delivered"
* @const
*/
"delivered" = "delivered";
/**
* Returns a <code>OuterEnumDefaultValue</code> enum value from a Javascript object name.
* @param {Object} data The plain JavaScript object containing the name of the enum value.
* @return {module:model/OuterEnumDefaultValue} The enum <code>OuterEnumDefaultValue</code> value.
*/
static constructFromObject(object) {
return object;
}
}