Run mock server based off an API contract with one command

dummy

CI-img pkg-img reportcard-img coverage-img version-img

Run mock server based off an API contract with one command

Features

  • Supports OpenAPI 3.x

Installation

go install github.com/neotoolkit/dummy/cmd/dummy@latest

Usage

Dummy can help you run mock server based off an API contract, which helps people see how your API will work before you even have it built. Run it locally with the dummy s command to run your API on a HTTP server you can interact with.

dummy s openapi.yml
dummy s https://raw.githubusercontent.com/neotoolkit/dummy/main/examples/docker/openapi.yml

More usage examples

Documentation

See these docs.

License

MIT License.

Sponsors

Sponsored by Evrone

Comments
  • Add get path param name helper

    Add get path param name helper

    Example

    func GetPathParamName(param string) string {
        if strings.HasPrefix(param, "{") && strings.HasSuffix(param, "}") {
            return param[1:len(param)-1]
        }
        
        return ""
    }
    

    Don't forget test

  • Added path param name removing parentheses function

    Added path param name removing parentheses function

    Issue #123 В общем-то, ты сам ее уже написал, я только тестов докинул

    Checklist:

    • [x] Tests for the changes have been added (for bug fixes / features / refactoring)
  • chore(deps): bump github.com/goccy/go-yaml from 1.9.5 to 1.9.7

    chore(deps): bump github.com/goccy/go-yaml from 1.9.5 to 1.9.7

    Bumps github.com/goccy/go-yaml from 1.9.5 to 1.9.7.

    Release notes

    Sourced from github.com/goccy/go-yaml's releases.

    1.9.7

    What's Changed

    Full Changelog: https://github.com/goccy/go-yaml/compare/v1.9.6...v1.9.7

    1.9.6

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goccy/go-yaml/compare/v1.9.5...v1.9.6

    Changelog

    Sourced from github.com/goccy/go-yaml's changelog.

    1.9.7 - 2022-12-03

    Fix bugs

    • Fix handling of quoted map key ( #328 )
    • Fix resusing process of scanning context ( #322 )

    v1.9.6 - 2022-10-26

    New Features

    • Introduce MapKeyNode interface to limit node types for map key ( #312 )

    Fix bugs

    • Quote strings with special characters in flow mode ( #270 )
    • typeError implements PrettyPrinter interface ( #280 )
    • Fix incorrect const type ( #284 )
    • Fix large literals type inference on 32 bits ( #293 )
    • Fix UTF-8 characters ( #294 )
    • Fix decoding of unknown aliases ( #317 )
    • Fix stream encoder for insert a separator between each encoded document ( #318 )

    Update

    • Update golang.org/x/sys ( #289 )
    • Update Go version in CI ( #295 )
    • Add test cases for missing keys to struct literals ( #300 )
    Commits
    • 49dc308 Update CHANGELOG
    • 2cd47e3 Merge pull request #328 from goccy/fix-quoted-map-key
    • 6a9ddb5 care whitespace
    • db6dd54 Fix handling of quoted map key
    • 045101d add test cases
    • 7b77440 Merge pull request #322 from goccy/fix-context-reuse
    • 937c167 Fix resusing process of scanning context
    • 33858b4 Update CHANGELOG
    • bc437e1 Merge pull request #270 from igorpeshansky/fix-flow-mode-quotes
    • 8607d4f Merge pull request #317 from nervo/handle-unmarshall-unknown-aliases
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/goccy/go-yaml from 1.9.5 to 1.9.6

    chore(deps): bump github.com/goccy/go-yaml from 1.9.5 to 1.9.6

    Bumps github.com/goccy/go-yaml from 1.9.5 to 1.9.6.

    Release notes

    Sourced from github.com/goccy/go-yaml's releases.

    1.9.6

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goccy/go-yaml/compare/v1.9.5...v1.9.6

    Changelog

    Sourced from github.com/goccy/go-yaml's changelog.

    v1.9.6 - 2022-10-26

    New Features

    • Introduce MapKeyNode interface to limit node types for map key ( #312 )

    Fix bugs

    • Quote strings with special characters in flow mode ( #270 )
    • typeError implements PrettyPrinter interface ( #280 )
    • Fix incorrect const type ( #284 )
    • Fix large literals type inference on 32 bits ( #293 )
    • Fix UTF-8 characters ( #294 )
    • Fix decoding of unknown aliases ( #317 )
    • Fix stream encoder for insert a separator between each encoded document ( #318 )

    Update

    • Update golang.org/x/sys ( #289 )
    • Update Go version in CI ( #295 )
    • Add test cases for missing keys to struct literals ( #300 )
    Commits
    • 33858b4 Update CHANGELOG
    • bc437e1 Merge pull request #270 from igorpeshansky/fix-flow-mode-quotes
    • 8607d4f Merge pull request #317 from nervo/handle-unmarshall-unknown-aliases
    • 48a606c Merge pull request #318 from zoncoen/fix-encode
    • 548aa05 fix: insert a separator between each encoded document
    • 941abdb Handle unmarshall unknown aliases
    • ecececd Merge pull request #293 from jrisc/explicit_int64
    • 03bdafe Merge pull request #312 from itchyny/introduce-map-key-node
    • f7e9124 Introduce MapKeyNode interface to limit node types for map key
    • 66e8faa Fix large literals type inference on 32 bits
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/cristalhq/acmd from 0.8.0 to 0.9.1

    chore(deps): bump github.com/cristalhq/acmd from 0.8.0 to 0.9.1

    Bumps github.com/cristalhq/acmd from 0.8.0 to 0.9.1.

    Release notes

    Sourced from github.com/cristalhq/acmd's releases.

    v0.9.1

    1b0fa23f87e502a3d04baedb83dcf7d7af7498a7 Rename FlagSetter to FlagsGetter (#40)

    v0.9.0

    bf7d1f2f9bab9f0eb7ed44afa3b1217b1df958b6 Add flags support (#39)

    v0.8.1

    e0b9131c2e15ca700ae3074f9567c25cbe8c90e7 Do should work (#35)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.uber.org/zap from 1.21.0 to 1.23.0

    chore(deps): bump go.uber.org/zap from 1.21.0 to 1.23.0

    Bumps go.uber.org/zap from 1.21.0 to 1.23.0.

    Release notes

    Sourced from go.uber.org/zap's releases.

    v1.23.0

    Enhancements:

    • #1147[]: Add a zapcore.LevelOf function to determine the level of a LevelEnabler or Core.
    • #1155[]: Add zap.Stringers field constructor to log arrays of objects that implement String() string.

    #1147: uber-go/zap#1147 #1155: uber-go/zap#1155

    v1.22.0

    Enhancements:

    • #1071[]: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
    • #1079[]: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
    • #1080[]: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
    • #1088[]: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
    • #1108[]: Add a zap.Must function that you can use with NewProduction or NewDevelopment to panic if the system was unable to build the logger.
    • #1118[]: Add a Logger.Log method that allows specifying the log level for a statement dynamically.

    Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun for their contributions to this release.

    #1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088 #1108: uber-go/zap#1108 #1118: uber-go/zap#1118

    Changelog

    Sourced from go.uber.org/zap's changelog.

    1.23.0 (24 Aug 2022)

    Enhancements:

    • #1147[]: Add a zapcore.LevelOf function to determine the level of a LevelEnabler or Core.
    • #1155[]: Add zap.Stringers field constructor to log arrays of objects that implement String() string.

    #1147: uber-go/zap#1147 #1155: uber-go/zap#1155

    1.22.0 (8 Aug 2022)

    Enhancements:

    • #1071[]: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
    • #1079[]: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
    • #1080[]: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
    • #1088[]: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
    • #1108[]: Add a zap.Must function that you can use with NewProduction or NewDevelopment to panic if the system was unable to build the logger.
    • #1118[]: Add a Logger.Log method that allows specifying the log level for a statement dynamically.

    Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun for their contributions to this release.

    #1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088 #1108: uber-go/zap#1108 #1118: uber-go/zap#1118

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/lamoda/gonkey from 1.18.2 to 1.18.3

    chore(deps): bump github.com/lamoda/gonkey from 1.18.2 to 1.18.3

    Bumps github.com/lamoda/gonkey from 1.18.2 to 1.18.3.

    Release notes

    Sourced from github.com/lamoda/gonkey's releases.

    v1.18.3

    🐛 Bug Fix

    📝 Documentation

    Authors: 4

    Changelog

    Sourced from github.com/lamoda/gonkey's changelog.

    v1.18.3 (Thu Aug 25 2022)

    🐛 Bug Fix

    📝 Documentation

    Authors: 4


    v1.18.3 (Mon Aug 08 2022)

    Enhancement

    • Redis fixtures support
    • Custom loader support if using gonkey as a library with a FixtureLoader configuration attribute

    Authors: 1

    Commits
    • 108b7e1 Update CHANGELOG.md [skip ci]
    • 3d32619 Merge pull request #179 from vitkarpenko/fix_allure_reports
    • 274d508 Merge pull request #172 from vitkarpenko/phony_fix
    • 1e83e6c Fix finalizing allure reports.
    • 6599169 Merge pull request #171 from leorush/master
    • 757322f Merge pull request #176 from anemtarev/redis_fixtures
    • e6f086d feature: redis fixtures support
    • 92e012a With-db-example .PHONY fix.
    • 145ef50 Added JSON-Schema and how to set it up in readme
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/cristalhq/acmd from 0.8.0 to 0.8.1

    chore(deps): bump github.com/cristalhq/acmd from 0.8.0 to 0.8.1

    Bumps github.com/cristalhq/acmd from 0.8.0 to 0.8.1.

    Release notes

    Sourced from github.com/cristalhq/acmd's releases.

    v0.8.1

    e0b9131c2e15ca700ae3074f9567c25cbe8c90e7 Do should work (#35)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0

    chore(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0

    Bumps go.uber.org/zap from 1.21.0 to 1.22.0.

    Release notes

    Sourced from go.uber.org/zap's releases.

    v1.22.0

    Enhancements:

    • #1071[]: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
    • #1079[]: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
    • #1080[]: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
    • #1088[]: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
    • #1108[]: Add a zap.Must function that you can use with NewProduction or NewDevelopment to panic if the system was unable to build the logger.
    • #1118[]: Add a Logger.Log method that allows specifying the log level for a statement dynamically.

    Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun for their contributions to this release.

    #1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088 #1108: uber-go/zap#1108 #1118: uber-go/zap#1118

    Changelog

    Sourced from go.uber.org/zap's changelog.

    1.22.0 (8 Aug 2022)

    Enhancements:

    • #1071[]: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
    • #1079[]: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
    • #1080[]: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
    • #1088[]: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
    • #1108[]: Add a zap.Must function that you can use with NewProduction or NewDevelopment to panic if the system was unable to build the logger.
    • #1118[]: Add a Logger.Log method that allows specifying the log level for a statement dynamically.

    Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun for their contributions to this release.

    #1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088 #1108: uber-go/zap#1108 #1118: uber-go/zap#1118

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/cristalhq/acmd from 0.5.7 to 0.6.0

    chore(deps): bump github.com/cristalhq/acmd from 0.5.7 to 0.6.0

    Bumps github.com/cristalhq/acmd from 0.5.7 to 0.6.0.

    Release notes

    Sourced from github.com/cristalhq/acmd's releases.

    v0.6.0

    0ecab58cd9d259ba06b849ee7b8330c64eb44698 Relax command name format (#29)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/neotoolkit/faker from 0.1.2 to 0.2.0

    chore(deps): bump github.com/neotoolkit/faker from 0.1.2 to 0.2.0

    Bumps github.com/neotoolkit/faker from 0.1.2 to 0.2.0.

    Release notes

    Sourced from github.com/neotoolkit/faker's releases.

    v0.2.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/neotoolkit/faker/compare/v0.1.2...v0.2.0

    Commits
    • 5494fa5 Merge pull request #12 from neotoolkit/feat/deps
    • ff21d0c feat: add zero dependencies to Features
    • 94b845a Merge pull request #11 from neotoolkit/feat/test
    • 9726bf0 test: cleanup tests
    • 9084b5e Merge pull request #10 from neotoolkit/fix/uuid
    • f8c2038 fix: fix lint issue
    • 45c7ae3 Merge pull request #9 from neotoolkit/feat/any-return
    • 5068458 feat: any return
    • a8a061d Merge pull request #8 from neotoolkit/feat/zero-deps
    • af0df8e feat: remove dependencies
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/goccy/go-yaml from 1.9.5 to 1.9.8

    chore(deps): bump github.com/goccy/go-yaml from 1.9.5 to 1.9.8

    Bumps github.com/goccy/go-yaml from 1.9.5 to 1.9.8.

    Release notes

    Sourced from github.com/goccy/go-yaml's releases.

    1.9.8

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goccy/go-yaml/compare/v1.9.7...v1.9.8

    1.9.7

    What's Changed

    Full Changelog: https://github.com/goccy/go-yaml/compare/v1.9.6...v1.9.7

    1.9.6

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goccy/go-yaml/compare/v1.9.5...v1.9.6

    Changelog

    Sourced from github.com/goccy/go-yaml's changelog.

    1.9.8 - 2022-12-19

    Fix feature

    • Append new line at the end of file ( #329 )

    Fix bugs

    • Fix custom marshaler ( #333, #334 )
    • Fix behavior when struct fields conflicted( #335 )
    • Fix position calculation for literal, folded and raw folded strings ( #330 )

    1.9.7 - 2022-12-03

    Fix bugs

    • Fix handling of quoted map key ( #328 )
    • Fix resusing process of scanning context ( #322 )

    v1.9.6 - 2022-10-26

    New Features

    • Introduce MapKeyNode interface to limit node types for map key ( #312 )

    Fix bugs

    • Quote strings with special characters in flow mode ( #270 )
    • typeError implements PrettyPrinter interface ( #280 )
    • Fix incorrect const type ( #284 )
    • Fix large literals type inference on 32 bits ( #293 )
    • Fix UTF-8 characters ( #294 )
    • Fix decoding of unknown aliases ( #317 )
    • Fix stream encoder for insert a separator between each encoded document ( #318 )

    Update

    • Update golang.org/x/sys ( #289 )
    • Update Go version in CI ( #295 )
    • Add test cases for missing keys to struct literals ( #300 )
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/lamoda/gonkey from 1.18.2 to 1.19.1

    chore(deps): bump github.com/lamoda/gonkey from 1.18.2 to 1.19.1

    Bumps github.com/lamoda/gonkey from 1.18.2 to 1.19.1.

    Release notes

    Sourced from github.com/lamoda/gonkey's releases.

    v1.19.1

    🐛 Bug Fix

    Authors: 2

    v1.19.0

    🚀 Enhancement

    Authors: 1

    v1.18.3

    🐛 Bug Fix

    📝 Documentation

    Authors: 4

    Changelog

    Sourced from github.com/lamoda/gonkey's changelog.

    v1.19.1 (Mon Dec 12 2022)

    🐛 Bug Fix

    Authors: 2


    v1.19.0 (Thu Oct 27 2022)

    🚀 Enhancement

    Authors: 1


    v1.18.3 (Thu Aug 25 2022)

    🐛 Bug Fix

    📝 Documentation

    Authors: 4


    v1.18.3 (Mon Aug 08 2022)

    Enhancement

    ... (truncated)

    Commits
    • 30145e8 Update CHANGELOG.md [skip ci]
    • 28b491f Merge pull request #194 from nofuture17/create_custom_mock_services
    • c87e952 the ability to create custom mock services
    • 2dd352c Update CHANGELOG.md [skip ci]
    • 613a410 Merge pull request #188 from lamoda/subtest
    • 454cfcc #187 Add comment
    • 39b287c #187 Wrap test in subtest for testing runner
    • 108b7e1 Update CHANGELOG.md [skip ci]
    • 3d32619 Merge pull request #179 from vitkarpenko/fix_allure_reports
    • 274d508 Merge pull request #172 from vitkarpenko/phony_fix
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.uber.org/zap from 1.21.0 to 1.24.0

    chore(deps): bump go.uber.org/zap from 1.21.0 to 1.24.0

    Bumps go.uber.org/zap from 1.21.0 to 1.24.0.

    Release notes

    Sourced from go.uber.org/zap's releases.

    v1.24.0

    Enhancements:

    • #1148[]: Add Level to both Logger and SugaredLogger that reports the current minimum enabled log level.
    • #1185[]: SugaredLogger turns errors to zap.Error automatically.

    Thanks to @​Abirdcfly, @​craigpastro, @​nnnkkk7, and @​sashamelentyev for their contributions to this release.

    #1148: uber-go/zap#1148 #1185: uber-go/zap#1185

    v1.23.0

    Enhancements:

    • #1147[]: Add a zapcore.LevelOf function to determine the level of a LevelEnabler or Core.
    • #1155[]: Add zap.Stringers field constructor to log arrays of objects that implement String() string.

    #1147: uber-go/zap#1147 #1155: uber-go/zap#1155

    v1.22.0

    Enhancements:

    • #1071[]: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
    • #1079[]: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
    • #1080[]: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
    • #1088[]: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
    • #1108[]: Add a zap.Must function that you can use with NewProduction or NewDevelopment to panic if the system was unable to build the logger.
    • #1118[]: Add a Logger.Log method that allows specifying the log level for a statement dynamically.

    Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun for their contributions to this release.

    #1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088

    ... (truncated)

    Changelog

    Sourced from go.uber.org/zap's changelog.

    1.24.0 (30 Nov 2022)

    Enhancements:

    • #1148[]: Add Level to both Logger and SugaredLogger that reports the current minimum enabled log level.
    • #1185[]: SugaredLogger turns errors to zap.Error automatically.

    Thanks to @​Abirdcfly, @​craigpastro, @​nnnkkk7, and @​sashamelentyev for their contributions to this release.

    #1148: https://github.coml/uber-go/zap/pull/1148 #1185: https://github.coml/uber-go/zap/pull/1185

    1.23.0 (24 Aug 2022)

    Enhancements:

    • #1147[]: Add a zapcore.LevelOf function to determine the level of a LevelEnabler or Core.
    • #1155[]: Add zap.Stringers field constructor to log arrays of objects that implement String() string.

    #1147: uber-go/zap#1147 #1155: uber-go/zap#1155

    1.22.0 (8 Aug 2022)

    Enhancements:

    • #1071[]: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
    • #1079[]: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
    • #1080[]: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
    • #1088[]: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
    • #1108[]: Add a zap.Must function that you can use with NewProduction or NewDevelopment to panic if the system was unable to build the logger.
    • #1118[]: Add a Logger.Log method that allows specifying the log level for a statement dynamically.

    Thanks to @​cardil, @​craigpastro, @​sashamelentyev, @​shota3506, and @​zhupeijun for their contributions to this release.

    #1071: uber-go/zap#1071 #1079: uber-go/zap#1079 #1080: uber-go/zap#1080 #1088: uber-go/zap#1088

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/cristalhq/acmd from 0.8.0 to 0.11.0

    chore(deps): bump github.com/cristalhq/acmd from 0.8.0 to 0.11.0

    Bumps github.com/cristalhq/acmd from 0.8.0 to 0.11.0.

    Release notes

    Sourced from github.com/cristalhq/acmd's releases.

    v0.11.0

    ed4f464af0957e53760f17068e03ad074d1647f5 Refactor help (#46) a1e96d9f557d6a664d537dcda86a2e7f7a1737e9 Update example test & readme (#45) 46744d4b5e5ffa13e79f6b395a8a831721fc0c82 Show subcommands in help (#44)

    v0.10.0 - BREAKING CHANGE

    No more Do field, use Exec or ExecFunc

    v0.9.2

    fb34dae6dbb1df230fd67115d11bc6677f983459 Add weekly builds (#41) 56a101694c72dd524414eac072740f3e112afa64 Drop Do (#36)

    v0.9.1

    1b0fa23f87e502a3d04baedb83dcf7d7af7498a7 Rename FlagSetter to FlagsGetter (#40)

    v0.9.0

    bf7d1f2f9bab9f0eb7ed44afa3b1217b1df958b6 Add flags support (#39)

    v0.8.1

    e0b9131c2e15ca700ae3074f9567c25cbe8c90e7 Do should work (#35)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1

    chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1

    Bumps github.com/stretchr/testify from 1.8.0 to 1.8.1.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Mock-the-fck - Mock exercise for human

Mock the fck Originally, Mockery-example Example case for mockery issue #128 fil

Jan 21, 2022
A go server which will respond with data to mock a server!

Mocker A go program which will respond with data to mock a server; mainly useful while developing a frontend application, whose backend is not running

Jan 5, 2023
mock server to aid testing the jaguar-java client API

stripe-mock stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's test mode to make test suites

Dec 24, 2021
Simple mock program to set charging rate of a battery instance based on the national grid intensity api

Charger Simple mock program to set charging rate of a battery instance based on the national grid intensity api. Steps to get up and running I have cr

Nov 16, 2021
This repository includes consumer driven contract test for provider, unit test and counter api.

This repository includes consumer driven contract test for provider, unit test and counter api.

Feb 1, 2022
Create your own mock server with just a JSON file!

Gmocker Run a blazing fast mock server in just seconds! ?? All you need is to make a json file that contains path and response mapping. See an example

Dec 21, 2022
Create your own blazing fast mock server with just a JSON file!

Gmocker Run a blazing fast mock server in just seconds! ?? All you need is to make a json file that contains path and response mapping. See an example

Dec 21, 2022
Dec 8, 2022
Just Dance Unlimited mock-up server written on Golang and uses a popular Gin framework for Go.

BDCS Just Dance Unlimited mock-up server written on Golang and uses a popular Gin framework for Go. Features Security Authorization works using UbiSer

Nov 10, 2021
A simple mock server configurable via JSON, built using GoLang.
A simple mock server configurable via JSON, built using GoLang.

GoMock Server A simple mock server configurable via JSON, built using GoLang. How To A file name endpoint.json must be placed in the context root, wit

Nov 19, 2022
Mockserver - Super slim & blazing fast mock server to replace the Java/NPM counterpart mockserver

Gmocker Run a blazing fast mock server in just seconds! ?? All you need is to ma

Jan 30, 2022
Grpcmock - Mock grpc server with golang

grpcmock Mock gRPC server. Inspired by Prism. Add example responses to your prot

May 8, 2022
📡 mock is a simple, cross-platform, cli app to simulate HTTP-based APIs.
 📡 mock is a simple, cross-platform, cli app to simulate HTTP-based APIs.

mock ?? mock is a simple, cross-platform, cli app to simulate HTTP-based APIs. About mock Mock allows you to spin up a local http server based of a .m

May 6, 2022
Mock API for REST!!!!

Mock API Server Introduction This app allows you to add urls and serve dummy json responses. It contains two handlers, the DummyHandler allows you to

Jun 20, 2022
Sql mock driver for golang to test database interactions

Sql driver mock for Golang sqlmock is a mock library implementing sql/driver. Which has one and only purpose - to simulate any sql driver behavior in

Dec 31, 2022
HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing

govcr A Word Of Warning I'm in the process of partly rewriting govcr to offer better support for cassette mutations. This is necessary because when I

Dec 28, 2022
Powerful mock generation tool for Go programming language

Summary Minimock generates mocks out of Go interface declarations. The main features of minimock are: It generates statically typed mocks and helpers.

Dec 17, 2022
Mock object for Go http.ResponseWriter

mockhttp -- Go package for unit testing HTTP serving Unit testing HTTP services written in Go means you need to call their ServeHTTP receiver. For thi

Sep 27, 2022
ESME is a go library that allows you to mock a RESTful service by defining the configuration in json format

ESME is a go library that allows you to mock a RESTful service by defining the configuration in json format. This service can then simply be consumed by any client to get the expected response.

Mar 2, 2021