Skip to content

Commit

Permalink
Prepare 13.0.6
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Jun 15, 2024
1 parent eb2d9a4 commit f7fab30
Show file tree
Hide file tree
Showing 11 changed files with 1,096 additions and 84 deletions.
3 changes: 0 additions & 3 deletions .env.example

This file was deleted.

8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/.yarn/*
!/.yarn/releases

/.idea/
/.vscode/
/dist/
/node_modules/

.env
swagger-test-cli
swagger-test-cli.*
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swagger-typescript-api",
"version": "13.0.5",
"version": "13.0.6",
"description": "Generate TypeScript/JavaScript API from Swagger schema",
"homepage": "https://github.com/acacode/swagger-typescript-api",
"bugs": "https://github.com/acacode/swagger-typescript-api/issues",
Expand Down Expand Up @@ -53,9 +53,6 @@
"@types/lodash": "4.17.5",
"@types/node": "20.14.2",
"axios": "1.7.2",
"cross-env": "7.0.3",
"dotenv": "16.4.5",
"git-diff": "2.0.6",
"shx": "0.3.4",
"vitest": "1.6.0"
},
Expand Down
2 changes: 1 addition & 1 deletion templates/base/route-name.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ if (route === "/")
return _.camelCase(`${_.lowerCase(method)}Root`);
return createCustomOperationId(method, route, moduleName);
%>
%>
2 changes: 1 addition & 1 deletion templates/base/route-type.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export namespace <%~ routeNamespace %> {
export type RequestBody = <%~ (payload && payload.type) || 'never' %>;
export type RequestHeaders = <%~ (headers && headers.type) || '{}' %>;
export type ResponseBody = <%~ route.response.type %>;
}
}
Loading

0 comments on commit f7fab30

Please sign in to comment.