CORS Error in OpenAPI Spec Example
Shentoza opened this issue · comments
Joscha commented
When trying to execute the OpenAPI Spec Example I'm getting a CORS issue.
Specs:
- no vpn
- tested in Chrome & Edge
https://haimkastner.github.io/unitsnet-openapi-spec-example/
Haim Kastner commented
Hey @Shentoza,
I didn't mean to make it a "live" example, but just to demonstrate how the DTO is represented in the OpenAPI spec.
But... since you asked so nicely :) and it's extremely simple to do, I added it...
You can now make the call and get a real random DTO unit value representing (always) 10 meters.
Enjoy.