Go Swagger Versions Save

Swagger 2.0 implementation for go

v0.30.5

10 months ago

Changelog

v0.30.5 (2023-06-10)

Full Changelog

Implemented enhancements:

  • feat: swagger mixin -c all #2297
  • Server hangs given a panic in configure_ #1655

Closed issues:

  • Default client error lacks context which is the failing operation #2945
  • Coverity issue shows up after using pattern keyword for string data type #2941
  • go-swagger install error #2934
  • [Proposal] Introducing new compatibility level "Warning" for changes which are technically non-breaking but can cause unforeseen behavior change for client #2932
  • Diff tool does not find differences in form params #2929
  • Problem generate definitions of models #2910
  • Version v0.30.4 generates incomplete spec #2904
  • Response schema is not generated #2902
  • Swagger parser ignores response entries when there's an extension #2901
  • DIFF command panics when definition property type changes from an array to a non-array type #2894
  • Generated client not compiled when x-go-name is specified #2892

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v0.30.4

1 year ago

v0.30.3

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/go-swagger/go-swagger/compare/v0.30.2...v0.30.3

v0.30.2

1 year ago

v0.30.0

1 year ago

Changelog

v0.30.0 (2022-08-26)

Full Changelog

Implemented enhancements:

  • Support for extensions within swagger:route #1957
  • How to get enums to show up in a swagger specification? #954

Closed issues:

  • any type (generics) #2809
  • Question: how to make snakize to ignore some abbreviation? #2794
  • Work around for name collisions? #2792
  • Specify the same parameter more than one time #2786
  • unhandled type to resolve JSON pointer #2768
  • Go 1.19 change breaks swagger #2759
  • [CLI] Generating an empty object using swagger:type object does not work as expected. #2758
  • generate: Ref property in response doesn't have a description #2757
  • swagger generate client returns info.title in body is required #2739
  • Add trimPrefix and trimSuffix to template FuncMap #2737
  • Generated CLI does not compile when using arrays as query parameters #2735
  • How can I import from a yaml file #2729
  • Middleware not stopping request execution #2723
  • @Failure, @Success Response Type Usage Error #2722
  • Need to fix the options of todo-list-server in todo-list example #2716
  • Call for transparent HTTP status codes in generated struct #2706
  • strfmt.ObjectId is scanned back as an array of strings #2704
  • Cannot convert an expression of the type 'map[string]SomeType' to the type 'SomeType' #2682
  • Installing go-swagger as Debian packages fails #2558
  • swagger:type override is not working #2229
  • Generating code for go modules is much slower than under GOPATH #1826

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v0.29.0

2 years ago

Changelog

v0.29.0 (2022-01-23)

Full Changelog

Implemented enhancements:

  • custom generator / export generation data #2055

Closed issues:

  • crash in swagger generate spec --scan-models #2690
  • Support nested body params in map objects. #2684
  • My uint's becomes int64 and so does my byte's #2677
  • go-swagger generate invalid code #2667
  • When go-swagger will have support openApi 3.0 ? #2666
  • How to read body in handler? (using params cause fields to be re-ordered) #2665
  • Add Release Arch for darwin_arm64 #2658
  • Is it possible to the order in which the APIs are shown in swagger #2646
  • how to combine swagger doc for multiple services running in different ports into a single SWAGGER UI #2645
  • Client generator generates code files with invalid/broken imports #2609
  • couldn't find a swagger spec #2580

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v0.28.0

2 years ago

Changelog

v0.28.0 (2021-10-09)

Full Changelog

Fixed bugs:

  • strfmt.bsonobjectid validation fails #2616
  • Creating models crash when using $ref on an array #2511

Closed issues:

  • The CLI should return a JSON output rather than objects #2640
  • Log-output is not working for validate command #2631
  • unsupported type "invalid type" when add a new empty go file #2630
  • how to response different field of response struct by different routes? #2629
  • Using swagger:strfmt on a []byte type (UUID) infers the type as an array of strings #2627
  • "github.com/go-openapi/errors".CompositeError has no field or method ValidateName #2623
  • undefined: validate.ReadOnly #2613
  • [BUG]gen model-package with relative path has incorrect imports from v0.25.0 #2608
  • Error: "source formatting on generated source "autoconfigure" failed" on server generate #2602
  • Error: "source formatting on generated source "autoconfigure" failed" if StrictResponders and ImplementationPackage were both set for a server generation #2601
  • How to change the case style (pascal, camel) of a struct tag #2600
  • 05 Method Not Allowed response instead of 400 with incorrect validation details #2598
  • Support nested body params for CompositeError #2594
  • [apiKey] auth by two apikey together(AND Operation) #2586
  • How to add authInfo to request with generated client #2584
  • Is there good to way to omit readonly key #2581
  • Generating Spec results in Invalid Type Error #2577
  • Integration with viper #2572
  • unsupported type "invalid type" #2569
  • Cannot install directly from github #2560
  • Generated server code with Go v1.15 and above generates deprecation warning for TLSConfig #2559

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v0.27.0

3 years ago

Changelog

v0.27.0 (2021-03-31)

Full Changelog

Breaking changes:

  • Updating go-openapi breaks $ref on windows #2428

Implemented enhancements:

  • Pointer convertors for enum types are not generated. #2482
  • extension fields in info.contact do not propagate to embedded spec #2054

Fixed bugs:

  • Client Headers in response panic #2544
  • Swagger expand add invalid authorizationUrl key in securityDefinitions #2506

Closed issues:

  • Unable to install go-swagger package #2555
  • Question: How can I get the raw response body without decoding? #2552
  • There is a typo in docs/install.md #2550
  • can't generate header from source code #2532
  • Authentication tutorial missing required Swagger spec updates #2530
  • Use-case for --exclude-configuration or public function SetMiddleware() #2529
  • Documention translate #2526
  • Unknown command 'markdown' #2517

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v0.26.1

3 years ago

Changelog

v0.26.1 (2021-02-05)

Full Changelog

Implemented enhancements:

  • Can't configure content type in generated client #1924

Fixed bugs:

  • Generate models from official docker specification #2494
  • Could not resolve reference: invalid character looking for beginning of value #2492

Closed issues:

  • swagger:strfmt annotation incompatible with slice type #2505
  • 0.26.0 - Enum constants are not unique for some special characters #2501
  • upgrade to version 0.26.0 introduces error undefined: validate.WithOperationRequest in generated code #2498
  • Unable to generate specification for "hello world" #2101

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v0.26.0

3 years ago

Changelog

v0.26.0 (2021-01-19)

Full Changelog

Implemented enhancements:

  • Generate client: example struct tag is not rendered properly #2445
  • model validations: support minProperties and maxProperties #2444
  • Option to overwrite buffer size on upload file api #2373
  • v0.25.0 generates incorrect imports #2362
  • go-swagger is generating invalid validation functions #2163
  • Unused variable i #1771
  • "swagger generate model" does nothing if no paths are defined #1679
  • Principal should support definition as an interface #1659
  • go-swagger version depends on git #1283
  • Improve readability of templates used for code generation #673
  • option for case insensitivity for enum query params #303
  • Generate markdown representation for a swagger specification #184

Fixed bugs:

  • Optional Headers array parameters generated client code doesn't compile #2471
  • custom tags are not added to instances of objects when specified #2457
  • Go swagger can't validate all uint64 in path parameters #2448
  • authorizationUrl empty breaking mixin and validation #2430
  • swagger validate fails on responses with description field #2429
  • Backticks appearing in tags are not properly handled #2423
  • Shadowing api var in generated main.go #2405
  • How to define properties of an object (that are referenced to definitions) as required ? #2400
  • x-go-type for a custom type in models/ #2385
  • Missing required validation for property referencing string #2381
  • allOf is always pointer using inheritance #2364
  • Wrong generation for required object parameters #2330
  • Required, Non Nil map[string]interface{} #2300
  • Support Basic-Auth and custom HTTP Headers when loading a swagger spec #2263
  • API Client imports wrong operations package when regenerating #2242
  • nested $ref not found #2113
  • Default value for csv parameter []interface{} instead of []string #2096
  • Required object value without type produces broken validator #2081
  • Allow empty string for authorizationUrl in security definition #1775
  • go-swagger generate client generates wrong default formData parameter type for array of strings #1753
  • Client generation breaks on nested structures #1505
  • no consumer registered error when "Transfer-Encoding: chunked" is provided #1430
  • Generated Client - Panic with binary downloads #883
  • Tips for debugging BindValidRequest() errors? #773

Closed issues:

  • Missing info on how to build specific version from source #2474
  • x-omitempty doesn't work with a $ref'ed object #2473
  • Generated client doesn't detect mongodb primitive.ObjectID #2468
  • swagger serve openapi apidocs failed #2463
  • Petstore example does not work #2459
  • How can I merge YAML file after generation with openapi v3 YAML file #2437
  • Backticks in #2422
  • Update generation doc regarding Terms of Services #2421
  • No definition for aliased struct with the same name #2416
  • Embedded uuid field interpreted as bytearray #2404
  • disable try it out button #2402
  • How can I generate swagger:parameters spec using form tag from struct? #2399
  • Why is version always dev? #2395
  • Expanding schema with cyclic ref is underterministic #2393
  • Append cline.Text to classify error #2391
  • principal alias imports bug in v0.25.0 #2372
  • Upload of large files fails due to 32 mb limit #2370
  • Can't set custom PORT #2363
  • is latest go-openapi/errors incompatible with swagger generation? #2361
  • Comitting generated code to version control #2360
  • Is it possible to publish a new release #2357
  • JSON 'unknown field' error when using allOf composition #2350
  • Client File Upload 0 Bytes #1838

Merged pull requests:

  • updated deps to go-openapi libraries #2490 (fredbi)
  • fixed indenting / comment spacing issues #2489 (fredbi)
  • added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm #2488 (fredbi)
  • added example illustrating file upload with a multipart form #2487 (fredbi)
  • Fix 883 #2486 (fredbi)
  • regenerated examples #2485 (fredbi)
  • fixed generated client issues for nested array parameters and response headers #2484 (fredbi)
  • relinted all packages #2481 (fredbi)
  • Removed redundant unit tests from CI #2480 (fredbi)
  • generate client: added support for array parameter in header #2478 (fredbi)
  • added support for minProperties, maxProperties validations #2477 (fredbi)
  • refactored validations handling in models and type resolver #2476 (fredbi)
  • add specific version install info #2475 (blami)
  • added markdown generator #2466 (fredbi)
  • Ensure enum variant name is unique #2464 (mraerino)
  • CLI version: added versioning from module support for go get users #2462 (fredbi)
  • fixed doc in petstore example #2461 (fredbi)
  • refactored, documented and tested tags in models #2460 (fredbi)
  • ensure custom tag is applied to object in generated model (#2457) #2458 (bobcallaway)
  • fixed numerical validations for integer types #2453 (fredbi)
  • test: model tests go parallel #2450 (fredbi)
  • escape backticks in regex patterns #2449 (casualjim)
  • Generate example struct tag if example is provided #2447 (sbstp)
  • auth: added support for adding a principal as an interface #2442 (fredbi)
  • fixed generated package resolution for principal #2440 (fredbi)
  • Added more control over external types #2438 (fredbi)
  • Acknowledged codegen regression fixed #2435 (fredbi)
  • Fixed required aliased type #2434 (fredbi)
  • fixup replace clause left in go.mod #2433 (fredbi)
  • Updated go-openapi #2432 (fredbi)
  • test(generate spec): extra code parsing assertions for the TermsOfService annotation #2431 (fredbi)
  • updated go-openapi dependencies #2427 (fredbi)
  • added validation guards against inconsistent validations #2426 (fredbi)
  • Fixed missing Required validations #2425 (fredbi)
  • fixed server codegen package conflicts when specifying --server-package and --api-package #2424 (fredbi)
  • Change comment in server template: add periods at the end #2418 (alexandear)
  • fix codescan, and support SelectorExpr with response. #2414 (j2gg0s)
  • Fix 2391: Add more infomation to classify error #2392 (tptpp)
  • Fix panics and boost coverage #2390 (wjase)
  • Pass examples to the generated models #2389 (SVilgelm)
  • doc: fix issue of displaying code #2377 (meysampg)
  • Added support to ignore conflicts in mixin command #2375 (stijndehaes)
  • Feature/ReadOnly-Validation Support #2369 (youyuanwu)
  • Fixed diff writing to file called stdout instead of os.StdOut #2367 (wjase)
  • Fix VMware reference. #2366 (zmb3)
  • allow x-nullable hint to override allOf nullability status #2365 (fredbi)
  • Acknowledged fixes from go-openapi/spec updates #2142 (fredbi)

* This Changelog was automatically generated by github_changelog_generator