Forum Academy Marketplace Showcase Pricing Features

Generate Swagger Documentation -

I am trying to access my app’s swagger documentation for workflows as well as data objects.

We have a custom domain, three environments (dev, sandbox, and live), and one other collaborator with access.

This is for a client who wants to bang away at the app in sandbox before committing.

I am use to seeing this:

I have been though the different help topics, but I can’t seem to find an answer. Have been involved in this for a few hours and I am sure that someone might be able to drop some knowledge pretty easily.

$20 for the right answer via paypal. $100 via paypal if you would walk me through it. Calendly - John Casano

Best,
John

Given you have data and wf enabled in your API settings:

https://editor.swagger.io/

https://YourAppName.bubbleapps.io/version-test/api/1.1/meta/swagger.json

File > Import URL > Enter URL > Ok

Should generate everything you need.

1 Like

Hello,

So, the swagger description does no more exist, right ? Either the doc has to be updated, either the feature has to be back :wink:

I waaaaant my swagger description ! :slight_smile:

https:/your_app_id.bubbleapps.io/api/1.1/meta/swagger.json

Don’t forget to enable Data API.

@Christophe_HK

[email protected] Nocodetalks
Looking for a Bubble Coach? Check out here

Hu @ankur1, yes, indeed for the url, but I tried with both the bubbleapps domain and the custom domain, and I get a 401 error. All is enabled, swagger, data api,…

Weird !

Here after the 404 (not 401l error message I get for both test and prod, and I’m on a paid plan :

{“statusCode”:404,“body”:{“status”:“NOT_FOUND”,“message”:“Not found”}}

Would you mind sharing your app id? @Christophe_HK

1 Like

@ankur1 yes, done (PM)

I’d been wanting to build a Swagger UI plugin for a while.

Ya’ll inspired me to spin this up real quick: Swagger UI Plugin | Bubble

Let me know what you think!

2 Likes

I’ll give a try, thanks @brian9 !