javaVertXServer.apiHeader.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-swagger-codegen Show documentation
Show all versions of vertx-swagger-codegen Show documentation
A Swagger codegen plugin for Vert.X. Based on the Swagger Router.
The newest version!
package {{package}};
{{#imports}}import {{import}};
{{/imports}}
public final class {{classname}}Header extends MainApiHeader {
private {{classname}}Header(String name, String value) {
super(name, value);
}
private {{classname}}Header(String name, Iterable values) {
super(name, values);
}
{{#operations}}{{#operation}}{{#responses}}{{#headers}}public static {{classname}}Header {{classname}}_{{{operationId}}}_{{code}}_create{{nameInCamelCase}}({{datatype}} {{name}}) {
return new {{classname}}Header("{{baseName}}", {{name}}.toString());
}
{{/headers}}{{/responses}}{{/operation}}{{/operations}}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy