-
Response 401 undocumented in Swagger
Hi there, small issue. In any flow I can use a precondition to check anything I want and cause an error to be generated. One of the error types available is the UNAUTHORIZED type. This causes the 401 response code. This code however isn't documented in the swagger documentation. That documentation only covers 200, 400,…
-
Is it possible to change data source in swagger?
Hi, my question is that if it's possible to change data-source for auto-generated swagger page. Currently, you can't change headers, therefore swagger always use live data.
-
SwaggerUI no displaying endpoint schema
Hi all, My SwaggerUI documentation is not displaying the schema of my endpoint. However, whenever I "Try it out" it returns the right data. The could it be because the response I am returning is derived from a constructed object and not directly from the the database? Below is the swaggerUI view of the endpoint and the…
-
Swagger Do's and don'ts
Hey, quick question about Swagger. I have all of my endpoints in my 'public' xano APi group, so all of my endpoints are in the public Swagger. It seems I wouldn't want some endpoints available to the public. Like Stripe and other endpoints that can do some damage in the wrong hands. Is that correct? Is it best practice to…
-
How do I use swagger-typescript-api with Xano?
I am trying to use swagger-typescript-api with Xano My Swagger is here: https://x8ki-letl-twmt.n7.xano.io/api:oyatO036?type=json I use this command line: npx swagger-typescript-api -p https://x8ki-letl-twmt.n7.xano.io/api:oyatO036?type=json -o ./src -n nickBlog.ts --axios And I get a big, ugly error, the heart of which is:…