-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Duplicate endpoints create conflicting data types #154
Comments
|
@7nohe Thanks for letting me know 🙏 I guess I'll open an issue upstream then. How exactly does |
@CHE1RON "paths": {
"/api/v1/boards/export": {
"get": {
"tags": ["boards"],
"summary": "Returns an export of a collection of boards.",
"operationId": "boards-export",
"/api/v1/documents/{file}/export": {
"get": {
"tags": ["documents"],
"summary": "Exports the document as a PDF with annotations included.",
"operationId": "documents-export", |
Describe the bug
When having endpoints of the same name, eg
tags/{tag}/export
andlabels/{label}/export
, only one data type is generated (hereExportData
) for all services, which is correct for the first, but wrong for all subsequent services.To Reproduce
tags/{tag}/export
andlabels/{label}/export
services.gen.ts
OpenAPI spec file
routes.json
Expected behavior
Data types free of conflicts, eg
ExportData
,ExportData1
, etcScreenshots
If applicable, add screenshots or logs to help explain your problem.
The text was updated successfully, but these errors were encountered: