12/27/2022 0 Comments How to use the swagger editorbasePath defines URL prefix for all defined endpoints.įor example, defining /account endpoint actually means scheme://host/basePath/account Paths.schemes is an array protocols supported by API.See Known limitations on what parameters are not supported. title and version are required parameters, others like description are optional. Then you can specify info object for additional metadata. Metadata, API Name & DescriptionĮvery Swagger document starts with Swagger version declaration swagger: "2.0". If you are new to API Description world, best choice is to use either Apiary Editor on Apiary.io, because of its built-in helpers and instant preview or dedicated Swagger Editor. We are showing Swagger only in YAML format, because that’s how it’s supported in Apiary, but Swagger in JSON format will work the same.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |