api-spec-converter
Version:
Convert API descriptions between popular formats such as OpenAPI(fka Swagger), RAML, API Blueprint, WADL, etc.
25 lines (23 loc) • 388 B
YAML
definitions:
Foo:
type: string
x-nullable: true
info:
title: test
version: 0.0.1
paths:
/foo:
get:
operationId: getFoo
parameters: []
produces:
- application/hal+json
responses:
'200':
description: Foo
schema:
$ref: '#/definitions/Foo'
tags:
- Foos
swagger: '2.0'
x-components: {}