Skip to main content
Participant
May 13, 2021 7:41 PM UTC
Answered

Swagger Spec

Hello,

We are working with an application in which CF REST services are being developed, however, we have noticed that ColdFusion 2018 Enterprise is generating documentation using the Swagger Specification version 1.2.

 

Is there a ColdFusion Server update that allows the swagger documentation to be generated according to the Swagger Specification version 2.0 or 3.0?

 

Or some other solution to solve the situation.

This topic is closed to new replies. Start a new post to keep the conversation going.
BKBK
BKBKCorrect answer
Community Expert
May 16, 2021 5:44 PM UTC

3 replies

I.am.Sceiffer
Participating Frequently
May 16, 2021 6:00 PM UTC

Hi @CMIUser!

 

Have you tried to create a REST function for each CFC file that returns a serializedJSON from variables scope? No, you are not reading stuffs!

Calling that function using CFHTTP, you will certainly receive a diagnosis containing all you function and parameter features! It really works!

 

How about yourself creating a structure that generates a JSON for your preferred documentation platform?

Translate
BKBK
Community Expert
BKBKCommunity ExpertCorrect answer
Community Expert
May 16, 2021 5:44 PM UTC
BKBK
Community Expert
Community Expert
May 22, 2021 10:03 AM UTC

Update: Adobe has elevated the status of the Swagger upgrade ticket to "MustFix"

Translate