matter-labs / block-explorer

zkSync Era Block Explorer
Apache License 2.0
125 stars 110 forks source link

feat: swagger working examples for all environments #71

Closed vasyl-ivanchuk closed 1 year ago

vasyl-ivanchuk commented 1 year ago

What ❔

Dynamic swagger constants for different environments.

Why ❔

Right now swagger examples are hardcoded and don't work on all envs which might be confusing for users. In order to provide better developer experience we want the default examples we provide to work on all envs out of the box.

Checklist

github-actions[bot] commented 1 year ago

API E2E Test Results

202 tests   202 :heavy_check_mark:  35s :stopwatch:   12 suites      0 :zzz:     1 files        0 :x:

Results for commit 987fd64b.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 987fd64):

(expires Mon, 06 Nov 2023 16:02:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e508f9012944951194447cb8885950b451a24403

github-actions[bot] commented 1 year ago

Unit Test Results

       3 files     241 suites   2m 33s :stopwatch: 1 877 tests 1 876 :heavy_check_mark: 1 :zzz: 0 :x: 1 903 runs  1 902 :heavy_check_mark: 1 :zzz: 0 :x:

Results for commit 987fd64b.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.20.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: