how can i convert api proxy to swagger code

hyy all

i have an api proxy with some functionality so i want my this api convert to swagger any guide how can i write a code becuase in spec open have only import option so where i wll write or what are the prerequisites so that or i have to code that ?

0 1 111
1 REPLY 1

Usual practice is other way around. You design/document the spec/contract based of the requirement and then based of open api spec you create proxy.

Just fyi..explore stoplight & learn how to design.

https://stoplight.io/