Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2420819
better support of inline schema in array item
wing328 Apr 10, 2022
699a858
update tests
wing328 Apr 10, 2022
86e4cf2
update samples
wing328 Apr 10, 2022
e0c409e
Merge remote-tracking branch 'origin/master' into inline-model-resolver1
wing328 Apr 10, 2022
287b589
regenerate samples
wing328 Apr 11, 2022
24335b4
fix allof naming, remove files
wing328 Apr 11, 2022
40846c6
add files
wing328 Apr 11, 2022
a278634
update samples
wing328 Apr 11, 2022
019e7c9
update readme
wing328 Apr 11, 2022
63b7d02
fix tests
wing328 Apr 17, 2022
43afbb3
Merge remote-tracking branch 'origin/master' into inline-model-resolver1
wing328 Apr 17, 2022
13deddc
update samples
wing328 Apr 17, 2022
33dc94b
update samples
wing328 Apr 17, 2022
89f4fda
add new files
wing328 Apr 17, 2022
0157114
update test spec
wing328 Apr 18, 2022
d87f512
add back tests
wing328 Apr 18, 2022
f52e1f4
remove unused files
wing328 Apr 18, 2022
53cf35c
comment out python test
wing328 Apr 18, 2022
63a04f2
update js test using own spec
wing328 Apr 18, 2022
e94decd
remove files
wing328 Apr 18, 2022
0c66fb5
Merge remote-tracking branch 'origin/master' into inline-model-resolver1
wing328 Apr 18, 2022
354eafe
remove unused files
wing328 Apr 18, 2022
1e58cbd
remove files
wing328 Apr 18, 2022
7cd1854
remove unused files
wing328 Apr 18, 2022
0ef336a
better handling of allOf with a single type
wing328 Apr 18, 2022
ce929ef
comment out go test
wing328 Apr 18, 2022
a6135cf
remove test_all_of_with_single_ref_single_ref_type.py
wing328 Apr 19, 2022
9190fbb
fix inline resolver, uncomment go test
wing328 Apr 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add new files
  • Loading branch information
wing328 committed Apr 17, 2022
commit 89f4fda7cdd50b5f310f1fed044ee5a7856eab46
12 changes: 12 additions & 0 deletions samples/client/petstore/csharp/OpenAPIClient/docs/UserUserType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Org.OpenAPITools.Model.UserUserType

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to README]](../README.md)

Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/


using NUnit.Framework;

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
using Newtonsoft.Json;

namespace Org.OpenAPITools.Test
{
/// <summary>
/// Class for testing UserUserType
/// </summary>
/// <remarks>
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model.
/// </remarks>
public class UserUserTypeTests
{
// TODO uncomment below to declare an instance variable for UserUserType
//private UserUserType instance;

/// <summary>
/// Setup before each test
/// </summary>
[SetUp]
public void Init()
{
// TODO uncomment below to create an instance of UserUserType
//instance = new UserUserType();
}

/// <summary>
/// Clean up after each test
/// </summary>
[TearDown]
public void Cleanup()
{

}

/// <summary>
/// Test an instance of UserUserType
/// </summary>
[Test]
public void UserUserTypeInstanceTest()
{
// TODO uncomment below to test "IsInstanceOf" UserUserType
//Assert.IsInstanceOf(typeof(UserUserType), instance);
}



}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;

namespace Org.OpenAPITools.Model
{
/// <summary>
/// UserUserType
/// </summary>
[DataContract]
public partial class UserUserType : IEquatable<UserUserType>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="UserUserType" /> class.
/// </summary>
[JsonConstructorAttribute]
public UserUserType()
{
}

/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class UserUserType {\n");
sb.Append("}\n");
return sb.ToString();
}

/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as UserUserType);
}

/// <summary>
/// Returns true if UserUserType instances are equal
/// </summary>
/// <param name="input">Instance of UserUserType to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(UserUserType input)
{
if (input == null)
return false;

return false;
}

/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
return hashCode;
}
}

/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.

defmodule OpenapiPetstore.Model.UserUserType do
@moduledoc """

"""

@derive [Poison.Encoder]
defstruct [

]

@type t :: %__MODULE__{

}
end

defimpl Poison.Decoder, for: OpenapiPetstore.Model.UserUserType do
def decode(value, _options) do
value
end
end

Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


package org.openapitools.client.model;

import java.util.Objects;
import java.util.Arrays;
import org.openapitools.client.model.UserType;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* UserUserType
*/
@JsonPropertyOrder({
})
@JsonTypeName("User_userType")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class UserUserType {
public UserUserType() {
}

@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
return true;
}

@Override
public int hashCode() {
return Objects.hash();
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserUserType {\n");
sb.append("}");
return sb.toString();
}

/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


package org.openapitools.client.model;

import org.openapitools.client.model.UserType;
import org.junit.jupiter.api.Test;


/**
* Model tests for UserUserType
*/
class UserUserTypeTest {
private final UserUserType model = new UserUserType();

/**
* Model tests for UserUserType
*/
@Test
void testUserUserType() {
// TODO: test UserUserType
}

}
12 changes: 12 additions & 0 deletions samples/client/petstore/java/webclient/docs/UserUserType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@


# UserUserType


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|



Loading