Diff of the two buildlogs: -- --- b1/build.log 2025-02-22 08:44:28.498766114 +0000 +++ b2/build.log 2025-02-22 08:45:47.255216051 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Feb 21 20:42:15 -12 2025 -I: pbuilder-time-stamp: 1740213735 +I: Current time: Sat Mar 28 05:07:30 +14 2026 +I: pbuilder-time-stamp: 1774624050 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,54 +25,86 @@ dpkg-source: info: applying 000-fix-32bit-ftbfs.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3377/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 27 15:07 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='18f0978c8c254fc5b6b9923bd3625861' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3377' - PS1='# ' - PS2='> ' + INVOCATION_ID=d3e3b566d9fd4efe89ab850f1a33103c + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=104422 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vAV1Bm8l/pbuilderrc_vTId --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vAV1Bm8l/b1 --logfile b1/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vAV1Bm8l/pbuilderrc_yqD7 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vAV1Bm8l/b2 --logfile b2/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos12-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3377/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -204,7 +236,7 @@ Get: 74 http://deb.debian.org/debian unstable/main i386 golang-google-genproto-dev all 0.0~git20210726.e7812ac-4 [5301 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 golang-github-google-cel-go-dev all 0.18.2+ds-5 [400 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 golang-github-rogpeppe-fastuuid-dev all 0.0~git20150106.0.6724a57-2.1 [4292 B] -Fetched 91.5 MB in 1s (69.3 MB/s) +Fetched 91.5 MB in 1s (65.6 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19761 files and directories currently installed.) @@ -523,7 +555,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-grpc-ecosystem-grpc-gateway-2.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_source.changes +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-grpc-ecosystem-grpc-gateway-2.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_source.changes dpkg-buildpackage: info: source package golang-github-grpc-ecosystem-grpc-gateway dpkg-buildpackage: info: source version 2.20.0-2 dpkg-buildpackage: info: source distribution unstable @@ -541,295 +577,295 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-i686-linux-gnu && go install -trimpath -v -p 11 github.com/grpc-ecosystem/grpc-gateway/internal/casing github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig github.com/grpc-ecosystem/grpc-gateway/internal/generator github.com/grpc-ecosystem/grpc-gateway/internal/httprule github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/utilities -internal/byteorder -internal/unsafeheader -internal/godebugs -internal/asan + cd obj-i686-linux-gnu && go install -trimpath -v -p 21 github.com/grpc-ecosystem/grpc-gateway/internal/casing github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig github.com/grpc-ecosystem/grpc-gateway/internal/generator github.com/grpc-ecosystem/grpc-gateway/internal/httprule github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/utilities internal/profilerecord -internal/goos +internal/godebugs +unicode/utf8 internal/coverage/rtcov -internal/goexperiment +math/bits +internal/unsafeheader +internal/asan internal/goarch -internal/cpu -internal/runtime/atomic +internal/goos internal/msan -internal/runtime/syscall -sync/atomic -unicode/utf8 -internal/chacha8rand -internal/abi -internal/runtime/math -internal/runtime/sys cmp -math/bits +google.golang.org/protobuf/internal/flags +internal/byteorder +internal/goexperiment +sync/atomic +internal/runtime/syscall internal/itoa unicode -internal/gover +internal/cpu internal/goversion -google.golang.org/protobuf/internal/flags +internal/runtime/atomic unicode/utf16 encoding -google.golang.org/protobuf/internal/set log/internal -math internal/nettrace +internal/gover google.golang.org/grpc/serviceconfig container/list +internal/runtime/math +internal/abi crypto/internal/fips140/alias -crypto/internal/fips140deps/byteorder crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/bytealg -crypto/internal/fips140deps/cpu +internal/runtime/sys vendor/golang.org/x/crypto/internal/alias +crypto/internal/fips140deps/byteorder +internal/chacha8rand +google.golang.org/protobuf/internal/set +math +crypto/internal/fips140deps/cpu internal/runtime/exithook +internal/bytealg internal/stringslite internal/race internal/sync internal/runtime/maps runtime iter -internal/reflectlite -sync weak +internal/reflectlite crypto/internal/fips140/subtle +sync maps slices crypto/subtle errors sort -internal/bisect internal/testlog -internal/singleflight google.golang.org/protobuf/internal/pragma +internal/bisect +internal/singleflight unique runtime/cgo internal/oserror -vendor/golang.org/x/net/dns/dnsmessage -math/rand/v2 path io +google.golang.org/grpc/internal/buffer +vendor/golang.org/x/net/dns/dnsmessage +math/rand/v2 strconv syscall internal/godebug -google.golang.org/grpc/internal/buffer strings crypto/internal/randutil container/heap hash -bytes golang.org/x/text/internal/tag +bytes hash/fnv hash/crc32 -internal/types/errors -reflect +crypto/internal/fips140deps/godebug +math/rand net/netip +internal/types/errors crypto -math/rand -crypto/internal/fips140deps/godebug -go/build/constraint -bufio +reflect go/version -golang.org/x/text/transform -regexp/syntax -html +go/build/constraint +crypto/internal/impl +net/http/internal/ascii crypto/internal/fips140 +html +regexp/syntax +golang.org/x/text/transform +vendor/golang.org/x/text/transform +bufio +google.golang.org/grpc/internal/grpcrand crypto/internal/fips140/sha256 -crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -crypto/internal/impl +crypto/internal/fips140/sha3 crypto/tls/internal/fips140tls -vendor/golang.org/x/text/transform -net/http/internal/ascii -google.golang.org/grpc/internal/grpcrand crypto/sha3 +crypto/internal/fips140/hmac +crypto/internal/fips140/check +crypto/internal/fips140hash internal/syscall/execenv internal/syscall/unix time -crypto/internal/fips140/hmac -crypto/internal/fips140hash -crypto/internal/fips140/check -crypto/internal/fips140/aes crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/bigmod -crypto/internal/fips140/nistec/fiat crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 +crypto/internal/fips140/aes +crypto/internal/fips140/bigmod +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 -regexp crypto/internal/fips140/edwards25519 +regexp google.golang.org/grpc/backoff -google.golang.org/grpc/keepalive context +google.golang.org/grpc/keepalive io/fs internal/poll -internal/fmtsort -encoding/binary google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync internal/filepathlite embed -os google.golang.org/protobuf/internal/editiondefaults +os +internal/fmtsort +encoding/binary +crypto/internal/fips140/nistec encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix encoding/pem -crypto/internal/fips140/nistec -path/filepath google.golang.org/protobuf/internal/detrand -io/ioutil crypto/internal/sysrand +path/filepath +io/ioutil google.golang.org/grpc/internal/envconfig fmt net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only -github.com/grpc-ecosystem/grpc-gateway/internal/casing -crypto/internal/fips140/aes/gcm crypto/internal/fips140/ed25519 +crypto/internal/fips140/aes/gcm crypto/internal/fips140/mlkem crypto/internal/fips140/rsa -crypto/rc4 crypto/md5 +crypto/rc4 +github.com/grpc-ecosystem/grpc-gateway/internal/casing crypto/cipher +crypto/des +crypto/internal/boring +vendor/golang.org/x/crypto/chacha20 +crypto/aes +crypto/sha512 +crypto/hmac +crypto/sha256 +crypto/sha1 +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +text/tabwriter go/token go/doc/comment -text/tabwriter +google.golang.org/protobuf/internal/version internal/buildcfg +google.golang.org/grpc/internal/grpclog google.golang.org/protobuf/internal/errors -math/big +log +flag compress/flate encoding/json -google.golang.org/protobuf/internal/version -google.golang.org/protobuf/encoding/protowire -flag -go/scanner -google.golang.org/protobuf/reflect/protoreflect +math/big +net/url golang.org/x/text/internal/language +gopkg.in/yaml.v3 golang.org/x/text/unicode/norm +text/template/parse +crypto/ecdh +google.golang.org/protobuf/encoding/protowire +vendor/golang.org/x/crypto/chacha20poly1305 +encoding/hex +vendor/golang.org/x/text/unicode/norm +google.golang.org/protobuf/reflect/protoreflect +go/scanner +vendor/golang.org/x/net/http2/hpack +golang.org/x/net/internal/timeseries +vendor/golang.org/x/text/unicode/bidi +mime +mime/quotedprintable +net/http/internal +google.golang.org/grpc/attributes +google.golang.org/grpc/internal/idle +golang.org/x/text/unicode/bidi +golang.org/x/net/http2/hpack +github.com/grpc-ecosystem/grpc-gateway/utilities go/ast -google.golang.org/grpc/internal/grpclog -log compress/gzip -github.com/grpc-ecosystem/grpc-gateway/utilities github.com/grpc-ecosystem/grpc-gateway/internal/httprule -gopkg.in/yaml.v3 -net/url -text/template/parse golang.org/x/text/internal/language/compact -golang.org/x/net/internal/timeseries +text/template +vendor/golang.org/x/text/secure/bidirule +golang.org/x/text/language +golang.org/x/text/secure/bidirule google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/order -google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/encoding/json -go/parser -go/printer -go/constant -google.golang.org/protobuf/proto -golang.org/x/text/language +google.golang.org/protobuf/reflect/protoregistry +golang.org/x/net/idna +vendor/golang.org/x/net/idna google.golang.org/grpc/grpclog -crypto/internal/boring -google.golang.org/protobuf/internal/encoding/defval -crypto/rand -text/template -crypto/aes -crypto/des -google.golang.org/grpc/connectivity -crypto/internal/fips140/ecdh -crypto/elliptic -crypto/internal/boring/bbig -crypto/ecdh -crypto/internal/fips140/ecdsa +google.golang.org/protobuf/proto golang.org/x/text/internal -crypto/sha512 -google.golang.org/protobuf/encoding/prototext -golang.org/x/text/cases -google.golang.org/protobuf/internal/filedesc +go/constant +crypto/internal/boring/bbig +crypto/dsa +crypto/elliptic encoding/asn1 +crypto/rand +google.golang.org/protobuf/internal/encoding/defval +go/parser +go/printer +golang.org/x/text/cases +google.golang.org/grpc/connectivity crypto/ed25519 -crypto/hmac -vendor/golang.org/x/crypto/chacha20 -crypto/rsa -vendor/golang.org/x/crypto/chacha20poly1305 -go/format -go/types crypto/internal/hpke -crypto/sha1 -crypto/sha256 +crypto/rsa html/template -crypto/dsa -encoding/hex -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/text/unicode/norm -mime -mime/quotedprintable -net/http/internal -vendor/golang.org/x/crypto/cryptobyte +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc crypto/x509/pkix -google.golang.org/grpc/attributes -google.golang.org/grpc/internal/idle -golang.org/x/text/unicode/bidi -golang.org/x/net/http2/hpack -vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/crypto/cryptobyte +go/format +go/types crypto/ecdsa -golang.org/x/text/secure/bidirule google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson -golang.org/x/net/idna -vendor/golang.org/x/net/idna google.golang.org/protobuf/internal/impl -net/textproto google.golang.org/grpc/internal +net/textproto google.golang.org/grpc/internal/syscall -vendor/golang.org/x/net/http/httpproxy google.golang.org/grpc/internal/resolver/dns/internal +vendor/golang.org/x/net/http/httpproxy crypto/x509 google.golang.org/grpc/metadata google.golang.org/grpc/codes vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts mime/multipart -google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/internal/balancerload -google.golang.org/grpc/stats google.golang.org/grpc/tap +google.golang.org/grpc/internal/grpcutil +google.golang.org/grpc/stats google.golang.org/grpc/encoding crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/structpb +google.golang.org/protobuf/protoadapt google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/dynamicpb -google.golang.org/protobuf/protoadapt -google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb -google.golang.org/protobuf/types/known/fieldmaskpb +google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/emptypb +google.golang.org/protobuf/types/known/structpb +google.golang.org/protobuf/types/known/fieldmaskpb google.golang.org/protobuf/types/known/wrapperspb google.golang.org/protobuf/types/descriptorpb google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/pretty +github.com/golang/protobuf/ptypes/duration google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/api/httpbody github.com/golang/protobuf/ptypes/timestamp -github.com/golang/protobuf/ptypes/duration -google.golang.org/grpc/internal/status google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/grpc/internal/status google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog google.golang.org/protobuf/types/gofeaturespb -google.golang.org/protobuf/types/pluginpb google.golang.org/genproto/googleapis/api/visibility +google.golang.org/protobuf/types/pluginpb google.golang.org/genproto/googleapis/api/annotations github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options google.golang.org/protobuf/reflect/protodesc @@ -838,19 +874,19 @@ net/http/httptrace google.golang.org/grpc/internal/credentials google.golang.org/protobuf/compiler/protogen -net/http google.golang.org/grpc/credentials -google.golang.org/grpc/internal/channelz +net/http google.golang.org/grpc/credentials/insecure -google.golang.org/grpc/resolver google.golang.org/grpc/peer +google.golang.org/grpc/resolver +google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/balancer/grpclb/state -github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator -google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/unix +google.golang.org/grpc/internal/resolver/dns +github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz @@ -874,7 +910,7 @@ github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/runtime dh_auto_test -O--buildsystem=golang - cd obj-i686-linux-gnu && go test -vet=off -v -p 11 github.com/grpc-ecosystem/grpc-gateway/internal/casing github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig github.com/grpc-ecosystem/grpc-gateway/internal/generator github.com/grpc-ecosystem/grpc-gateway/internal/httprule github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/utilities + cd obj-i686-linux-gnu && go test -vet=off -v -p 21 github.com/grpc-ecosystem/grpc-gateway/internal/casing github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig github.com/grpc-ecosystem/grpc-gateway/internal/generator github.com/grpc-ecosystem/grpc-gateway/internal/httprule github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/utilities === RUN TestCamelIdentifier === RUN TestCamelIdentifier/regular_snake_case_identifier === RUN TestCamelIdentifier/snake_case_identifier_with_digit @@ -888,7 +924,7 @@ --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_package (0.00s) --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_multiple_dots (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.025s +ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.003s === RUN TestParseRequest === RUN TestParseRequest/Empty_input_should_produce_empty_output === RUN TestParseRequest/Invalid_reader_should_produce_error @@ -898,7 +934,7 @@ --- PASS: TestParseRequest/Invalid_reader_should_produce_error (0.00s) --- PASS: TestParseRequest/Invalid_proto_message_should_produce_error (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.011s +ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.005s === RUN TestLoadGrpcAPIServiceFromYAMLInvalidType --- PASS: TestLoadGrpcAPIServiceFromYAMLInvalidType (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLSingleRule @@ -1003,7 +1039,7 @@ === RUN TestGoType --- PASS: TestGoType (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.041s +ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.014s ? github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig [no test files] ? github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig [no test files] ? github.com/grpc-ecosystem/grpc-gateway/internal/generator [no test files] @@ -1022,7 +1058,7 @@ === RUN TestTemplateStringer --- PASS: TestTemplateStringer (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.043s +ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.003s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway [no test files] === RUN TestGenerator_Generate --- PASS: TestGenerator_Generate (0.00s) @@ -1043,7 +1079,7 @@ === RUN TestDuplicatePathsInDifferentService --- PASS: TestDuplicatePathsInDifferentService (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.047s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.016s === RUN TestParseReqParam === RUN TestParseReqParam/Test_0 === RUN TestParseReqParam/Test_1 @@ -1073,7 +1109,7 @@ --- PASS: TestParseReqParam/Test_11 (0.00s) --- PASS: TestParseReqParam/Test_12 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.012s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.006s === RUN TestCycle --- PASS: TestCycle (0.00s) === RUN Test_getUniqueFields @@ -1111,7 +1147,7 @@ === RUN TestMessageToQueryParametersNoRecursive --- PASS: TestMessageToQueryParametersNoRecursive (0.00s) === RUN TestMessageToQueryParametersRecursive ---- PASS: TestMessageToQueryParametersRecursive (0.11s) +--- PASS: TestMessageToQueryParametersRecursive (0.06s) === RUN TestMessageToQueryParametersWithJsonName --- PASS: TestMessageToQueryParametersWithJsonName (0.00s) === RUN TestMessageToQueryParametersWellKnownTypes @@ -1148,7 +1184,7 @@ --- PASS: TestValidateDefaultValueType (0.00s) === RUN TestApplyTemplateRequestWithoutClientStreaming fd name:"example.proto" package:"example" message_type:{name:"ExampleMessage" field:{name:"nested" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"NestedMessage"}} message_type:{name:"NestedMessage" field:{name:"int32" number:1 label:LABEL_OPTIONAL type:TYPE_INT32} field:{name:"bool" number:2 label:LABEL_OPTIONAL type:TYPE_BOOL}} service:{name:"ExampleService" method:{name:"Echo" input_type:"ExampleMessage" output_type:"ExampleMessage" client_streaming:false server_streaming:false}} options:{go_package:"github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb;example"} source_code_info:{} -AllFQMNs [.example.NestedMessage .google.protobuf.Any .google.rpc.Status .example.ExampleMessage] +AllFQMNs [.example.ExampleMessage .example.NestedMessage .google.protobuf.Any .google.rpc.Status] --- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) @@ -1187,7 +1223,7 @@ === RUN TestFQMNtoOpenAPIName --- PASS: TestFQMNtoOpenAPIName (0.00s) === RUN TestSchemaOfField ---- PASS: TestSchemaOfField (0.02s) +--- PASS: TestSchemaOfField (0.01s) === RUN TestRenderMessagesAsDefinition === RUN TestRenderMessagesAsDefinition/no_OpenAPI_options === RUN TestRenderMessagesAsDefinition/example_option @@ -1263,28 +1299,28 @@ --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption (0.00s) --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption_with_go_template_args (0.00s) === RUN TestTagsWithGoTemplate -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestTagsWithGoTemplate (0.00s) === RUN TestTemplateWithoutErrorDefinition -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestTemplateWithoutErrorDefinition (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1Operations -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations (0.00s) === RUN TestTemplateWithDuplicateHttp1Operations -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestTemplateWithDuplicateHttp1Operations (0.00s) === RUN Test_getReservedJsonName === RUN Test_getReservedJsonName/test_case_1:_single_dot_use_case @@ -1297,59 +1333,59 @@ --- PASS: Test_getReservedJsonName/test_case_3:_double_dot_use_case (0.00s) --- PASS: Test_getReservedJsonName/test_case_4:_double_dot_use_case_with_a_not_existed_field (0.00s) === RUN TestParseIncompleteSecurityRequirement -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestParseIncompleteSecurityRequirement (0.00s) === RUN TestSubPathParams --- PASS: TestSubPathParams (0.00s) === RUN TestRenderServicesParameterDescriptionNoFieldBody -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesParameterDescriptionNoFieldBody (0.00s) === RUN TestRenderServicesWithBodyFieldNameInCamelCase -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldNameInCamelCase (0.00s) === RUN TestRenderServicesWithBodyFieldHasFieldMask -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldHasFieldMask (0.00s) === RUN TestRenderServicesWithColonInPath -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInPath (0.00s) === RUN TestRenderServicesWithDoubleColonInPath -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesWithDoubleColonInPath (0.00s) === RUN TestRenderServicesWithColonLastInPath -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonLastInPath (0.00s) === RUN TestRenderServicesWithColonInSegment -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInSegment (0.00s) === RUN TestRenderServiceWithHeaderParameters -=== RUN TestRenderServiceWithHeaderParameters/header_required -2025/02/22 08:43:57 ERROR: no message found: Status -=== RUN TestRenderServiceWithHeaderParameters/type_string -2025/02/22 08:43:57 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string_with_format -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_integer -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_number -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_boolean -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +=== RUN TestRenderServiceWithHeaderParameters/header_required +2026/03/27 15:08:29 ERROR: no message found: Status +=== RUN TestRenderServiceWithHeaderParameters/type_string +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServiceWithHeaderParameters (0.00s) - --- PASS: TestRenderServiceWithHeaderParameters/header_required (0.00s) - --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_string_with_format (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_integer (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_number (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_boolean (0.00s) + --- PASS: TestRenderServiceWithHeaderParameters/header_required (0.00s) + --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreserved -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreserved (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedMultipleServices -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedMultipleServices (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings (0.00s) === RUN TestArrayMessageItemsType --- PASS: TestArrayMessageItemsType (0.00s) @@ -1402,7 +1438,7 @@ --- PASS: TestMergeTags/Merge_external_docs (0.00s) --- PASS: TestMergeTags/Merge_extensions (0.00s) === RUN TestApiVisibilityOption -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestApiVisibilityOption (0.00s) === RUN TestRawExample === PAUSE TestRawExample @@ -1419,7 +1455,7 @@ === RUN TestGenerateYAML === PAUSE TestGenerateYAML === RUN TestGeneratedYAMLIndent -2025/02/22 08:43:57 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status --- PASS: TestGeneratedYAMLIndent (0.00s) === RUN TestGenerateRPCOrderPreserved === PAUSE TestGenerateRPCOrderPreserved @@ -1445,173 +1481,178 @@ === PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices === RUN TestFindExpectedPaths === PAUSE TestFindExpectedPaths +=== CONT TestFindExpectedPaths === CONT TestRawExample -=== RUN TestRawExample/1 -=== PAUSE TestRawExample/1 -=== RUN TestRawExample/"1" -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings -=== PAUSE TestRawExample/"1" -=== CONT TestGenerateRPCOrderPreservedMultipleServices -=== RUN TestRawExample/{"hello":"worldr"} -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== PAUSE TestRawExample/{"hello":"worldr"} -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json -=== CONT TestGenerateRPCOrderPreserved -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== CONT TestGenerateYAML -=== CONT TestGenerateExtension -=== RUN TestGenerateYAML/path_item_object === CONT TestGenerateRPCOrderNotPreserved -=== PAUSE TestGenerateYAML/path_item_object -=== CONT TestFindExpectedPaths -=== RUN TestGenerateRPCOrderPreserved/json === RUN TestFindExpectedPaths/One_potential_path_present -=== PAUSE TestGenerateRPCOrderPreserved/json -=== PAUSE TestFindExpectedPaths/One_potential_path_present -=== RUN TestGenerateRPCOrderPreserved/yaml -=== RUN TestFindExpectedPaths/No_potential_Paths_present -=== PAUSE TestGenerateRPCOrderPreserved/yaml -=== PAUSE TestFindExpectedPaths/No_potential_Paths_present -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings -=== RUN TestFindExpectedPaths/Multiple_potential_paths_present -=== PAUSE TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings +=== CONT TestGenerateRPCOrderPreservedMultipleServices === RUN TestGenerateRPCOrderNotPreserved/json === PAUSE TestGenerateRPCOrderNotPreserved/json === RUN TestGenerateRPCOrderNotPreserved/yaml === PAUSE TestGenerateRPCOrderNotPreserved/yaml -=== CONT TestFormatEncode -=== RUN TestFormatEncode/json -=== RUN TestGenerateExtension/json -=== PAUSE TestFormatEncode/json +=== PAUSE TestFindExpectedPaths/One_potential_path_present +=== RUN TestRawExample/1 +=== RUN TestFindExpectedPaths/No_potential_Paths_present +=== PAUSE TestRawExample/1 +=== PAUSE TestFindExpectedPaths/No_potential_Paths_present +=== RUN TestRawExample/"1" +=== CONT TestFormatValidate +=== RUN TestFormatValidate/json +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings +=== PAUSE TestFormatValidate/json +=== RUN TestFormatValidate/yaml +=== PAUSE TestFormatValidate/yaml +=== RUN TestFormatValidate/unknown +=== PAUSE TestFormatValidate/unknown +=== RUN TestFormatValidate/#00 +=== PAUSE TestFormatValidate/#00 +=== CONT TestFormatValidate/json +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== CONT TestGenerateYAML === CONT TestGenerate_YAML -=== PAUSE TestGenerateExtension/json -=== RUN TestFormatEncode/yaml -=== RUN TestGenerateExtension/yaml -=== PAUSE TestFormatEncode/yaml -=== PAUSE TestGenerateExtension/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json === PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json === RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -2025/02/22 08:43:57 ERROR: no message found: Status === PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +2026/03/27 15:08:29 ERROR: no message found: Status file.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices -=== RUN TestGenerateRPCOrderPreservedMergeFiles/json -=== RUN TestGenerateRPCOrderPreservedMultipleServices/json -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json -=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml -=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreserved +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === CONT TestGenerateRPCOrderNotPreservedMergeFiles ---- PASS: TestGenerate_YAML (0.00s) -=== CONT TestFindExpectedPaths/One_potential_path_present -=== CONT TestGenerateRPCOrderPreserved/json -=== CONT TestGenerateRPCOrderNotPreserved/json -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestFindExpectedPaths/No_potential_Paths_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateExtension +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderNotPreservedMergeFiles/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json ---- PASS: TestFindExpectedPaths (0.00s) - --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) - --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) - --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) -=== CONT TestGenerateRPCOrderNotPreserved/yaml === RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml === PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml -=== CONT TestOpenapiSchemaObjectProperties -=== RUN TestOpenapiSchemaObjectProperties/yaml -=== PAUSE TestOpenapiSchemaObjectProperties/yaml -=== RUN TestOpenapiSchemaObjectProperties/json +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings +=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestOpenapiSchemaObjectProperties/json +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== RUN TestGenerateExtension/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreserved/yaml +=== PAUSE TestGenerateExtension/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateExtension/yaml +=== PAUSE TestGenerateExtension/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json +=== CONT TestGenerateExtension/json +=== CONT TestGenerateRPCOrderNotPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json === PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== CONT TestGenerateExtension/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -2025/02/22 08:43:57 ERROR: no message found: Status -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== RUN TestFindExpectedPaths/Multiple_potential_paths_present +=== RUN TestGenerateRPCOrderPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateExtension/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +=== PAUSE TestRawExample/"1" +=== PAUSE TestFindExpectedPaths/Multiple_potential_paths_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatEncode +2026/03/27 15:08:29 ERROR: no message found: Status +=== RUN TestRawExample/{"hello":"worldr"} +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestFormatEncode/json +=== PAUSE TestRawExample/{"hello":"worldr"} +=== PAUSE TestFormatEncode/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices +=== CONT TestFormatValidate/#00 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/unknown +=== CONT TestFormatValidate/yaml +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== CONT TestFindExpectedPaths/One_potential_path_present +=== CONT TestFindExpectedPaths/Multiple_potential_paths_present exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -=== CONT TestFormatEncode/json === CONT TestRawExample/1 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +=== CONT TestFindExpectedPaths/No_potential_Paths_present exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateExtension/yaml +=== CONT TestRawExample/"1" exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestRawExample/{"hello":"worldr"} exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json -2025/02/22 08:43:57 ERROR: no message found: Status -2025/02/22 08:43:57 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== CONT TestRawExample/{"hello":"worldr"} exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerate_YAML (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateExtension/yaml - generator_test.go:116: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: {} - definitions: - v1Foo: - type: object - properties: - bar: - type: string - description: This is bar - x-go-default: 0.5s - exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:491: { +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json + generator_test.go:1375: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1629,6 +1670,30 @@ "application/json" ], "paths": { + "/a/additional": { + "get": { + "operationId": "TestService_Test12", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] + } + }, "/a/second": { "get": { "operationId": "TestService_Test2", @@ -1653,6 +1718,30 @@ ] } }, + "/b/bAdditional": { + "get": { + "operationId": "TestService_Test32", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] + } + }, "/b/first": { "get": { "operationId": "TestService_Test1", @@ -1700,6 +1789,30 @@ "TestService" ] } + }, + "/z/zAdditional": { + "get": { + "operationId": "TestService_Test22", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] + } } }, "definitions": { @@ -1714,6 +1827,7 @@ } } +=== CONT TestGenerateRPCOrderPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1721,23 +1835,89 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json +2026/03/27 15:08:29 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreserved/yaml - generator_test.go:394: swagger: "2.0" +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreserved/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== RUN TestGenerateRPCOrderPreservedMultipleServices/json +=== CONT TestOpenapiSchemaObjectProperties +=== RUN TestFormatEncode/yaml +=== RUN TestGenerateYAML/path_item_object +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== NAME TestGenerateExtension/json + generator_test.go:116: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string", + "description": "This is bar", + "x-go-default": "0.5s" + } + } + } + } + } + +--- PASS: TestFindExpectedPaths (0.00s) + --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) + --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) + --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) +=== NAME TestGenerateExtension/yaml + generator_test.go:116: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: {} + definitions: + v1Foo: + type: object + properties: + bar: + type: string + description: This is bar + x-go-default: 0.5s + +=== NAME TestGenerateRPCOrderNotPreserved/yaml + generator_test.go:491: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -1748,6 +1928,21 @@ produces: - application/json paths: + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService /b/first: get: operationId: TestService_Test1 @@ -1763,6 +1958,56 @@ type: string tags: - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml + generator_test.go:1375: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /a/additional: + get: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService /a/second: get: operationId: TestService_Test2 @@ -1778,6 +2023,36 @@ type: string tags: - TestService + /b/bAdditional: + get: + operationId: TestService_Test32 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService /c/third: get: operationId: TestService_Test3 @@ -1793,6 +2068,21 @@ type: string tags: - TestService + /z/zAdditional: + get: + operationId: TestService_Test22 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService definitions: v1Foo: type: object @@ -1802,50 +2092,19 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateExtension/json +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:116: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ - { - "name": "TestService" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string", - "description": "This is bar", - "x-go-default": "0.5s" - } - } - } - } - } - +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +--- PASS: TestRawExample (0.00s) + --- PASS: TestRawExample/"1" (0.00s) + --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) + --- PASS: TestRawExample/1 (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFiles/json ---- PASS: TestGenerateExtension (0.00s) - --- PASS: TestGenerateExtension/yaml (0.00s) - --- PASS: TestGenerateExtension/json (0.00s) -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/json - generator_test.go:749: { +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json +=== NAME TestGenerateRPCOrderPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:394: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1853,10 +2112,7 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" + "name": "TestService" } ], "consumes": [ @@ -1866,9 +2122,9 @@ "application/json" ], "paths": { - "/a/second": { + "/b/first": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -1886,13 +2142,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/b/first": { + "/a/second": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -1910,13 +2166,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, "/c/third": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -1934,13 +2190,98 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } - }, - "/d/first": { - "get": { - "operationId": "TestServiceOne_Test1", + } + }, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + } + } + } + +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json +--- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml +=== RUN TestOpenapiSchemaObjectProperties/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatValidate (0.00s) + --- PASS: TestFormatValidate/json (0.00s) + --- PASS: TestFormatValidate/yaml (0.00s) + --- PASS: TestFormatValidate/#00 (0.00s) + --- PASS: TestFormatValidate/unknown (0.00s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestOpenapiSchemaObjectProperties/yaml +=== PAUSE TestGenerateYAML/path_item_object +=== RUN TestOpenapiSchemaObjectProperties/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestFormatEncode/yaml +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatEncode/yaml +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMultipleServices/json +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateExtension (0.00s) + --- PASS: TestGenerateExtension/json (0.00s) + --- PASS: TestGenerateExtension/yaml (0.00s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateYAML/path_item_object +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:1265: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/b/foo": { + "post": { + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -1951,20 +2292,22 @@ }, "parameters": [ { - "name": "bar", - "in": "query", - "required": false, - "type": "string" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1Foo" + } } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { - "get": { - "operationId": "TestServiceOne_Test2", + "/b/foo/bar": { + "post": { + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", @@ -1976,19 +2319,21 @@ "parameters": [ { "name": "bar", - "in": "query", - "required": false, - "type": "string" + "in": "body", + "required": true, + "schema": { + "type": "string" + } } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/g/third": { - "get": { - "operationId": "TestServiceTwo_Test3", + "/b/foo/baz": { + "post": { + "operationId": "TestService_Test13", "responses": { "200": { "description": "A successful response.", @@ -1999,14 +2344,16 @@ }, "parameters": [ { - "name": "bar", - "in": "query", - "required": false, - "type": "string" + "name": "baz", + "in": "body", + "required": true, + "schema": { + "type": "string" + } } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } @@ -2017,6 +2364,9 @@ "properties": { "bar": { "type": "string" + }, + "baz": { + "type": "string" } } } @@ -2025,24 +2375,80 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatEncode/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestOpenapiSchemaObjectProperties/json +2026/03/27 15:08:29 ERROR: no message found: Status +--- PASS: TestFormatEncode (0.01s) + --- PASS: TestFormatEncode/yaml (0.00s) + --- PASS: TestFormatEncode/json (0.00s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestOpenapiSchemaObjectProperties/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestOpenapiSchemaObjectProperties/json +2026/03/27 15:08:29 ERROR: no message found: Status +=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFiles/json +=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestOpenapiSchemaObjectProperties (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatEncode/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml - generator_test.go:1375: swagger: "2.0" +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml + generator_test.go:1062: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -2053,14 +2459,14 @@ produces: - application/json paths: - /a/additional: + /a/apath: get: - operationId: TestService_Test12 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -2068,14 +2474,14 @@ type: string tags: - TestService - /a/second: + /b/bpath: get: operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -2083,14 +2489,14 @@ type: string tags: - TestService - /b/bAdditional: + /c/cpath: get: - operationId: TestService_Test32 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -2098,14 +2504,14 @@ type: string tags: - TestService - /b/first: + /d/dpath: get: - operationId: TestService_Test1 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query @@ -2113,14 +2519,14 @@ type: string tags: - TestService - /c/third: + /e/epath: get: - operationId: TestService_Test3 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query @@ -2128,14 +2534,14 @@ type: string tags: - TestService - /z/zAdditional: + /f/fpath: get: - operationId: TestService_Test22 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query @@ -2144,39 +2550,28 @@ tags: - TestService definitions: - v1Foo: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: type: object properties: bar: type: string -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== CONT TestRawExample/"1" -=== CONT TestGenerateYAML/path_item_object -=== CONT TestFormatValidate exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -2187,18 +2582,25 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -2206,33 +2608,111 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:394: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreserved (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/yaml (0.01s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreserved/json - generator_test.go:394: { +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreserved/json + generator_test.go:491: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2250,9 +2730,9 @@ "application/json" ], "paths": { - "/b/first": { + "/a/second": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -2274,9 +2754,9 @@ ] } }, - "/a/second": { + "/b/first": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2335,19 +2815,146 @@ } } ---- PASS: TestGenerateRPCOrderPreserved (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/yaml (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/json (0.02s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:1265: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/foo: + post: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/v1Foo' + tags: + - TestService + /b/foo/bar: + post: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: body + required: true + schema: + type: string + tags: + - TestService + /b/foo/baz: + post: + operationId: TestService_Test13 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: baz + in: body + required: true + schema: + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + baz: + type: string + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.00s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreserved (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/json (0.01s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1375: { +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateYAML (0.01s) + --- PASS: TestGenerateYAML/path_item_object (0.01s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json +2026/03/27 15:08:29 ERROR: no message found: Status + generator_test.go:1062: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2365,14 +2972,14 @@ "application/json" ], "paths": { - "/a/additional": { + "/a/apath": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -2389,14 +2996,14 @@ ] } }, - "/a/second": { + "/b/bpath": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -2413,14 +3020,14 @@ ] } }, - "/b/bAdditional": { + "/c/cpath": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -2437,14 +3044,14 @@ ] } }, - "/b/first": { + "/d/dpath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -2461,14 +3068,14 @@ ] } }, - "/c/third": { + "/e/epath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -2485,14 +3092,14 @@ ] } }, - "/z/zAdditional": { + "/f/fpath": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -2511,7 +3118,15 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -2523,9 +3138,74 @@ } exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== NAME TestGenerateRPCOrderPreservedMergeFiles/json - generator_test.go:906: { +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.01s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/03/27 15:08:29 ERROR: no message found: Status +=== NAME TestGenerateRPCOrderPreservedMultipleServices/json +2026/03/27 15:08:29 ERROR: no message found: Status + generator_test.go:620: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2533,7 +3213,10 @@ }, "tags": [ { - "name": "TestService" + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" } ], "consumes": [ @@ -2543,14 +3226,14 @@ "application/json" ], "paths": { - "/c/cpath": { + "/d/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2563,18 +3246,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/b/bpath": { + "/e/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2587,18 +3270,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/a/apath": { + "/c/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2611,18 +3294,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/f/fpath": { + "/b/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2635,18 +3318,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/e/epath": { + "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2659,18 +3342,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/d/dpath": { + "/g/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2683,21 +3366,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -2708,379 +3383,16 @@ } } ---- PASS: TestRawExample (0.00s) - --- PASS: TestRawExample/1 (0.00s) - --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) - --- PASS: TestRawExample/"1" (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status ---- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.02s) -=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:906: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /c/cpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bpath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/apath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /f/fpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /e/epath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /d/dpath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: - type: object - properties: - bar: - type: string - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.02s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.02s) -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml - generator_test.go:749: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestServiceOne - - name: TestServiceTwo - consumes: - - application/json - produces: - - application/json - paths: - /a/second: - get: - operationId: TestServiceTwo_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - /b/first: - get: - operationId: TestServiceTwo_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - /c/third: - get: - operationId: TestServiceOne_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /d/first: - get: - operationId: TestServiceOne_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /e/second: - get: - operationId: TestServiceOne_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /g/third: - get: - operationId: TestServiceTwo_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - definitions: - v1Foo: - type: object - properties: - bar: - type: string - ---- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.03s) -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMultipleServices/json -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestOpenapiSchemaObjectProperties/yaml -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== NAME TestGenerateRPCOrderNotPreserved/yaml - generator_test.go:491: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - ---- PASS: TestGenerateRPCOrderNotPreserved (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.03s) -=== CONT TestOpenapiSchemaObjectProperties/json -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml ---- PASS: TestOpenapiSchemaObjectProperties (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestFormatValidate/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestFormatValidate/json -=== RUN TestFormatValidate/yaml -=== PAUSE TestFormatValidate/yaml -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json - generator_test.go:1168: { +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedMergeFiles/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:906: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3098,14 +3410,14 @@ "application/json" ], "paths": { - "/b/first": { + "/c/cpath": { "get": { "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3122,14 +3434,14 @@ ] } }, - "/a/additional": { + "/b/bpath": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3146,14 +3458,14 @@ ] } }, - "/a/second": { + "/a/apath": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3170,14 +3482,14 @@ ] } }, - "/z/zAdditional": { + "/f/fpath": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3194,14 +3506,14 @@ ] } }, - "/c/third": { + "/e/epath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3218,14 +3530,14 @@ ] } }, - "/b/bAdditional": { + "/d/dpath": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3244,7 +3556,15 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -3255,59 +3575,10 @@ } } ---- PASS: TestFormatEncode (0.00s) - --- PASS: TestFormatEncode/json (0.00s) - --- PASS: TestFormatEncode/yaml (0.03s) -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== RUN TestFormatValidate/unknown -=== PAUSE TestFormatValidate/unknown -=== RUN TestFormatValidate/#00 -=== PAUSE TestFormatValidate/#00 -=== CONT TestFormatValidate/json -=== CONT TestFormatValidate/#00 -=== CONT TestFormatValidate/unknown -=== CONT TestFormatValidate/yaml ---- PASS: TestFormatValidate (0.00s) - --- PASS: TestFormatValidate/json (0.00s) - --- PASS: TestFormatValidate/#00 (0.00s) - --- PASS: TestFormatValidate/unknown (0.00s) - --- PASS: TestFormatValidate/yaml (0.00s) -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1574: { +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/json + generator_test.go:749: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3319,9 +3590,6 @@ }, { "name": "TestServiceTwo" - }, - { - "name": "TestService" } ], "consumes": [ @@ -3331,14 +3599,14 @@ "application/json" ], "paths": { - "/d/first": { + "/a/second": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3351,18 +3619,18 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, - "/e/second": { + "/b/first": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3375,7 +3643,7 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, @@ -3386,7 +3654,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3403,14 +3671,14 @@ ] } }, - "/b/first": { + "/d/first": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3423,18 +3691,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, - "/a/second": { + "/e/second": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3447,7 +3715,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, @@ -3458,7 +3726,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3474,15 +3742,47 @@ "TestServiceTwo" ] } - }, - "/b/bpath": { + } + }, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + } + } + } + +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json + generator_test.go:1168: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/b/first": { "get": { "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3506,7 +3806,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3523,14 +3823,14 @@ ] } }, - "/a/apath": { + "/a/second": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3554,7 +3854,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3571,14 +3871,14 @@ ] } }, - "/c/cpath": { + "/c/third": { "get": { "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3602,7 +3902,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -3621,15 +3921,7 @@ } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -3640,21 +3932,22 @@ } } -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml - generator_test.go:1168: swagger: "2.0" +=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml + generator_test.go:620: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestService + - name: TestServiceOne + - name: TestServiceTwo consumes: - application/json produces: - application/json paths: - /b/first: + /d/first: get: - operationId: TestService_Test1 + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. @@ -3666,10 +3959,10 @@ required: false type: string tags: - - TestService - /a/additional: + - TestServiceOne + /e/second: get: - operationId: TestService_Test12 + operationId: TestServiceOne_Test2 responses: "200": description: A successful response. @@ -3681,10 +3974,10 @@ required: false type: string tags: - - TestService - /a/second: + - TestServiceOne + /c/third: get: - operationId: TestService_Test2 + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. @@ -3696,10 +3989,10 @@ required: false type: string tags: - - TestService - /z/zAdditional: + - TestServiceOne + /b/first: get: - operationId: TestService_Test22 + operationId: TestServiceTwo_Test1 responses: "200": description: A successful response. @@ -3711,10 +4004,10 @@ required: false type: string tags: - - TestService - /c/third: + - TestServiceTwo + /a/second: get: - operationId: TestService_Test3 + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. @@ -3726,10 +4019,10 @@ required: false type: string tags: - - TestService - /b/bAdditional: + - TestServiceTwo + /g/third: get: - operationId: TestService_Test32 + operationId: TestServiceTwo_Test3 responses: "200": description: A successful response. @@ -3741,7 +4034,7 @@ required: false type: string tags: - - TestService + - TestServiceTwo definitions: v1Foo: type: object @@ -3749,193 +4042,9 @@ bar: type: string -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.01s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateYAML (0.00s) - --- PASS: TestGenerateYAML/path_item_object (0.02s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml - generator_test.go:1062: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /a/apath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bpath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/cpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /d/dpath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /e/epath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /f/fpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: - type: object - properties: - bar: - type: string - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.01s) === NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json generator_test.go:1774: { "swagger": "2.0", @@ -4270,127 +4379,8 @@ } } -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1265: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /b/foo: - post: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: body - in: body - required: true - schema: - $ref: '#/definitions/v1Foo' - tags: - - TestService - /b/foo/bar: - post: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: body - required: true - schema: - type: string - tags: - - TestService - /b/foo/baz: - post: - operationId: TestService_Test13 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: baz - in: body - required: true - schema: - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - baz: - type: string - -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json - generator_test.go:1265: { +=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1574: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4398,129 +4388,11 @@ }, "tags": [ { - "name": "TestService" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/b/foo": { - "post": { - "operationId": "TestService_Test1", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - ], - "tags": [ - "TestService" - ] - } + "name": "TestServiceOne" }, - "/b/foo/bar": { - "post": { - "operationId": "TestService_Test12", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "body", - "required": true, - "schema": { - "type": "string" - } - } - ], - "tags": [ - "TestService" - ] - } + { + "name": "TestServiceTwo" }, - "/b/foo/baz": { - "post": { - "operationId": "TestService_Test13", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - }, - "parameters": [ - { - "name": "baz", - "in": "body", - "required": true, - "schema": { - "type": "string" - } - } - ], - "tags": [ - "TestService" - ] - } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - }, - "baz": { - "type": "string" - } - } - } - } - } - ---- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.01s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.02s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json - generator_test.go:1062: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ { "name": "TestService" } @@ -4532,9 +4404,9 @@ "application/json" ], "paths": { - "/a/apath": { + "/d/first": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", @@ -4552,13 +4424,13 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/b/bpath": { + "/e/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", @@ -4576,13 +4448,13 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/c/cpath": { + "/c/third": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", @@ -4600,18 +4472,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/d/dpath": { + "/b/first": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4624,18 +4496,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/e/epath": { + "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4648,18 +4520,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/f/fpath": { + "/g/third": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4672,75 +4544,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } - } - }, - "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - } - } - } - -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.02s) -=== NAME TestGenerateRPCOrderPreservedMultipleServices/json - generator_test.go:620: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ - { - "name": "TestServiceOne" }, - { - "name": "TestServiceTwo" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/d/first": { + "/b/bpath": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4753,18 +4568,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/a/additional": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4777,18 +4592,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/c/third": { + "/a/apath": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4801,18 +4616,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/b/first": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4825,18 +4640,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/a/second": { + "/c/cpath": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4849,18 +4664,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/g/third": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4873,13 +4688,21 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -4890,38 +4713,21 @@ } } -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/02/22 08:43:57 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml - generator_test.go:620: swagger: "2.0" +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml + generator_test.go:1168: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestServiceOne - - name: TestServiceTwo + - name: TestService consumes: - application/json produces: - application/json paths: - /d/first: + /b/first: get: - operationId: TestServiceOne_Test1 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -4933,10 +4739,10 @@ required: false type: string tags: - - TestServiceOne - /e/second: + - TestService + /a/additional: get: - operationId: TestServiceOne_Test2 + operationId: TestService_Test12 responses: "200": description: A successful response. @@ -4948,10 +4754,10 @@ required: false type: string tags: - - TestServiceOne - /c/third: + - TestService + /a/second: get: - operationId: TestServiceOne_Test3 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -4963,10 +4769,10 @@ required: false type: string tags: - - TestServiceOne - /b/first: + - TestService + /z/zAdditional: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test22 responses: "200": description: A successful response. @@ -4978,10 +4784,10 @@ required: false type: string tags: - - TestServiceTwo - /a/second: + - TestService + /c/third: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -4993,10 +4799,10 @@ required: false type: string tags: - - TestServiceTwo - /g/third: + - TestService + /b/bAdditional: get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test32 responses: "200": description: A successful response. @@ -5008,7 +4814,7 @@ required: false type: string tags: - - TestServiceTwo + - TestService definitions: v1Foo: type: object @@ -5016,31 +4822,29 @@ bar: type: string ---- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.02s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.02s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml - generator_test.go:1774: swagger: "2.0" +--- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) +=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml + generator_test.go:906: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestServiceOne - - name: TestServiceTwo - name: TestService consumes: - application/json produces: - application/json paths: - /a/additional: + /c/cpath: get: - operationId: TestService_Test12 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -5048,14 +4852,14 @@ type: string tags: - TestService - /a/apath: + /b/bpath: get: operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -5063,9 +4867,9 @@ type: string tags: - TestService - /a/second: + /a/apath: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -5077,10 +4881,10 @@ required: false type: string tags: - - TestServiceTwo - /b/bAdditional: + - TestService + /f/fpath: get: - operationId: TestService_Test32 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -5093,9 +4897,9 @@ type: string tags: - TestService - /b/bpath: + /e/epath: get: - operationId: TestService_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -5108,59 +4912,84 @@ type: string tags: - TestService - /b/first: + /d/dpath: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /c/cpath: + - TestService + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml + generator_test.go:749: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestServiceOne + - name: TestServiceTwo + consumes: + - application/json + produces: + - application/json + paths: + /a/second: get: - operationId: TestService_Test3 + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /c/third: + - TestServiceTwo + /b/first: get: - operationId: TestServiceOne_Test3 + operationId: TestServiceTwo_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /d/first: + - TestServiceTwo + /c/third: get: - operationId: TestServiceOne_Test1 + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5168,14 +4997,14 @@ type: string tags: - TestServiceOne - /e/second: + /d/first: get: - operationId: TestServiceOne_Test2 + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5183,48 +5012,49 @@ type: string tags: - TestServiceOne - /g/third: + /e/second: get: - operationId: TestServiceTwo_Test3 + operationId: TestServiceOne_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /z/zAdditional: + - TestServiceOne + /g/third: get: - operationId: TestService_Test22 + operationId: TestServiceTwo_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService + - TestServiceTwo definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: + v1Foo: type: object properties: bar: type: string +--- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +--- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.01s) === NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml generator_test.go:1574: swagger: "2.0" info: @@ -5431,12 +5261,218 @@ bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.04s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml + generator_test.go:1774: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestServiceOne + - name: TestServiceTwo + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /a/additional: + get: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/apath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/second: + get: + operationId: TestServiceTwo_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /b/bAdditional: + get: + operationId: TestService_Test32 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/bpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/first: + get: + operationId: TestServiceTwo_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /c/cpath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestServiceOne_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /d/first: + get: + operationId: TestServiceOne_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /e/second: + get: + operationId: TestServiceOne_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /g/third: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /z/zAdditional: + get: + operationId: TestService_Test22 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +--- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.02s) --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.02s) ---- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.03s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.02s) +--- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) === RUN FuzzRemoveInternalComments === RUN FuzzRemoveInternalComments/seed#0 === RUN FuzzRemoveInternalComments/seed#1 @@ -5450,7 +5486,7 @@ --- PASS: FuzzRemoveInternalComments/seed#3 (0.00s) --- PASS: FuzzRemoveInternalComments/seed#4 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.247s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.135s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options [no test files] === RUN TestFieldMaskFromRequestBody === RUN TestFieldMaskFromRequestBody/empty @@ -5467,7 +5503,7 @@ === RUN TestFieldMaskFromRequestBody/complex === RUN TestFieldMaskFromRequestBody/protobuf-any === RUN TestFieldMaskFromRequestBody/repeated-protobuf-any ---- PASS: TestFieldMaskFromRequestBody (0.01s) +--- PASS: TestFieldMaskFromRequestBody (0.00s) --- PASS: TestFieldMaskFromRequestBody/empty (0.00s) --- PASS: TestFieldMaskFromRequestBody/EmptyMessage (0.00s) --- PASS: TestFieldMaskFromRequestBody/simple (0.00s) @@ -5497,19 +5533,19 @@ === RUN TestNewPattern --- PASS: TestNewPattern (0.00s) === RUN TestNewPatternWithWrongOp -2025/02/22 08:43:56 ERROR: invalid opcode: -1 -2025/02/22 08:43:56 ERROR: invalid opcode: 6 -2025/02/22 08:43:56 ERROR: odd number of ops codes: 1 -2025/02/22 08:43:56 ERROR: negative literal index: -1 -2025/02/22 08:43:56 ERROR: negative literal index: 1 -2025/02/22 08:43:56 ERROR: negative concat size: -1 -2025/02/22 08:43:56 ERROR: variable name index out of bound: -1 -2025/02/22 08:43:56 ERROR: variable name index out of bound: 1 -2025/02/22 08:43:56 ERROR: pushM appears twice +2026/03/27 15:08:29 ERROR: invalid opcode: -1 +2026/03/27 15:08:29 ERROR: invalid opcode: 6 +2026/03/27 15:08:29 ERROR: odd number of ops codes: 1 +2026/03/27 15:08:29 ERROR: negative literal index: -1 +2026/03/27 15:08:29 ERROR: negative literal index: 1 +2026/03/27 15:08:29 ERROR: negative concat size: -1 +2026/03/27 15:08:29 ERROR: variable name index out of bound: -1 +2026/03/27 15:08:29 ERROR: variable name index out of bound: 1 +2026/03/27 15:08:29 ERROR: pushM appears twice --- PASS: TestNewPatternWithWrongOp (0.00s) === RUN TestNewPatternWithStackUnderflow -2025/02/22 08:43:56 ERROR: stack underflow -2025/02/22 08:43:56 ERROR: stack underflow +2026/03/27 15:08:29 ERROR: stack underflow +2026/03/27 15:08:29 ERROR: stack underflow --- PASS: TestNewPatternWithStackUnderflow (0.00s) === RUN TestMatch --- PASS: TestMatch (0.00s) @@ -5571,15 +5607,15 @@ --- PASS: TestConvertDuration/JSON_bool (0.00s) === RUN TestDefaultHTTPError === RUN TestDefaultHTTPError/0 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/1 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/2 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/3 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/4 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context --- PASS: TestDefaultHTTPError (0.00s) --- PASS: TestDefaultHTTPError/0 (0.00s) --- PASS: TestDefaultHTTPError/1 (0.00s) @@ -5715,41 +5751,41 @@ --- PASS: TestMarshalerForRequest (0.00s) === RUN TestMuxServeHTTP === RUN TestMuxServeHTTP/0 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/1 === RUN TestMuxServeHTTP/2 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/3 === RUN TestMuxServeHTTP/4 === RUN TestMuxServeHTTP/5 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/6 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/7 === RUN TestMuxServeHTTP/8 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/9 === RUN TestMuxServeHTTP/10 === RUN TestMuxServeHTTP/11 === RUN TestMuxServeHTTP/12 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/13 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/14 === RUN TestMuxServeHTTP/15 === RUN TestMuxServeHTTP/16 === RUN TestMuxServeHTTP/17 === RUN TestMuxServeHTTP/18 === RUN TestMuxServeHTTP/19 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/20 === RUN TestMuxServeHTTP/21 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/22 === RUN TestMuxServeHTTP/23 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/24 -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/25 === RUN TestMuxServeHTTP/26 === RUN TestMuxServeHTTP/27 @@ -5783,7 +5819,7 @@ --- PASS: TestMuxServeHTTP/26 (0.00s) --- PASS: TestMuxServeHTTP/27 (0.00s) === RUN TestServeHTTP_WithMethodOverrideAndFormParsing -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context --- PASS: TestServeHTTP_WithMethodOverrideAndFormParsing (0.00s) === RUN TestDefaultHeaderMatcher === RUN TestDefaultHeaderMatcher/permanent_HTTP_header_should_return_prefixed @@ -5807,14 +5843,14 @@ --- PASS: TestServeMux_HandlePath/Invalid_Endpoint (0.00s) === RUN TestWithHealthzEndpoint_codes === RUN TestWithHealthzEndpoint_codes/Test_grpc_error_code -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_NOT_SERVING -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_UNKNOWN -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_codes (0.00s) --- PASS: TestWithHealthzEndpoint_codes/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING (0.00s) @@ -5823,18 +5859,18 @@ --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthEndpointAt_consistentWithHealthz === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthEndpointAt_consistentWithHealthz (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING (0.00s) @@ -5842,18 +5878,18 @@ --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthzEndpoint_serviceParam -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_serviceParam (0.00s) === RUN TestWithHealthzEndpoint_header === RUN TestWithHealthzEndpoint_header/Test_grpc_error_code -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_NOT_SERVING -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_UNKNOWN -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVICE_UNKNOWN -2025/02/22 08:43:56 ERROR: Failed to extract ServerMetadata from context +2026/03/27 15:08:29 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_header (0.00s) --- PASS: TestWithHealthzEndpoint_header/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING (0.00s) @@ -5879,8 +5915,8 @@ === RUN TestPopulateParameters/15 === RUN TestPopulateParameters/16 === RUN TestPopulateParameters/17 ---- PASS: TestPopulateParameters (0.02s) - --- PASS: TestPopulateParameters/0 (0.01s) +--- PASS: TestPopulateParameters (0.01s) + --- PASS: TestPopulateParameters/0 (0.00s) --- PASS: TestPopulateParameters/1 (0.00s) --- PASS: TestPopulateParameters/2 (0.00s) --- PASS: TestPopulateParameters/3 (0.00s) @@ -5903,29 +5939,29 @@ === RUN TestPopulateQueryParametersWithInvalidNestedParameters --- PASS: TestPopulateQueryParametersWithInvalidNestedParameters (0.00s) === CONT TestOutgoingHeaderMatcher -=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingHeaderMatcher/default_matcher -=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === PAUSE TestOutgoingHeaderMatcher/default_matcher === RUN TestOutgoingHeaderMatcher/custom_matcher === PAUSE TestOutgoingHeaderMatcher/custom_matcher === CONT TestOutgoingHeaderMatcher/default_matcher -=== PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects +=== CONT TestOutgoingTrailerMatcher === CONT TestOutgoingHeaderMatcher/custom_matcher -=== RUN TestOutgoingTrailerMatcher/custom_matcher +=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts +=== PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts +=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects --- PASS: TestOutgoingHeaderMatcher (0.00s) --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) +=== PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects +=== RUN TestOutgoingTrailerMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== CONT TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_rejects +=== CONT TestOutgoingTrailerMatcher/custom_matcher --- PASS: TestOutgoingTrailerMatcher (0.00s) - --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) - --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_rejects (0.00s) + --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) + --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) === RUN FuzzPopulateQueryParameters === RUN FuzzPopulateQueryParameters/seed#0 === RUN FuzzPopulateQueryParameters/seed#1 @@ -5947,7 +5983,7 @@ --- PASS: FuzzPopulateQueryParameters/seed#7 (0.00s) --- PASS: FuzzPopulateQueryParameters/seed#8 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.084s +ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.041s ? github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb [no test files] === RUN TestStringArrayFlag === RUN TestStringArrayFlag/No_Value @@ -5964,7 +6000,7 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.005s +ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.003s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -6006,12 +6042,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/104422/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3377 and its subdirectories -I: Current time: Fri Feb 21 20:44:27 -12 2025 -I: pbuilder-time-stamp: 1740213867 +I: removing directory /srv/workspace/pbuilder/104422 and its subdirectories +I: Current time: Sat Mar 28 05:08:46 +14 2026 +I: pbuilder-time-stamp: 1774624126