-
Notifications
You must be signed in to change notification settings - Fork 29
[bus-603]: boat update to make mocks automatic import #561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
aecd97c
ee82c67
b1a981f
8875bcf
69b19ce
ab99239
1bf389c
760431c
f548077
fda3425
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| module.exports = [{{#operations}} | ||
| {{#operation}} | ||
| { | ||
| urlPattern: "{{{basePathWithoutHost}}}{{pattern}}", | ||
| method: "{{#lambda.uppercase}}{{httpMethod}}{{/lambda.uppercase}}", | ||
| responses: [ | ||
| {{#responses}} | ||
| {{#examples}} | ||
| {{#isJson}} | ||
| { | ||
| status: {{{code}}}, | ||
| body: {{{prettyPrintValue}}} | ||
| }, | ||
| {{/isJson}} | ||
| {{^isJson}} | ||
| { | ||
| status: {{{code}}}, | ||
| body: "{{#escapeJavascript}}{{{prettyPrintValue}}}{{/escapeJavascript}}" | ||
| }, | ||
| {{/isJson}} | ||
| {{/examples}} | ||
| {{#hasEmptyBody}} | ||
| { | ||
| status: {{{code}}}, | ||
| body: "" | ||
| }, | ||
| {{/hasEmptyBody}} | ||
| {{/responses}} | ||
| ] | ||
| }, | ||
| {{/operation}} | ||
| {{/operations}}] |
Uh oh!
There was an error while loading. Please reload this page.