Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfigueiras committed Jun 20, 2016
2 parents 1a1a88f + 7d596cd commit 623b83c
Show file tree
Hide file tree
Showing 12 changed files with 723 additions and 1 deletion.
35 changes: 35 additions & 0 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,49 @@ Copyright 2016 The Symphony Software Foundation
This product includes software developed at
The Symphony Software Foundation (http://symphony.foundation).

---

Source files (*.cs) in src/SymphonyOSS.RestApiClient.Generated/
have been generated using swagger-codegen
(https://github.com/swagger-api/swagger-codegen), licensed
under the Apache License, Version 2.0.

---

The following files do not contain license headers but are still
licensed under the Apache License, Version 2.0:
**/AssemblyInfo.cs
**/packages.config
src/SymphonyOSS.RestApiClient.Generated/OpenApi/Yaml/**/*.yaml
.travis.yml

---

The code in src/SymphonyOSS.RestApiClient.Generated/Json/JsonSubtypeConverter.cs
was initially copied from a .NET Fiddle at https://dotnetfiddle.net/ELcvnk,
written by Anatoly Ressin. This code was licensed under the MIT License, according
to the license header:

// Discriminated Json Converter (JsonSubtypes) implementation for .NET
//
// MIT License
//
// Copyright (c) 2016 Anatoly Ressin

// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Licensed to the Symphony Software Foundation (SSF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SSF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.

namespace SymphonyOSS.RestApiClient.Generated.OpenApi.AgentApi.Model
{
using Newtonsoft.Json;
using Json;

/// <summary>
/// Json discriminator attributes added to V2BaseMessage (and
/// its descendants) to support polymorphism.
/// </summary>
[JsonConverter(typeof(JsonSubtypeConverter))]
[JsonDiscriminator("V2messageType")]
public partial class V2BaseMessage
{
}

[JsonSubtype("V2Message")]
public partial class V2Message
{
}
}
Loading

0 comments on commit 623b83c

Please sign in to comment.