Comments (9)
Ho shit missed this issue. I'll try to find a way to fix that ASAP @VictoriqueMoe ;)
from tsed.
It seems to be coming from the validator badge
from tsed.
Hello @VictoriqueMoe
I finally decided to use the getAbsolutePath from swagger-ui-dist/get-absolute-path.js
it seems to works correctly. I was thinking importing file directly (when exports isn't defined in the package.json of the module) doesn't works in ESM. Finally, if exports is missing, ESM can import any files in the package.
It should solve your issue ;)
See you
from tsed.
🎉 Are you happy?
If you appreciated the support, know that it is free and is carried out on personal time ;)
A support, even a little bit makes a difference for me and continues to bring you answers!
from tsed.
🎉 This issue has been resolved in version 7.68.6 🎉
The release is available on:
v7.68.6
- GitHub release
Your semantic-release bot 📦🚀
from tsed.
Hello @VictoriqueMoe
I finally decided to use the getAbsolutePath from
swagger-ui-dist/get-absolute-path.js
it seems to works correctly. I was thinking importing file directly (when exports isn't defined in the package.json of the module) doesn't works in ESM. Finally, if exports is missing, ESM can import any files in the package.It should solve your issue ;) See you
unfortantly, this did not solve the issue, i still get these 404's and the validator badge still errors
i deployed the latest tsed and you can see the error here: https://waifuvault.moe/api-docs/
from tsed.
Ok. But now the path is directly get from swagger-ui-dist. So it's not related to the latest changes. Maybe the problem is related to swagger-ui-dist itself?
from tsed.
But we can see a undefined string in the url. I'll check if other changes have introduce this regression. It's a bit complicated to repro in local when the badge is only displayed on a non localhost domain. I'll keep you informed if I found something ;)
And sorry for this unresolved issue!
from tsed.
But we can see a undefined string in the url. I'll check if other changes have introduce this regression. It's a bit complicated to repro in local when the badge is only displayed on a non localhost domain. I'll keep you informed if I found something ;) And sorry for this unresolved issue!
yeh, it's annoying for sure that is hard to test. editing the hosts file to proxy a localhost domain worked for me.
also, no problem! it's not really a blocker. However, this is a blocker: https://github.com/orgs/tsedio/discussions/2697 if that counts for anything :D
thank you as always for your amazing support and help
from tsed.
Related Issues (20)
- [BUG] tsed doesn't work with Nx Workspace HOT 1
- [BUG] ESM error in BullMQModule HOT 3
- [BUG] Children Controller Routes should be declared before parent HOT 10
- [BUG] package installation of @tsed/typeorm and typeorm produces dependency conflict HOT 2
- [BUG] DITest cannot handle multi-instance injection HOT 2
- [BUG] Custom Inject Decorator Issue HOT 2
- [BUG] TypeError: Cannot read properties of undefined (reading 'isDone') HOT 3
- [BUG] DI resolves `alias` tokens non-deterministically HOT 4
- [BUG] @Nullable decorator does not work with unions of various objects HOT 3
- [BUG] MultipartFile doesn't show file input in Swagger HOT 1
- FormData property not available from BodyParams in a Middleware HOT 17
- [BUG] Invoke Error in platform-serverless on SQS event HOT 2
- [BUG] New implementation of "nullable" decreases the accuracy of ajv errors. HOT 4
- [BUG] @Integer annotation is no more taking into model when used with @Nullable(Number) HOT 12
- [BUG] TypeError in JsonDeserializer when handling Array of Maps HOT 9
- Run BullMQ workers $onReady? HOT 1
- [ERROR] [TSED] - TypeError: Cannot read properties of undefined (reading 'paramType') HOT 2
- Feat: Disable axios behavior HOT 23
- Option to disable cache control when caching endpoints
- [BUG] adding optional path paramater duplciates the endpoint in swagger HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsed.