
package.es.elements.bindings.http.HttpOperationBinding.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 HttpOperationBinding extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'httpOperationBinding';
this.classes.push('operation-binding');
}
get type() {
return this.get('type');
}
set type(type) {
this.set('type', type);
}
get method() {
return this.get('method');
}
set method(method) {
this.set('method', method);
}
get query() {
return this.get('query');
}
set query(query) {
this.set('query', query);
}
get bindingVersion() {
return this.get('bindingVersion');
}
set bindingVersion(bindingVersion) {
this.set('bindingVersion', bindingVersion);
}
}
export default HttpOperationBinding;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy