Skip to content

Commit

Permalink
fix: correct types param name for media mime-type (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
AVaksman authored and JustinBeckwith committed Feb 19, 2019
1 parent 9cd4d79 commit 2a7af84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/generator/templates/api-endpoint.njk
Expand Up @@ -156,7 +156,7 @@ export interface Schema${{ schema.id }} {
/**
* Media mime-type
*/
mediaType?: string;
mimeType?: string;

/**
* Media body contents
Expand Down
2 changes: 1 addition & 1 deletion src/generator/templates/resource-partial.njk
Expand Up @@ -58,7 +58,7 @@
/**
* Media mime-type
*/
mediaType?: string;
mimeType?: string;

/**
* Media body contents
Expand Down

0 comments on commit 2a7af84

Please sign in to comment.