-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update testserver * Bump to v2.0.19 * Fix generator and update testserver version * Accept that .XmlName sometimes throws for some reason * Update autorest * Fix polymorphism test * Downgrade autorest testserver version for now * Update package.json * Bump to v2.0.20. Fix testserver version range.
- Loading branch information
1 parent
1eb2909
commit 65f93d6
Showing
8 changed files
with
203 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
.idea/ | ||
target/ | ||
*.iml | ||
.gulp/ | ||
.vscode/ | ||
src/Model/ | ||
src/Properties/ | ||
src/Templates/ | ||
test/ | ||
src/obj/ | ||
package/ | ||
|
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
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
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
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
53 changes: 53 additions & 0 deletions
53
test/vanilla/src/main/java/fixtures/bodycomplex/models/GoblinSharkColor.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
package fixtures.bodycomplex.models; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.v2.ExpandableStringEnum; | ||
import java.util.Collection; | ||
|
||
/** | ||
* Defines values for GoblinSharkColor. | ||
*/ | ||
public final class GoblinSharkColor extends ExpandableStringEnum<GoblinSharkColor> { | ||
/** | ||
* Static value pink for GoblinSharkColor. | ||
*/ | ||
public static final GoblinSharkColor PINK = fromString("pink"); | ||
|
||
/** | ||
* Static value gray for GoblinSharkColor. | ||
*/ | ||
public static final GoblinSharkColor GRAY = fromString("gray"); | ||
|
||
/** | ||
* Static value brown for GoblinSharkColor. | ||
*/ | ||
public static final GoblinSharkColor BROWN = fromString("brown"); | ||
|
||
/** | ||
* Creates or finds a GoblinSharkColor from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding GoblinSharkColor. | ||
*/ | ||
@JsonCreator | ||
public static GoblinSharkColor fromString(String name) { | ||
return fromString(name, GoblinSharkColor.class); | ||
} | ||
|
||
/** | ||
* @return known GoblinSharkColor values. | ||
*/ | ||
public static Collection<GoblinSharkColor> values() { | ||
return values(GoblinSharkColor.class); | ||
} | ||
} |
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
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