File: //opt/go/pkg/mod/github.com/go-openapi/
[email protected]/fixtures/oaigen/test3-bis-swagger.yaml
swagger: '2.0'
info:
version: 0.1.1
title: test 1
description: recursively following JSON references
contact:
name: Fred
schemes:
- http
consumes:
- application/json
produces:
- application/json
paths:
/getAll:
get:
operationId: getAll
parameters:
- name: a
in: body
description: max number of results
schema:
$ref: '#/definitions/a'
responses:
'200':
description: Success
schema:
$ref: '#/definitions/b'
'201':
description: Success
schema:
$ref: '#/definitions/b'
'203':
description: Success
schema:
$ref: '#/definitions/c'
definitions:
a:
type: string
b:
type: array
items:
type: string
c:
type: object
additionalProperties:
type: integer