简体   繁体   中英

Swagger: swagger.json interface

i tried to work with marketplace. They said that "Working with the API consists of sending a request and receiving a response. To do this, you can use the console to the right of the method descriptions, the Swagger interface"

Also, the link of "Swagger interface" => https://api-seller.ozon.ru/docs/#/ looks like this: 在此处输入图片说明

I`ma little bit confused, because i expected, that this is the library, or smth like this.

Link swagger.json 在此处输入图片说明

it`sa page with to json setting(as i think), picture is pretty view of plain text on that page: 在此处输入图片说明

so, i have no swagger library, but have this json.

Question:

Can i make from this json Swagger project?

When you click on swagger.json (as you shown in image with red arrow) it will redirect you to another page, this page have json configuration. Copy this json and open https://editor.swagger.io/ this link, and paste your json. After that, there is an option on menu 'Generate Client' it give you a various options to generate your client in Angular, C# and so on

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM