Skip to content

Commit

Permalink
fix: don't replace '.' with '_' in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jul 9, 2019
1 parent cb9326b commit 1730a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/templates/api-endpoint.njk
Expand Up @@ -49,7 +49,7 @@ export namespace {{api.name}}_{{api.version|replace('\.', '_')}} {
{% set Namespace = [Name, Version]|join('') %}

export interface Options extends GlobalOptions {
version: '{{api.version|replace('\.', '_')}}';
version: '{{api.version}}';
}

interface StandardParameters {
Expand Down

0 comments on commit 1730a4f

Please sign in to comment.