
package.es.elements.Parameter.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 Parameter extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'parameter';
}
get description() {
return this.get('description');
}
set description(description) {
this.set('description', description);
}
get schema() {
return this.get('schema');
}
set schema(schema) {
this.set('schema', schema);
}
get location() {
return this.get('location');
}
set location(location) {
this.set('location', location);
}
}
export default Parameter;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy