Skip to content

Regenerate OpenAPI client#1066

Draft
eqmonitor[bot] wants to merge 1 commit intodevelopfrom
regenerate-openapi-client/patch
Draft

Regenerate OpenAPI client#1066
eqmonitor[bot] wants to merge 1 commit intodevelopfrom
regenerate-openapi-client/patch

Conversation

@eqmonitor
Copy link
Contributor

@eqmonitor eqmonitor bot commented Mar 5, 2026

Regenerate OpenAPI client by GitHub Actions
by: eqmonitor[bot]

📝 Generate OpenAPI Client Log


▶ lib/ を削除 ...
  Done (0.0s)
externalOpenapiPath: /home/runner/work/EQMonitor/EQMonitor/packages/eqmonitor_api/openapi/openapi.json
openapiFile.path: /home/runner/work/EQMonitor/EQMonitor/packages/eqmonitor_api/openapi/openapi.json

▶ swagger_parser でクライアントコードを生成 ...

┃  ____ _ _ _ ____ ____ ____ ____ ____     ___  ____ ____ ____ ____ ____ 
┃  [__  | | | |__| | __ | __ |___ |__/     |__] |__| |__/ [__  |___ |__/ 
┃  ___] |_|_| |  | |__] |__] |___ |  \ ___ |    |  | |  \ ___] |___ |  \
┃

Generate...
> openapi: 
    �[31mFailed to generate files.�[0m
    FormatException: Unexpected end of input (at character 1)

^

    #0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1467:5)
    #1      _ChunkedJsonParser.close (dart:convert-patch/convert_patch.dart:497:7)
    #2      _parseJson (dart:convert-patch/convert_patch.dart:36:10)
    #3      JsonDecoder.convert (dart:convert/json.dart:641:36)
    #4      JsonCodec.decode (dart:convert/json.dart:223:41)
    #5      OpenApiCorrector.correct (package:swagger_parser/src/parser/corrector/open_api_corrector.dart:20:16)
    #6      new OpenApiParser (package:swagger_parser/src/parser/parser/open_api_parser.dart:28:55)
    #7      GenProcessor.generateFiles (package:swagger_parser/src/generator/generator/generator_processor.dart:30:20)
    <asynchronous suspension>
    #8      main (file:///home/runner/.pub-cache/hosted/pub.dev/swagger_parser-1.43.0/bin/swagger_parser.dart:28:39)
    <asynchronous suspension>
    

�[31mThe generation was completed with errors.
No schemes were generated.�[0m
  Done (0.7s)

▶ 震度 enum メンバー名をパッチ ...
  Done (0.0s)

▶ build_runner で Freezed / Retrofit コードを生成 ...
  1s compiling builders/jit
  2s compiling builders/jit
  3s compiling builders/jit
  4s compiling builders/jit
  5s compiling builders/jit
  6s compiling builders/jit
  0s freezed on 1 input; bin/generate.dart
  6s freezed on 1 input: 1 no-op; spent 6s sdk
  0s json_serializable on 2 inputs; bin/generate.dart
  0s json_serializable on 2 inputs: 1 no-op; bin/generate.freezed.dart
  0s json_serializable on 2 inputs: 1 skipped, 1 no-op
  0s retrofit_generator on 2 inputs; bin/generate.dart
  0s retrofit_generator on 2 inputs: 1 skipped, 1 no-op
  0s source_gen:combining_builder on 2 inputs; bin/generate.dart
  0s source_gen:combining_builder on 2 inputs: 1 skipped, 1 no-op
  Built with build_runner/jit in 14s; wrote 0 outputs.
  Done (18.9s)

✅ コード生成が完了しました

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Plan Result (googlecloud/environments/production)

CI link

No changes. Your infrastructure matches the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants