jetbrains-http-client.api.mustache Maven / Gradle / Ivy
## {{classname}}
{{#operations}}
{{#operation}}
{{#vendorExtensions.requests}}
### {{#summary}}{{summary}}{{/summary}}
## {{name}}
{{httpMethod}} {{basePath}}{{#lambda.doubleMustache}}{{{path}}}{{/lambda.doubleMustache}}{{>queryParams}}
{{#consumes}}
Content-Type: {{{mediaType}}}
{{/consumes}}
{{#produces}}
Accept: {{{mediaType}}}
{{/produces}}
{{#headerParams}}
{{baseName}}: {{=<% %>=}}{{<%paramName%>}}<%={{ }}=%>
{{/headerParams}}
{{#vendorExtensions.customHeaders}}
{{{.}}}
{{/vendorExtensions.customHeaders}}
{{#authMethods}}
{{#isKeyInCookie}}
Cookie: {{keyParamName}}={{#lambda.doubleMustache}}{cookieKey}{{/lambda.doubleMustache}}
{{/isKeyInCookie}}
{{#isKeyInHeader}}
{{keyParamName}}: {{#lambda.doubleMustache}}{apiKey}{{/lambda.doubleMustache}}
{{/isKeyInHeader}}
{{#isBasicBasic}}
Authorization: Basic: {{#lambda.doubleMustache}}{username-password}{{/lambda.doubleMustache}}
{{/isBasicBasic}}
{{#isBasicBearer}}
Authorization: Bearer {{#lambda.doubleMustache}}{bearerToken}{{/lambda.doubleMustache}}
{{/isBasicBearer}}
{{/authMethods}}
{{#body}}
{{{.}}}
{{/body}}
{{/vendorExtensions.requests}}{{/operation}}{{/operations}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy