Skip to content

Commit

Permalink
feat: Add autogeneration disclaimer to output (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed May 26, 2019
1 parent d7ff318 commit 8d026f1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/templates/APIClient.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* This file was automatically generated by "Swaxios".
* It should not be modified by hand.
*/

import axios, {AxiosInstance, AxiosRequestConfig} from 'axios';
{{#each imports}}
import {
Expand Down
5 changes: 5 additions & 0 deletions src/templates/Resource.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* This file was automatically generated by "Swaxios".
* It should not be modified by hand.
*/

import {AxiosInstance} from 'axios';

export class {{{name}}} {
Expand Down
5 changes: 5 additions & 0 deletions src/templates/index.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* This file was automatically generated by "Swaxios".
* It should not be modified by hand.
*/

{{#each exports}}
export * from '{{this}}';
{{/each}}

0 comments on commit 8d026f1

Please sign in to comment.