Skip to content

Instantly share code, notes, and snippets.

@tobymurray
Last active December 2, 2019 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobymurray/c9733c7e1ca3bac292eb906838949d2c to your computer and use it in GitHub Desktop.
Save tobymurray/c9733c7e1ca3bac292eb906838949d2c to your computer and use it in GitHub Desktop.
OpenAPI generator regression
swagger: "2.0"
info:
version: "3"
title: API
host: localhost:8443
basePath: /api
schemes:
- https
consumes:
- application/json
produces:
- application/json
paths:
/reproduce-bug:
get:
summary: Reproduce the bug
responses:
200:
description: Success
schema:
$ref: "#/definitions/GetResponse"
definitions:
ObjectMap:
type: object
required:
- default
properties:
default:
type: string
additionalProperties:
type: object
GetResponse:
type: object
properties:
data:
$ref: "#/definitions/ObjectMap"
description: Key value pairs of data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment