Skip to content

Prepare 13.0.6 #775

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

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading