Created
May 6, 2016 23:02
-
-
Save ggood/099933cdf7aba3cab4867abd500d1b25 to your computer and use it in GitHub Desktop.
OpenAPI spec that causes generated c# constructor to be malformed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
swagger: '2.0' | |
info: | |
version: 0.0.0 | |
title: Exercise c-sharp codegen bug with readonly properties | |
paths: | |
/: | |
get: | |
responses: | |
200: | |
description: OK | |
definitions: | |
Foo: | |
type: object | |
properties: | |
bar: | |
type: string | |
baz: | |
type: string | |
readOnly: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generated constructor is: