Skip to content

Commit

Permalink
Generated from 004d77657b470329193715edd882bc1934d0785a (#155)
Browse files Browse the repository at this point in the history
Fix bad discriminator value on ConnectionInfo which was breaking node/js SDK generation
  • Loading branch information
openapi-sdkautomation[bot] authored and SDK Automation committed Aug 16, 2019
1 parent b482a5f commit 89bd6ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,9 @@
* Defines the connection properties of a server.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Unknown")
@JsonTypeName("ConnectionInfo")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SqlConnectionInfo", value = SqlConnectionInfo.class),
@JsonSubTypes.Type(name = "ValidateMigrationInput.SqlServer.AzureSqlDbMI", value = ValidateMigrationInputSqlServerSqlMITaskProperties.class),
@JsonSubTypes.Type(name = "Migrate.SqlServer.SqlDb", value = MigrateSqlServerSqlDbTaskProperties.class),
@JsonSubTypes.Type(name = "Migrate.SqlServer.AzureSqlDbMI", value = MigrateSqlServerSqlMITaskProperties.class),
@JsonSubTypes.Type(name = "GetUserTables.Sql", value = GetUserTablesSqlTaskProperties.class),
@JsonSubTypes.Type(name = "ConnectToTarget.SqlDb", value = ConnectToTargetSqlDbTaskProperties.class),
@JsonSubTypes.Type(name = "ConnectToTarget.AzureSqlDbMI", value = ConnectToTargetSqlMITaskProperties.class),
@JsonSubTypes.Type(name = "ConnectToSource.SqlServer", value = ConnectToSourceSqlServerTaskProperties.class)
@JsonSubTypes.Type(name = "SqlConnectionInfo", value = SqlConnectionInfo.class)
})
public class ConnectionInfo {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "taskType")
@JsonTypeName("Unknown")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SqlConnectionInfo", value = SqlConnectionInfo.class),
@JsonSubTypes.Type(name = "ValidateMigrationInput.SqlServer.AzureSqlDbMI", value = ValidateMigrationInputSqlServerSqlMITaskProperties.class),
@JsonSubTypes.Type(name = "Migrate.SqlServer.SqlDb", value = MigrateSqlServerSqlDbTaskProperties.class),
@JsonSubTypes.Type(name = "Migrate.SqlServer.AzureSqlDbMI", value = MigrateSqlServerSqlMITaskProperties.class),
Expand Down

0 comments on commit 89bd6ff

Please sign in to comment.