Closed Nativu5 closed 8 months ago
would be nice, but for the workaround I just copy/paste .json file into this editor and it automatically generate yaml file for you https://editor.swagger.io/
would be nice, but for the workaround I just copy/paste .json file into this editor and it automatically generate yaml file for you https://editor.swagger.io/
Thanks for your reply. I know it's easy to convert OpenAPI specs from .json to .yaml. However, some services (namely, 文心一言 from Baidu) only accept an online specs, which means I can't copy/paste it.
I understand Baidu's design is bit nerdy. But if we have this feature, definitely it would be more flexible and timesaving.
Hey there, i've just publish a new release v1.0.8 that adds support for this, in /openapi.yaml
or in the specified openapi_url
path
Let me know if you have more suggestions
As some services (e.g., 文心一言 from Baidu) require
openapi.yaml
but we only haveopenapi.json
now, I am wondering if we can add support for generating a YAML spec and serving it?