Skip to content

Commit

Permalink
Update angular-generator for compatibility with newest ts and swagger…
Browse files Browse the repository at this point in the history
… versions (heroiclabs#835)
  • Loading branch information
ftkg authored Apr 15, 2022
1 parent 5029cf4 commit 27b68da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions console/openapi-gen-angular/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'})
Expand Down Expand Up @@ -321,7 +321,7 @@ func main() {
return
}

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

Expand Down

0 comments on commit 27b68da

Please sign in to comment.