org.openapi4j.parser.model.v3.Header Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-parser Show documentation
Show all versions of openapi-parser Show documentation
openapi4j schema parser & validator
package org.openapi4j.parser.model.v3;
public class Header extends AbsParameter {
@Override
public Header copy() {
Header copy = new Header();
if (isRef()) {
copy.setRef(getRef());
copy.setCanonicalRef(getCanonicalRef());
} else {
super.copy(copy);
}
return copy;
}
}