
package.es.elements.ServerVariable.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-asyncapi-2 Show documentation
Show all versions of apidom-ns-asyncapi-2 Show documentation
AsyncAPI 2.x.y namespace for ApiDOM.
import { ObjectElement } from '@swagger-api/apidom-core';
class ServerVariable extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'serverVariable';
}
get enum() {
return this.get('enum');
}
set enum(value) {
this.set('enum', value);
}
get default() {
return this.get('default');
}
set default(value) {
this.set('default', value);
}
get description() {
return this.get('description');
}
set description(description) {
this.set('description', description);
}
get examples() {
return this.get('examples');
}
set examples(examples) {
this.set('examples', examples);
}
}
export default ServerVariable;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy