Diff of the two buildlogs: -- --- b1/build.log 2025-09-16 01:14:54.575498929 +0000 +++ b2/build.log 2025-09-16 01:16:48.019656184 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 18 19:32:29 -12 2026 -I: pbuilder-time-stamp: 1792395149 +I: Current time: Tue Sep 16 15:14:56 +14 2025 +I: pbuilder-time-stamp: 1757985296 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -24,53 +24,85 @@ 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/4158978/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1910917/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 Sep 16 01:15 /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/1910917/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1910917/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f3d3a5018020453e8c5a9564cfa4d25f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='4158978' - PS1='# ' - PS2='> ' + INVOCATION_ID=d719a4ecc54740c5ac5277d21b5f4b15 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=1910917 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.hyHqnYS4/pbuilderrc_KgsE --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hyHqnYS4/b1 --logfile b1/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.hyHqnYS4/pbuilderrc_pjxw --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hyHqnYS4/b2 --logfile b2/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4158978/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1910917/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -201,7 +233,7 @@ Get: 73 http://deb.debian.org/debian forky/main amd64 golang-google-genproto-dev all 0.0~git20210726.e7812ac-4 [5301 kB] Get: 74 http://deb.debian.org/debian forky/main amd64 golang-github-google-cel-go-dev all 0.18.2+ds-5 [400 kB] Get: 75 http://deb.debian.org/debian forky/main amd64 golang-github-rogpeppe-fastuuid-dev all 0.0~git20150106.0.6724a57-2.1 [4292 B] -Fetched 85.0 MB in 16s (5355 kB/s) +Fetched 85.0 MB in 1s (92.4 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 ... 19917 files and directories currently installed.) @@ -516,7 +548,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/1910917/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1910917/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 @@ -534,45 +570,45 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 42 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/coverage/rtcov + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 40 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 unicode/utf8 -internal/asan -internal/byteorder -google.golang.org/protobuf/internal/flags -internal/itoa -internal/goexperiment -internal/goversion -internal/goos -vendor/golang.org/x/crypto/internal/alias -google.golang.org/grpc/serviceconfig -internal/godebugs -unicode/utf16 -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/msan -encoding -internal/nettrace -internal/runtime/syscall -log/internal -internal/cpu -sync/atomic -unicode -crypto/internal/fips140/alias -crypto/internal/boring/sig internal/unsafeheader -internal/profilerecord +internal/msan internal/runtime/atomic +internal/goos +internal/goversion +unicode/utf16 internal/goarch container/list +internal/coverage/rtcov +internal/cpu +internal/itoa +crypto/internal/boring/sig +google.golang.org/grpc/serviceconfig cmp +internal/nettrace +crypto/internal/fips140/alias +sync/atomic +internal/asan +log/internal +google.golang.org/protobuf/internal/flags +vendor/golang.org/x/crypto/cryptobyte/asn1 +encoding +vendor/golang.org/x/crypto/internal/alias +internal/profilerecord +internal/byteorder +internal/godebugs +unicode math/bits -crypto/internal/fips140deps/byteorder -crypto/internal/fips140/subtle -internal/gover +internal/runtime/syscall +internal/goexperiment internal/runtime/math -internal/chacha8rand +crypto/internal/fips140/subtle internal/runtime/sys internal/abi +internal/gover +crypto/internal/fips140deps/byteorder +internal/chacha8rand google.golang.org/protobuf/internal/set internal/runtime/exithook crypto/internal/fips140deps/cpu @@ -583,283 +619,283 @@ internal/sync internal/runtime/maps runtime -iter weak +iter crypto/subtle internal/reflectlite sync maps slices google.golang.org/protobuf/internal/pragma -internal/singleflight +internal/testlog internal/bisect +internal/singleflight unique -internal/testlog -errors -sort runtime/cgo internal/godebug +errors +sort internal/oserror -path +container/heap io +google.golang.org/grpc/internal/buffer +path +crypto/internal/fips140deps/godebug +golang.org/x/text/internal/tag vendor/golang.org/x/net/dns/dnsmessage +math/rand math/rand/v2 -google.golang.org/grpc/internal/buffer strconv syscall -container/heap -golang.org/x/text/internal/tag -strings crypto/internal/randutil -crypto/internal/fips140deps/godebug +hash +google.golang.org/grpc/internal/grpcrand bytes +strings +hash/fnv +hash/crc32 +crypto internal/types/errors -math/rand -hash net/netip -time reflect -internal/syscall/execenv -go/version -internal/syscall/unix -net/http/internal/ascii -crypto/internal/impl -crypto +golang.org/x/text/transform +vendor/golang.org/x/text/transform go/build/constraint -hash/fnv -regexp/syntax -hash/crc32 -google.golang.org/grpc/internal/grpcrand +bufio +net/http/internal/ascii html +go/version crypto/internal/fips140 -bufio -golang.org/x/text/transform -vendor/golang.org/x/text/transform +regexp/syntax +crypto/internal/impl crypto/internal/fips140/sha256 -crypto/internal/fips140/sha3 crypto/tls/internal/fips140tls +crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -google.golang.org/grpc/backoff -google.golang.org/grpc/keepalive -context -io/fs -internal/poll -crypto/sha3 -crypto/internal/fips140/hmac +internal/syscall/execenv +internal/syscall/unix +time regexp +crypto/internal/fips140/hmac +crypto/sha3 crypto/internal/fips140/check crypto/internal/fips140hash -internal/filepathlite -embed +crypto/internal/fips140/aes crypto/internal/fips140/hkdf +crypto/internal/fips140/bigmod crypto/internal/fips140/tls12 crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/bigmod crypto/internal/fips140/nistec/fiat -crypto/internal/fips140/aes +crypto/internal/fips140/tls13 +crypto/internal/fips140/edwards25519 +io/fs +context +google.golang.org/grpc/backoff +google.golang.org/grpc/keepalive +internal/poll google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync -crypto/internal/fips140/tls13 +internal/filepathlite +embed google.golang.org/protobuf/internal/editiondefaults os -crypto/internal/fips140/edwards25519 -crypto/internal/fips140/nistec internal/fmtsort encoding/binary -crypto/internal/sysrand -google.golang.org/grpc/internal/envconfig +crypto/internal/fips140/nistec +encoding/base64 +vendor/golang.org/x/crypto/internal/poly1305 +golang.org/x/sys/unix +encoding/pem path/filepath -vendor/golang.org/x/sys/cpu fmt +google.golang.org/grpc/internal/envconfig +google.golang.org/protobuf/internal/detrand +crypto/internal/sysrand +vendor/golang.org/x/sys/cpu crypto/internal/entropy -github.com/grpc-ecosystem/grpc-gateway/internal/casing +net crypto/internal/fips140/drbg -google.golang.org/protobuf/internal/detrand -encoding/base64 -vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/sys/unix crypto/internal/fips140only crypto/internal/fips140/ed25519 -crypto/internal/fips140/rsa crypto/internal/fips140/mlkem +crypto/internal/fips140/rsa crypto/internal/fips140/aes/gcm -encoding/pem +github.com/grpc-ecosystem/grpc-gateway/internal/casing +crypto/rc4 +crypto/md5 +crypto/cipher +google.golang.org/protobuf/internal/errors go/token -go/doc/comment -text/tabwriter internal/buildcfg google.golang.org/protobuf/internal/version flag -google.golang.org/grpc/internal/grpclog compress/flate -google.golang.org/protobuf/internal/errors +encoding/json log -net/url +go/doc/comment encoding/hex +text/tabwriter +net/url mime/quotedprintable -net/http/internal -google.golang.org/grpc/internal/idle -mime -google.golang.org/grpc/attributes -golang.org/x/text/unicode/norm +vendor/golang.org/x/net/http2/hpack text/template/parse +google.golang.org/grpc/attributes golang.org/x/net/http2/hpack +crypto/internal/fips140/ecdh +vendor/golang.org/x/text/unicode/norm +crypto/internal/fips140/ecdsa math/big -golang.org/x/text/internal/language -vendor/golang.org/x/net/http2/hpack +google.golang.org/grpc/internal/idle +crypto/internal/boring +net/http/internal +crypto/des +vendor/golang.org/x/crypto/chacha20 +google.golang.org/grpc/internal/grpclog +golang.org/x/text/unicode/norm +mime gopkg.in/yaml.v3 -crypto/md5 -crypto/rc4 -encoding/json -vendor/golang.org/x/text/unicode/norm google.golang.org/protobuf/encoding/protowire +golang.org/x/text/internal/language +crypto/aes +crypto/sha512 +crypto/hmac +crypto/sha256 +crypto/sha1 +crypto/ecdh google.golang.org/protobuf/reflect/protoreflect go/scanner +vendor/golang.org/x/crypto/chacha20poly1305 +github.com/grpc-ecosystem/grpc-gateway/utilities golang.org/x/net/internal/timeseries -vendor/golang.org/x/text/unicode/bidi -golang.org/x/text/unicode/bidi -crypto/cipher -compress/gzip go/ast -crypto/internal/fips140/ecdsa -crypto/internal/fips140/ecdh -github.com/grpc-ecosystem/grpc-gateway/utilities -golang.org/x/text/secure/bidirule -vendor/golang.org/x/text/secure/bidirule -crypto/internal/boring -vendor/golang.org/x/crypto/chacha20 -crypto/des +compress/gzip +golang.org/x/text/unicode/bidi +vendor/golang.org/x/text/unicode/bidi github.com/grpc-ecosystem/grpc-gateway/internal/httprule -golang.org/x/net/idna golang.org/x/text/internal/language/compact text/template -crypto/aes -crypto/sha512 -crypto/hmac -crypto/ecdh -crypto/sha256 -crypto/sha1 -vendor/golang.org/x/net/idna -go/constant -crypto/rand -crypto/internal/boring/bbig -crypto/elliptic -encoding/asn1 -crypto/dsa -google.golang.org/grpc/grpclog -google.golang.org/protobuf/internal/order -google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/descopts +golang.org/x/text/language +golang.org/x/text/secure/bidirule google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/internal/descopts +google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid -vendor/golang.org/x/crypto/chacha20poly1305 -crypto/ed25519 -crypto/rsa +golang.org/x/net/idna +vendor/golang.org/x/text/secure/bidirule google.golang.org/protobuf/internal/protolazy -golang.org/x/text/language -google.golang.org/protobuf/internal/encoding/json -google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry -go/printer +vendor/golang.org/x/net/idna +google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/internal/encoding/json +golang.org/x/text/internal +google.golang.org/grpc/grpclog +golang.org/x/text/cases +google.golang.org/protobuf/proto go/parser +go/printer google.golang.org/protobuf/internal/encoding/defval google.golang.org/grpc/connectivity +go/constant +crypto/rand +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/dsa +crypto/internal/hpke +crypto/rsa +crypto/ed25519 +html/template crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte -golang.org/x/text/internal -google.golang.org/protobuf/proto -html/template -crypto/internal/hpke -golang.org/x/text/cases +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc go/types go/format crypto/ecdsa -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl -net +net/textproto +vendor/golang.org/x/net/http/httpproxy +google.golang.org/grpc/internal +google.golang.org/grpc/internal/syscall +google.golang.org/grpc/internal/resolver/dns/internal +crypto/x509 +google.golang.org/grpc/codes +google.golang.org/grpc/metadata +google.golang.org/grpc/internal/balancerload +google.golang.org/grpc/internal/grpcutil +google.golang.org/grpc/tap +google.golang.org/grpc/stats +vendor/golang.org/x/net/http/httpguts +golang.org/x/net/http/httpguts +mime/multipart +google.golang.org/grpc/encoding +crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/protoadapt -google.golang.org/protobuf/types/dynamicpb google.golang.org/protobuf/types/known/structpb -google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/protoadapt +google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/fieldmaskpb google.golang.org/protobuf/types/known/wrapperspb -google.golang.org/protobuf/types/known/anypb -google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/emptypb -github.com/golang/protobuf/ptypes/duration -github.com/golang/protobuf/ptypes/timestamp +google.golang.org/protobuf/types/dynamicpb +google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/pretty google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/api/httpbody +github.com/golang/protobuf/ptypes/duration +github.com/golang/protobuf/ptypes/timestamp 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/internal/editionssupport -google.golang.org/protobuf/types/gofeaturespb google.golang.org/protobuf/types/pluginpb google.golang.org/genproto/googleapis/api/visibility google.golang.org/genproto/googleapis/api/annotations +google.golang.org/protobuf/types/gofeaturespb github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options google.golang.org/protobuf/reflect/protodesc github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig google.golang.org/protobuf/compiler/protogen -github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator -github.com/grpc-ecosystem/grpc-gateway/internal/descriptor -github.com/grpc-ecosystem/grpc-gateway/internal/generator -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway -google.golang.org/grpc/internal -vendor/golang.org/x/net/http/httpproxy -google.golang.org/grpc/internal/resolver/dns/internal -net/textproto -google.golang.org/grpc/internal/syscall -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 -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi -google.golang.org/grpc/internal/status -google.golang.org/grpc/tap -google.golang.org/grpc/internal/balancerload -google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/stats -google.golang.org/grpc/status -google.golang.org/grpc/encoding -google.golang.org/grpc/encoding/proto -google.golang.org/grpc/internal/binarylog -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 -crypto/tls net/http/httptrace google.golang.org/grpc/internal/credentials google.golang.org/grpc/credentials net/http +github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator google.golang.org/grpc/credentials/insecure google.golang.org/grpc/resolver -google.golang.org/grpc/peer google.golang.org/grpc/internal/channelz +google.golang.org/grpc/peer 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 +google.golang.org/grpc/internal/resolver/passthrough +github.com/grpc-ecosystem/grpc-gateway/internal/descriptor google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz google.golang.org/grpc/balancer -google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/balancer/base +google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch +github.com/grpc-ecosystem/grpc-gateway/internal/generator +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 golang.org/x/net/trace net/http/httputil golang.org/x/net/http2 @@ -869,7 +905,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-x86_64-linux-gnu && go test -vet=off -v -p 42 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-x86_64-linux-gnu && go test -vet=off -v -p 40 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 @@ -893,7 +929,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.008s +ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.007s === RUN TestLoadGrpcAPIServiceFromYAMLInvalidType --- PASS: TestLoadGrpcAPIServiceFromYAMLInvalidType (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLSingleRule @@ -998,7 +1034,7 @@ === RUN TestGoType --- PASS: TestGoType (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.087s +ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.015s ? 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] @@ -1017,7 +1053,7 @@ === RUN TestTemplateStringer --- PASS: TestTemplateStringer (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.073s +ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.005s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway [no test files] === RUN TestGenerator_Generate --- PASS: TestGenerator_Generate (0.00s) @@ -1038,7 +1074,7 @@ === RUN TestDuplicatePathsInDifferentService --- PASS: TestDuplicatePathsInDifferentService (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.087s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.017s === RUN TestParseReqParam === RUN TestParseReqParam/Test_0 === RUN TestParseReqParam/Test_1 @@ -1068,7 +1104,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.007s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.008s === RUN TestCycle --- PASS: TestCycle (0.00s) === RUN Test_getUniqueFields @@ -1106,7 +1142,7 @@ === RUN TestMessageToQueryParametersNoRecursive --- PASS: TestMessageToQueryParametersNoRecursive (0.00s) === RUN TestMessageToQueryParametersRecursive ---- PASS: TestMessageToQueryParametersRecursive (0.04s) +--- PASS: TestMessageToQueryParametersRecursive (0.05s) === RUN TestMessageToQueryParametersWithJsonName --- PASS: TestMessageToQueryParametersWithJsonName (0.00s) === RUN TestMessageToQueryParametersWellKnownTypes @@ -1143,7 +1179,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 [.google.rpc.Status .example.ExampleMessage .example.NestedMessage .google.protobuf.Any] +AllFQMNs [.google.protobuf.Any .google.rpc.Status .example.ExampleMessage .example.NestedMessage] --- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) @@ -1258,28 +1294,28 @@ --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption (0.00s) --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption_with_go_template_args (0.00s) === RUN TestTagsWithGoTemplate -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestTagsWithGoTemplate (0.00s) === RUN TestTemplateWithoutErrorDefinition -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestTemplateWithoutErrorDefinition (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1Operations -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations (0.00s) === RUN TestTemplateWithDuplicateHttp1Operations -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestTemplateWithDuplicateHttp1Operations (0.00s) === RUN Test_getReservedJsonName === RUN Test_getReservedJsonName/test_case_1:_single_dot_use_case @@ -1292,59 +1328,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 -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestParseIncompleteSecurityRequirement (0.00s) === RUN TestSubPathParams --- PASS: TestSubPathParams (0.00s) === RUN TestRenderServicesParameterDescriptionNoFieldBody -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesParameterDescriptionNoFieldBody (0.00s) === RUN TestRenderServicesWithBodyFieldNameInCamelCase -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldNameInCamelCase (0.00s) === RUN TestRenderServicesWithBodyFieldHasFieldMask -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldHasFieldMask (0.00s) === RUN TestRenderServicesWithColonInPath -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInPath (0.00s) === RUN TestRenderServicesWithDoubleColonInPath -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesWithDoubleColonInPath (0.00s) === RUN TestRenderServicesWithColonLastInPath -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonLastInPath (0.00s) === RUN TestRenderServicesWithColonInSegment -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInSegment (0.00s) === RUN TestRenderServiceWithHeaderParameters +=== RUN TestRenderServiceWithHeaderParameters/type_integer +2025/09/16 01:16:23 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_number -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_boolean -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/header_required -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string_with_format -2026/10/19 07:37:26 ERROR: no message found: Status -=== RUN TestRenderServiceWithHeaderParameters/type_integer -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServiceWithHeaderParameters (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) --- PASS: TestRenderServiceWithHeaderParameters/type_string_with_format (0.00s) - --- PASS: TestRenderServiceWithHeaderParameters/type_integer (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreserved -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreserved (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedMultipleServices -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedMultipleServices (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings (0.00s) === RUN TestArrayMessageItemsType --- PASS: TestArrayMessageItemsType (0.00s) @@ -1397,7 +1433,7 @@ --- PASS: TestMergeTags/Merge_external_docs (0.00s) --- PASS: TestMergeTags/Merge_extensions (0.00s) === RUN TestApiVisibilityOption -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestApiVisibilityOption (0.00s) === RUN TestRawExample === PAUSE TestRawExample @@ -1414,7 +1450,7 @@ === RUN TestGenerateYAML === PAUSE TestGenerateYAML === RUN TestGeneratedYAMLIndent -2026/10/19 07:37:26 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status --- PASS: TestGeneratedYAMLIndent (0.00s) === RUN TestGenerateRPCOrderPreserved === PAUSE TestGenerateRPCOrderPreserved @@ -1442,82 +1478,289 @@ === PAUSE TestFindExpectedPaths === CONT TestRawExample === RUN TestRawExample/1 +=== PAUSE TestRawExample/1 === CONT TestGenerateRPCOrderNotPreservedMultipleServices -=== CONT TestGenerateRPCOrderNotPreserved -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices +=== RUN TestRawExample/"1" +=== PAUSE TestRawExample/"1" +=== CONT TestGenerateExtension +=== RUN TestRawExample/{"hello":"worldr"} +=== PAUSE TestRawExample/{"hello":"worldr"} +=== CONT TestRawExample/1 === CONT TestGenerate_YAML -=== CONT TestGenerateYAML -=== RUN TestGenerateYAML/path_item_object -=== RUN TestGenerateRPCOrderNotPreserved/json -=== PAUSE TestGenerateYAML/path_item_object -=== PAUSE TestGenerateRPCOrderNotPreserved/json -=== CONT TestGenerateYAML/path_item_object -=== RUN TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderNotPreserved/yaml -=== CONT TestGenerateRPCOrderNotPreserved/json -2026/10/19 07:37:26 ERROR: no message found: Status -file.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderNotPreservedMultipleServices/json === PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json +2025/09/16 01:16:23 ERROR: no message found: Status +=== CONT TestRawExample/{"hello":"worldr"} +file.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== CONT TestFormatEncode +=== RUN TestFormatEncode/json +=== PAUSE TestFormatEncode/json +=== RUN TestFormatEncode/yaml +=== PAUSE TestFormatEncode/yaml +=== CONT TestFormatEncode/json +=== RUN TestGenerateExtension/json +=== CONT TestFormatEncode/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices +=== CONT TestFormatValidate +=== RUN TestFormatValidate/json +=== PAUSE TestFormatValidate/json +=== CONT TestGenerateRPCOrderNotPreserved +=== CONT TestOpenapiSchemaObjectProperties +=== CONT TestGenerateRPCOrderPreserved +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings +=== CONT TestGenerateYAML +=== CONT TestFindExpectedPaths +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles +=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== CONT TestRawExample/"1" +=== RUN TestFindExpectedPaths/One_potential_path_present +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderPreserved/json +=== PAUSE TestFindExpectedPaths/One_potential_path_present +=== PAUSE TestGenerateRPCOrderPreserved/json +=== RUN TestGenerateRPCOrderPreserved/yaml +=== PAUSE TestGenerateRPCOrderPreserved/yaml +=== CONT TestGenerateRPCOrderPreserved/json +=== RUN TestGenerateRPCOrderNotPreserved/json +=== PAUSE TestGenerateRPCOrderNotPreserved/json +=== RUN TestGenerateRPCOrderNotPreserved/yaml +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json === RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml === PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreserved/yaml +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json +=== RUN TestGenerateRPCOrderPreservedMergeFiles/json === RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json +=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFiles/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 -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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 -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 ERROR: no message found: Status -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 -=== RUN TestFormatValidate/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestFormatValidate/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 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderPreserved/yaml +=== RUN TestFindExpectedPaths/No_potential_Paths_present +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerate_YAML (0.00s) +=== PAUSE TestGenerateExtension/json +--- PASS: TestFormatEncode (0.00s) + --- PASS: TestFormatEncode/json (0.00s) + --- PASS: TestFormatEncode/yaml (0.00s) === RUN TestFormatValidate/yaml -=== PAUSE TestFormatValidate/yaml -=== RUN TestFormatValidate/unknown -=== PAUSE TestFormatValidate/unknown -=== RUN TestFormatValidate/#00 -=== PAUSE TestFormatValidate/#00 -=== CONT TestFormatValidate/json -=== CONT TestGenerateExtension -=== CONT TestOpenapiSchemaObjectProperties === RUN TestOpenapiSchemaObjectProperties/yaml -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings -=== RUN TestGenerateExtension/json -=== PAUSE TestGenerateExtension/json +=== PAUSE TestOpenapiSchemaObjectProperties/yaml +=== RUN TestOpenapiSchemaObjectProperties/json +=== RUN TestGenerateYAML/path_item_object +=== RUN TestGenerateRPCOrderPreservedMultipleServices/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestOpenapiSchemaObjectProperties/json +=== 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 +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json +=== CONT TestOpenapiSchemaObjectProperties/json +=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== CONT TestGenerateRPCOrderNotPreserved/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== 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/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 TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/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 +=== PAUSE TestFindExpectedPaths/No_potential_Paths_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN 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/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/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 +2025/09/16 01:16:23 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 +=== 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 +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/09/16 01:16:23 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 +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 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 +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 +2025/09/16 01:16:23 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 +2025/09/16 01:16:23 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 === RUN TestGenerateExtension/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 === PAUSE TestGenerateExtension/yaml -=== CONT TestGenerateExtension/json -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings -2026/10/19 07:37:26 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatEncode +--- 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 -=== RUN TestFormatEncode/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles +=== PAUSE TestFormatValidate/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/json - generator_test.go:491: { +=== PAUSE TestGenerateYAML/path_item_object +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json +=== 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 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 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/09/16 01:16:23 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/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/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 TestGenerateRPCOrderPreservedMergeFiles/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 ERROR: no message found: Status + generator_test.go:906: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1535,14 +1778,38 @@ "application/json" ], "paths": { - "/a/second": { + "/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/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1559,14 +1826,38 @@ ] } }, - "/b/first": { + "/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/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1583,14 +1874,38 @@ ] } }, - "/c/third": { + "/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/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1609,250 +1924,115 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { "type": "object", "properties": { "bar": { "type": "string" } } - } - } - } - ---- PASS: TestGenerate_YAML (0.00s) -=== CONT TestGenerateRPCOrderPreservedMergeFiles -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json -=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/json -=== PAUSE TestRawExample/1 -=== CONT TestFormatValidate/#00 -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json -=== RUN TestRawExample/"1" -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings -=== RUN TestGenerateRPCOrderPreservedMergeFiles/json -=== PAUSE TestRawExample/"1" -=== 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": { + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { - "type": "string", - "description": "This is bar", - "x-go-default": "0.5s" + "type": "string" } } } } } -=== CONT TestFormatValidate/unknown -=== CONT TestFormatValidate/yaml -=== RUN TestRawExample/{"hello":"worldr"} -=== CONT TestFindExpectedPaths -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json -=== CONT TestGenerateRPCOrderPreserved -=== RUN TestFindExpectedPaths/One_potential_path_present -=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml -=== PAUSE TestFindExpectedPaths/One_potential_path_present -=== RUN TestFindExpectedPaths/No_potential_Paths_present -=== PAUSE TestFindExpectedPaths/No_potential_Paths_present -=== RUN TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFiles/json -=== CONT TestGenerateRPCOrderPreservedMultipleServices -=== RUN TestGenerateRPCOrderPreserved/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json -=== PAUSE TestFormatEncode/json -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestOpenapiSchemaObjectProperties/yaml -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== RUN TestOpenapiSchemaObjectProperties/json -=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestOpenapiSchemaObjectProperties/json -=== 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 TestGenerateRPCOrderPreservedAdditionalBindings/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestOpenapiSchemaObjectProperties/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 -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatValidate (0.00s) - --- PASS: TestFormatValidate/json (0.00s) - --- PASS: TestFormatValidate/#00 (0.00s) - --- PASS: TestFormatValidate/unknown (0.00s) - --- PASS: TestFormatValidate/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 -=== PAUSE TestRawExample/{"hello":"worldr"} -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) -=== 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 -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 TestRawExample/1 -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 ERROR: no message found: Status -2026/10/19 07:37:26 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/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/10/19 07:37:26 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestFormatEncode/yaml -=== PAUSE TestFormatEncode/yaml -=== 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 -=== PAUSE TestGenerateRPCOrderPreserved/json -=== CONT TestFormatEncode/yaml -=== RUN TestGenerateRPCOrderPreserved/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreserved/yaml -=== CONT TestGenerateRPCOrderPreserved/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatEncode (0.00s) - --- PASS: TestFormatEncode/json (0.00s) - --- PASS: TestFormatEncode/yaml (0.00s) -=== 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/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 -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices -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/10/19 07:37:26 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 -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateExtension/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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateExtension/json exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateYAML (0.00s) - --- PASS: TestGenerateYAML/path_item_object (0.00s) +2025/09/16 01:16:23 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 -2026/10/19 07:37:26 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 +=== PAUSE TestFindExpectedPaths/Multiple_potential_paths_present +=== CONT TestFindExpectedPaths/One_potential_path_present +=== CONT TestFindExpectedPaths/Multiple_potential_paths_present +=== CONT TestFindExpectedPaths/No_potential_Paths_present +--- 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 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 + 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 exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -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 -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/10/19 07:37:26 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 -=== RUN TestGenerateRPCOrderPreservedMultipleServices/json -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -2026/10/19 07:37:26 ERROR: no message found: Status -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== PAUSE TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestRawExample/"1" -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestFindExpectedPaths/One_potential_path_present -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 === NAME TestGenerateRPCOrderPreserved/json +2025/09/16 01:16:23 ERROR: no message found: Status generator_test.go:394: { "swagger": "2.0", "info": { @@ -1956,28 +2136,132 @@ } } -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFindExpectedPaths/Multiple_potential_paths_present -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFindExpectedPaths/No_potential_Paths_present -2026/10/19 07:37:26 ERROR: no message found: Status ---- 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 TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json 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 + 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 -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderPreservedMultipleServices/json +2025/09/16 01:16:23 ERROR: no message found: Status +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) +=== 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" + } + } + } + } + } + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateExtension/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 +=== RUN TestFormatValidate/unknown +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 generator_test.go:1265: { "swagger": "2.0", @@ -2091,40 +2375,19 @@ } } ---- PASS: TestRawExample (0.00s) - --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) - --- PASS: TestRawExample/1 (0.00s) - --- PASS: TestRawExample/"1" (0.00s) -2026/10/19 07:37:26 ERROR: no message found: Status -=== 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/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 -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +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 -=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 ERROR: no message found: Status +2025/09/16 01:16:23 ERROR: no message found: Status +=== CONT TestGenerateYAML/path_item_object 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 @@ -2133,16 +2396,24 @@ 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 TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json 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) -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json - generator_test.go:1774: { +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 TestFormatValidate/unknown +--- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.01s) +=== RUN TestFormatValidate/#00 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/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", @@ -2150,12 +2421,6 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" - }, - { "name": "TestService" } ], @@ -2166,14 +2431,14 @@ "application/json" ], "paths": { - "/a/additional": { + "/a/second": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2190,14 +2455,38 @@ ] } }, - "/a/apath": { + "/b/first": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test1", "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": { + "get": { + "operationId": "TestService_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" } } }, @@ -2213,7 +2502,48 @@ "TestService" ] } + } + }, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + } + } + } + +--- 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 +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/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: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", @@ -2221,7 +2551,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2238,14 +2568,14 @@ ] } }, - "/b/bAdditional": { + "/b/first": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2258,18 +2588,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/b/bpath": { + "/c/third": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2282,18 +2612,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/b/first": { + "/d/first": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2306,18 +2636,101 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, - "/c/cpath": { + "/e/second": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$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" + } + } + } + } + } + +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 TestGenerateRPCOrderNotPreservedAdditionalBindings/json + 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" } } }, @@ -2334,14 +2747,14 @@ ] } }, - "/c/third": { + "/a/second": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2354,18 +2767,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/d/first": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2378,18 +2791,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/b/first": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2402,18 +2815,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/g/third": { + "/c/third": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2426,7 +2839,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, @@ -2437,7 +2850,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2456,15 +2869,7 @@ } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -2479,30 +2884,17 @@ 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 TestFormatValidate/#00 +=== CONT TestFormatValidate/json +=== CONT TestFormatValidate/#00 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 TestFormatValidate/yaml exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/unknown exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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 -=== NAME TestGenerateRPCOrderPreservedMergeFiles/json - generator_test.go:906: { +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json + generator_test.go:1168: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2520,14 +2912,14 @@ "application/json" ], "paths": { - "/c/cpath": { + "/b/first": { "get": { "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2544,14 +2936,14 @@ ] } }, - "/b/bpath": { + "/a/additional": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2568,14 +2960,14 @@ ] } }, - "/a/apath": { + "/a/second": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2592,14 +2984,14 @@ ] } }, - "/f/fpath": { + "/z/zAdditional": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2616,14 +3008,14 @@ ] } }, - "/e/epath": { + "/c/third": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2640,14 +3032,14 @@ ] } }, - "/d/dpath": { + "/b/bAdditional": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2666,15 +3058,7 @@ } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -2688,11 +3072,28 @@ 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: TestFormatValidate (0.01s) + --- PASS: TestFormatValidate/json (0.00s) + --- PASS: TestFormatValidate/#00 (0.00s) + --- PASS: TestFormatValidate/yaml (0.00s) + --- PASS: TestFormatValidate/unknown (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 -=== NAME TestGenerateRPCOrderNotPreserved/yaml - generator_test.go:491: swagger: "2.0" +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/09/16 01:16:23 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 +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml + generator_test.go:1168: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -2703,9 +3104,9 @@ produces: - application/json paths: - /a/second: + /b/first: get: - operationId: TestService_Test2 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -2718,9 +3119,9 @@ type: string tags: - TestService - /b/first: + /a/additional: get: - operationId: TestService_Test1 + operationId: TestService_Test12 responses: "200": description: A successful response. @@ -2733,9 +3134,9 @@ type: string tags: - TestService - /c/third: + /a/second: get: - operationId: TestService_Test3 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -2748,31 +3149,9 @@ 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.00s) -=== NAME TestGenerateRPCOrderPreserved/yaml - 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: + /z/zAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test22 responses: "200": description: A successful response. @@ -2785,9 +3164,9 @@ type: string tags: - TestService - /a/second: + /c/third: get: - operationId: TestService_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -2800,9 +3179,9 @@ type: string tags: - TestService - /c/third: + /b/bAdditional: get: - operationId: TestService_Test3 + operationId: TestService_Test32 responses: "200": description: A successful response. @@ -2823,106 +3202,118 @@ type: string exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreserved (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/yaml (0.00s) -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +--- 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 - 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 ---- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.00s) +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 +2025/09/16 01:16:23 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/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 -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml - generator_test.go:749: swagger: "2.0" +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/09/16 01:16:23 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 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/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 +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 ERROR: no message found: Status +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/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/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 +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/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 +2025/09/16 01:16:23 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 +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml + generator_test.go:1375: 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/second: + /a/additional: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test12 responses: "200": description: A successful response. @@ -2934,10 +3325,10 @@ required: false type: string tags: - - TestServiceTwo - /b/first: + - TestService + /a/second: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -2949,10 +3340,10 @@ required: false type: string tags: - - TestServiceTwo - /c/third: + - TestService + /b/bAdditional: get: - operationId: TestServiceOne_Test3 + operationId: TestService_Test32 responses: "200": description: A successful response. @@ -2964,10 +3355,10 @@ required: false type: string tags: - - TestServiceOne - /d/first: + - TestService + /b/first: get: - operationId: TestServiceOne_Test1 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -2979,10 +3370,10 @@ required: false type: string tags: - - TestServiceOne - /e/second: + - TestService + /c/third: get: - operationId: TestServiceOne_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -2994,10 +3385,10 @@ required: false type: string tags: - - TestServiceOne - /g/third: + - TestService + /z/zAdditional: get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test22 responses: "200": description: A successful response. @@ -3009,7 +3400,7 @@ required: false type: string tags: - - TestServiceTwo + - TestService definitions: v1Foo: type: object @@ -3017,153 +3408,90 @@ 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/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 -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 -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 -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 -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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/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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (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/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 +2025/09/16 01:16:23 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/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 -2026/10/19 07:37:26 ERROR: no message found: Status exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 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 -2026/10/19 07:37:26 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 -2026/10/19 07:37:26 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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/v2/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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateExtension (0.01s) + --- PASS: TestGenerateExtension/json (0.00s) + --- PASS: TestGenerateExtension/yaml (0.00s) 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/09/16 01:16:23 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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 -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/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 TestGenerateRPCOrderNotPreservedAdditionalBindings/json - generator_test.go:1375: { +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json + generator_test.go:1062: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3181,14 +3509,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" } } }, @@ -3205,14 +3533,14 @@ ] } }, - "/a/second": { + "/b/bpath": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3229,14 +3557,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" } } }, @@ -3253,14 +3581,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" } } }, @@ -3277,14 +3605,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" } } }, @@ -3301,14 +3629,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" } } }, @@ -3327,7 +3655,15 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -3338,36 +3674,8 @@ } } -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 -2026/10/19 07:37:26 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 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/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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/10/19 07:37:26 ERROR: no message found: Status -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json -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/10/19 07:37:26 ERROR: no message found: Status - generator_test.go:1168: { +=== NAME TestGenerateRPCOrderPreservedMultipleServices/json + generator_test.go:620: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3375,7 +3683,10 @@ }, "tags": [ { - "name": "TestService" + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" } ], "consumes": [ @@ -3385,9 +3696,9 @@ "application/json" ], "paths": { - "/b/first": { + "/d/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", @@ -3405,13 +3716,13 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/a/additional": { + "/e/second": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", @@ -3429,13 +3740,13 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/a/second": { + "/c/third": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", @@ -3453,13 +3764,13 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/z/zAdditional": { + "/b/first": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", @@ -3477,13 +3788,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/c/third": { + "/a/second": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", @@ -3501,13 +3812,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/b/bAdditional": { + "/g/third": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", @@ -3525,7 +3836,7 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } } @@ -3542,29 +3853,8 @@ } } -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/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 -2026/10/19 07:37:26 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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/json -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:749: { +=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1574: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3576,6 +3866,9 @@ }, { "name": "TestServiceTwo" + }, + { + "name": "TestService" } ], "consumes": [ @@ -3585,14 +3878,14 @@ "application/json" ], "paths": { - "/a/second": { + "/d/first": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3605,18 +3898,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, - "/b/first": { + "/e/second": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3629,7 +3922,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, @@ -3640,7 +3933,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3657,14 +3950,14 @@ ] } }, - "/d/first": { + "/b/first": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3677,18 +3970,18 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, - "/e/second": { + "/a/second": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3701,7 +3994,7 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, @@ -3712,7 +4005,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3728,51 +4021,15 @@ "TestServiceTwo" ] } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - } - } - } - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json - 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": { + }, + "/b/bpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3789,14 +4046,14 @@ ] } }, - "/b/bpath": { + "/a/additional": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3813,14 +4070,14 @@ ] } }, - "/c/cpath": { + "/a/apath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3837,9 +4094,9 @@ ] } }, - "/d/dpath": { + "/z/zAdditional": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", @@ -3861,9 +4118,9 @@ ] } }, - "/e/epath": { + "/c/cpath": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -3885,9 +4142,9 @@ ] } }, - "/f/fpath": { + "/b/bAdditional": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", @@ -3930,232 +4187,10 @@ } } -=== 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 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - 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 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - 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 - properties: - bar: - type: string - ---- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml - 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/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /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 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - 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 - /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 - /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 - definitions: - v1Foo: - type: object - properties: - bar: - type: string - ---- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.01s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) -=== NAME TestGenerateRPCOrderPreservedMultipleServices/json - generator_test.go:620: { +--- PASS: TestGenerateYAML (0.01s) + --- PASS: TestGenerateYAML/path_item_object (0.01s) +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1774: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4167,6 +4202,9 @@ }, { "name": "TestServiceTwo" + }, + { + "name": "TestService" } ], "consumes": [ @@ -4176,38 +4214,14 @@ "application/json" ], "paths": { - "/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": { + "/a/additional": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4220,18 +4234,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" } } }, @@ -4244,18 +4258,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/b/first": { + "/a/second": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4272,14 +4286,14 @@ ] } }, - "/a/second": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4292,18 +4306,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/g/third": { + "/b/bpath": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4316,51 +4330,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - } - } - } - -=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json - generator_test.go:1574: { - "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": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", @@ -4378,18 +4354,18 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, - "/e/second": { + "/c/cpath": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4402,7 +4378,7 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, @@ -4430,9 +4406,9 @@ ] } }, - "/b/first": { + "/d/first": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", @@ -4450,13 +4426,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, - "/a/second": { + "/e/second": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", @@ -4474,7 +4450,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, @@ -4502,78 +4478,6 @@ ] } }, - "/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" - ] - } - }, - "/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" - ] - } - }, "/z/zAdditional": { "get": { "operationId": "TestService_Test22", @@ -4597,54 +4501,6 @@ "TestService" ] } - }, - "/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" - ] - } - }, - "/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" - ] - } } }, "definitions": { @@ -4780,123 +4636,119 @@ --- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.01s) --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.01s) -=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml - generator_test.go:906: swagger: "2.0" +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml + generator_test.go:749: 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: - /c/cpath: + /a/second: get: - operationId: TestService_Test1 + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /b/bpath: + - TestServiceTwo + /b/first: get: - operationId: TestService_Test2 + 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: - - TestService - /a/apath: + - TestServiceTwo + /c/third: get: - operationId: TestService_Test3 + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /f/fpath: + - TestServiceOne + /d/first: get: - operationId: TestService_Test1 + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /e/epath: + - TestServiceOne + /e/second: get: - operationId: TestService_Test2 + operationId: TestServiceOne_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 - /d/dpath: + - TestServiceOne + /g/third: get: - operationId: TestService_Test3 + 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.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +--- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.01s) === NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml generator_test.go:1062: swagger: "2.0" info: @@ -5011,11 +4863,78 @@ bar: type: string +=== NAME TestGenerateRPCOrderPreserved/yaml + 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 + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.01s) --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) -=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml - generator_test.go:1574: swagger: "2.0" +--- PASS: TestGenerateRPCOrderPreserved (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/json (0.01s) + --- PASS: TestGenerateRPCOrderPreserved/yaml (0.01s) +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml + generator_test.go:1774: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -5028,9 +4947,39 @@ produces: - application/json paths: - /d/first: + /a/additional: get: - operationId: TestServiceOne_Test1 + 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. @@ -5042,10 +4991,40 @@ required: false type: string tags: - - TestServiceOne - /e/second: + - TestServiceTwo + /b/bAdditional: get: - operationId: TestServiceOne_Test2 + 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. @@ -5057,7 +5036,22 @@ required: false type: string tags: - - TestServiceOne + - 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 @@ -5073,9 +5067,9 @@ type: string tags: - TestServiceOne - /b/first: + /d/first: get: - operationId: TestServiceTwo_Test1 + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. @@ -5087,10 +5081,10 @@ required: false type: string tags: - - TestServiceTwo - /a/second: + - TestServiceOne + /e/second: get: - operationId: TestServiceTwo_Test2 + operationId: TestServiceOne_Test2 responses: "200": description: A successful response. @@ -5102,7 +5096,7 @@ required: false type: string tags: - - TestServiceTwo + - TestServiceOne /g/third: get: operationId: TestServiceTwo_Test3 @@ -5118,9 +5112,9 @@ type: string tags: - TestServiceTwo - /b/bpath: + /z/zAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test22 responses: "200": description: A successful response. @@ -5133,14 +5127,41 @@ type: string tags: - TestService - /a/additional: + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +--- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/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: TestService + consumes: + - application/json + produces: + - application/json + paths: + /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 @@ -5148,14 +5169,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 @@ -5163,9 +5184,24 @@ type: string tags: - TestService - /z/zAdditional: + /a/apath: get: - operationId: TestService_Test22 + 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. @@ -5178,9 +5214,9 @@ type: string tags: - TestService - /c/cpath: + /e/epath: get: - operationId: TestService_Test3 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -5193,9 +5229,9 @@ type: string tags: - TestService - /b/bAdditional: + /d/dpath: get: - operationId: TestService_Test32 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -5220,8 +5256,11 @@ bar: type: string -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml - generator_test.go:1774: swagger: "2.0" +--- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml + generator_test.go:1574: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -5234,39 +5273,39 @@ produces: - application/json paths: - /a/additional: + /d/first: get: - operationId: TestService_Test12 + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /a/apath: + - TestServiceOne + /e/second: get: - operationId: TestService_Test2 + operationId: TestServiceOne_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /a/second: + - TestServiceOne + /c/third: get: - operationId: TestServiceTwo_Test2 + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. @@ -5278,40 +5317,40 @@ required: false type: string tags: - - TestServiceTwo - /b/bAdditional: + - TestServiceOne + /b/first: get: - operationId: TestService_Test32 + operationId: TestServiceTwo_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /b/bpath: + - TestServiceTwo + /a/second: get: - operationId: TestService_Test1 + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestService - /b/first: + - TestServiceTwo + /g/third: get: - operationId: TestServiceTwo_Test1 + operationId: TestServiceTwo_Test3 responses: "200": description: A successful response. @@ -5324,9 +5363,9 @@ type: string tags: - TestServiceTwo - /c/cpath: + /b/bpath: get: - operationId: TestService_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -5339,69 +5378,69 @@ type: string tags: - TestService - /c/third: + /a/additional: get: - operationId: TestServiceOne_Test3 + operationId: TestService_Test12 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /d/first: + - TestService + /a/apath: get: - operationId: TestServiceOne_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /e/second: + - TestService + /z/zAdditional: get: - operationId: TestServiceOne_Test2 + operationId: TestService_Test22 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /g/third: + - TestService + /c/cpath: get: - operationId: TestServiceTwo_Test3 + 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 - /z/zAdditional: + - TestService + /b/bAdditional: get: - operationId: TestService_Test22 + operationId: TestService_Test32 responses: "200": description: A successful response. @@ -5429,9 +5468,6 @@ --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) ---- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) === RUN FuzzRemoveInternalComments === RUN FuzzRemoveInternalComments/seed#0 === RUN FuzzRemoveInternalComments/seed#1 @@ -5445,7 +5481,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.287s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.238s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options [no test files] === RUN TestFieldMaskFromRequestBody === RUN TestFieldMaskFromRequestBody/empty @@ -5462,7 +5498,7 @@ === RUN TestFieldMaskFromRequestBody/complex === RUN TestFieldMaskFromRequestBody/protobuf-any === RUN TestFieldMaskFromRequestBody/repeated-protobuf-any ---- PASS: TestFieldMaskFromRequestBody (0.00s) +--- PASS: TestFieldMaskFromRequestBody (0.01s) --- PASS: TestFieldMaskFromRequestBody/empty (0.00s) --- PASS: TestFieldMaskFromRequestBody/EmptyMessage (0.00s) --- PASS: TestFieldMaskFromRequestBody/simple (0.00s) @@ -5492,19 +5528,19 @@ === RUN TestNewPattern --- PASS: TestNewPattern (0.00s) === RUN TestNewPatternWithWrongOp -2026/10/19 07:37:26 ERROR: invalid opcode: -1 -2026/10/19 07:37:26 ERROR: invalid opcode: 6 -2026/10/19 07:37:26 ERROR: odd number of ops codes: 1 -2026/10/19 07:37:26 ERROR: negative literal index: -1 -2026/10/19 07:37:26 ERROR: negative literal index: 1 -2026/10/19 07:37:26 ERROR: negative concat size: -1 -2026/10/19 07:37:26 ERROR: variable name index out of bound: -1 -2026/10/19 07:37:26 ERROR: variable name index out of bound: 1 -2026/10/19 07:37:26 ERROR: pushM appears twice +2025/09/16 01:16:23 ERROR: invalid opcode: -1 +2025/09/16 01:16:23 ERROR: invalid opcode: 6 +2025/09/16 01:16:23 ERROR: odd number of ops codes: 1 +2025/09/16 01:16:23 ERROR: negative literal index: -1 +2025/09/16 01:16:23 ERROR: negative literal index: 1 +2025/09/16 01:16:23 ERROR: negative concat size: -1 +2025/09/16 01:16:23 ERROR: variable name index out of bound: -1 +2025/09/16 01:16:23 ERROR: variable name index out of bound: 1 +2025/09/16 01:16:23 ERROR: pushM appears twice --- PASS: TestNewPatternWithWrongOp (0.00s) === RUN TestNewPatternWithStackUnderflow -2026/10/19 07:37:26 ERROR: stack underflow -2026/10/19 07:37:26 ERROR: stack underflow +2025/09/16 01:16:23 ERROR: stack underflow +2025/09/16 01:16:23 ERROR: stack underflow --- PASS: TestNewPatternWithStackUnderflow (0.00s) === RUN TestMatch --- PASS: TestMatch (0.00s) @@ -5566,15 +5602,15 @@ --- PASS: TestConvertDuration/JSON_bool (0.00s) === RUN TestDefaultHTTPError === RUN TestDefaultHTTPError/0 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/1 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/2 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/3 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/4 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context --- PASS: TestDefaultHTTPError (0.00s) --- PASS: TestDefaultHTTPError/0 (0.00s) --- PASS: TestDefaultHTTPError/1 (0.00s) @@ -5710,41 +5746,41 @@ --- PASS: TestMarshalerForRequest (0.00s) === RUN TestMuxServeHTTP === RUN TestMuxServeHTTP/0 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/1 === RUN TestMuxServeHTTP/2 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/3 === RUN TestMuxServeHTTP/4 === RUN TestMuxServeHTTP/5 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/6 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/7 === RUN TestMuxServeHTTP/8 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/9 === RUN TestMuxServeHTTP/10 === RUN TestMuxServeHTTP/11 === RUN TestMuxServeHTTP/12 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/13 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 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 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/20 === RUN TestMuxServeHTTP/21 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/22 === RUN TestMuxServeHTTP/23 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/24 -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/25 === RUN TestMuxServeHTTP/26 === RUN TestMuxServeHTTP/27 @@ -5778,7 +5814,7 @@ --- PASS: TestMuxServeHTTP/26 (0.00s) --- PASS: TestMuxServeHTTP/27 (0.00s) === RUN TestServeHTTP_WithMethodOverrideAndFormParsing -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context --- PASS: TestServeHTTP_WithMethodOverrideAndFormParsing (0.00s) === RUN TestDefaultHeaderMatcher === RUN TestDefaultHeaderMatcher/permanent_HTTP_header_should_return_prefixed @@ -5802,14 +5838,14 @@ --- PASS: TestServeMux_HandlePath/Invalid_Endpoint (0.00s) === RUN TestWithHealthzEndpoint_codes === RUN TestWithHealthzEndpoint_codes/Test_grpc_error_code -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_NOT_SERVING -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_UNKNOWN -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 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) @@ -5818,18 +5854,18 @@ --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthEndpointAt_consistentWithHealthz === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 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) @@ -5837,18 +5873,18 @@ --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthzEndpoint_serviceParam -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_serviceParam (0.00s) === RUN TestWithHealthzEndpoint_header === RUN TestWithHealthzEndpoint_header/Test_grpc_error_code -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_NOT_SERVING -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_UNKNOWN -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVICE_UNKNOWN -2026/10/19 07:37:26 ERROR: Failed to extract ServerMetadata from context +2025/09/16 01:16:23 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) @@ -5898,29 +5934,29 @@ === RUN TestPopulateQueryParametersWithInvalidNestedParameters --- PASS: TestPopulateQueryParametersWithInvalidNestedParameters (0.00s) === CONT TestOutgoingHeaderMatcher -=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingHeaderMatcher/default_matcher -=== PAUSE TestOutgoingHeaderMatcher/default_matcher -=== RUN TestOutgoingHeaderMatcher/custom_matcher -=== PAUSE TestOutgoingHeaderMatcher/custom_matcher -=== CONT TestOutgoingHeaderMatcher/default_matcher +=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== CONT TestOutgoingHeaderMatcher/custom_matcher +=== PAUSE TestOutgoingHeaderMatcher/default_matcher === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts +=== RUN TestOutgoingHeaderMatcher/custom_matcher === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === RUN TestOutgoingTrailerMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_accepts ---- PASS: TestOutgoingHeaderMatcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) === CONT TestOutgoingTrailerMatcher/custom_matcher +=== PAUSE TestOutgoingHeaderMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_rejects --- PASS: TestOutgoingTrailerMatcher (0.00s) - --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) + --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_rejects (0.00s) +=== CONT TestOutgoingHeaderMatcher/default_matcher +=== CONT TestOutgoingHeaderMatcher/custom_matcher +--- PASS: TestOutgoingHeaderMatcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) === RUN FuzzPopulateQueryParameters === RUN FuzzPopulateQueryParameters/seed#0 === RUN FuzzPopulateQueryParameters/seed#1 @@ -5942,7 +5978,7 @@ --- PASS: FuzzPopulateQueryParameters/seed#7 (0.00s) --- PASS: FuzzPopulateQueryParameters/seed#8 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.145s +ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.184s ? github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb [no test files] === RUN TestStringArrayFlag === RUN TestStringArrayFlag/No_Value @@ -5959,7 +5995,7 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.112s +ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.140s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -5991,8 +6027,8 @@ dpkg-gencontrol: warning: package golang-grpc-gateway: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'golang-github-grpc-ecosystem-grpc-gateway-dev' in '../golang-github-grpc-ecosystem-grpc-gateway-dev_2.20.0-2_all.deb'. dpkg-deb: building package 'golang-grpc-gateway' in '../golang-grpc-gateway_2.20.0-2_amd64.deb'. +dpkg-deb: building package 'golang-github-grpc-ecosystem-grpc-gateway-dev' in '../golang-github-grpc-ecosystem-grpc-gateway-dev_2.20.0-2_all.deb'. dpkg-deb: building package 'golang-grpc-gateway-dbgsym' in '../golang-grpc-gateway-dbgsym_2.20.0-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_amd64.buildinfo dpkg-genchanges --build=binary -O../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_amd64.changes @@ -6001,12 +6037,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/1910917/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1910917/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/4158978 and its subdirectories -I: Current time: Sun Oct 18 19:37:53 -12 2026 -I: pbuilder-time-stamp: 1792395473 +I: removing directory /srv/workspace/pbuilder/1910917 and its subdirectories +I: Current time: Tue Sep 16 15:16:47 +14 2025 +I: pbuilder-time-stamp: 1757985407