Unverified Commit 27b68dab authored by Fernando Takagi's avatar Fernando Takagi Committed by GitHub
Browse files

Update angular-generator for compatibility with newest ts and swagger versions (#835)

parent 5029cf49
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -70,8 +70,8 @@ const DEFAULT_HOST = 'http://127.0.0.1:7120';
const DEFAULT_TIMEOUT_MS = 5000;

export class ConfigParams {
  host: string
  timeoutMs: number
  host!: string
  timeoutMs!: number
}

@Injectable({providedIn: 'root'})
@@ -321,7 +321,7 @@ func main() {
		return
	}

	interfacesToRemove := []string{"googlerpcStatus", "protobufAny"}
	interfacesToRemove := []string{"googlerpcStatus", "rpcStatus", "protobufAny"}
	adjustSchemaData(schema, prefixesToRemove, interfacesToRemove)
	createBodyTypes(schema)