Skip to main content
Participant
May 13, 2021
Answered

Swagger Spec

  • May 13, 2021
  • 2 replies
  • 447 views

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 has been closed for replies.

2 replies

I.am.Sceiffer
Participating Frequently
May 16, 2021

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?

BKBK
Community Expert
BKBKCommunity ExpertCorrect answer
Community Expert
May 16, 2021
BKBK
Community Expert
Community Expert
May 22, 2021

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