Skip to content

Instantly share code, notes, and snippets.

View ggood's full-sized avatar

Gordon Good ggood

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ggood on github.
  • I am ggood (https://keybase.io/ggood) on keybase.
  • I have a public key ASDz-SVmOVP6sDfe4LQ2o9AEp5SlgLLQw5IQ8YP1plD9JAo

To claim this, I am signing this object:

using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
@ggood
ggood / ROConstructor.yaml
Created May 6, 2016 23:02
OpenAPI spec that causes generated c# constructor to be malformed.
---
swagger: '2.0'
info:
version: 0.0.0
title: Exercise c-sharp codegen bug with readonly properties
paths:
/:
get:
responses:
200:
/**
* Copyright (c) 2016, Gordon S. Good (velo27 [at] yahoo [dot] com)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the