UNPKG

@redocly/cli

Version:

[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g

62 lines (61 loc) 1.29 kB
{ "openapi": "3.0.1", "info": { "title": "TEST", "description": "TEST", "version": "v1", "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "servers": [ { "url": "http://petstore.swagger.io/v1" } ], "components": { "schemas": { "Test": { "nullable": true } } }, "paths": { "/test": { "get": { "summary": "test", "operationId": "test", "responses": { "202": { "description": "Test", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Test" } } } }, "400": { "description": "An error response" } }, "x-codeSamples": [ { "lang": "C#", "source": "PetStore.v1.Pet pet = new PetStore.v1.Pet();" }, { "lang": "C/AL", "source": "PetStore.v1.Pet pet = new PetStore.v1.Pet();" }, { "lang": "Visual Basic", "source": "PetStore.v1.Pet pet = new PetStore.v1.Pet();" } ] } } } }